Elamur Research

Paraphrase Recognition Using Machine Learning to Combine Similarity Measures

Paper · 2009 · Prodromos Malakasiotis

Summary

A question and its answer may use different words for the same relationship. Two news sentences can have the opposite problem. They may share names and phrases because they discuss the same event, yet make different claims about it. Paraphrase recognition asks which of these cases applies to a given pair of sentences. It can help a question answering system match a question to an answer expressed differently, or help a summary avoid repeating information it already contains.

The paper compares ways to turn textual resemblance into a decision about meaning. Its starting system, INIT, compares the sentences in their original wording and in simplified forms that retain information such as word stems or grammatical categories. It measures similarity across these representations and trains a Maximum Entropy classifier to combine the scores using labeled examples. A second version uses WordNet to treat synonymous words as matches. The fullest version also compares grammatical relationships obtained through dependency parsing. All versions use the same basic approach to learning from examples, so the richer versions can build on the evidence available to INIT.

On the Microsoft Research Paraphrasing Corpus test split, INIT reaches 75.19% accuracy, compared with 69.04% for a baseline that uses only edit distance. Adding WordNet raises accuracy to 75.48%, and including grammatical relationships raises it to 76.17%, the highest accuracy in the paper’s comparison. The full system’s F-measure, which combines precision and recall for the paraphrase class, is 82.88%. An earlier system by Wan and colleagues reports 83.00% F-measure on the same benchmark. The comparison therefore depends on which aspect of performance matters. On a separate dataset built from English translations of Chinese news sentences, even the edit-distance baseline reaches 95.30% test accuracy, and the paper does little further experimentation on that dataset.

The results show that surface comparisons become more effective when a classifier can draw on several representations of the same pair. INIT already performs competitively without parsing, and the results improve when the classifier gains access to synonyms and grammatical relationships. Tests with selected subsets of features show that much of the predictive signal survives in a smaller representation. Those subsets give up some test accuracy, however, and the paper’s strongest overall result on the Microsoft Research data comes from keeping the full feature set.

Deep dive: Paraphrase Recognition Using Machine Learning to Combine Similarity Measures

The paper tests how well learned combinations of word, synonym, and grammar similarities can recognize when sentences express the same meaning. · about 34 minutes to read

The problem and its context

Recognizing equivalent claims

A recognizer receives both expressions and decides whether they convey equivalent or nearly equivalent meanings. A generator starts with an expression and proposes another way to say it. The distinction matters because the possible outputs of a generator are open-ended, while the recognizer can compare evidence from a particular pair. In the paper’s experiments, the expressions are sentences and the answer is a binary judgment. The paper also discusses phrases and patterns because the same kind of decision is useful when an application compares recurring ways of stating a relationship.

Consider a hypothetical pair in which a city opens a bridge in one sentence and the bridge is opened by the city in the other. The words carry much of the evidence, but the change in grammatical voice changes their order. In another pair, the city opens the bridge in one sentence and closes it in the other. The overlap may look substantial even though the actions differ. A sentence comparison has to accommodate changes that preserve the claim and remain sensitive to changes that alter it. The amount of shared material can help in both cases, yet it has a different interpretation in each.

The paper separates paraphrase recognition from textual entailment. Entailment can run in a single direction. A statement that someone wrote a work supports a more general statement that the work is theirs, while attributing a work to someone leaves open whether it was written at all. Equivalence requires a closer correspondence. The paper allows for near equivalence, which makes the intended judgment broader than strict identity in meaning. How much variation is acceptable depends in practice on what the labeled pairs count as paraphrases. The paper places its distinction alongside work on recognizing textual entailment, including the Third PASCAL Recognizing Textual Entailment Challenge.

These decisions matter when an application encounters equivalent information at different points in its workflow. In question answering, a question can be turned into a statement pattern and compared with patterns taken from possible answers. A phrase naming a person or organization can also be replaced by a category when the matching is meant to focus on the relationship. The value of such comparisons is that an answer can still be found when the document expresses that relationship differently from the question. The paper connects this motivation to earlier work on textual entailment in open-domain question answering.

In text summarization, especially when the input comes from several documents, the decision is about whether a candidate sentence contributes something the draft lacks. Recognizing a paraphrase can keep the same information from appearing again under different wording. The boundary between equivalence and shared content is important here. A sentence can repeat the main event and add a detail at the same time. A hard decision about the pair has consequences for whether that detail makes it into the summary. The paper offers this as an application of recognition and measures performance on sentence pairs.

How earlier systems obtained paraphrases

The generation work discussed in the paper frequently starts from repeated relationships in a collection of texts. A bootstrapping method begins with examples of entities known to stand in some relation. It searches for passages in which those entities appear together and treats the surrounding language as possible ways to express the relation. It then uses the resulting patterns to find more pairs of entities and repeats the cycle. This gives each round a larger pool of evidence, while a mistaken pattern can also affect the evidence gathered in the next round. The paper proposes putting a recognizer between rounds so that generated candidates can be checked before they are reused. Among the approaches it discusses in this context are Extracting Paraphrases from a Parallel Corpus and Scaling Web-based Acquisition of Entailment Relations.

