Elamur Research

Twitter Paraphrase Identification with Simple Overlap Features and SVMs

Paper · 2015 · Asli Eyecioglu and Bill Keller

Summary

People can express the same message in different words, and people using many of the same words can express different messages. Paraphrase identification asks a system to decide which relationship holds for a pair of texts. Twitter makes the decision especially interesting because short messages can contain abbreviations, unconventional spellings, emphatic letter repetitions and inconsistent capitalization. Asli Eyecioglu and Bill Keller ask how far a classifier can get by counting the written material that two tweets share. Their study uses a support vector machine, a supervised classifier that learns to distinguish the two classes from labeled examples.

The authors start with tweets that have already been divided into tokens and convert them to lower-case. They keep punctuation and common function words, and leave unconventional spellings as they are. They try several ways of counting overlap, including comparisons of complete words and comparisons of adjacent characters. For each representation, they count the distinct items common to both tweets, those present across either tweet, and those in each tweet separately. Development experiments favor the combination of complete words and character pairs. The submitted system uses the full group of character-pair counts and the shared and combined counts for words. It leaves the corpus’s topic labels and grammatical and named-entity annotations out of the classifier.

On the Twitter Paraphrase Corpus test set, the submitted linear classifier achieves an F-score of 67.4, the highest among the participating paraphrase identification systems in the shared task. F-score brings together precision, the share of predicted paraphrases that are correct, and recall, the share of labeled paraphrases that the system finds. The test baseline achieves 58.9. The paper also reports a separately published result of 72.4 from Xu and colleagues and a human reference of 82.3. Those comparisons put the competition result in perspective. A small set of overlap counts was enough to lead the submitted field, while both reference points lay higher.

The authors also train classifiers using the same kinds of features on the Microsoft Research Paraphrase Corpus. There the best result for their approach is an F-score of 82.8 with a nonlinear classifier, compared with the corpus baseline of 75.3. The preference for a nonlinear classifier on that corpus, and for a linear classifier on Twitter, depends on the evaluation setting. The more consistent finding is that whole words and fragments of words give the classifier complementary evidence. The authors suggest that character pairs help it recognize related written forms. Their experiments establish the value of those counts in combination, while the extent to which they help with spelling, abbreviation or other kinds of variation remains open.

Deep dive: Twitter Paraphrase Identification with Simple Overlap Features and SVMs

Eyecioglu and Keller test whether shared words and character pairs can identify Twitter paraphrases with a support vector machine. · about 34 minutes to read

The problem and its context

Deciding whether two messages say the same thing

The input to paraphrase identification is a pair of texts. The output is a decision about whether the pair expresses the same meaning. This makes it a case of text classification. The object being classified is the relationship between the texts. A tweet has no paraphrase label by itself. It may repeat the message of one tweet and differ substantially in meaning from another tweet that shares much of its vocabulary.

The distinction between a binary decision and a graded judgment matters here. Two messages can concern the same person or event and still give different accounts of it. A system can also have stronger evidence for some positive decisions than for others. The experiment requires all that variation to end in a decision between paraphrase and non-paraphrase. The broader shared task names semantic similarity.

The practical problem is linguistic variation. Different readers may put the same information need into different words, and different writers may report the same event in different ways. An application that recognizes the correspondence can treat those expressions as related even when their wording differs. The paper identifies this as relevant to question answering. It also gives the example of systems that look for relevant documents or other material, a problem in information retrieval.

The translation connection has a slightly different emphasis. If alternate phrasings can be acquired and recognized, more than one expression can count as a useful way of communicating a message. The authors point to prior work applying paraphrases to statistical translation and to translation evaluation and tuning. The cited work includes efforts to improve machine translation, among them Improved Statistical Machine Translation Using Paraphrases. Another cited application concerns how paraphrases can be used when setting parameters in a translation system. Using Paraphrases for Parameter Tuning in Statistical Machine Translation

Why Twitter changes the evidence

Short tweets offer little surrounding text from which to infer the role of an unfamiliar word or the meaning of an unusual expression. The authors describe tweets as making frequent use of spellings, punctuation and grammatical constructions that depart from standard written usage. They also mention slang, abbreviations and new words. These characteristics matter when a paraphrase classifier depends on a tool that must first assign a dependable grammatical structure or recognize the meaning of an expression.

The same properties pose a problem for a direct count of matching words. A shortened spelling and its longer counterpart can refer to the same thing while being counted as different words. An emphatic repetition of a letter can produce the same problem. Inconsistent capitalization can obscure a match even when the characters are otherwise identical. Twitter therefore gives the authors a reason to look below word boundaries for common material and a reason to ask how much normalization is needed before comparison.

The analysis is about the usefulness of written cues under these conditions. Overlap has an evident source of ambiguity. A shared string may preserve part of an event description, a name or an expression. It may also be vocabulary that happens to recur across messages about a topic. Evidence at the character level can soften the requirement for exact word matches, while evidence at the word level can help distinguish shared expressions from coincidental fragments. The paper asks whether a supervised classifier can combine these cues well enough to recognize paraphrases on a benchmark.

What earlier approaches brought to the task

