Towards diverse and contextually anchored paraphrase modeling: A dataset and baselines for Finnish
Paper · 2023 · Jenna Kanerva, Filip Ginter, Li‐Hsin Chang et al.
Summary
Two news reports can cover the same event while making different claims. Two subtitles for the same scene can have very few words in common while conveying the same message. A collection built by looking for similar words is liable to miss the second kind of pair and admit the first. The authors tackle this problem for Finnish by having annotators find paraphrases in related documents and record where each passage came from. The resulting Turku Paraphrase Corpus contains 104,645 manually labeled pairs, including 91,604 pairs drawn from source texts and 13,041 rewrites made during annotation. Of the released pairs, 98% count as paraphrases at least in their original setting. The authors release the corpus under CC-BY-SA.
The linguistic annotation records more than whether the meanings match. Some pairs can be substituted freely. In others, one version is more specific, varies in tone, or differs in a small detail. Still others convey the same message because the surrounding text supplies a particular interpretation. Keeping each passage connected to its source makes that last judgment possible. Compared with samples from the Finnish portions of Opusparcus and TaPaCo, the Turku pairs have longer passages on average and include more pairs with little lexical overlap. The corpus draws from several genres, with independently produced subtitles contributing 82% of the released pairs.
The authors test both classification and information retrieval. On the Turku test set, the final classifier reaches 58.3% accuracy on the complete labels. Annotators match a team consensus on 70% of individual judgments in a separate agreement exercise. Adding automatically collected examples of related passages with different meanings improves rejection on a test set rich in such negatives, while leaving overall accuracy on the Turku test set close to its starting point. For retrieval, an encoder adapted to the paraphrase task searches 399M candidate sentences for a known counterpart. The Finnish Sentence-BERT system places that counterpart in the top 10 for 53% of universal pairs, 41% of pairs with a directional difference in specificity, and 29% of context-dependent pairs. The corpus makes document context available, while both experimental systems work from the passages themselves.
Deep dive: Towards diverse and contextually anchored paraphrase modeling: A dataset and baselines for Finnish
The Turku Paraphrase Corpus shows how to collect varied Finnish paraphrases, label when they depend on context, and retrieve them at scale. · about 39 minutes to read
The problem and its context
Deciding what counts as the same message
A paraphrase expresses a meaning in different words. The difficulty begins with deciding how much difference that definition allows. Two passages can agree on the main event while giving different amounts of detail. They can also agree on what happened while presenting it with different levels of certainty or politeness. A reader may find both differences immaterial for one purpose and decisive for another. As the authors explain through What Is a Paraphrase?, computational work often uses a practical standard of approximate equivalence, and studies differ in the latitude they allow.
The choice affects what a system can safely do with a pair. In search, a loosely equivalent expression may bring back a document the user needs. In automatic rewriting, the same degree of latitude could change a stated fact or introduce an offensive tone. A useful resource can support both tasks if it records where the differences lie. A single yes-or-no judgment settles the question for a particular annotation policy, but gives a later user little basis for applying a different policy. A scale of better and worse matches gives more resolution, though the reason for a judgment can still remain hidden.
Document context adds a further distinction. A phrase can have a precise meaning in a story because the preceding lines have established who is speaking, what has happened, or which object is in view. A second phrasing may refer to the same thing in that scene while having a different range of interpretations elsewhere. A reader treating both passages as isolated strings has to guess at evidence the reader of the full texts already has. Recording the original locations gives the annotator a way to assess equivalence in the intended settings. It also lets a later researcher ask how much a system gains from the surrounding text.
The issue of context is distinct from that of wording. Passages can look very different and still qualify as universal paraphrases if their meanings travel together across settings. They can also use much the same vocabulary and differ in what they assert. This matters for semantic similarity because a collection meant to test understanding can inadvertently reward a shortcut. If highly overlapping strings are usually positive and dissimilar strings are rarely considered, a system may be able to exploit that pattern even when it struggles with pairs that require understanding the message.
How earlier collections found candidates
The paper describes a recurring tradeoff between the amount of material a project can gather and how closely someone can inspect it. Automatic construction can supply enough examples for fine-tuning, the process of adapting a pretrained system to a particular task. It also gives the extraction procedure considerable influence over what appears in the collection. Human review can exclude bad suggestions, though it can only judge the candidates it receives. A project may therefore obtain carefully checked labels while still inheriting the tendencies of the initial search.
The Microsoft Research Paraphrase Corpus illustrates this distinction. Its builders searched an online news collection, used rules to identify documents and sentences worth comparing, and filtered the resulting pairs with a classifier. People then decided whether the surviving examples were paraphrases. The resource contains 5.8K pairs. It uses news as a source of independent wording, as the Turku project also does, though the earlier process generated the sentence pairs before annotators judged them. Microsoft Research Paraphrase Corpus
The Twitter URL Corpus uses a different signal. News-related posts that share a link provide a pool in which two writers may express similar content. Its 52K pairs receive binary judgments. The shared link identifies a plausible relationship between posts, and a human decision establishes whether that relationship amounts to paraphrase. ParaNMT-50M illustrates a route to much greater scale. Its builders machine-translated the Czech side of Czech–English parallel text into English, allowing the generated English sentences to be paired with existing English renderings. The result exceeds 50M candidate pairs. Twitter URL Corpus · ParaNMT-50M
The paper also describes language pivoting, where alignments through a shared translation suggest that different expressions may have the same meaning. Opusparcus applies this idea to subtitles, automatically finding candidates and manually judging a smaller sample for each language. TaPaCo derives sets from the multilingual Tatoeba collection. Within a set, the sentences are treated as paraphrases of one another, and the collection has no manual judgments. The multilingual expansion of the Paraphrase Database also includes Finnish, at the level of words, phrases, and syntactic patterns. According to the authors, much of its Finnish material consists of forms of the same lexical items that differ in inflection. Paraphrase Database
Different construction methods thus yield different kinds of evidence. A duplicate marker on a forum can be useful without having been created to answer a paraphrase question. A set of alternatives derived from translations can expose valid rewordings alongside uncertain matches. A manually checked set can provide firmer judgments while inheriting restrictions on length or word overlap. The authors’ objective was to obtain a collection large enough to train systems for natural language understanding while giving annotators control over where to find most positive pairs.
The gap for Finnish
Before the initial Turku release, the paper identifies Opusparcus and TaPaCo as the available resources for Finnish sentence paraphrases. Opusparcus offers 3700 manually annotated Finnish pairs, alongside considerably larger sets of automatically scored candidates at different quality thresholds. TaPaCo has 12K Finnish candidates with no manual verification. These resources establish that Finnish material can be gathered through multilingual alignments. The Turku project asks what changes when people find the passages directly and judge them with their source documents in view.
The size and coverage of the collection also matter independently of its labels. A fragment can have an equivalent that forms a full sentence. A sentence can express a thought that another author distributes over several sentences. Those pairs are difficult to collect when the extraction rule begins by taking single sentences as its only units. Annotators looking at the documents can choose the spans that correspond, even if the writers divided their thoughts differently. That freedom is part of what the authors mean by gathering paraphrases in their natural context.
An earlier, incomplete release of the Turku corpus was already available. The version described in the paper doubles its size, extends the sources beyond alternative subtitles and headlines, and preserves the surrounding documents for manually selected passages. It also adds supplementary candidates for training systems to distinguish closely related passages that convey different meanings. These changes address different needs. The original positive pairs support research on how wording varies, the document locations support research on when equivalence holds, and the supplementary examples support learning where to draw the boundary around paraphrase.
The method, step by step
Find documents worth comparing
The procedure first looks for documents likely to share content. Two subtitles for the same film, for instance, are likely to contain several opportunities for comparison. The authors use metadata and text similarity to put promising documents in front of annotators. The annotators then decide which passages correspond. This division keeps the initial search manageable while allowing the annotator to pick passages whose wording a comparison rule might overlook. News headlines are a deliberate exception to the manual span selection step. Since a headline normally contains a single statement, selected headline pairs go straight to labeling.
From related documents to Finnish paraphrase experiments
The steps in order.
For several sources, the authors use TF-IDF vectors to compare documents. The representation summarizes the pieces of text a document contains and weights them by frequency, giving more influence to pieces that are distinctive across the collection. Here the pieces are character n-grams, contiguous runs of characters taken from within words. Two documents receive a similarity score by comparing the directions of their vectors. Close vectors can indicate shared text, which is helpful for locating related documents. Near identity can be a reason to reject a pair, since minor formatting changes or duplicated text leave little useful paraphrase material for an annotator to find.
For subtitles, the team begins with Finnish alternatives from OpenSubtitles2018 in OPUS. Versions with very high similarity frequently duplicate each other apart from presentation. Very low similarity can indicate mismatched identifiers or other problems in the source. After excluding such cases, the team chooses the most lexically distant remaining pair when there are several versions to choose from. Subtitle timestamps give an approximate line alignment, so an annotator can locate likely counterparts without reading through the entirety of both versions.
The subtitle documents presented for annotation are randomly selected 15-minute segments. Random selection avoids always taking dialogue from the same point in a story. The authors also report adjusting their sampling after seeing that series with many episodes were contributing too much material. In subsequent annotation they applied a maximum of 10 episodes per series. A later pass used another random segment from selected titles, favoring titles that had produced more pairs on the first pass. This gave the annotators more material after the available titles had been tried. It also changed what the second pass sampled, which is why the paper uses first-pass subtitle data for its source productivity comparison.
For news, the team uses articles from the Finnish Broadcasting Company and Helsingin Sanomat, collected through open feeds during 2017–2020. A 7-day publication window and similarity between the article bodies help identify reports of the same event. Body text and headings then take separate routes. For bodies, the authors use human inspection to choose a useful middle region of similarity, where papers are neither closely duplicated nor merely on a similar topic. For headings, the strategy is to favor dissimilar wording when the corresponding bodies are very similar. About 1500 body pairs and 2700 heading pairs went into corpus construction. Equal subject matter remains a clue at this stage, and annotators still need to decide whether particular claims agree.
Discussion material comes from Suomi24. The authors pair opening messages from threads with the same title and subforum and compare the message texts. They filter out near duplicates, very dissimilar candidates, and cases where the shorter message is simply contained within the longer one. This procedure yielded about 13K candidate message pairs. A separate human screening pass discarded 44% of them after a quick inspection of the opening sentences. About 7100 accepted pairs were used. The authors found this preliminary human decision more efficient than making annotators assess the promise of every document pair while also searching it carefully for paraphrases.
The student material provides two further ways to obtain related documents. In translation courses, different students produce Finnish versions of a common original. The researchers sought authentic texts and students with enough experience to produce alternatives richer than short beginner exercises. They obtained 16 source exercises and used 28 pairs of translations, limiting repeated comparisons of the same source when several versions were available. In university exams, the common element is an assignment or subtopic. Students may choose different arguments even within the same assignment, so the authors pair at the level of question and subtopic as appropriate. They used 190 pairs of answers. Supply and permission requirements limited the contribution from both sources.
Choose the passages and retain their locations
In the extraction interface, the annotator reads the related documents side by side. The instruction is to collect interesting matches and avoid spending effort on small changes in inflection or ordering that leave the rest of a phrase essentially intact. The span is whatever expresses the thought under comparison. An annotator can select a few words, part of a longer sentence, or a stretch covering several sentences. The lengths can differ across the sides. In a research design that aims to measure which passages carry the same meaning, those freedoms matter because punctuation and sentence length are decisions made by the original writers.
Annotators favor continuous passages that capture the available match. If a passage continues into information absent on the other side, the annotator has reason to stop earlier. Cutting the passage too soon can lose a useful correspondence. Extending it too far can turn a paraphrase into a pair of related passages with different messages. The paper leaves room for individual judgment at this step, especially around the point where a variation becomes interesting enough to record. Detailed harmonization is concentrated on labeling, where consistency in what a category signifies has a different role from variety in which candidates are found.
The location of each selected span is stored with the pair. When the material moves to the labeling interface, the annotator sees pairs individually and can return to the complete source documents. Extraction and labeling are separate sessions and typically involve the same person, although work can be reassigned. The saved location preserves the evidence used to assign a contextual label. It also permits researchers to compare a system given only the spans with one that is given the surrounding text.
Record why interchangeability holds or fails
The base scale distinguishes unrelated passages, related nonparaphrases, contextual paraphrases, and universal paraphrases. Label 4 without flags represents the strongest judgment. In a reasonable setting where one passage can be used, the other can replace it with its meaning intact. A significant reorganization of the sentence can meet that standard. The guidelines look for a difference in what the sentence communicates, so an awkward transition after substitution is insufficient on its own to downgrade a pair.
Label 3 applies when the current documents support a shared interpretation that can come apart elsewhere. The paper illustrates this with an emergency number and a description of its function. In the relevant setting, the number can identify the service meant by the description. In another setting, that number can have another use, and the service may have a different number. Both passages can therefore convey the same thing where the writers used them, even though substitution across settings would be unsafe. The same reasoning applies when each passage leaves a different ambiguity that the surrounding text resolves.
Label 2 captures related passages whose main claims diverge. The authors use news reporting to illustrate how this can happen. A report that a missing child has been found and a report that a search is in progress concern the same person and event, but convey different states of affairs. Shared subject matter and overlapping details are entirely compatible with this negative judgment. Label 1 covers unrelated passages, including some cases where a name happens to occur on both sides without a meaningful connection between the claims. Annotators use x to skip unsuitable comparisons, including identical passages or text in the wrong language. Labels 1 and x are left out of the main release because they occur only rarely in the manually extracted material.
Flags on label 4 describe differences whose nature can be identified without relying on the particular documents. The arrows > and < mark subsumption. The arrow points toward the more general side, so the order of the passages determines which arrow is used. A version that gives the purpose of someone’s work expresses more than a version that says only that they worked hard. If each side adds a different piece of information, there may be no stable direction of generalization. A contextual label can then be appropriate if the different details leave the shared message intact in the source setting.
The s flag marks differences in style, including register, politeness, strength, or certainty under the paper’s guidelines. An emphatic or profane statement can make a point that a neutral statement also makes, yet the choice will matter in some situations. The i flag records a minor difference in meaning. A shift in grammatical person, number, or tense may qualify if it changes what is conveyed while still allowing the passages to work as paraphrases under the guidelines. A grammatical change with no effect on the meaning need not receive the flag. Several flags can apply to a single pair. The two directions of subsumption exclude each other.
The guidelines distinguish small differences from information the reader can already be expected to know. In the paper’s example about using apples to make products such as jam, one wording explicitly identifies the apple as a fruit. The guidelines treat that fact as shared knowledge and allow an unflagged universal label. The decision would be different if the added phrase supplied a fact specific to the event. A name and a description can likewise receive the strongest label when the description identifies the same entity uniquely through shared knowledge.
Time expressions make the dependence on context especially visible. An absolute date and a relative phrase such as the previous year may point to the same event at the time of writing. The relative phrase changes its reference if said at another time. When the date belongs to a readily identifiable event treated as shared knowledge, the guidelines can describe the difference through directionality. When the event is an unidentified crime and only the documents tell the reader which date is meant, the same kind of wording difference can lead to label 3. The classification depends on what licenses the match.
Add rewrites, check labels, and split the corpus
After assigning a label, the annotator can sometimes convert a near match into a freely interchangeable pair with a small edit. The instructions allow changes such as adding or removing a phrase or replacing a word where that is sufficient. The new pair is intended to qualify for unflagged label 4. The original retains its original label, so the rewrite adds an example without erasing the difference that prompted it. Annotators move on if a reliable rewrite would require substantial effort. This yields additional training material aimed at strict equivalence while preserving the distinction between naturally occurring texts and edited examples.
Difficult cases can be flagged for discussion. The annotators used team meetings and shorter exchanges to resolve questions and update a 17-page guideline document. Since those decisions accumulated over the course of the project, the authors went back to early labels, paying particular attention to style and minor deviation, where the guidelines had changed. They reviewed 5.7% of all annotated examples in these targeted checks and corrected about 30% of the reviewed examples. Most corrections concerned annotations from the first 2 months. These figures describe the targeted checks, whose selection was guided by known problems.
The corpus uses an 80/10/10 allocation to training, development, and test. The split assigns grouped material together. When pairs share a film, an episode, a news article, a source text for translation, or an exam question, they go into one section together. This matters because related passages or repeated versions of an underlying message can appear in several pairs. Keeping those groups together reduces the chance that a test judgment closely repeats something seen during training. The development data support choices during system construction, leaving the test data for reporting performance.
Train a classifier on paired passages
The classifier starts from FinBERT, a BERT encoder pretrained for Finnish. An encoder turns the symbols of a text into vectors that are then used for a prediction. Here it processes both statements jointly. The input order is as follows.
[CLS] A [SEP] B [SEP]
A is the first statement and B is the second. [CLS] is a special token at the beginning of the input. [SEP] is a boundary token used after the first statement and again after the second. The input order also fixes how any directional label is interpreted. Swapping the statements in a pair with directional subsumption changes which side is more general.
The classifier assembles its evidence from five vectors in the final encoder layer. It takes the vectors at the initial token and at both separators, then averages the token vectors within each statement separately. Averaging, also called mean pooling, converts a variable-length text into a fixed-size representation. The operation for one statement can be written as follows.
m = (Σⱼ vⱼ) / L
Here m is the pooled vector, vⱼ is the vector for token j, and L is the number of token vectors in the statement. Σⱼ means to add those vectors over the token positions, and the division takes their mean. For the classifier, the two statement means are placed side by side with the special-token vectors before the result is passed to the prediction layers.
The system predicts the base label, the subsumption direction, the style flag, and the minor-deviation flag in separate layers. The base label can be 2, 3, or 4. The subsumption layer can predict either direction or no direction, and each of the other layers predicts whether its flag is present. If a training example has a base label of 2 or 3, the layers for the flags receive no training update from that example. In the annotation scheme, those flags apply only to label 4. Splitting the predictions also allows the classifier to assemble a rare combination of familiar components, rather than having to learn a separate category for every combination of flags.
The authors first train the classifier on the manually annotated corpus alone. Since people searched deliberately for paraphrases, negative examples form a small part of that training set. Randomly pairing arbitrary sentences would supply easy negatives. The authors want examples more likely to resemble plausible matches, following the argument in earlier work on parallel corpus mining that related negatives are important when training sentence comparison systems. Their approach is to retrieve nearby sentences and then use the initial classifier to help pick candidates likely to have different meanings. Effective Parallel Corpus Mining
Mine related examples to supplement the training data
The search sources are the Finnish Internet Parsebank, drawn from crawled web text, and Finnish sentences from OPUS, obtained through the Tatoeba Translation Challenge. Together they provide nearly 400M unique sentences. The authors encode each sentence with FinBERT before adapting it to the paraphrase task. They obtain one vector per sentence by averaging token vectors, then use FAISS to find each sentence’s five nearest neighbors within its own source. This search uses Euclidean distance.
d(u, v) = √(Σⱼ (uⱼ − vⱼ)²)
u and v are the sentence vectors. Their values at coordinate j are uⱼ and vⱼ. The subtraction measures the difference at each coordinate, the superscript squares it, Σⱼ adds the squared differences over all coordinates, and √ takes the square root. The resulting d(u, v) is smaller for closer vectors. After retrieving neighbors, the authors collapse repeat pairs, including pairs found in both directions.
For a human check, they sample 15,000 candidate pairs, taking 7500 from each source. The sampling deliberately gives equal representation to 20 intervals of lexical similarity with widths of 0.05. Here, lexical similarity is based on cosine scores for vectors of character sequences of lengths 2–4, using term frequency rather than TF-IDF weighting. The even spread allows inspection of both the nearly identical candidates and those that are close in the encoder’s representation despite little visible overlap. The annotators assign usable judgments to 14,530 pairs and skip 470. The resulting material is divided with a 1/3 and 2/3 split into opus-parsebank-dev and opus-parsebank-test. It supplies development and test judgments, separate from the examples used to fit the final classifier.
The development judgments are used to look for reliable sampling regions. One dimension is lexical similarity. The other is the first classifier’s confidence in a negative judgment. Combining the dimensions shows where the classifier is likely to be right and where candidate pairs are negative even though the classifier assigns them less confidence. For the supplementary negative collection, a pair qualifies if its lexical similarity is under 0.1 or its negative-class confidence is over 0.4. The paper reports approximately 5M candidates and an estimated precision of 97.7% from the annotated sample.
The authors also collect supplementary positive candidates. These must have lexical similarity over 0.5 and a predicted probability for base label 4 of at least 0.998. The selection yields about 500K candidates, with estimated precision of 95.8%. Both precision estimates describe what the authors infer from annotation, rather than the outcome of a manual review of every released candidate. The final pairwise classifier uses a sample of 84K automatically gathered negatives alongside 84K manually annotated training pairs. The automatic negatives lack a reliable distinction between unrelated pairs and related nonparaphrases, so the classifier training combines them under one negative label.
Train an encoder that can search by meaning
The joint classifier has to encode both passages anew for every comparison. That is practical when someone already has a pair to judge. In a very large collection, even a single query has many possible partners, and considering all pairs multiplies the work. An alternative is to encode each passage independently, save the vectors, and use distances or similarities to compare them. The authors adapt Sentence-BERT to Finnish for this purpose. The two sides use the same encoder parameters, so each passage can be encoded on its own and still be compared in a shared space.
The initial weights come from Finnish BERT-base. The authors use mean pooling over the final layer and a batch size of 16. On the development set they compare mean pooling with taking the initial token vector and with taking the maximum value at each coordinate. They select mean pooling and use a learning rate of 1e-5 in each training variation. The detailed paraphrase labels are reduced to a binary signal for this task. Labels 1 and 2 are negative, and labels 3 and above are positive. The aim is to move potential equivalents closer together and teach the encoder to give lower similarity to a related passage whose meaning differs.
The paper compares manual training data alone, manual data plus automatic negatives, manual data plus both automatic sets, and the two automatic sets alone. The manual-only configuration is reported as having 81.8K positives and 1.4K negatives. With automatic negatives added, the listed negative count is 5.6M. The configuration using all sources has 625K positives and 5.6M negatives, while the automatic-only configuration has 543K positives and 5.6M negatives. These are the counts reported for the retrieval configurations. The earlier approximate counts describe the mining procedure.
In the smaller retrieval tests, passages are compared by cosine similarity, which emphasizes the orientation of a vector rather than its magnitude. It can be expressed as follows.
cos(u, v) = (u · v) / (‖u‖ ‖v‖)
u and v are vectors for the two passages. The dot · denotes the dot product, which adds the products of corresponding coordinates. The paired bars around each vector indicate its length. The denominator multiplies those lengths, and cos(u, v) is the resulting similarity score. A higher score puts a candidate closer to the top of the cosine ranking. In the large-index experiment the authors instead retrieve neighbors by Euclidean distance, giving higher rank to smaller distances.
The retrieval experiment begins with a known pair (s₁, s₂). Here s₁ is the passage used as the query and s₂ is its annotated counterpart. The search ranks the candidates for s₁ and checks the position of s₂. In the large experiment the paper gives the rank cutoffs as follows.
N ∈ {1, 10, 100, 1000, 2048}
N is the maximum rank that qualifies as success at a given cutoff. ∈ indicates that it takes a value from the set inside the braces. The values run from asking whether the known counterpart is first to asking whether it appears anywhere in the returned list at the experimental limit of 2048. The multiple cutoffs distinguish a system that often picks the counterpart as its first answer from one that can give a later decision procedure a shortlist containing it.
Experiments and results
What the corpus contains
The results begin with the kind of text the extraction procedure obtains. In the released corpus, alternative subtitles account for 86,170 pairs, or 82% of all pairs including rewrites. News contributes 9%, with body text accounting for 5% and headings for 4% of the corpus. Forum messages contribute 8%, student translations 1%, and university exam answers less than 1%. The balance reflects the availability of material and the work involved in finding suitable passages. In particular, prealigned subtitles can offer many matches within one short section of a document.
The authors compare the Turku resource with the Finnish candidates from Opusparcus and TaPaCo. The comparison uses 12,000 pairs per resource. For Turku, the sample consists of positives from the training split. For TaPaCo, the procedure selects a random pair from each eligible set, so sets with many possible combinations do not supply all those combinations. For Opusparcus, the sample consists of the highest-confidence candidates. Thus the results compare samples drawn from the bulk collections under stated rules. The automatic collections have less certain labels, an issue the authors account for when interpreting the distributions.
In those samples, the average length of one statement is 8.8 tokens in Turku, 5.6 in TaPaCo, and 3.6 in Opusparcus. The Turku length distribution is also wider. Character overlap tells a complementary story. With cosine similarity over TF-IDF character sequences of lengths 2–4, the Turku sample has a greater share of low-overlap pairs. This is an important check on how the material was selected. Human extraction was intended to find pairs whose relation remains visible to a reader when the words diverge. Length and overlap describe different properties, and both distributions move in the direction the authors sought.
The paper also analyzes how neatly the selected passages fit ordinary sentences. A Finnish dependency parser marks sentence boundaries and helps identify well-formed sentences using capitalization, final punctuation, and the presence of a main verb. By this operational test, roughly 12% of individual passages are phrases or fail the single-sentence criteria, 73% are well-formed single sentences, 13% span two sentences, and 2% span more than two. Looking at pairs, 63% link a well-formed sentence on one side to a well-formed sentence on the other. Sentence-to-two-sentence pairs account for 10%, and sentence-to-phrase pairs for 9%. These results quantify the examples that a corpus restricted to matching single sentences would have difficulty representing.
A further comparison counts simple transformations that can account for the difference within a pair. The analysis, adapted from earlier work on Finnish translation alternatives, includes changes of word order, differences in inflection, comparisons of lemmas, and synonym replacements. Some checks allow the omission of function words, and some combine that allowance with replacement by synonyms. Each of the first order- and inflection-based patterns occurs in less than 1% of the Turku sample. Synonym replacement, at 2%, is the most common of the elementary patterns in the Turku material. Opusparcus and TaPaCo show more of the patterns based on normalized forms and reordering. Quantitative Evaluation of Alternative Translations
How consistently people apply the labels
Most pairs in the main collection were labeled once, with regular overlap batches to monitor agreement. The overlap exercise involved 2025 examples, or 2% of the naturally extracted corpus, and produced 4287 individual annotations. An annotator first selected the passages. For the agreement exercise, different annotators labeled the selected material independently, and the team resolved conflicting judgments to produce consensus labels. This procedure assesses how consistently people classify pairs they are given. Agreement on which passages to select would require a different comparison.
Against the consensus, individual annotators reach 70% exact accuracy on the base label and all flags. When style and minor deviation are removed from the evaluation, leaving the base label and any subsumption direction, accuracy is 74%. Cohen’s kappa adjusts observed agreement for agreement expected by chance under the annotators’ labeling frequencies. For the full labels, kappa is 0.63 for individual judgments against consensus and 0.42 as a weighted average across annotator pairs. With style and minor deviation removed, the corresponding values are 0.66 and 0.45. The comparison with consensus and the comparison between independent annotators answer different questions and should be read separately.
The authors also test the rewritten pairs. They sample 500 rewrites and mix them with naturally extracted candidates in a 50/50 ratio. Examples are shuffled and assigned to annotators other than those who previously judged them. The document context is hidden for this exercise because the source passages could reveal which pairs had been edited. After double annotation and reconciliation, 78% of the sampled rewrites receive unflagged label 4. The intended label is thus borne out for most of that sample, with substantial room for disagreement over whether a small edit has made the two passages freely interchangeable.
Predicting a complete label
The classifier is evaluated on the Turku test split and on opus-parsebank-test. The former is dominated by manually collected positives and tests distinctions among several kinds of paraphrase. The latter is drawn from automatic neighbors and has many more negative examples, since the comparison starts from sentences selected for similarity rather than from passages a person considered likely paraphrases. The choice of test set therefore affects how much the aggregate score reflects rejection of negatives.
An exact accuracy score counts a prediction as correct when it matches the full target label. The authors also report precision, recall, and F-score. Precision for a class measures how frequently a prediction of that class is correct, while recall measures how often the system identifies a true member of the class. F-score joins those two aspects in a single measure. The weighted average gives a class more influence when it occurs more frequently in the test set. The paper also reports scores for components or simplified versions of the labels, such as subsumption combined with the base class while style and minor deviation are inspected separately.
Complete-label accuracy on the Turku Paraphrase Corpus test set
Adding mined negatives leaves exact classification accuracy close to the original baseline.
The numbers
| System or setting | accuracy % |
|---|---|
| FinBERT classifier trained on manual annotations | 58.1 |
| FinBERT classifier with mined negatives (this paper) | 58.3 |
On that test split, the weighted F-score is 57.6 for the corpus-only classifier and 58.0 for the augmented classifier. The F-score for label 2 goes from 30.3 to 36.2, with recall rising from 22.4 to 32.9 and precision falling from 46.8 to 40.2. The system therefore recovers a greater share of the related nonparaphrases while making more mistakes among its predictions of that label. Unflagged base label 4, as evaluated with the style and minor-deviation flags handled separately in the class-level report, has F-scores of 72.4 and 72.2. Contextual paraphrases remain harder to classify, with the label 3 F-score moving from 55.3 to 55.8.
Negative-class F-score on opus-parsebank-test
Training with automatically mined negatives improves recognition of nonparaphrases in the neighbor-based test.
The numbers
| System or setting | F-score |
|---|---|
| FinBERT classifier trained on manual annotations | 37.5 |
| FinBERT classifier with mined negatives (this paper) | 83.8 |
In opus-parsebank-test, overall complete-label accuracy is 35.5% for the corpus-only baseline and 69.9% for the augmented system, and weighted F-score is 37.9 and 72.6, respectively. The negative class drives much of the improvement. Its recall rises from 23.1 to 75.0, while its precision moves from 99.0 to 95.0. The baseline’s high negative precision therefore describes a selective predictor that misses many actual negatives. The augmented classifier calls substantially more of them correctly while retaining high precision. In a test collection with many semantically related distractors, that change matters even though assignment among the positive labels remains difficult.
The comparison with human judgments gives a sense of the difficulty of complete labeling. The pairwise classifier reaches the reported 58.3% on the Turku test set, and annotators reach 70% against their consolidated labels in the overlap exercise. The comparison is approximate. The people could inspect the documents in normal annotation, while the classifier sees only the passages. The human figure also comes from agreement against consensus in a separate evaluation. The two scores motivate closer study of the classification task without isolating the effect of any particular source of difficulty.
Retrieving a known counterpart
For the smaller search experiments, the authors build a candidate collection from all distinct statements appearing in pairs in each test set. This gives 19,893 candidates on the Turku test split and 19,271 on opus-parsebank-test. The search includes known positives and negatives. For each positive query, top-1 accuracy records whether the known counterpart is ranked first. Since the counterpart is in the index, this evaluates how well the encoder distinguishes it from other passages. The score gives credit for retrieving the annotated target, even though a collection can in principle contain other valid paraphrases for the same query.
The comparison includes a character-based TF-IDF baseline and a neural baseline using FinBERT without training on the paraphrase task. The lexical baseline represents passages using character sequences of two and three characters. On the Turku test set, each neural setting outperforms TF-IDF at top-1. The Finnish Sentence-BERT setting trained on the manual data and both sets of automatically mined examples comes out close to unadapted FinBERT, with the paper describing the result as comparable or slightly better. The other Sentence-BERT settings fall below FinBERT on this measure.
For opus-parsebank-test, the extraction process favors the comparison methods that helped construct the candidates. The pairs began as close neighbors in FinBERT’s representation. The sample spans the lexical similarity range, yet the positive examples concentrate at higher overlap after human judgment. The paper reports a lexical similarity average of 0.73 for the positives, against 0.5 across the full development sample. Unadapted FinBERT and TF-IDF do well in the top-1 comparison on this test. The authors interpret that result in light of how the candidate pool came to exist.
Top-1 for positives leaves open whether a system also gives high similarity to a related nonparaphrase. To inspect this, the authors calculate average positions for pairs in each label group. They express the average position as a percentage of the candidate ranking, on a scale where 0% represents a system that would always rank the annotated partner first. They give 5% as corresponding to an average position of sixth in a collection scaled to 100 candidates. Lower values indicate an earlier position. Earlier positions are desirable for known paraphrases, whereas lower similarity and thus later positions are desirable for known negatives. The point of the diagnostic is to see how the groups separate.
The large search combines the candidates from the Finnish Internet Parsebank, OPUS, and the paraphrase corpus into an index of 399M unique sentences. The authors compare the adapted Finnish encoder with unadapted FinBERT and with a multilingual Sentence-BERT encoder. The multilingual encoder is based on XLM-RoBERTa and was trained on parallel data to produce representations comparable to those of an English Sentence-BERT teacher. FAISS supports the vector search with GPU acceleration. For each tested pair the experiment records how early the known counterpart is retrieved.
Finnish Sentence-BERT top-10 retrieval by label in the 399M-candidate search
Universal paraphrases are retrieved earliest most often, and context-dependent pairs are harder to find.
The numbers
| System or setting | top-10 retrieval accuracy % |
|---|---|
| Context-dependent paraphrases | 29 |
| Paraphrases with directional subsumption | 41 |
| Universal paraphrases (this paper) | 53 |
The large search groups pairs by base label and, for label 4, by the presence of subsumption. Style and minor-deviation flags are disregarded in this grouping. Finnish and multilingual Sentence-BERT give comparable results in the large collection, and both outperform unadapted FinBERT. The authors suggest that the expanded collection produces more topically or lexically convincing distractors of the kind that task-specific training can help an encoder reject. Whereas the small search asks whether a counterpart can beat a test set’s other passages, the large search asks whether it can reach a usable shortlist in the presence of hundreds of millions of candidates.
What the ablations show
More negatives change what the classifier rejects
The comparison between the corpus-only classifier and the bootstrapped classifier is the clearest controlled change in the pairwise experiments. The prediction scheme stays the same, while the second training set contains many more plausible-looking nonparaphrases. The outcome differs sharply across the test sets. On Turku, which was assembled to contain paraphrases, changes in exact accuracy and weighted F-score are limited. On opus-parsebank-test, the augmented classifier identifies many negative pairs that the baseline misses. This shows where the added training material helped under the reported evaluation.
Negative recall explains the large improvement better than negative precision alone. The baseline almost always has reason for confidence when it predicts a negative on opus-parsebank-test, but it seldom makes that prediction for actual negatives. Adding mined examples makes the classifier less inclined to assign positive labels to semantically related candidates by default. This also raises the precision of several positive decisions. There is less evidence for a corresponding improvement in separating the different positive relations. The Turku results show little change for universal or contextual pairs even though rejection improves for the rare related negatives.
The result is specific to the change tested. The augmented set increases the quantity of negative training data and selects that data through nearest-neighbor search and confidence filtering. The paper’s comparison combines those decisions. This thus measures how valuable the resulting augmentation is and leaves unresolved how much of the improvement is due to the number of negatives, their difficulty, or the thresholds selected. A comparison with equally many arbitrary negatives would answer a narrower question about the mining procedure.
Retrieval training affects negative ranks before it wins at top-1
The Sentence-BERT training variations expose a difference between returning a known positive and giving negatives an appropriate score. In the smaller searches, the complete combination of manual and automatic data is the strongest of the task-adapted configurations. Even so, on the Turku top-1 test it is only close to the unadapted baseline. If the comparison ended at top-1, it would suggest a modest gain from tuning the encoder on paraphrases.
The rank analysis gives another view. Unadapted FinBERT tends to assign good positions to some related nonparaphrases, particularly in opus-parsebank-test, whose pairs were selected using its own vector neighborhoods. With substantial negative training, the adapted encoders push those pairs farther down. In the Turku test, adding negative data also helps create separation between label 2 and label 3. The desired behavior is a worse average position for related nonparaphrases and a better one for contextual paraphrases. That separation can improve even when the rate of placing a positive target first changes little.
There is also an ordering among the kinds of positives. In the reported rank analyses, stronger equivalence generally corresponds to earlier retrieval, and the large search shows the same pattern at the top-10 cutoff. This is consistent with the annotation scheme. A universal counterpart frequently carries enough of the same information to be recognizable from the spans themselves. A contextual counterpart can require information that the search never receives. The paper’s analysis groups examples by label, so it does not distinguish the role of omitted context from differences in length, vocabulary, or other properties of those groups.
Scale changes the baseline comparison. In the small Turku search, unadapted FinBERT remains competitive. With the greatly enlarged index, the Sentence-BERT encoders show a clearer advantage. That finding concerns retrieval with the actual candidate collections and distance measures used in the paper. The authors’ explanation about more difficult distractors is plausible given the setup, though they do not label the distractors that outrank a target and then measure how often each kind accounts for an error. The near parity of Finnish and multilingual Sentence-BERT in the large search also shows that the benefit is shared by both adapted encoders in this evaluation.
Candidate selection shapes what people can annotate
The source productivity comparison explains much of the released corpus’s composition. The authors calculate yield over document pairs that produced at least one candidate. Student translations yield 22.7 pairs per productive document pair, and alternative subtitles yield 17.6 in the first pass. News bodies yield 3.7, and forum messages 1.7. Among the considered forum document pairs, 36.7% produced no candidates, compared with 9.2% of subtitle pairs in the source productivity analysis. A low yield can arise because documents hardly differ at all or because they discuss related material without making the same point.
Where documents are well aligned, reviewers can move quickly from one correspondence to the next. Where arguments appear in different orders, as they often do in news and forums, an annotator may need to search across the whole document for a passage that matches. The context of that passage then has to be checked because the two texts may tell different stories about the common topic. The authors’ informal monitoring found a substantial slowdown when annotators switched from subtitles to news and forum material. This explains why the proportional share of usable text and the number of examples an annotator can collect in a working session can point towards different sources.
The corpus comparisons offer indirect evidence about what manual span selection contributed. Turku contains longer passages, more pairs with low overlap, and fewer pairs accounted for by simple changes in inflection or order. The automated neighbor sample also contains more elementary variants than the manually selected data. About 17% of the positive pairs in that annotated automatic sample fall into recognized elementary patterns once small character changes are included. These observations fit the instructions to favor nontrivial examples. Because the samples also differ in source and selection policy, the comparisons do not isolate human selection as the sole cause.
The authors explore how sensitive one comparison is to the Opusparcus confidence cutoff. With the 480K highest-confidence candidates, its length distribution and average length stay broadly similar to the smaller sample, while its similarity distribution becomes close to flat. This comparison separates two conclusions that might otherwise be lumped together. The length contrast persists under the broader sample. The shape of the lexical similarity distribution depends more on which Opusparcus candidates are included, and the lack of judgments for those candidates limits the explanation.
The label analysis locates some disagreement
Removing style and minor deviation from the agreement calculation makes individual annotations more likely to match the consensus. Pairwise kappa also rises under the simpler evaluation. This is a change in what the scoring procedure counts as disagreement. It preserves directional subsumption and the base categories while treating labels that differ only on the omitted flags as matches. The resulting scores show that some disagreement lies in those extra distinctions, while the remaining disagreements demonstrate that the base categories and direction also require judgment.
Other analyses are more diagnostic than controlled. Universal label 4 tends to dominate the higher lexical similarity region in the Turku data, while the positive labels are more evenly distributed below 0.5 on the corpus’s character-based cosine scale. Much of the material lies in the low or middle regions. This helps explain why choosing dissimilar passages can enrich an evaluation without making overlap irrelevant. Close wording remains informative for some pairs, and the usefulness of that signal varies with the kind of equivalence under consideration.
Limitations
Limits the authors identify
The most direct limit is that the classification and retrieval experiments leave the source documents out. The corpus was built so that researchers could examine paraphrasing in context, and annotators could look at the full documents during ordinary labeling. The baseline systems take the selected passages as inputs. Their performance therefore establishes what those passages alone support in these setups. It cannot measure the improvement available from supplying the surrounding text. The authors explicitly leave context-aware classification and closer study of contextuality for future work.
Human agreement also has to be interpreted in light of the scheme. The paper warns against straightforward comparisons with other corpora because they differ in their balance of positives and negatives and in the distinctions annotators must make. In Turku, many decisions concern the boundary between types of positive pairs that a binary task might group together. Cohen’s kappa helps account for expected chance agreement. It does not place corpora with different labeling rules on a common difficulty scale. The authors also recognize that disagreement can arise from the nature of semantic judgment. Dealing with Disagreements
The authors identify a limit on the cross-corpus comparisons. The bulk of Opusparcus and TaPaCo consists of automatically assembled candidates. For the Turku sample, known negatives can be excluded. For the comparison samples, the true mixture of positive and negative pairs is uncertain. If false candidates tend to differ from true ones in their length or overlap, the overall distributions partly reflect that mixture. The manually judged Opusparcus subsets have their own sampling emphasis on lexical dissimilarity, so using those alone would answer a different question. The reported analysis is best read as a comparison of accessible samples from the resources and the collection procedures they represent.
Source diversity is constrained by what the team could acquire and annotate. Several genres appear in the release, but most of the material comes from subtitle alternatives. Student translations are productive when available, yet permissions and the aim of open licensing make them difficult to obtain at scale. The authors also find that news and forum material takes longer to process because relevant passages are harder to locate and verify. The finished collection reflects those practical constraints as well as the underlying tendency of each genre to contain paraphrases.
Limits of the experimental setup
The corpus is intentionally selective. Most passages start from related documents, and annotators look for rewordings substantial enough to be interesting. The reported 98% positive share is therefore a description of the release. It says little about how frequently paraphrases occur in the original sources or in arbitrary Finnish text. The examples found are valuable for the task because the sources make paraphrase relatively common and the annotators are instructed to seek it. The same design makes the collection unsuitable for directly estimating prevalence.
The negative supplement has a different selection mechanism. Its pairs come from a particular Finnish encoder’s nearest neighbors and are then filtered using lexical similarity and another classifier’s confidence. The estimated precision concerns that procedure and the annotated evidence used to assess it. Other kinds of negatives may be underrepresented, such as pairs that the initial encoder keeps far apart or uncertain cases excluded by the thresholds. Likewise, since the mined positives require high lexical overlap, they support some kinds of paraphrase learning while continuing to favor visibly similar examples. These supplementary resources have a different evidential status from pairs individually judged by annotators.
The most informative way to read the classifier results is to consider the distribution of labels and the reported class-level scores. A steady aggregate score on the positive-heavy Turku test does not tell the reader whether rejection improved on the few negatives in that split. Conversely, a large aggregate gain on opus-parsebank-test does not imply that the classifier mastered the distinctions among contextual, directional, and universal paraphrases. The broad test scores answer how frequently the complete labels are right on those samples. They leave open how performance would change on naturally encountered mixtures of pairs.
The human comparison gives a reference point with important differences in measurement. People helped establish the consensus against which individual judgments were scored, and the overlap batches concern labeling candidates already selected by someone. The classification accuracy concerns separate test predictions from spans without documents. Without a matched human comparison that also withholds the documents, or a classifier evaluated both with and without context, the reported gap cannot be attributed to the lack of context alone. Full-label errors could also come from genuinely difficult distinctions or from limits of the classifier even when the relevant evidence is present in the spans.
The rewrite evaluation also changes the conditions under which a judgment is made. Hiding document context helps blind annotators to whether a pair is edited. It also withholds a source of evidence available in ordinary annotation. The 78% result shows agreement with the intended label under that blinded procedure. It cannot determine how many of the remaining rewrites fail because an edit left a semantic difference and how many fall into cases where fuller evidence or another judgment would matter. It also does not imply that the same share of all original pairs would receive that label.
Finally, the mining experiment measures retrieval of known counterparts. It inserts the target into the search collection and asks whether its rank is good enough. A query can have additional acceptable paraphrases in the index, and the benchmark gives no credit for them unless they are the target being measured. Equally, a high rank for the target does not establish that the rest of the shortlist is relevant. The result is evidence about recovering a known pair in a large index. It does not quantify the precision of collecting new paraphrases from that index, and it does not test the complete process of reranking the retrieved candidates with the pairwise classifier.
What came after
No subsequent studies are documented that build on the corpus or its baselines. The authors identify classification with access to the original documents as a direction for further work. The preserved span locations would allow a direct comparison between judgments made from the passages alone and judgments made with their surrounding text, especially on label 3. They also describe a possible two-stage mining procedure in which sentence embeddings supply a shortlist and the pairwise classifier judges the resulting candidates. The published experiments evaluate the components separately and leave the performance of that combined procedure open.
Cite
Cite as Jenna Kanerva, Filip Ginter, Li‐Hsin Chang, Iiro Rastas, Valtteri Skantsi, Jemina Kilpeläinen, Hanna-Mari Kupari, Aurora Piirto, Jenna Saarni, Maija Sevón and Otto Tarkka. 2023. Towards diverse and contextually anchored paraphrase modeling: A dataset and baselines for Finnish. Natural Language Engineering.
@article{kanerva2023diverse,
title = {{Towards diverse and contextually anchored paraphrase modeling: A dataset and baselines for Finnish}},
author = {Jenna Kanerva, Filip Ginter, Li‐Hsin Chang, Iiro Rastas, Valtteri Skantsi, Jemina Kilpeläinen, Hanna-Mari Kupari, Aurora Piirto, Jenna Saarni, Maija Sevón and Otto Tarkka},
journal = {Natural Language Engineering},
year = {2023},
doi = {10.1017/s1351324923000086},
url = {https://doi.org/10.1017/s1351324923000086}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/kanerva-2023-diverse-contextually-anchored-paraphrase-modeling/