Other methods looked for recurring grammatical or sequential patterns. DIRT compared paths through dependency trees, using the words found at the ends of the paths as evidence about what the paths express. If different paths often connect similar words, the relationship carried by those paths may also be similar. The paper describes LEDIR as extending this line of work to rules with a direction of inference. It also discusses methods that restrict the candidate patterns to paths found in sentences already aligned with each other, with compatible words or entity types at corresponding ends. The discussion includes Paraphrase Acquisition for Information Extraction.

A different approach compared sequences in news stories about the same events. Aligning those sequences made it possible to group alternative phrasings around slots, and the words found in the slots helped establish which patterns might express the same relation. Another approach merged the parse trees of aligned sentences into structures that could be followed along alternative paths to produce paraphrases. Both approaches help explain why the paper treats a recognizer as a component that could be used by several kinds of generator. The generator supplies the candidate expressions and the recognizer evaluates the resulting pair. The paper locates these approaches in Learning to Paraphrase and Syntax-based Alignment of Multiple Translations.

How earlier recognizers judged pairs

The recognition work reviewed in the paper took several routes from sentence pairs to decisions. Zhang and Patrick first made the sentences more comparable through preprocessing. Their approach used a parser to rewrite passive phrases into active forms. It also mapped some expressions, such as dates and percentages, to generic categories and standardized some ways of expressing future action. After this preparation, lexical comparisons supplied the inputs to a decision tree. In such an approach, preprocessing determines which differences still reach the classifier. For instance, a reformulation that standardizes voice can make corresponding words easier to match in sequence.

Wan and colleagues used lexical and grammatical evidence together. Their comparisons included word overlap, sentence-length differences, agreement between dependency relations, and the cost of editing one dependency tree into another. They also computed comparisons over sequences of lemmas, which are the dictionary forms associated with words. Their method used the BLEU score, a measure drawn from machine translation evaluation. This is a close point of comparison for the paper because both approaches describe a pair with several scores and let a classifier learn how to interpret them. The design question is how much of that evidence can come from shallow sentence representations and how much benefits from parsing. Using Dependency-Based Features to Take the ‘Para-farce’ out of Paraphrase.

Qiu and colleagues explicitly examined what remained after finding correspondences. They used parsing and semantic role labeling to represent information in each sentence as tuples, then matched comparable tuples across the pair. A support vector machine judged the importance of the material left unmatched. This addresses a question that whole-sentence overlap tends to blur. Shared information may establish that the sentences discuss the same matter, while the unmatched information determines whether they are interchangeable. Paraphrase Recognition via Dissimilarity Significance Classification.

Finch and colleagues also used a support vector machine. Their approach used grammatical categories and synonym information, and its comparison features came from measures for evaluating translations. This brings a related intuition to recognition. When different wordings are accepted as expressions of the same source content, a useful comparison has to allow some surface variation. Malakasiotis instead builds the central feature set from string comparisons applied repeatedly to different representations. This makes the choice of representation as important to the proposal as the choice of comparison measure.

The method, step by step

From two sentences to a feature vector

The common procedure is to describe a sentence pair with measurements, then learn which measurements are useful for recognition. A feature is a property supplied to the classifier. It might record how similar two sequences of stems are or whether the first sentence contains a recognizable negation marker. The classifier receives these values together. A high value for one kind of similarity can provide evidence without independently settling the label.

INIT first prepares parallel representations of the two sentences. Each representation makes some distinctions visible and suppresses others. Comparing raw tokens preserves differences in wording. Comparing stems can reduce differences due to inflection. Comparing grammatical categories can reveal similarities in sentence shape even where the individual words differ. The same string measures are applied to these representations so that the classifier can learn, for example, whether a match is more informative over original words or over their grammatical categories.

The richer methods change the evidence available at particular points in this procedure. With WordNet, synonymous words from opposite sides of a pair can count as identical during the string comparisons. With dependencies, the classifier can also see agreement between grammatical relationships identified by a parser. The label still comes from the learned combination of features. A synonym match or a shared dependency contributes a measurement that accompanies the other evidence from the pair.

How the recognizer compares a sentence pair

The steps in order.

How the recognizer compares a sentence pairStep 1: Tokenize both input sentences1. Tokenize both input sentencesStep 2: Build parallel sequences at several abstraction levels2. Build parallel sequences at several abstraction levelsStep 3: Optionally identify synonyms across sentences3. Optionally identify synonyms across sentencesStep 4: Score full sequences and their best matching segments4. Score full sequences and their best matching segmentsStep 5: Add negation indicators and a length ratio5. Add negation indicators and a length ratioStep 6: Optionally measure overlap between grammatical relations6. Optionally measure overlap between grammatical relationsStep 7: Learn from labeled vectors and classify unseen pairs7. Learn from labeled vectors and classify unseen pairs

The training set contains sentences in pairs, with a label of 1 for a paraphrase and −1 otherwise. The paper’s input and feature-vector notation can be written as separate steps.

𝒟 = {(Sᵢ,₁, Sᵢ,₂, yᵢ) : i = 1, …, n}

𝒟 denotes the set of labeled training examples. The index i identifies a pair, n is the number of training pairs, and the subscripts ₁ and ₂ distinguish the sentences within a pair. Sᵢ,₁ and Sᵢ,₂ are those sentences, and yᵢ is their class label. The braces collect the examples and the ellipsis covers the intervening values of i.

{(vᵢ, yᵢ) : i = 1, …, n}