The authors situate the work within natural language processing, where paraphrase identification had already been approached with a range of linguistic tools and external resources. One line of work used tools from a question answering system to learn reformulation rules. Such an approach treats a paraphrase as something that can be recognized through reusable relations among expressions. A rule can potentially connect wordings that share little of their surface form.

Another line of work drew on information about relationships between words. A lexical resource can supply a possible connection between two expressions even when a direct comparison finds different strings. In the paper’s account, several earlier paraphrase systems used lexical semantic information of the sort provided by WordNet. Other researchers combined different measures of similarity for a single classification decision. The authors include Paraphrase Recognition Using Machine Learning to Combine Similarity Measures in that discussion.

The related work also gives reasons to take comparatively shallow representations seriously. The authors describe Blacoe and Lapata’s study of how representations of individual words can be combined into representations of larger expressions. That study compared simple approaches with approaches that demanded more computation or much larger collections of text. Its place in the discussion is to show why similarity evidence can be worth testing even when its construction is relatively modest. A Comparison of Vector-based Representations for Semantic Composition

The paper also describes earlier work using individual words and consecutive word pairs. Two fragments can contain the same words while arranging them differently. The consecutive pairs preserve some nearby order, which can in turn give an indirect clue about structure. Other approaches borrow evaluation measures from translation and use the resulting scores as classifier inputs. Eyecioglu and Keller point to work that combines multiple such measures, including Re-examining Machine Translation Metrics for Paraphrase Identification.

Still other systems use distributional evidence, where properties of expressions are estimated from patterns in text. The authors describe a previous paraphrase approach that combines latent semantic analysis with a term-weighting scheme called TF-KLD. They also note that researchers tried different supervised classifiers, including combinations of nearest-neighbor, maximum-entropy and support vector methods. Support vector machines had been used both by themselves and in systems with other components. The choice of classifier in the Twitter study therefore follows an existing practice. The question is what evidence to give it.

What the authors mean by keeping knowledge requirements low

The authors call their approach knowledge-lean. Their emphasis is on building pair features from the text under comparison and keeping dependence on resources such as lexical databases and parallel corpora low. A knowledge-lean approach could, in their account, also use distributional information derived from simple text statistics. The Twitter system takes a more specific path by summarizing overlap within each input pair.

The aim has particular force when resources built for other text are unavailable or ill suited to the domain at hand. A feature based on shared characters can still be computed for a spelling that a dictionary lacks. A feature based on shared words can still be computed when grammatical analysis is difficult. The supervised part requires examples of paraphrases and non-paraphrases, and the input still needs to be segmented. The economy lies in the evidence the classifier receives after those prerequisites are met.

Before focusing on tweets, the authors had done preliminary work with the Microsoft Research Paraphrase Corpus, associated with earlier work on constructing a corpus of sentence paraphrases. It gives the study a second setting in which to examine the overlap representation. The distinction between that earlier corpus work and the new Twitter experiment matters because a useful cue can depend on how a corpus is assembled and how its texts are written. Automatically Constructing a Corpus of Sentential Paraphrases

The method, step by step

Starting with the pair as written

Each instance begins with the two texts that the corpus has paired and, during training, a label for their relationship. The Twitter Paraphrase Corpus supplies text that has already undergone tokenization. In this setting, tokenization divides the text into units that can be counted and compared. It matters to the final representation because a change in where units begin or end can change which items the texts appear to share.

The corpus also supplies tags that categorize words by their grammatical roles. The authors leave those annotations unused. The presence of the tags is relevant because the choice to omit them is part of the design of the method, even though special provision had already been made for part-of-speech tagging. The authors likewise leave out tags that indicate spans such as names, which the corpus provides through named entity recognition.

The topic attached to a tweet pair is another available input. The authors note that topic information is distinctive to the Twitter corpus in their comparison and that it is involved in the construction of the data. Their feature representation leaves the topic field unused. Thus the learning procedure sees the text from each member of a corpus pair and its training label, while the topic can still affect which comparisons occur in the corpus in the first place.

Capitalization receives a direct intervention. The authors lower-case the tokenized tweets before deriving features. When two writers capitalize an expression differently, lowercasing enables a match that a case-sensitive comparison would miss. The change also merges forms for which case can carry a meaningful distinction. The paper illustrates the tradeoff with the spelling shared by the fruit apple and the company name Apple. Lowercasing makes their surface forms coincide, leaving the surrounding material to supply any evidence that distinguishes the uses.

Punctuation and common function words stay in the text. The authors’ reason for keeping them is that even a very frequent item can affect the meaning of the pair being compared. A comparison based on a short text has little redundancy, so deleting material can change the evidence noticeably. Their procedure also retains unfamiliar forms, abbreviations and spellings with extra characters. Those forms can contribute fragments to the overlap counts even when they supply few exact word matches.

For the Microsoft Research Paraphrase Corpus, the authors use the RASP toolkit for segmentation. Its role in this experiment is to prepare tokens. The feature inventory then follows the same design used for the Twitter experiments. This gives the work a concrete preprocessing dependency in each corpus while keeping the information passed to the classifiers small. The Second Release of the RASP System

From a tweet pair to a paraphrase decision

The steps in order.