Here vᵢ is the vector of measurements computed from the two sentences in example i. The other symbols retain their meanings from the training set. The label travels with the vector during training. When the recognizer receives an unseen pair, it builds its vector in the same way and the trained classifier supplies the label. The paper uses Stanford’s Maximum Entropy classifier for this supervised machine learning step. Its account centers on how the measurements are produced and tested.

What INIT compares

The basic input unit is a token, a piece of text identified by the tokenization procedure. The paper uses Stanford’s tokenizer and tagger along with Porter’s stemmer. Stemming reduces words to forms that can bring related spellings together. The tagger assigns parts of speech, such as noun or verb, which the method uses both to build a sequence of grammatical categories and to identify words for the noun-only and verb-only comparisons.

The complete sequence is represented as original tokens, stems, grammatical tags, and Soundex codes. Soundex maps spellings to alphanumeric codes, with the aim of bringing similarly pronounced English names together. In these features the codes stand in for tokens. An agreement based on Soundex can therefore register a resemblance that an exact token match misses. It supplies evidence of a different kind from either shared wording or shared grammatical category.

The rest of the representations isolate nouns or verbs. For each category, the method retains the original sequence of the selected words, a sequence using their stems, and a sequence using their Soundex codes. The relative order within a category is preserved even though other words have been removed. A noun comparison can thus focus on recurring participants or objects in sentences whose surrounding language differs. A verb comparison can foreground the actions. In either case, the classifier still has access to comparisons over the entire sentence. If the selected words agree while the full wording diverges, both observations remain available.

The resulting 10 representations are paired by type. If one sentence is represented as a sequence of noun stems, the other sentence is also represented as a sequence of noun stems for that comparison. The restricted views can capture agreements masked by extra wording. They also remove information. Two verb sequences may match although the sentences assign the actions to different participants, and two noun sequences may agree while the sentences say different things about those nouns. Keeping the different views in separate features lets the classifier weigh an agreement in light of what the other views reveal.

The grammatical tags are deliberately coarse. The paper leaves out refinements such as noun number and verb voice for this representation. This reduces the penalties for changes in grammatical form that may accompany paraphrasing. It also makes sequences of tags less distinctive. A close match in the order of parts of speech shows that two sentences have similar grammatical shapes, which is compatible with both paraphrases and unrelated claims. The raw-token and stem comparisons give the classifier a way to see which words fill those comparable positions.

How INIT measures similarity

The paper applies nine measures to each pair of representations. These are Levenshtein and Jaro–Winkler distances, Manhattan and Euclidean distances, cosine similarity, n-gram distance with n = 3, and the matching, Dice, and Jaccard coefficients. In the n-gram setting, n is the length of the sequence fragment being examined. The paper names the measures and refers to earlier work for their definitions. The important common choice here is that the operations are applied to tokens, or to the symbols that replace them in a given representation.

For Levenshtein distance, the paper explains that a single edit inserts, removes, or replaces a token. Comparing sequences of original words therefore treats a word replacement as a token edit even when the words look much alike as strings of letters. If the words receive the same stem and the comparison uses stems, the difference can disappear in that representation. If the sentences use distinct words with the same grammatical category, the tag sequence can agree at that position too. The measure is applied in the same way each time. What changes is the information held in the symbols it compares.

Using the whole collection yields 90 measurements before any local comparison or additional indicators. This layout matters because the representation and measure define each feature jointly. Comparing a pair with edit distance on tokens and comparing it with edit distance on noun stems provide distinct evidence. Similarly, different measures applied to one representation can respond differently to the same pair. The paper’s later feature-selection experiments ask how much of this collection a classifier needs to retain useful performance.

Recovering a match inside a longer sentence

A whole-sequence comparison can give a weak score when the content shared by both sentences occupies only part of the longer one. In a news pair discussed in the paper, both versions describe Selenski going over a fence with the aid of a mattress. Their lead-ins describe the other inmate’s fall with different amounts of detail. A comparison concentrated on the shared action can provide evidence that is less apparent when both lead-ins have to be aligned as well.

For the whole-sentence representations using tokens, stems, tags, and Soundex, INIT adds a comparison with the best matching contiguous segment. If one sequence is longer, the procedure enumerates its segments that have the same length as the shorter sequence. It scores each segment against that shorter sequence and keeps the set of scores for the segment that performs best on average. Since every segment is assessed with the same collection of measures, maximizing the sum of their similarity scores gives the same ordering as maximizing their average.

s′₁* = arg max over s′₁ of ∑ⱼ fⱼ(s′₁, s₂)

Here s₁ is the longer representation and s₂ is the shorter one. Each s′₁ considered by the maximization is a contiguous substring of s₁ with the length of s₂. The star marks the selected substring. The term fⱼ is the similarity score used for measure j, and ∑ⱼ sums over the measures. The expression “arg max” returns the substring with the greatest sum. The paper’s displayed summation has an upper bound of 10, while its procedural account specifies nine measures. The procedure described in the text uses those nine scores and then retains their average as an additional feature.

When the second representation is longer, the search takes its candidate segments from that representation and compares them with the first. The paper describes the search for unequal lengths. The central feature-design choice is to keep all the individual scores for the same selected segment. If every measure independently contributed its highest score from any segment, the resulting vector could combine evidence from different parts of the longer sentence. Here the local scores refer back to a common region within each representation, while the global features still describe the entirety of both representations.

The local comparison supplies 40 measurements across the chosen representations. These and the whole-sequence scores make up 130 numeric features at this point. A strong local match can coexist with a weaker global match, and the classifier can use that pattern of evidence. The local features do not settle how to judge the extra material. If the longer sentence adds an important qualification, the selected segment may omit it. Keeping the full comparison gives the learner some evidence that the local agreement is only part of the story.

Adding negation and relative length

INIT includes separate Boolean features for whether each original sentence contains negation. The detector looks for recognizable negative words or contractions. A Boolean feature records presence or absence. Because the two sentences have separate indicators, a classifier can encounter evidence of negation on either side or both sides. These features make an explicit negative marker visible even when the rest of the words overlap closely. Their design concerns the occurrence of a marker, while its scope and the proposition it affects require information beyond that indicator.

The remaining feature records relative token length.

Lratio = min(Lₛ₁, Lₛ₂) / max(Lₛ₁, Lₛ₂)

Lratio is the length-ratio feature. Lₛ₁ and Lₛ₂ are the lengths of the original sentences S₁ and S₂ in tokens. The function min selects the smaller length, max selects the larger one, and the slash means division. Because the comparison always places the shorter length above the longer one, exchanging the sentences leaves this value unchanged. It gives the classifier a way to take a strong segment match in the context of how different the full lengths are.

The two negation indicators and the length ratio bring INIT to 133 available features. The paper reports normalizing feature values to [−1, 1] and using its own implementations of the string measures. Normalization places the resulting measurements on a common numerical scale. The classifier still learns how to use them for a label. A complete match in grammatical categories, for example, supplies a different kind of evidence from a complete match in wording, regardless of whether the scores share a range.

Allowing synonyms to match

INIT + WN adds WordNet as a source of synonym information. When the method identifies words from opposite sentences as synonyms, it treats them as identical for the string comparisons. The paper illustrates the reason with reports about FBI agents sent to collect and examine evidence. One report uses a form of send and the other uses a form of dispatch. The equivalence of the relevant verbs can contribute to a match in spite of their different spellings and stems. The reports also differ in the details they include, so matching the verbs resolves a particular source of lexical discrepancy.

This extension changes the calculation of the existing features. INIT + WN still has 133 available features. A comparison that previously counted two words as distinct can now count them as a match. In the lexical semantics of the task, the useful assumption is that different words sometimes express the same contribution to a sentence. The decision about the sentence pair continues to draw on all the features together. Even when words match under that assumption, the larger claims can differ in time, participants, or other information.

The paper describes the token-equivalence rule and motivates it with the example. It gives no detailed procedure for selecting senses in context or for resolving competing matches. The resulting comparison on the benchmark evaluates the WordNet-enabled variant as a whole. The separate effect of handling any particular kind of synonym or ambiguous word would require evidence at the level of those cases.

Comparing grammatical relationships

INIT + WN + DEP adds grammatical evidence from Stanford’s dependency parser. A dependency relates words through their roles in a sentence. A parser can identify, for example, a noun’s relationship to the verb it serves as the subject of. Comparing these relationships shifts the unit of comparison from a token or token sequence to connections between words. Two sentences can have a large shared vocabulary and use it in different relationships, or arrange the words differently while retaining many of the same connections.

The paper coarsens the parser’s relation labels and ignores the direction of the arcs for the comparison. Coarse labels tolerate differences that would separate related fine-grained labels. Ignoring direction makes agreement less sensitive to how the parser orients a connection. The scores still depend on which relationships are returned for each sentence and which count as common after those choices. They describe the extent of grammatical agreement as a feature of the input pair.

R₁ = |common dependencies| / |S₁ dependencies|

R₁ is the dependency recall relative to the first sentence. S₁ denotes that sentence. The vertical bars mean a count, so the numerator counts dependencies the sentences share and the denominator counts dependencies in S₁. The slash denotes division. This score asks how much of the first sentence’s parsed relational material is also found in the second.

R₂ = |common dependencies| / |S₂ dependencies|

R₂ is the dependency recall relative to the second sentence, S₂. The numerator counts the same common dependencies, and the denominator now counts the dependencies in S₂. The other symbols have the same meanings as in the preceding formula. The directional denominators matter when one sentence has more dependencies than the other. The smaller collection can be well represented in the larger while the larger contains substantial material of its own.

Fᵣ = 2 · R₁ · R₂ / (R₁ + R₂)

Fᵣ denotes the paper’s dependency F-measure, written there with R₁ and R₂ in its subscript. R₁ and R₂ are the two dependency recalls. The centered dots mean multiplication, the plus sign adds the recalls, and the slash divides by their sum. The factor 2 gives the harmonic mean of the two recalls. The combined value rewards agreement that covers both sentences. The individual values remain features so the classifier can still see which sentence has more unmatched relational material.

The paper illustrates the measurements with two pairs and shows their parsed relationships, identifying the common ones in its figures. In the first pair, the same person is introduced as the head of a disaster unit and reports something about a coach. One sentence reports how many passengers were aboard, while the other concerns the driver’s failure to observe red stop lights. The parsed relationships agree over portions of the shared description and diverge over the reported claims. The example’s dependency recalls are 0.43 for the first sentence and 0.32 for the second, with a dependency F-measure of 0.36.