From a tweet pair to a paraphrase decisionStep 1: Take the tokenized tweets and lowercase them1. Take the tokenized tweets and lowercase themStep 2: Build sets of word and character units2. Build sets of word and character unitsStep 3: Count shared items and the combined inventory3. Count shared items and the combined inventoryStep 4: Count distinct items in each tweet4. Count distinct items in each tweetStep 5: Select and rescale the overlap features5. Select and rescale the overlap featuresStep 6: Fit a support vector classifier on labeled pairs6. Fit a support vector classifier on labeled pairsStep 7: Classify new pairs with the fitted classifier7. Classify new pairs with the fitted classifier

Looking at words and characters separately

An n-gram is a sequence of consecutive units. A unigram contains an individual unit. A bigram contains an adjacent pair. The authors explore both lengths at the word level and at the character level. They call the character unigram and bigram representations C1 and C2. W1 and W2 refer to the corresponding word representations. Each name denotes an entire group of counts.

Word unigrams preserve the identity of complete word tokens. If a word appears in both tweets, its presence contributes to the shared inventory. For this representation, order drops out when the words are collected as a set. Two texts can therefore have substantial word unigram overlap even when they organize the words differently. Conversely, alternative words that convey a similar idea contribute no exact unigram match to each other.

Word bigrams preserve the relative order of neighboring tokens. The comparison can pick up a shared short expression that a word inventory would represent merely as separate words. It is also sensitive to changes in adjacency. Inserting a word into an otherwise shared expression can disturb the relevant bigrams even when the other words survive unchanged. A word bigram preserves local sequence information, and a set of such bigrams still discards the positions of those sequences in the whole tweet.

A character unigram records whether a particular character occurs. This reduces a short message to an inventory of written symbols. It offers a very permissive kind of match because substantially different words can contain the same letters. A character bigram imposes the additional requirement that the letters or other characters occur together in a particular order. That can retain evidence from part of a word when a spelling changes. It also gives the same numerical credit to a shared character pair wherever it occurs in the representation.

The distinction between a set and a sequence is essential to what the classifier receives. The authors begin with ordered text to identify adjacent units, then collect the resulting units into sets. Repeating a unit already present leaves that set’s size unchanged. A repetition can still have an effect if it creates an adjacent pair that the set lacked. As a consequence, the size of a text in these features refers to its number of distinct units of the chosen kind. It is different from the number of running words or characters a reader sees.

There is also a distinction between the sets used to build the counts and the finished representation. The sets contain actual words or characters and their adjacent pairs. The classifier receives counts derived from those sets. Two different pairs of tweets can yield identical counts even when the identities of all their matching words differ. This makes the method applicable to new vocabulary, since it can compare items without learning a dedicated weight for each spelling. It gives the fitted classifier only aggregate evidence about those items.

Turning the sets into measurements

For each representation, the authors ask how many distinct items occur in both texts, how many occur in either, and how many occur in each text separately. In set notation, the measurements can be written as follows.

(|A ∪ B|, |A ∩ B|, |A|, |B|)

Here A is the set of units for the first text and B is the set for the second text, with the kind of unit held fixed throughout the expression. The union symbol ∪ combines all items found in either set, counting a shared item just once. The intersection symbol ∩ retains the items found in both sets. Vertical bars give the number of distinct items in the enclosed set. Parentheses gather the counts into an ordered tuple, and commas separate its entries.

The intersection supplies the direct count of common material. Its interpretation depends on the rest of the tuple. The same intersection can come from a short pair in which most units coincide or from a pair with substantial material on both sides beyond what it shares. The union helps describe the total inventory within which the matching units occur. The separate size measures provide information about how the inventory is distributed between the two texts.

These measurements also make some relations available in multiple forms. The union comes from the two inventories with duplicate membership removed, so its size is determined by the separate sizes and the intersection. Consequently, the counts for a representation are related descriptions of the same pair. The experiments compare groups of accessible measurements. A successful group can contain information in a form that suits the classifier even when some of its entries could be recovered from others.

The authors pass counts as features and apply a simple rescaling step during classification. They do not turn them into a hand-designed rule such as requiring a fixed share of shared material. A change in an overlap count can be considered alongside the sizes of the inventories and the counts from other representations. This is especially relevant when an apparent word mismatch still leaves several matching character pairs.

It helps to consider the information lost when a specific word disappears from the representation. With word sets in hand, a reader could see whether the shared item was a name, a verb or a common function word. The completed feature vector represents each match through its contribution to a count. Keeping every token during preprocessing thus preserves the opportunity for an item to change the counts. It leaves the item's identity unavailable to the classifier when it makes its decision.

Combining the feature groups

The basic unit of feature selection is a group for a particular representation. C2, for example, supplies character bigram measurements for the intersection, the union and the two text inventories. W1 supplies the same types of measurement for word unigrams. In the development experiments, a name such as C2W1 means that the measurements from the two groups are put next to each other in a single vector.

The rationale for testing those combinations is that each group has a different way of failing to register useful similarity. A whole word has to match exactly to contribute to the W1 intersection. C2 can still register shared pieces if the word is shortened or written in a slightly different form. Conversely, the bigram inventories can have common pieces that belong to quite different words. When W1 and C2 are used together, the classifier sees both the evidence from intact tokens and the evidence from shorter written sequences.