In the second pair, both sentences describe Amrozi accusing his brother of distorting evidence. They place the description identifying his brother as the witness in different parts of the sentence. More of the parsed relationships are shared in spite of that change of arrangement. The dependency recalls reported for this pair are 0.69 and 0.6, with a dependency F-measure of 0.64. These are measurements for particular sentence pairs. Their role is to illustrate what can reach the classifier through grammatical comparison. The resulting feature inventory has 136 entries.

Choosing which features to train on

The paper also tests whether a smaller feature subset can preserve performance. It uses a wrapper procedure, meaning that a candidate subset is judged by training and evaluating the intended classifier with that subset. This takes account of what features contribute in combination. Two scores can each be informative on their own while offering much the same evidence together. Conversely, a score that is weak on its own may help when a different score establishes the context in which it is informative.

The authors use 10-fold cross-validation within the training data to score each subset. In turn, a fold is held aside for validation and the remaining folds are used to fit the classifier. Predictive performance is measured by classification F-measure. The held-out benchmark test data serve a later purpose. Once the search has chosen a subset, the classifier is trained on all the training data with that choice and evaluated on the separate test data.

Forward hill-climbing, or FHC, starts with an empty subset. It tests additions and keeps the feature that produces the best candidate at the next step. This leaves the search with a single path through possible combinations. Forward beam search, or FBS, keeps several promising subsets so that it can pursue alternatives. The paper sets the beam width to k = 10, where k is the number of candidate subsets the beam can retain. It notes that k = 1 gives the hill-climbing case. Both searches are practical ways to explore combinations in a space too large to enumerate exhaustively.

The selection criterion gives this comparison a specific meaning. The search uses F-measure for labeled pairs, while the paper reports test accuracy, precision, recall, and F-measure after selection. A subset chosen for its validation F-measure can change the balance between precision and recall, which can affect accuracy as well. Whether a selected subset preserves a practical amount of predictive performance is therefore an empirical question for the test split and the metric of interest.

Experiments and results

The sentence pairs and their labels

The main evaluation uses the Microsoft Research Paraphrasing Corpus, abbreviated MSR. It contains 5,801 sentence pairs. Two judges annotated each pair, and a third settled disagreements. The corpus provides 4,076 training pairs and 1,725 test pairs. The training split supplies examples from which to learn and is also used for the cross-validation decisions. The test split supplies the common evaluation for the paper’s main systems and the published results it compares them with. Unsupervised Construction of Large Paraphrase Corpora.

The paper reports replacing expressions such as dates, times, and percentages with generic tags in its MSR preprocessing. Normalizing these expressions gives the recognizer a way to see that corresponding portions of two sentences carry the same type of information. Depending on the pair, the original value can itself be part of the claim. The main benchmark figures evaluate the pipeline with this preprocessing in place. The results are consequently measurements of the combined procedure, including how it represents the input before comparing it.

The other dataset is constructed from the MTC corpus. That corpus pairs Mandarin Chinese news articles with 11 English translations per article, produced by different translators. The paper treats translations of the same source sentence as positive pairs and takes all available positive pairings under that rule. It samples an equal number of negatives from translations belonging to different source sentences. The resulting English dataset contains 82,260 pairs, with 70% for training and 30% for testing. Each split has equal numbers of positive and negative pairs.

These benchmarks differ in what a label represents. On MSR, it records a human judgment about the pair. On the MTC-derived data, the label follows from whether the English sentences share a Chinese original. The source relationship provides a way to obtain examples automatically and in quantity. It also supplies a particular way of choosing negatives. Consequently, the two evaluations ask how well the method works with different kinds of evidence and different ways of drawing the boundary around a paraphrase.

The baseline and evaluation measures

The paper’s baseline, BASE, uses a normalized edit-distance similarity score and a decision threshold. Its threshold is tuned on training data by selecting the value with the highest cross-validation F-measure. The search begins over [−1, 1] in increments of 0.1. After identifying an initial threshold, it searches a finer grid nearby in increments of 0.001. Each evaluation uses 10-fold cross-validation. The local search interval is given explicitly in the paper.

[th − 0.1, th + 0.1]

Here th is the initial threshold from the broader search, and 0.1 is the amount subtracted from and added to it to form the new bounds. The brackets mark the interval whose endpoints are shown, and the comma separates the lower and upper endpoints. The refined threshold is then used for the baseline’s test classifications. This design gives the single-measure comparison a threshold chosen using the same training labels available to the learned systems.

Accuracy measures the share of test pairs assigned their recorded labels. Precision asks, among the pairs predicted to be paraphrases, what share carry a positive label. Recall asks, among all the pairs labeled as paraphrases, what share the classifier predicts as positive. A classifier can increase recall by putting more pairs in the positive class, but its precision depends on how many of those additional decisions are correct. Accuracy includes correct negative decisions as well, so it can favor a different balance.

F = 2 · P · R / (P + R)

F is classification F-measure, P is precision for the paraphrase class, and R is recall for that class. The centered dots denote multiplication, the plus sign adds P and R, and the slash divides the product in the numerator by that sum. The factor 2 produces their harmonic mean. This formula has the same form as the dependency F-measure, but the quantities refer to different objects. Here precision and recall summarize decisions across examples. Inside the classifier, the dependency feature measures agreement between the parses of a single pair.

The main comparison on MSR

BASE records 69.04% test accuracy and 78.76% test F-measure. Its precision is 72.42% and its recall is 86.31%. The comparatively higher recall shows that it can recover many paraphrases using edit similarity alone. Its precision shows what happens when the score has to distinguish between useful overlap and overlap on a pair labeled as different in meaning. This makes it a substantive baseline for studying what the additional evidence contributes.