The complete word-and-character combination tested on the development split should be distinguished from the submitted feature vector. The submission retains all the character bigram measurements. From the word unigrams, it keeps the union and intersection counts and omits the separate sizes for the two texts. The authors say this reduction left performance unchanged. They give the result as an observation about the submission and supply no separate score series for that particular reduction.

This choice also illustrates why the word group in the submitted system still carries more than a raw match count. The intersection gives a direct measure of shared words, and the union establishes how many distinct words were available across the pair. Word-level asymmetry is less explicit after the reduction, since the classifier lacks the individual word inventory sizes. The individual character bigram inventories remain available.

Learning the decision from labeled pairs

The support vector machine receives the measured features of each training pair and its paraphrase label. A feature vector is a list of numerical inputs in a fixed order. The learning algorithm uses the labeled vectors to fit a decision boundary between the positive and negative classes. A new pair undergoes the same feature construction and is assigned a class based on where its vector falls relative to the learned boundary.

The authors use the SVC implementation available through scikit-learn and adapted from libsvm. They train on the data provided and describe the classifier parameters as defaults. The reported work compares a linear kernel with a radial basis function kernel, abbreviated RBF. A kernel supplies the operation the classifier uses to compare vectors. The linear setting works from dot products in the feature representation and gives a decision boundary that is linear there. An RBF kernel gives the classifier a nonlinear way to use proximity between feature vectors, allowing a curved boundary in the original feature coordinates.

A linear decision can still combine evidence from multiple counts. A high character intersection can contribute differently to the final decision from a large character union or a high word intersection, depending on the weights learned from training. The nonlinear setting tests whether a more flexible boundary better separates the measured pairs. In both cases, the classifier operates on the same sort of aggregate overlap evidence selected for the experiment.

The paper describes rescaling as part of classification and offers little detail on the exact transformation. At a conceptual level, scaling changes how numerical magnitudes enter the computation. This matters when one kind of unit gives a much larger inventory than another, since the comparison of vectors depends on their coordinate values. The authors otherwise keep the features in the form obtained from the sets.

Feature selection and final reporting take place at different stages. The authors first run preliminary comparisons on the development data, using those results to settle on the word and character combination. They present the linear development comparisons and describe the overall pattern for the RBF setting as similar. The later test comparison then shows what the selected approach achieves on the held-out Twitter data. For the Microsoft corpus, they train classifiers with the feature design carried over from the Twitter work.

Experiments and results

The Twitter corpus and the evaluation measures

The main evaluation uses the Twitter Paraphrase Corpus from the SemEval shared task. The paper describes corpus construction as partly random and reports that the corpus contains around 35% paraphrases and 65% non-paraphrases. It describes annotation during corpus construction by 5 annotators through Amazon Mechanical Turk. The test set has a distinct labeling arrangement and contains tweets collected in a different period. An expert annotates that split.

The reported corpus sizes are 18K tweet pairs for training and development together and 1K for testing. The development data are where the authors compare alternative feature groups. The test data are where they report the Twitter performance of the selected approach and compare it with the baseline and reference results. The separation is consequential because an improvement observed while choosing among features is evidence from that selection stage. The test result is the reported measure on the held-out pairs.

The class distribution gives accuracy a different interpretation from the measures focused on paraphrases. Accuracy is the fraction of all pairs classified correctly, including both paraphrases and non-paraphrases. Precision concerns only positive predictions and asks how frequently those predictions are correct. Recall starts from pairs labeled as paraphrases and asks how many are recovered. F-score combines precision and recall, so a classifier that rarely predicts a paraphrase can score reasonably on accuracy while doing poorly on the positive class.

The paper presents the scores as reported values. In particular, the F-scores are the figures shown in the authors’ comparisons. This matters when reading across rows drawn from different sources or when a row’s displayed measures give different impressions of its strength. The reported F-score is the basis for the shared-task claim, with precision and recall useful for seeing how systems arrive at their overall standing.

The shared-task test result

The submitted linear SVC obtains an accuracy of 86.5 on the Twitter test data. Its precision is 68.0, and its recall is 66.9. The paper reports an F-score of 67.4, which places it first among the participating systems on that measure. The test baseline has precision of 67.9 and recall of 52.0, with an F-score of 58.9. The table gives no accuracy for the baseline. The precision figures are close, while the submitted classifier recovers a larger share of the annotated paraphrases.

The authors also evaluate an RBF version that was outside the submission. It obtains accuracy of 85.7, precision of 64.9, recall of 68.6 and F-score of 66.7 on the Twitter test split. That comparison shows why the metric needs to be named when assessing the kernel choice. The nonlinear classifier recovers more of the positives by the reported recall measure. The linear classifier has the higher precision, accuracy and F-score of the two.

The authors report results from Xu and colleagues as a separate comparison. Their approach, MULTIP, jointly considers word and sentence paraphrasing and uses topic information. It has precision of 72.2, recall of 72.6 and F-score of 72.4 in the paper’s Twitter comparison. The table also includes a human upper reference with precision of 75.2, recall of 90.8 and F-score of 82.3. Accuracy is unspecified for both rows. The large recall figure for the human reference makes clear how much of the positive class is still missed by the submitted system at its reported operating point.