INIT achieves 75.19% test accuracy, 78.51% precision, 86.31% recall, and 82.23% F-measure. Its measured recall is the same as BASE’s, while its higher precision means that a larger share of the pairs it calls paraphrases are correct. The aggregate recall tie leaves open which positive examples each classifier finds. At the level of the reported metrics, INIT’s gains show up in a more reliable positive class and in more correct decisions overall.

INIT + WN reaches 75.48% accuracy and 82.37% F-measure on the MSR test split. Its precision is 78.91% and its recall is 86.14%. The change with WordNet therefore has a mixed profile across the metrics. The paper’s fuller system, INIT + WN + DEP, reaches 76.17% accuracy, 79.35% precision, 86.75% recall, and 82.88% F-measure. These are the strongest accuracy, precision, and F-measure values among the paper’s own MSR systems. The selected-feature settings obtain higher recall at a cost to precision and accuracy.

Accuracy on the Microsoft Research Paraphrasing Corpus test split

The learned combinations beat the edit-distance baseline, and the system with synonyms and dependencies has the highest accuracy.

Accuracy on the Microsoft Research Paraphrasing Corpus test splitEdit-distance baseline: 69.04Edit-distance baseline69.04INIT: 75.19INIT75.19INIT + WN: 75.48INIT + WN75.48INIT + WN + DEP (this paper): 76.17INIT + WN + DEP (this paper)76.17
The numbers
System or settingaccuracy %
Edit-distance baseline69.04
INIT75.19
INIT + WN75.48
INIT + WN + DEP (this paper)76.17

Because the variants share the same general classifier design, the sequence of results shows the effect of progressively changing the evidence available in that design. The large move in the comparison comes when the classifier gains the combined INIT measurements. WordNet and dependencies provide smaller improvements on top of that base. The progression in accuracy is clear across these settings, while individual precision and recall changes give a more detailed account of affected decisions.

Published systems on the same benchmark

The paper compares its results with previously reported MSR results. Wan and colleagues report 75.00% accuracy, 77.00% precision, 90.00% recall, and 83.00% F-measure. Their system uses dependency information, while INIT reaches 75.19% accuracy without computing dependencies. INIT’s precision is higher and its recall is lower in the reported comparison. This is the practical sense in which the simpler method competes with a resource-richer system. If the priority is F-measure, the stronger recall of Wan and colleagues matters, and their reported value also remains above the paper’s full system.

Finch and colleagues report 74.96% accuracy, 76.58% precision, 89.80% recall, and 82.66% F-measure. The paper’s full system has higher reported accuracy, precision, and F-measure, while Finch and colleagues have higher recall. Their results offer a relevant comparison because they also use grammatical tags and synonym information, but rely on translation-evaluation features and a different classifier. The observed differences are the results of those complete systems as evaluated on MSR.

Qiu and colleagues report 72.00% accuracy and 81.60% F-measure, with 72.50% precision and 93.40% recall. Their approach obtains relatively high recall while a lower share of its predicted paraphrases are correct. Zhang and Patrick report 71.90% accuracy, 74.30% precision, 88.20% recall, and 80.70% F-measure. INIT exceeds both in accuracy and F-measure in the paper’s comparison. Those figures describe the tested implementations. The systems differ in how they preprocess input, what they compare, and how they turn evidence into a label.

F-measure on the Microsoft Research Paraphrasing Corpus test split

The fullest system improves on INIT and Finch and colleagues, while Wan and colleagues retain the highest reported F-measure.

F-measure on the Microsoft Research Paraphrasing Corpus test splitINIT: 82.23INIT82.23Finch and colleagues: 82.66Finch and colleagues82.66INIT + WN + DEP (this paper): 82.88INIT + WN + DEP (this paper)82.88Wan and colleagues: 83.00Wan and colleagues83.00
The numbers
System or settingF-measure %
INIT82.23
Finch and colleagues82.66
INIT + WN + DEP (this paper)82.88
Wan and colleagues83.00

The best-accuracy comparison and the F-measure comparison answer different questions about the output. Accuracy asks how often the systems agree with the labels overall. F-measure concentrates on how they recover and identify the paraphrase class. Since different systems have different precision and recall profiles, the rank ordering depends on the measure. The paper’s most elaborate method improves on its own variants on both criteria and leads the reported accuracy comparison.

The outcome on the translation-derived dataset

On the MTC-derived test split, BASE reaches 95.30% accuracy and 95.15% F-measure, with 98.16% precision and 92.32% recall. The learned setting evaluated there is called INIT′ in the results table. It uses 38 features, consisting of 36 scores from the whole-sentence representations of tokens, stems, grammatical tags, and Soundex codes, plus the two negation indicators. With these features, the Maximum Entropy classifier reaches 99.62% accuracy, 99.50% precision, 99.75% recall, and 99.62% F-measure.

Accuracy on the MTC-derived test split

The reduced learned system improves on an edit-distance baseline that already classifies most pairs correctly.

Accuracy on the MTC-derived test splitEdit-distance baseline: 95.30Edit-distance baseline95.30INIT′ (this paper): 99.62INIT′ (this paper)99.62
The numbers
System or settingaccuracy %
Edit-distance baseline95.30
INIT′ (this paper)99.62

The baseline’s performance is central to the paper’s interpretation. A single normalized edit-distance score, with a threshold learned from training examples, already separates most of the automatically constructed positives and negatives. The smaller learned system improves on it using comparisons available from sentence-wide representations. The paper concludes that the dataset is easy for its methods and stops further experiments on it. Its results therefore establish the effectiveness of the tested lexical comparisons on that construction. The MSR results provide the basis for examining whether synonym handling, grammatical relations, and feature selection add value.

What the ablations show

Adding WordNet and dependency information

INIT and INIT + WN form the closest comparison for the synonym extension. They have the same feature count and use the same kind of classifier. The difference is how cross-sentence synonymy affects the string comparisons. Accuracy and F-measure increase with the extension, precision improves, and recall is slightly lower. This is evidence that treating some lexical substitutions as matches can change the final decision in useful ways, while the overall results give no breakdown of which changes come from recovered synonyms or which kinds of pairs benefit most.

The move from INIT + WN to INIT + WN + DEP evaluates grammatical features on top of the synonym-aware comparisons. The full variant adds the dependency recalls and their harmonic mean to the earlier representation. Its reported test accuracy, precision, recall, and F-measure all improve over the preceding variant. Since the added scores aggregate similarities between parsed relationships, the comparison shows value from supplying that relational evidence in this combination. The experiment does not separately estimate the contribution of each dependency score or test a dependency variant with the WordNet step removed.

The two examples with dependency figures give the comparison a concrete interpretation. In the coach pair, the entities and attribution overlap, but the reports make different claims. In the Amrozi pair, much of the accusation is shared even though an identifying phrase moves. Higher dependency agreement in the latter case is consistent with the classifier receiving evidence about structural correspondence that word overlap alone can obscure. The examples show what the features measure on those sentences. The benchmark comparison tests whether supplying such scores helps across the test set.

The paper also reports that ignoring the direction of dependency arcs improved its results. It takes the same general approach to dependency labels that it takes to parts of speech, using coarse categories to support agreement across differently expressed positive pairs. It gives no separate test scores for these design choices. The evidence for arc direction is therefore qualitative, and the table measures the parser extension as configured with both choices in place.

Searching for a smaller set of measurements

The wrapper experiments offer a different kind of comparison. Starting with the full system’s available features, the searches ask whether much smaller subsets can support competitive decisions. The FHC setting uses 7 features. On the MSR test split, it records 73.86% accuracy, 75.14% precision, 90.67% recall, and 82.18% F-measure. The FBS setting uses 10 features and records 73.68% accuracy, 73.68% precision, 93.98% recall, and 82.61% F-measure.

The full set uses 136 features. The selected subsets preserve a substantial amount of its positive-class performance as measured by F-measure. That makes redundancy a plausible interpretation of the feature inventory. Many individual scores are produced by applying related comparisons to different views of the same pair. A chosen subset can capture enough of that evidence to remain competitive. The results do not identify which particular measurements are redundant, because the comparison reports the subset sizes and their scores without identifying the selected features.

Both search methods produce classifiers with higher recall and lower precision than the full setting. Their behavior therefore differs in more than the size of the input vector. The beam-search subset has stronger recall and F-measure than the hill-climbing subset, while the hill-climbing subset has higher accuracy and precision than the beam-search subset. This gives a concrete example of how searching for F-measure can yield configurations with different consequences for other evaluation criteria. On the test split, keeping the full set gives the paper its best accuracy and F-measure.

The fact that beam search can preserve several alternative subsets makes its better F-measure consistent with the idea that early feature choices can affect what later choices are available. The table alone cannot establish why it found the reported subset or whether its gain is due to retaining alternatives, using more features, or the particular sets encountered during search. The controlled result is the performance of the two resulting configurations under the paper’s procedure.

What the comparisons leave unresolved

The contrast between BASE and INIT changes a large block of the input representation as well as the decision rule. It establishes the value of the proposed combination over thresholding a single score on MSR. It cannot isolate the effect of a particular representation or feature family. The paper gives no separate removal experiment for Soundex, negation, the length ratio, or the local matching procedure. The motivations for those features explain the evidence they were designed to capture, and their individual predictive contributions remain unquantified.

The reduced INIT′ experiment on the MTC-derived dataset offers some evidence that a modest set of shallow comparisons suffices there. It does not supply a matched comparison with the full INIT feature set on that dataset. Likewise, the MSR comparisons with other authors’ systems are benchmark comparisons, with several design choices changing at once. They show how the reported systems perform on shared metrics, while the staged variants and feature-selection runs give the more direct evidence about changes inside this paper’s recognizer.

Limitations

Limits identified by the paper

The paper treats the MTC-derived dataset as too easy to justify its main comparative experiments. BASE already performs strongly and the reduced learned version scores highly across the reported measures. The study therefore concentrates on MSR. This limits what can be inferred across datasets. The experiments compare all of the proposed extensions on MSR and establish a strong result for a smaller configuration on the translation-derived pairs.

The paper also identifies a resource tradeoff. INIT + WN + DEP requires WordNet and a reliable dependency parser. These requirements matter where suitable linguistic resources are scarce. INIT avoids those particular dependencies while still using tokenization, tagging, and stemming. The paper suggests that this could make it practically attractive for languages with fewer resources. The evaluated pairs are English, including the English translations in the MTC-derived dataset, so the proposed advantage concerns the resources the method calls for. The paper does not measure recognition performance in another language.