System and reference F-scores on the Twitter Paraphrase Corpus test set

The submitted linear classifier leads the baseline and the RBF variant, while the published approach from Xu and colleagues and the human reference score higher.

System and reference F-scores on the Twitter Paraphrase Corpus test setBaseline: 58.9Baseline58.9RBF SVC: 66.7RBF SVC66.7Submitted linear SVC (this paper): 67.4Submitted linear SVC (this paper)67.4Xu and colleagues: 72.4Xu and colleagues72.4Human upper reference: 82.3Human upper reference82.3
The numbers
System or settingF-score
Baseline58.9
RBF SVC66.7
Submitted linear SVC (this paper)67.4
Xu and colleagues72.4
Human upper reference82.3

There are different grounds for including the comparison rows. The baseline anchors performance against the task’s reference system. The two SVC variants show the result of using the authors’ features with different kernels. Xu and colleagues’ result gives a higher published point of comparison for the corpus, and the human row gives the reference the authors use to discuss room for improvement. Only the submitted linear classifier represents their entry in the shared task. Its top position among entrants and its place below the separately reported references describe different comparison groups.

The shared-task paper also reports a development baseline. Its accuracy is 72.6, with precision of 70.4, recall of 38.9 and F-score of 50.1 on the development data. Those figures belong with the feature comparisons. In particular, the development baseline’s F-score of 50.1 and the test baseline’s F-score of 58.9 describe separate splits. The feature-selection results and the shared-task result should each be read against the comparison appropriate to their own data.

A check on the Microsoft Research Paraphrase Corpus

The second evaluation applies the chosen feature design to the Microsoft Research Paraphrase Corpus, abbreviated MSRPC. The authors train classifiers for that corpus. The check concerns whether the representation can be used in another setting after training there. This is important because the learned boundary can depend on the examples it sees, even when the counts it uses were selected somewhere else.

On MSRPC, the RBF SVC records accuracy of 74.4 and F-score of 82.8. Its reported precision is 76.6 and recall is 89.8. The linear SVC obtains accuracy of 73.7, precision of 74.3, recall of 88.2 and F-score of 82.1. The corpus baseline has accuracy of 65.4 and F-score of 75.3. The results table presents the corpus-level comparison without separately specifying a split protocol for each cited system.

The stronger kernel for the authors’ features is therefore different in this corpus comparison from the one on the Twitter test split. On MSRPC, the RBF classifier has the higher reported value on each of the measures shown for the two variants. Its F-score puts it near several of the published approaches the paper lists. Some score higher, and some score lower. The result supports using the feature design beyond tweets, with the ranking still dependent on the corpus and the measure.

F-scores for selected systems on the Microsoft Research Paraphrase Corpus

The authors’ RBF classifier leads their linear variant and the baseline, while several published approaches score higher.

F-scores for selected systems on the Microsoft Research Paraphrase CorpusBaseline: 75.3Baseline75.3Linear SVC: 82.1Linear SVC82.1RBF SVC (this paper): 82.8RBF SVC (this paper)82.8Wan and colleagues: 83.0Wan and colleagues83.0Madnani and colleagues: 84.1Madnani and colleagues84.1Ji and Eisenstein: 85.96Ji and Eisenstein85.96
The numbers
System or settingF-score
Baseline75.3
Linear SVC82.1
RBF SVC (this paper)82.8
Wan and colleagues83.0
Madnani and colleagues84.1
Ji and Eisenstein85.96