The authors discuss word alignment and additional translation-evaluation features, including BLEU, as directions for improving the recognizer. Both relate to ways of identifying correspondences that can be hard to capture with the chosen comparisons. A word alignment could make particular cross-sentence matches more explicit. A translation-evaluation feature could provide a different summary of agreement. These possibilities belong to the paper’s account of future work. Its reported results come from the features that were actually evaluated.

Using the recognizer to filter candidates during bootstrapped paraphrase generation is also a long-term goal of the paper. The authors raise the possibility of having a person review candidates for which the recognizer is uncertain. The experiments evaluate labeled pairs and leave the performance of this workflow open. Inside a generator, false positives could supply material for later rounds, and rejecting a useful candidate could prevent the system from exploring a productive variant. Benchmark precision and recall describe outcomes relevant to such a workflow, but the study does not test how the errors propagate through repeated generation.

Limits apparent from the setup

Automatic negative sampling changes the meaning of a strong score on the MTC-derived data. A negative comes from a different source sentence, whether the two source sentences discuss similar events or very different ones. Random sampling can therefore create many negatives with little reason to resemble the positives. The baseline’s performance is compatible with that possibility. The design also uses source identity as a proxy for the meaning relationship. Separate translations of one original can differ in details, and two distinct originals can contain equivalent information. The study reports no human review of those automatic labels.

The MTC split is described in terms of pairs. It is unclear whether translations originating from a common source sentence are grouped when those pairs are assigned to training and test. If related pairs can appear on both sides of the split, a test pair may involve textual material related to something already available in training. This is a limit of what can be established from the reported procedure, which gives the split proportions and class balance but does not specify source grouping.

For MSR, the aggregate metrics do not tell readers which changes of meaning remain difficult. A negation marker is a useful clue, yet the associated feature describes its presence instead of the part of the statement it affects. A high score for a local segment can accommodate extra wording while leaving it unclear whether that wording changes the claim. Generic tags for dates, times, or percentages can bring corresponding expressions closer, while the original distinctions may matter in some pairs. The experiments report performance for the combination and offer illustrative examples. They do not give separate results for negation scope, changed quantities, or mismatched information outside a selected segment.

The treatment of syntax also involves assumptions about what can safely be suppressed. Coarse relation categories and direction-insensitive comparison can preserve agreement across structural changes. Some changes in grammatical relationships, however, determine who did what to whom. The classifier sees dependency overlap scores together with its other measurements, and the paper gives no general guarantee about distinguishing all such cases. Its two illustrated pairs show a favorable contrast. The aggregate improvement measures the usefulness of the dependency representation overall on MSR.

The published comparisons should also be read at their reported level of precision. The headline differences between the strongest systems are small in the metrics as displayed, and the paper supplies no uncertainty estimates or significance tests for them. Its figures support the observed ordering on the test split. Whether that ordering would be stable over a new set of judged pairs remains open. This matters especially when drawing a conclusion from the best accuracy alone, since the system leading on that measure differs from the one leading on F-measure.

Finally, the binary output inherits the boundary drawn by the dataset’s labels. Near equivalence can be enough for eliminating repetition, while a particular omitted detail could be essential in an answer. The evaluation shows how often the method predicts benchmark labels and how its positive decisions balance precision and recall. The paper motivates several downstream uses, each of which could place a different cost on errors and require a different standard for accepting a paraphrase.

What came after

A Survey of Paraphrasing and Textual Entailment Methods cites the paper from the broader study of paraphrasing and entailment. That scope gives a context for a distinction on which the recognizer depends. A system comparing equivalent expressions aims at a different decision from one testing whether a claim supports another claim in a particular direction. Malakasiotis’s procedure uses shared wording and grammatical relationships as evidence for a pair label. Overlap in those respects can also occur in a directional entailment pair, so the meaning of the target label is essential to interpreting what the procedure learns.

Generating Phrasal and Sentential Paraphrases: A Survey of Data-Driven Methods cites it from the perspective of generating alternative expressions. The connection is the division between proposing a candidate and deciding whether it preserves meaning. A generator could produce candidate paraphrases from patterns or aligned texts. A recognizer could then compare the proposed phrase or sentence with the original and supply a decision about the pair. Filtering of this kind is the use the original paper envisages when discussing its long-term goal of contributing to a bootstrapping system.

These citations document the paper’s place in discussions of both recognition and generation. The surveys’ subjects establish those connections, while the benchmark results and the specific combination of similarity features belong to the original study. The citation record establishes no further experiment in which either survey adopts the classifier, extends its feature set, or measures its effect on generated paraphrases.

Cite

Cite as Prodromos Malakasiotis. 2009. Paraphrase Recognition Using Machine Learning to Combine Similarity Measures. Proceedings of the ACL-IJCNLP 2009 Student Research Workshop.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{prodromos2009paraphrase,
  title = {{Paraphrase Recognition Using Machine Learning to Combine Similarity Measures}},
  author = {Prodromos Malakasiotis},
  booktitle = {Proceedings of the ACL-IJCNLP 2009 Student Research Workshop},
  year = {2009},
  doi = {10.3115/1667884.1667889},
  url = {https://doi.org/10.3115/1667884.1667889}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/malakasiotis-2009-paraphrase-recognition-machine-learning-combine/