The paper’s highest MSRPC comparison is Ji and Eisenstein’s F-score of 85.96, with accuracy of 80.4. Madnani and colleagues have an F-score of 84.1 and accuracy of 77.4. Wan and colleagues have an F-score of 83.0 and accuracy of 75.6. These figures show the range represented by the selected rows without making the chart an account of all earlier systems. Wan and colleagues’ study is among the prior applications of SVMs discussed in the paper. Using Dependency-Based Features to Take the `Para-farce' out of Paraphrase

The relative position can also shift with the evaluation measure. Das and Smith are reported at F-score 82.7 and accuracy 76.1 on MSRPC. The authors’ RBF result of 82.8 is higher on F-score, while its accuracy of 74.4 is lower. The example shows why a claim of competitive F-score applies to the reported measure rather than to every aspect of performance. Paraphrase Identification as Probabilistic Quasi-Synchronous Recognition

The authors themselves draw attention to precision in this comparison. Their RBF precision of 76.6 sits below some of the other reported precision figures, including 79.6 for Wan and colleagues. Its recall of 89.8 is higher than that system’s reported recall of 86.1. With these pairs of values, the aggregate score and the usefulness of a particular operating point answer different questions. The corpus comparison shows that overlap can support competitive classification, while the relative cost of missed paraphrases and mistaken matches remains application-dependent.

Reading the two evaluations together

The Twitter experiment is the direct test of the authors’ motivation. It uses short, varied messages and evaluates whether a small overlap representation can distinguish paraphrases in the task’s corpus. The MSRPC experiment asks a narrower transfer question about the design of the features. The features remain the same kind of evidence after the authors prepare a different corpus and train a classifier on it.

The score levels across the two corpora should be interpreted with their settings attached. The higher F-score number on MSRPC belongs to another corpus, another set of labels and a separately trained classifier. It gives no direct measure of how much easier either corpus is. In both experiments, the relevant baseline is the one reported for that corpus. Against those baselines, the selected word and character features clear a useful empirical test. The comparison with higher published systems in each setting shows that the simple representation also leaves room for other evidence.

What the ablations show

The development comparisons isolate groups of counts

The development experiment varies which representations the classifier sees. This gives an ablation-style view of the feature design because a row may contain a single group, while another row retains that group and adds a different one. The linear SVC comparison tests the contribution of complete groups of set measurements. It supplies less direct evidence about individual counts within those groups, since the intersection, union and separate sizes usually enter together.

Linear SVC development F-scores by feature group on the Twitter Paraphrase Corpus

Character bigrams give the strongest result among the individual groups, and pairing them with word unigrams gives the highest reported development F-score.

Linear SVC development F-scores by feature group on the Twitter Paraphrase CorpusCharacter unigrams: 0.0Character unigrams0.0Word bigrams: 48.3Word bigrams48.3Baseline: 50.1Baseline50.1Word unigrams: 56.0Word unigrams56.0Character bigrams: 57.7Character bigrams57.7Character and word bigrams: 58.1Character and word bigrams58.1Character bigrams and word unigrams (this paper): 59.6Character bigrams and word unigrams(this paper)59.6
The numbers
System or settingF-score
Character unigrams0.0
Word bigrams48.3
Baseline50.1
Word unigrams56.0
Character bigrams57.7
Character and word bigrams58.1
Character bigrams and word unigrams (this paper)59.6

The most decisive distinction within the character features is between C1 and C2. C1 has accuracy of 64.5 and precision, recall and F-score of 0.0 on the linear development experiment. The authors say that the classifier predicts the negative class for every instance in this setting. The accuracy therefore comes completely from correctly labeling non-paraphrases. A representation can account for much of the dataset by predicting its more common class while recovering no positives.

With C2 alone, the linear classifier reaches an accuracy of 74.5, precision of 70.2, recall of 48.4 and F-score of 57.7 on development data. The contrast between these character representations is consistent with the idea that local order makes written overlap more informative. If the inventory consists only of individual symbols, unrelated words can look deceptively alike as sets. Adjacency imposes some structure on a match. The scores show a better basis for positive classification with that structure present.

The comparisons also show a limit to simply adding more character information. The combined C1C2 row has accuracy of 74.5 and a reported F-score of 57.4, beside F-score of 57.7 for C2 alone. The authors’ experiment therefore gives little reason to retain the individual-character inventory alongside the bigrams. It also gives a concrete example of why the metric matters during selection. The displayed accuracy is the same for the two rows, while their reported F-scores differ.

Word order helps selectively

The word-level results show a different pattern. W1 by itself gives accuracy of 74.1, precision of 70.5, recall of 46.5 and F-score of 56.0. W2 by itself gives accuracy of 70.5, precision of 63.9, recall of 38.8 and F-score of 48.3. The adjacent-word representation preserves pieces of word order, but its performance as the sole group is weaker on every reported measure in this development comparison.

The paper’s results are compatible with a straightforward interpretation. Exact word pairs make a stronger demand on the text than exact individual words. A rewording can preserve several words while moving them, separating them or replacing their neighbors. Some local orders can be useful evidence, and the aggregate W2 representation is still sparse in the sense that a match must preserve adjacency. The study measures the resulting overall tradeoff. It leaves the contribution of individual types of word order unexplored.

Combining W1 and W2 yields development accuracy of 74.0, precision of 69.9, recall of 46.9 and F-score of 56.2. That result is close to W1 alone and gives a slightly higher reported F-score. The change across precision, recall and accuracy shows that the word bigrams have an effect once combined with individual words. The overall pattern gives much stronger support to including word unigrams than to relying on bigrams as the word representation.

The mixed comparison is especially revealing for W2. C2W2 achieves an F-score of 58.1 and accuracy of 74.9, with precision of 71.1 and recall of 49.1. This puts it above C2 alone on the displayed measures. W2 can therefore contribute in a combination in spite of its weaker individual result. A standalone score measures the usefulness of a group without help from the others. A combined score also reflects whether the new group supplies something useful alongside evidence already available.

The selected combination improves both positive-class measures

C2W1 produces the strongest reported development F-score at 59.6. Its accuracy is 75.6, its precision is 72.4 and its recall is 50.6. These values exceed the corresponding figures for both C2 alone and W1 alone. They also exceed the C2W2 row. The choice of word unigrams alongside character bigrams is thus supported by a consistent pattern across the displayed measures at this selection stage.

The numbers for the other mixtures help qualify the result. C1W1 has accuracy of 74.2, precision of 70.4, recall of 47.2 and F-score of 56.5. Compared with W1 by itself, the reported F-score improves slightly. The zero recall of C1 alone therefore tells the reader about its insufficiency as the sole basis for classification. Its behavior in combination is a separate question, and the small improvement with W1 shows why the two questions should be distinguished.

C1W2 shows another possible outcome of combining groups. It produces accuracy of 71.4 and precision of 72.0, but recall of 31.9 and F-score of 44.2. The precision is relatively high among the development configurations, while the classifier misses a large share of the positive class. A comparison based only on precision could give that configuration considerably more credit than it receives under F-score. The combined metric makes the low recovery of paraphrases visible.

Together, the feature results support choosing each grain of comparison for a specific purpose. Character bigrams retain some local structure inside written forms without requiring complete word identity. Word unigrams retain those identities wherever the two texts do use the same word. The selected combination gives the classifier both kinds of count. The experiment demonstrates their complementarity at the level of development performance. It offers only indirect evidence about exactly which spelling or meaning relationships generate the improvement.

How far the controls reach

The submission’s shorter feature vector gives a further comparison. The authors report that retaining the union and intersection for W1, with the full C2 group, performed the same as the fuller combination. In that setting, the individual word inventory sizes appear dispensable. This observation is more specific than a claim that text size is generally unhelpful. The word union and both character bigram sizes remain in the submission, so the classifier still has several ways to register the amount of material in the pair.

The kernel comparison addresses a different part of the pipeline. It holds the feature approach broadly in place and changes how the classifier combines the counts. On Twitter, the RBF version shifts the reported balance toward recall, and the linear entry has the higher F-score. On MSRPC, the nonlinear version has the higher F-score of the authors’ classifiers. The two evaluations support a corpus-specific choice of boundary. They give no general ranking of the kernel types independent of the feature representation and training data.

The authors also report that lowercasing helped in their experiments. Their explanation is that case variation otherwise hides overlap. They discuss minimal preprocessing as a possible reason for good performance relative to systems using similar cues. The development table varies the representation groups and offers no corresponding rows for removal of punctuation, deletion of frequent words or spelling normalization. Those preprocessing explanations have a different level of empirical support from the measured C2 and W1 comparisons.

Limitations

Limits the authors state

The authors identify a substantial gap between their result and the human reference on the Twitter corpus. The submitted system’s F-score of 67.4 is below the reference F-score of 82.3. The classifier’s recall of 66.9 also leaves a considerable portion of the labeled paraphrases unrecovered, with the human reference reporting recall of 90.8. The paper treats the work as ongoing. The success of the submission among the participating systems establishes its position in that evaluation and still leaves substantial opportunity for better identification.

The paper also recognizes a tension in the treatment of capitalization. Lowercasing captures equivalence between differently capitalized versions of a spelling, while combining forms whose case can signal different meanings. The fruit and company example shows that this tradeoff can matter even for ordinary words. The authors report a favorable overall effect for their experiments, with no numerical breakdown of which cases are recovered and which distinctions are lost.

The proposed mechanism behind character bigrams is explicitly tentative. The authors suggest that common character sequences help recognize related written forms, doing some of the work associated with stemming. Their explanation also invokes lemmatization, where forms are associated with a dictionary headword. Character overlap preserves some information about the differences between spellings while allowing their common parts to contribute. The authors present this as a reason the representation might work particularly well with Twitter’s mixture of unconventional spellings and ordinary variants.

The authors mention further experiments allowing word and character sequences of up to 4 units. They describe that direction as promising and report that it comes close to the previously published Twitter result, while deferring a full presentation. The result with which the paper can be compared in detail is the reported experiment on unigrams and bigrams. Exact outcomes, configurations and tradeoffs for the longer sequences remain unspecified in the paper.

For MSRPC, the authors call attention to comparatively low precision. The selected overlap design can find many positives on that corpus, and it can also admit erroneous matches at the reported decision point. The F-score comparison captures part of that tradeoff. An application that incurs a high cost for an incorrect positive decision would need more evidence about the behavior of the classifier at other decision points.

Limits of the representation

The feature vector cannot preserve all the distinctions that can be expressed in a pair of tweets. Its components summarize how many matches occur and how many distinct units exist. They discard the identities of matching items. A pair sharing a crucial part of an event description can therefore look the same numerically as one sharing incidental vocabulary of the same extent. Once the vectors coincide, the classifier has access to the same measurements for different underlying relationships.

Local sequence information provides some structure. Word bigrams retain neighboring tokens, and character bigrams retain adjacent characters. Longer dependencies, the relationship between parts of a message and the relative importance of particular terms are only indirectly reflected in those counts. A learned boundary can respond to regularities in the measurements across the training data. Recovering distinctions that disappear when the measurements are created remains outside what that boundary can do.

The same issue limits explanations of false positives and false negatives. A mismatch may follow from the absence of exact vocabulary, insufficient overlap in written forms, or similarity that masks a change in meaning. The reported scores aggregate these errors. The paper offers no breakdown by abbreviation, inflection, spelling variation or meaning change. Consequently, the proposed role of character bigrams is a plausible interpretation of the feature comparisons. The reported experiments leave the distribution of gains across those phenomena open.

The treatment of topic creates another boundary on interpretation. The method can be described as leaving the explicit topic field out. The corpus construction still makes use of topics, and the tweets can express their topics through the words they contain. The distinction matters when interpreting the test as evidence about the strength of surface features. The reported scores apply to pairs assembled under this protocol. How the same features would behave if asked to compare pairs selected under substantially different conditions remains unknown.

Limits of the evaluation

The temporal separation in the Twitter data introduces a useful held-out condition. The test tweets come from a different period, and their labels are supplied by an expert. The change in time and the change in provenance of the labels occur together. The reported scores describe performance under those combined conditions. The contribution of each change would require comparisons that vary them separately.

The baseline and the reference systems likewise serve distinct purposes. The paper lists the baseline scores and reports the stronger result from Xu and colleagues, whose approach includes topic information and differs from the overlap method in other respects. The result from that system is evidence that a higher score was available on the corpus. The comparison between the systems cannot isolate the effect of giving Eyecioglu and Keller’s classifier a topic feature. That would require measuring the same system with and without that feature.

Descriptions of some implementation details are brief. The authors name the tokenized resources, the toolkit for MSRPC, the set operations, the rescaling step and the SVC implementations. Exact character boundary handling and the parameters of the scaling transformation remain unspecified. The paper also gives limited detail on the scores associated with the feature reduction for the submission. The core measurements can be understood from the paper, while a reproduction of every score would depend on choices beyond those explicitly documented.

The reported tables give point results and no estimates of how much the scores would vary across repetitions or alternative samples. The development comparisons support the chosen combination and establish the order of the displayed scores. Very close rows give less information about whether the same order would recur in a fresh split. The paper’s stronger contrasts, especially the all-negative behavior of character unigrams alone and the positive recovery from character bigrams, are easier to interpret directly from the reported decisions.

Finally, the Microsoft corpus experiment supports transfer of a feature design through retraining. Applying a classifier fitted on tweets directly to another collection is a different question, left open here. The experiment also covers a limited range of settings for claims about language or genre. Taken on their own terms, the evaluations show that a compact set of surface counts can be competitive on the reported corpora. They leave broader coverage dependent on how samples are constructed, how labels are assigned and what distinctions are retained by the features.

What came after

The wider shared-task account

The SemEval task report is the closest companion to Eyecioglu and Keller’s experiment. It concerns the same evaluation in which they submitted their linear classifier. The submission paper answers a team-level question about what can be achieved with word and character overlap. The task report concerns the wider evaluation of paraphrase and semantic similarity in tweets. Both belong to the same shared-task setting, so the connection is through a common benchmark and evaluation rather than through a later extension of the classifier. SemEval-2015 Task 1: Paraphrase and Semantic Similarity in Twitter (PIT)

This relationship matters when tracing how the result can be used in later comparisons. The overlap features describe what the team contributed, while the task defines the setting that gives the reported score its meaning. Another result may address similar questions about Twitter paraphrases while changing the split, annotation or comparison group. The shared-task connection provides a specific basis for relating studies that used the same evaluation.

Paraphrasing through translation

Mallinson and colleagues’ later paper revisits paraphrasing in the context of neural machine translation. The link to the Twitter study can be understood through the role of alternative expressions. Eyecioglu and Keller begin with a pair of existing texts and learn to identify matches from their written overlap. The later work’s stated subject puts translation at the center of revisiting paraphrasing. The citation establishes a connection to this earlier line of work. The specific role of the SVM or its features in the later experiments remains unspecified. Paraphrasing Revisited with Neural Machine Translation

That connection also returns to an application the Twitter paper raised at the outset. In its account of earlier research, translation can benefit from recognizing alternate phrasings, and translation measures can supply evidence for paraphrase decisions. A later translation-centered study and a classifier based on overlap address that common problem through different entry points. Any claim about a direct feature comparison or an experimental improvement would require details beyond the established citation and research topic.

A corpus for a different language

The BnPC work introduces and evaluates a gold-standard corpus for paraphrase detection in Bangla. Its stated focus is the annotated benchmark, which relates directly to the role of the Twitter corpus in Eyecioglu and Keller’s study. A benchmark supplies labeled decisions against which an approach can be trained or evaluated. Changing the language and corpus naturally puts the suitability of a feature design back in question. The citation connects the Bangla benchmark to earlier paraphrase detection research, while reuse of the Twitter feature groups or classifier settings remains unspecified. BnPC: A Gold Standard Corpus for Paraphrase Detection in Bangla, and its Evaluation

Across these connections, the known continuities lie in the task, the uses of alternative wording and the need for annotated comparisons. The Twitter study contributes a concrete result within that span. Counts of shared whole words and character pairs, combined by a supervised classifier, yielded the highest submitted F-score in its Twitter evaluation and remained competitive when the feature design was used to train classifiers on another corpus. Whether those counts resolve a particular kind of linguistic variation remains a question for the corpus and the comparisons used to test it.

Cite

Cite as Asli Eyecioglu and Bill Keller. 2015. Twitter Paraphrase Identification with Simple Overlap Features and SVMs. Proceedings of the 9th International Workshop on Semantic Evaluation (SemEval 2015).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/s15-2011

@inproceedings{eyecioglu2015twitter,
  title = {{Twitter Paraphrase Identification with Simple Overlap Features and SVMs}},
  author = {Asli Eyecioglu and Bill Keller},
  booktitle = {Proceedings of the 9th International Workshop on Semantic Evaluation (SemEval 2015)},
  year = {2015},
  doi = {10.18653/v1/s15-2011},
  url = {https://doi.org/10.18653/v1/s15-2011}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/eyecioglu-2015-twitter-paraphrase-identification-simple-overlap/