Elamur Research

HLTC-HKUST: A Neural Network Paraphrase Classifier using Translation Metrics, Semantic Roles and Lexical Similarity Features

Paper · 2015 · Dario Bertero and Pascale Fung

Summary

Two short posts can convey the same message even when they share few words. They can also reuse much of the same wording while differing in a detail that changes the message. Dario Bertero and Pascale Fung designed HLTC-HKUST to make this distinction on Twitter for SemEval 2015. The task asked for both a yes-or-no paraphrase decision and a score for semantic similarity. Twitter made both judgments harder because brevity, abbreviations, unconventional spelling and incomplete sentences could weaken the evidence available from any single comparison.

The authors represent each pair of posts with scores that look at different aspects of the text. Some track shared words, numerical details, word order and the similarity of grammatical structures. Others borrow from machine translation evaluation, where a score can indicate how closely an output resembles a reference. The system also uses semantic role labeling to identify predicates and their participants. It can then compare text that serves corresponding roles in each sentence. When the role analysis comes up empty, the classifier receives a signal that it failed, and the semantic comparison falls back to a measure of word overlap across the whole pair.

A feedforward neural network learns how to combine these measurements. Training uses the votes of annotators who judged each pair. The authors give the strongest positive judgments the same target and assign intermediate targets to some of the disputed cases. The network can consequently learn to give different scores to pairs that would otherwise be grouped together under a single binary label. Its output can serve both as a score for how closely the posts agree and as the basis for deciding whether to count them as paraphrases.

The main run placed 6th in binary classification with a test F-score of 0.651. For graded similarity it placed 3rd, with a test Pearson correlation of 0.563 according to the results table and discussion. The abstract gives 0.697 for that correlation, but the table identifies 0.697 as the same run’s precision on the second subtask. The development experiments found that adding semantic-role features improved accuracy and F-score by 0.6%. The authors also report frequent failures of the role parser. A separate run with latent sentence representations slightly improved binary F-score and performed worse on the graded task. The experiments show where structured comparisons helped this classifier and where the text made the necessary structure difficult to recover.

Deep dive: HLTC-HKUST: A Neural Network Paraphrase Classifier using Translation Metrics, Semantic Roles and Lexical Similarity Features

Bertero and Fung combine translation scores, word similarity and semantic roles to judge whether Twitter posts express the same meaning. · about 34 minutes to read

The problem and its context

From news sentences to short posts

Paraphrase identification asks whether two sentences express substantially the same meaning. The unit of judgment is the pair. A word can occur in one sentence and be absent from the other because the writers chose different expressions. Conversely, recurring words can make two sentences look close even if those words describe different events or give different details about an event. Surface similarity is evidence the system can use, but the connection between that evidence and meaning depends on what has changed.

The paper describes the Microsoft Research Paraphrase corpus as the conventional evaluation setting before the Twitter task. Its pairs came from news headlines and articles. In characterizing that domain, the authors emphasize sentences with relatively conventional grammar and more room to express a thought. An automatic comparison can draw on that structure to establish which words belong together and how phrases relate. The corpus supplied binary labels, so the evaluation centered on deciding which pairs belonged to the paraphrase class. The construction of that resource is described in Automatically Constructing a Corpus of Sentential Paraphrases.

The Twitter pairs came from a setting with a 140 characters limit per post. The paper associates that limit with short sentences and a small number of words. Abbreviations, invented forms and misspellings also complicate comparisons based on exact word matches. A short post may contain just enough language for a reader to grasp the point while leaving a parser with a fragment or omitting the predicate it would ordinarily analyze. Moving from news to these posts therefore changes both the amount of textual evidence and the likelihood that a tool can organize it into a grammatical structure.

Shortness has consequences for several different kinds of evidence. A sequence-based score has fewer phrases to compare, so the presence or absence of a shared phrase can matter a great deal. A lexical database can relate different words when it recognizes them, while an informal spelling may prevent that lookup from yielding a useful comparison. A parse-based score needs the parser to assign a defensible structure to each sentence. These difficulties motivate the paper’s decision to measure several properties separately. The pair may still offer evidence at the level of words or numbers when its syntax is hard to recover.

The two judgments required by the task

The SemEval task changed the labels as well as the domain. Several people independently judged each pair, and their votes supplied six levels of agreement. The vote distribution conveys something the usual binary label would discard. Unanimous support and a narrow majority both favor paraphrase, but the narrow majority records disagreement about the pair. That disagreement gives a training procedure room to distinguish among examples even if a binary decision ultimately groups them together.

Subtask 1 called for a decision about whether the pair should count as a paraphrase. Subtask 2 asked for a score in the range [0, 1]. A binary evaluation considers the class assigned to a pair. A graded comparison can also reward a system that gives stronger matches higher scores than uncertain or weak matches. The task thus raised a design question beyond the choice of comparison features. The authors needed an output that could represent degrees of agreement and a training objective that gave those degrees some effect.

Votes offer one operational way to provide that training signal. A contested pair can receive a target between the extremes and influence how the system responds to similar patterns of evidence. The votes record human decisions about paraphrase, which may reflect uncertainty as well as partial overlap in meaning. The paper’s approach uses that distinction in the design of its targets. It treats the vote categories as information about similarity while retaining the goal of making definite decisions for the binary subtask.

The classifier sits between these judgments and the evidence in the text. A pair can have strong word overlap and weak structural agreement, or the available scores can agree that it is an easy case. A system that simply declares every pair above a single word-overlap cutoff a paraphrase has limited ways to respond to those possibilities. Bertero and Fung instead present the scores jointly and let supervised training learn how to combine them. The graded output extends that joint decision to cases for which the authors want to express a degree of similarity.

What earlier approaches contributed

The paper describes earlier work that represented sentences as vectors, meaning ordered collections of numerical values. Ji and Eisenstein combined latent semantic vectors with lexical and syntactic comparisons and trained a support vector machine, or SVM, on the resulting inputs. Bertero and Fung identify that approach as the strongest they knew of on the news corpus. The latent representation was intended to capture properties of a sentence beyond its directly observed words. The additional features supplied explicit comparisons between the paired sentences, including evidence that the latent representation alone might miss.

Socher and colleagues also obtained a vector for each sentence, using a recursive autoencoder, and combined those representations with separate lexical features. In the paper’s account, the shared design principle is that a representation learned for a whole sentence can be complemented by direct measurements of how two sentences agree. This matters for the Twitter classifier because the authors can keep the direct measurements as the principal inputs and test latent representations as an addition. The basic feature design and the later vector experiment are distinct decisions.

A further line of work framed paraphrase identification as supervised classification over sets of designed features. Wan and colleagues included evidence based on grammatical dependencies, and the paper draws on their use of syntactic comparison when selecting a tree-edit feature. Madnani and colleagues examined the usefulness of scores developed for translation evaluation. Both strands treat a sentence pair as an object that can be measured from several perspectives before a classifier makes its decision. Wan and colleagues’ dependency-based paraphrase study and Re-examining Machine Translation Metrics for Paraphrase Identification.

Translation evaluation is a particularly direct source of features. An automatic evaluator compares an output with a reference and estimates how closely they agree. Paraphrase identification also starts with two texts and asks whether differences in wording preserve the message. The texts in the Twitter task are both posts, so either can be used in the reference position when a metric requires one. The authors exploit that flexibility by keeping scores for both directions. Different translation metrics supply different comparisons, ranging from coinciding word sequences to matching parts of a predicate’s argument structure.

The paper’s design consequently joins several earlier practices. It uses explicit measurements that a reader can relate to properties of the pair, a learned classifier that can respond to combinations of those measurements, and sentence comparison methods developed for another task. The Twitter setting gives the combination a specific purpose. A measurement that depends on a well-formed sentence can be informative when it works, while features based on observable wording remain available for pairs that offer little syntactic structure. The challenge is to retain enough evidence to be useful across both kinds of examples.

The method, step by step

From two posts to a score

The network receives a numerical description of a pair. It relies on earlier processing to decide which words match, relate nearby meanings in a lexical database, compare syntactic trees and extract semantic roles. This division of work makes the feature computation central to the system. The classifier can assign different importance to the measurements and learn interactions among them. Its access to the wording and structure of the posts comes through what those measurements capture.

Each feature is a particular question that the system can ask about the pair. Do both sentences use the same numbers? How far apart are the positions of the words that can be matched? Do the same kinds of participants attach to a predicate? How closely does one sentence match the other under a translation metric? Some answers are flags, others are distances or similarity scores. Bringing them together gives the network more to work with than a single overall resemblance value.

How HLTC-HKUST scores a pair of Twitter posts

The steps in order.

How HLTC-HKUST scores a pair of Twitter postsStep 1: Receive a pair of sentences1. Receive a pair of sentencesStep 2: Compare numbers, words, order and syntax2. Compare numbers, words, order and syntaxStep 3: Extract and align semantic roles3. Extract and align semantic rolesStep 4: Record parser failure and apply the fallback4. Record parser failure and apply the fallbackStep 5: Score translation similarity in applicable directions5. Score translation similarity in applicable directionsStep 6: Combine the features in a feedforward network6. Combine the features in a feedforward networkStep 7: Produce a similarity score for the two subtasks7. Produce a similarity score for the two subtasks

The feature groups overlap in what they can detect. Word overlap enters the lexical comparison, and shared sequences also influence some translation metrics. MEANT is a translation metric that belongs with the semantic features because it depends on roles and frames. The paper’s grouping is best understood in terms of how each measurement is produced. Keeping separate scores gives the classifier a chance to notice when several comparisons agree and when a stronger kind of evidence is available alongside a weaker one.

Numerical details, words and structure

The lexical features start with numerical tokens. A token is an item counted or matched during comparison, such as a word or a number. The authors distinguish agreement about numbers from the absence of numbers. One flag is set to 1 when the numerical tokens match or when neither sentence contains any. Another records the match case, and a third records whether the number tokens of one sentence are contained among those of the other. The flags let the classifier distinguish multiple kinds of apparent agreement about quantities.

Containment can be informative even when the complete numerical content differs. One post may express a detail already present in the other while leaving out additional information. The subset feature exposes that relationship as one measurement. The classifier considers it alongside the measurements of full numerical agreement and the rest of the pair. The fact that numbers agree does not settle whether the events or statements containing those numbers agree.

The system also measures the percentage of words that overlap and calculates the difference in sentence length. Overlap records how much wording is shared. Length difference tells the classifier whether one post is considerably more compact than the other. These provide relatively direct evidence about the text. A difference in length can accompany an explanation, qualification or omission, but the measurement itself only records the difference in extent. The other features give the classifier a basis for interpreting it in context.

The word-order features start by aligning matching tokens. For the aligned words, the system looks at their positions in the two sentences and averages the positional differences. It normalizes that average by the length of the sentence taken as the starting point. The authors then switch the sentences and repeat the operation. This means the network can receive separate values when length or alignment properties make the two views differ. Normalizing ties a displacement to the extent of the sentence used as the point of comparison.

Word order contributes evidence beyond a list of shared tokens. A pair may reuse most of its words while organizing them differently. The position calculation alerts the classifier to this kind of change without attempting to say which grammatical relation moved. Conversely, an alignment can preserve the positions of the matched words while leaving other, potentially important words unmatched. The feature reflects the behavior of the alignable portion of the text, and its interpretation depends on the accompanying overlap and structural scores.

The next comparison uses synonym sets in WordNet. A synonym set groups words for a particular sense, and a path through the database provides a way to compare how closely two such sets are related. The authors compute these comparisons separately for nouns and verbs. That division lets a pair receive different scores for the vocabulary referring to entities and the vocabulary expressing actions or states. A sentence pair can agree strongly in one category while showing looser correspondence in the other.

The calculation makes two choices about the strongest available correspondences. When an aligned word has several senses in WordNet, the system uses the combination of senses with the highest path similarity for that word pair. It also considers possible word alignments and takes the average path similarity associated with the best alignment for each category. In this way a pair can receive credit for related words even if they differ on the surface. The procedure selects senses for the purpose of the comparison. It gives the classifier a similarity feature, with the choice of senses driven by the lexical match available for the pair.

A syntactic feature compares the trees returned by parsing, the process of assigning grammatical structure to a sentence. The tree represents how the parts of the sentence fit together. The Zhang–Shasha algorithm supplies an edit distance, which measures how much change is needed to turn one tree into the other under its editing procedure. The resulting distance offers a different view of structural similarity from the average movement of matched words. One comparison works with the arrangement in the parse trees, while the other works directly with positions in the text.

The syntactic feature inherits the quality of the trees it compares. A tree edit distance can register similarity between structures once those structures are available, but it has no independent way to decide whether the parser understood an unusual sentence. The paper’s explicit fallback concerns its semantic parser. The tree comparison remains useful to understand as another feature whose meaning depends on an upstream representation of the text.

What predicates and their participants have in common

A semantic-role analysis identifies predicates and labels the parts of the sentence that fill associated roles. A predicate expresses an action, state or relation, and its arguments say who or what participates. A semantic frame groups that predicate with its roles. Comparing frames lets a system ask which material serves corresponding functions in each sentence. The relevant words can occur in different positions while continuing to describe the same relationship among participants.

The authors adopt a shallow approach, in which the analysis supplies this predicate-and-argument information for comparison. They draw on the role annotation approach described in Shallow Semantic Parsing using Support Vector Machines. The translation metric MEANT uses the annotations to align frames across the two texts. Scoring then takes place within aligned frames, so the score depends on the relationship between the stretches of text that the analysis has put into correspondence. This is the aspect of MEANT adapted from Fully Automatic Semantic MT Evaluation.

MEANT uses the Jaccard coefficient in this comparison. In plain terms, the coefficient measures shared material relative to the material present across the two items being compared. Its value depends on both overlap and coverage. A shared element contributes to agreement, and material present in only one side expands the total against which that agreement is measured. Restricting the calculation to matched frames gives the text overlap a structural interpretation. The words count as evidence within a comparison that has already associated their functions across the pair.

The classifier also receives information about the roles themselves. One feature measures how many of the roles on one side also appear on the other, expressed as a percentage. Another measures the percentage of correct role pairings after the alignment used for MEANT. These signals look at structural correspondence without using the text of the role fillers. A pair can therefore provide evidence that its role structures resemble one another even when the words inside those structures are different. Agreement within the aligned frames is represented separately by the MEANT score.

The distinction matters because role correspondence and content correspondence answer different questions. The presence of similar roles can indicate that the sentences express structurally comparable events. A comparison within those roles can then indicate whether the participants and other details actually resemble one another. If either stage is weak, the classifier can see part of the reason through the separate features. The method uses the annotated roles as evidence about meaning while retaining measurements of the lexical material those roles contain.

The paper specifies what happens when the semantic parser outputs nothing for at least one sentence. A dedicated failure feature becomes 1. The other features derived from the roles become 0, with the exception of MEANT. The system assigns MEANT the Jaccard coefficient between the full sentences in that case. The fallback follows the approach associated with MEANT at WMT 2013.

The failure flag gives the numerical defaults a context. Without it, a zero in a role feature could be read as evidence that two analyses were available and had nothing in common. With the flag, the network can in principle learn that these zeros accompany missing analysis. The replacement for MEANT preserves a text-level estimate for the pair. A value in the MEANT feature thus has different origins depending on parser success, and the flag makes that difference available to the classifier.

This fallback addresses the particular condition of receiving no output. A parser can also return an analysis that assigns an incorrect predicate or puts text in the wrong role. In that case the feature calculations proceed on the returned structure. The described flag answers whether the analysis was available. The accuracy of an available analysis remains an important condition for interpreting the resulting alignment and overlap scores.

What translation metrics add

Several translation scores compare n-grams, sequences of adjacent items in a sentence. A unigram comparison focuses on individual items, whereas a longer sequence requires agreement in a larger span. In the paper’s account, BLEU represents a primarily overlap-based approach. NIST and SEPIA belong to the same broad group of sequence comparisons discussed by the authors. They describe the broader group as bringing in evidence such as synonyms, stemming, simple paraphrase patterns and syntactic structure. Bleu: a Method for Automatic Evaluation of Machine Translation.

For BLEU, the features include orders from unigrams through 4-grams. Keeping the scores at different orders gives the classifier access to how the match changes as the compared sequences become longer. A pair with many of the same words but few common phrases can have a different pattern of scores from a pair that preserves larger stretches of text. For NIST the authors keep orders up to the highest one for which at least one result is non-zero. That rule defines the NIST feature range in terms of where the measurement supplies a non-zero signal.

Other translation metrics offer comparisons that are less directly tied to shared sequences. TER and TERp measure similarity through edits needed to transform one text into the other. An edit-based measure frames closeness as the work required to reconcile the two formulations. MAXSIM matches words across the pair and evaluates their lexical similarity. This makes it relevant when aligned words differ on the surface but have a related meaning. The paper uses these as separate sources of evidence. MAXSIM.

BADGER takes a compression-based approach. It uses the Burrows–Wheeler transform in deriving the compressed representations whose distance is measured. It has a special place in the feature construction because the score is a distance between the objects without a reference direction. MEANT, also part of the translation-derived evidence, takes the frame-based approach already described. It contributes information about which parts of the sentences the role alignment allows the system to compare.

The reference role normally has a clear interpretation in translation evaluation. A system output is judged against a reference text. For these Twitter pairs either sentence can occupy either position. Bertero and Fung calculate the translation scores with one sentence as reference and repeat the scoring after swapping the two. They retain both results as separate features, except for BADGER, where the direction does not matter. In a directional comparison, a short sentence may cover a different proportion of a longer one than the longer sentence covers of the short one. Keeping both values preserves such differences for the network.

This treatment of direction also has a consequence for the final score. Paraphrase is a relationship between the sentences, and the architecture receives both directional measurements where the authors compute them. The measurements occupy distinct input positions. The paper describes no constraint forcing the network to treat those positions identically, so exact invariance to swapping the original sentences is not guaranteed by the design. The immediate purpose of the paired measurements is to retain the information each perspective supplies.

How the network combines the features

The classifier is a feedforward network. The feature values pass through a hidden layer and then an output layer. The hidden layer is three times as wide as the input, with input width determined by the features. A hidden unit combines input values and applies the hyperbolic tangent, or tanh, to the result. This nonlinear step enables the contribution of one feature to depend on the overall pattern of measurements represented by a unit. The output layer uses a sigmoid so that the result lies in the range [0, 1] required for the graded subtask.

Consider the information available in cases with and without a semantic parse. With annotations on both sides, a MEANT value can reflect the content inside aligned frames. After parser failure the value represents whole-sentence overlap. Along with the score, the network can receive a flag that distinguishes the two situations. The hidden layer gives the classifier the capacity to treat the same MEANT value differently under those conditions. This illustrates what learning interactions could accomplish. The paper evaluates the combined classifier and does not trace that particular interaction through individual units.

The network includes weights that control how strongly the inputs contribute to each layer. Bias terms provide offsets and are initialized to zero. For the other weights the authors draw from a uniform interval whose width depends on the size of the adjacent layers and the activation used. The initialization expression, with the square-root factor written in readable notation, is:

w(t = 0) ∈ [−α√(6 ÷ (nᵢₙ + nₒᵤₜ)), α√(6 ÷ (nᵢₙ + nₒᵤₜ))]

Here w(t = 0) is a weight at initialization, with t denoting the training step and 0 the point before updates begin. The symbol ∈ means that the weight is drawn from the interval shown in brackets. The endpoints use the negative and positive values of the same magnitude. The square root, marked by √, applies to the quotient with 6 in the numerator and the sum of the input and output widths in the denominator. The terms nᵢₙ and nₒᵤₜ are the respective sizes of the input and output of the layer whose weights are being initialized. The activation scale α is 1 for tanh and 4 for sigmoid.

This initialization sets the starting range before any training pair changes a weight. The different values of α allow the range to depend on the activation, and the layer-size terms make the range depend on how many values the layer receives and produces. Because the weights are drawn at random, repeating training gives the optimization a different starting point. The authors combine those different initializations with different presentations of the training data and use the development set to choose among the resulting runs.

How votes become training targets

The training labels were counts of votes from five annotators. The first count is the number judging the pair a paraphrase, and the second is the number judging it otherwise. The authors transform these categories into targets for the sigmoid output. They use 1.0 for both (5, 0) and (4, 1), 0.75 for (3, 2), 0.5 for (2, 3), and 0.0 for (0, 5). Their specification leaves the target for the category with a single favorable vote unstated.

The mapping intentionally gives the two strongest positive categories the same target. It also distinguishes a narrow positive majority from a narrow negative majority by assigning different intermediate values. The amounts are chosen target scores. In particular, the presence of disagreement can change the target without there being a separate parameter for each annotator’s decision. This setup allows the objective to reward outputs that acknowledge some of the distinctions in the vote labels while maintaining a strong signal for clear positive examples.

The loss for a pair is cross-entropy with a regularization term:

E = −l log(y) − (1 − l) log(1 − y) + R

E is the training objective for the pair. The symbol l denotes the chosen training target, and y is the network’s output. Both lie in [0, 1]. In the first term, l weights the logarithm of y. In the second, 1 − l weights the logarithm of 1 − y. The notation log denotes the logarithm, the minus signs make these log terms contributions to a loss to minimize, and R is the L2 regularization term. L2 regularization penalizes large weights through their squared magnitudes, with γ controlling the strength of the penalty in the experiments.

At a positive endpoint target, the first logarithmic term supplies the fit to the observed label. At the negative endpoint, the second does. For an intermediate target, both terms affect the loss, giving the network an incentive to produce an intermediate score. This is how the training procedure can use vote information without demanding a separate output for each possible vote count. The sigmoid output remains a single value available for comparison across pairs.

The authors implement the network in Theano and train it by back-propagation. The loss supplies the starting point for calculating how a change in each weight affects the result. That information passes back through the output and hidden layers so the weights can be adjusted. The development set guides the choice of the learning rate and other training settings. The paper gives the selected L2 coefficient as γ = 0.01. Training uses the full training split with the stated scheme for converting votes to targets.

They repeat training with different random weight draws and different random orders of the pairs. For each run, the point with the best development performance determines when training stops. The reported main run is selected for the highest development accuracy on subtask 1, with development F1 used to break a tie. That selection rule is important when reading the graded results. The same output serves both objectives, but the run that becomes the main submission is chosen by its development behavior on the binary task.

Experiments and results

Splits, comparisons and metrics

The SemEval corpus contains a training split of 13,063 sentence pairs, a development split of 4727 pairs and a test split of 972 pairs. The test pairs were released without labels near the submission deadline. The training pairs fit the classifier. The development pairs guide the settings, the stopping point and the choice of run. The test comparisons in the paper are therefore distinct from the development-set evidence used to decide how to build and train the system. The corpus supplies the Twitter pairs and the annotator judgments on which the authors base their targets.

The paper uses the contest’s official supervised baseline, associated with Das and Smith. As described in the comparison, it applies logistic regression to overlapping n-gram features. This baseline also learns from data, so the comparison asks how the complete HLTC-HKUST system performs against a learned rule using a narrower set of measurements. Earlier in the experimental setup the authors refer to the official thresholding baseline when describing their development comparisons. The test table identifies the Das and Smith entry used for the reported baseline values. Paraphrase Identification as Probabilistic Quasi-Synchronous Recognition.

The table also includes the entries that led the two subtasks and the contest average. ASOBEK supplies the leading subtask 1 result, and MITRE supplies the leading subtask 2 result. The average offers a comparison with the collection of submissions, whereas the leaders locate the headline numbers against the strongest reported entry on each official metric. These competitors are useful benchmarks for the finished classifier. Their scores alone cannot tell which part of HLTC-HKUST contributed to its performance.

Subtask 1 ranks entries by F-score. The precision column reports the share of predicted paraphrases that count as paraphrases under the evaluation. Recall reports the share of evaluated paraphrases recovered by the system. F-score summarizes their joint behavior, so a classifier that favors one at the expense of the other can receive a lower score than a more balanced competitor. Accuracy also figures in the paper, chiefly as the criterion used to select the main run on the development set. The published test rank rests on F-score.

Subtask 2 ranks entries by the Pearson coefficient. Pearson correlation measures linear association between the submitted similarity scores and the evaluation values. It uses how scores vary over the set of pairs. A high coefficient indicates that changes in one set of scores tend to accompany changes in the other. It does not by itself show that a given predicted score corresponds to the same numerical level of similarity in the evaluation. The table includes precision, recall and F-score in the subtask 2 columns as well, but Pearson is the ranking measure named for that subtask.

Binary paraphrase identification

The main HLTC-HKUST entry is Run 1 in the results table. It obtained a test F-score of 0.651 and placed 6th over 18 methods. ASOBEK led with 0.674. MITRE, the leader on graded similarity, also performed strongly in the binary task with 0.667. The official baseline obtained 0.589 and the contest average was 0.581. Run 2 appears separately in the table with a binary test F-score of 0.652. Its additional latent sentence features make it a variant of the main entry.

Binary paraphrase F-score on the SemEval Twitter test set

Both HLTC-HKUST runs exceed the supervised baseline, and ASOBEK leads the comparison.

Binary paraphrase F-score on the SemEval Twitter test setASOBEK: 0.674ASOBEK0.674MITRE: 0.667MITRE0.667HLTC-HKUST Run 2 (this paper): 0.652HLTC-HKUST Run 2 (this paper)0.652HLTC-HKUST Run 1: 0.651HLTC-HKUST Run 10.651Official supervised baseline: 0.589Official supervised baseline0.589Contest average: 0.581Contest average0.581
The numbers
System or settingF-score
ASOBEK0.674
MITRE0.667
HLTC-HKUST Run 2 (this paper)0.652
HLTC-HKUST Run 10.651
Official supervised baseline0.589
Contest average0.581

Precision and recall show how the main classifier arrived at its F-score. Run 1 had test precision of 0.594 and recall of 0.720. The baseline’s precision was 0.679 and its recall was 0.520. The main run traded precision for recall in this comparison. It retrieved a greater share of the evaluated paraphrases, and a smaller share of its positive decisions were correct. The F-score rewards the resulting combination more than the baseline’s combination on this test set.

The leading binary result came with a different balance. ASOBEK recorded test precision of 0.680 and recall of 0.669, while MITRE recorded precision of 0.569 and recall of 0.806. ASOBEK achieved the highest F-score of these entries with relatively close precision and recall. MITRE recovered the largest share of paraphrases in the table and had lower precision. The main HLTC-HKUST run falls between these patterns in recall and shows that competitive F-scores can come from substantially different binary behavior.

Run 2 shifts the main system in the direction of greater recall. Its test precision is 0.574 and its test recall is 0.754. The movement in the two measures goes in opposite directions, and the displayed F-score stays close to Run 1. The comparison shows why it is useful to read the component metrics even when the official rank is summarized by a single number. Two submissions with similar F-scores can differ in the fraction of valid matches they find and the fraction of their predictions that are correct.

Graded semantic similarity

In the graded task, the results section gives Run 1 a test Pearson coefficient of 0.563 and a rank of 3rd among 13 methods. MITRE leads at 0.619. The test coefficients for the official baseline and the contest average are 0.511 and 0.483. The selected run exceeds both comparisons, even though the authors selected it using binary development performance. Run 2 reaches 0.545 on the same test measure.

Pearson correlation on the SemEval Twitter graded similarity test set

The main HLTC-HKUST run exceeds the supervised baseline and its latent-vector variant, while MITRE leads.

Pearson correlation on the SemEval Twitter graded similarity test setMITRE: 0.619MITRE0.619HLTC-HKUST Run 1 (this paper): 0.563HLTC-HKUST Run 1 (this paper)0.563HLTC-HKUST Run 2: 0.545HLTC-HKUST Run 20.545Official supervised baseline: 0.511Official supervised baseline0.511Contest average: 0.483Contest average0.483ASOBEK: 0.475ASOBEK0.475
The numbers
System or settingPearson correlation
MITRE0.619
HLTC-HKUST Run 1 (this paper)0.563
HLTC-HKUST Run 20.545
Official supervised baseline0.511
Contest average0.483
ASOBEK0.475

The two winning entries illustrate the difference between the evaluations. ASOBEK leads the binary comparison but has a test Pearson coefficient of 0.475. MITRE is close to the lead on binary F-score and leads on graded correlation. A binary decision can succeed by making a useful split between positive and negative pairs. The graded task also examines the variation in scores over the pairs on each side of a possible split. The relative positions of the systems are therefore tied to the particular behavior the metric evaluates.

The supplementary figures in the subtask 2 columns show another view of that behavior. Run 1 has test precision of 0.697, recall of 0.657 and F-score of 0.676 in those columns. Run 2 has precision of 0.738, recall of 0.611 and F-score of 0.669. MITRE records an F-score of 0.716 there. These values are distinct from the Pearson coefficients and should be read under their own column headings. Run 2’s higher precision in this part of the table accompanies a lower Pearson result, so the two measures give different accounts of the variant’s performance.

The abstract uses 0.697 as the Pearson coefficient associated with the 3rd-place finish. The table assigns that value to Run 1’s subtask 2 precision, and both the results discussion and the table’s Pearson column give 0.563 for the coefficient. The agreement between the detailed discussion and its labeled column supports reporting 0.563. The rank given in the abstract is consistent with the rank in the discussion, even though the coefficient differs.

The two test results show that a single trained system can supply outputs useful for both parts of the competition. The binary result measures the success of its paraphrase decisions at the submitted setting. The Pearson result measures the usefulness of its score variation over the test pairs. Neither that joint result nor the comparisons with other entries tell how much of the graded performance came from the intermediate targets specifically. That question requires holding the features and training procedure fixed while changing the target scheme.

What the ablations show

Semantic features helped on the development split

The authors report that including semantic features improved both development-set accuracy and development-set F-score by 0.6%. This is the comparison that most directly addresses their interest in semantic roles. The improvement indicates that the bundle of semantic inputs was useful in the development setup. The paper gives the size and direction of the change for both metrics. It does not give the corresponding configuration scores or an equivalent semantic-feature comparison on the test split.

The semantic inputs include several different signals. A successful analysis can support a score inside aligned frames and measures of the agreement between the role structures. An unsuccessful analysis contributes the failure flag and the whole-sentence fallback. Because the comparison is for semantic features as a group, it leaves open how much the classifier gained from frame-restricted scoring, from the role-alignment measurements or from knowing that the parser had failed. Those inputs are deliberately designed to work together, which makes a group-level comparison practical and a component-level interpretation uncertain.

Frequent cases without an analysis help explain why the authors see room for improvement. In those cases, the classifier can still score the pair, but the information newly available from semantic roles is sharply reduced. The reported development gain is measured across a mixture of cases with informative annotations, cases with potentially inaccurate annotations and cases with no annotations. The authors do not report performance separately for these groups. A stronger contribution on the subset with usable frames is plausible, but the aggregate result does not quantify it.

Adding latent sentence vectors

Run 2 asks a different question. It adds latent semantic vectors derived using the method Ji and Eisenstein describe. An additional layer processes the vectors, and its output is joined to the input representation of the hand-designed features. This gives the network access to an extra kind of sentence-level evidence while keeping the original comparisons in the system. The test results place this variant beside the main run on both subtasks.

For binary classification, Run 2 has test F-score 0.652 while Run 1 has 0.651. The authors characterize the improvement as less than 0.001. The displayed figures establish the small upward change, and the paper supplies no additional precision with which to check its exact size. For graded similarity, the Pearson coefficient moves from 0.563 for the main run to 0.545 for Run 2. In the reported evaluation, the additional representation supplies little gain on binary F-score and worsens the metric used to rank graded predictions.

The authors also tried vectors from Guo and Diab and experimented with using the Ji and Eisenstein vectors through a different arrangement that omitted the extra layer used in Run 2. They report no perceptible development improvement from those trials or the other modifications they mention. The individual scores and settings are unspecified. The experiments give a consistent account of difficulty making the latent representations useful in this implementation. They leave open whether another way of producing or using the representations would change the result.

The paper offers two possible reasons for the outcome. The authors suggest that the implementation or integration of the vectors could be improved. They also raise the possibility that the tested representations are poorly suited to Twitter text. Run 2 changes a representation and the network structure used to introduce it. Its result therefore concerns that combined choice, rather than identifying the domain or the integration method as the cause. The alternative development trials broaden the experience reported in the paper without resolving the distinction.

Comparing classifiers and reading the evidence together

The authors report that their neural classifier consistently gave slightly higher binary development results than an SVM used for comparison. This supports the practical choice they made for the submission. The network also supplies the graded output they wanted and allows intermediate targets in the objective they chose. The paper gives no numerical SVM results and specifies no parallel test comparison. The reported observation establishes the direction of the development comparison while leaving its size and dependence on the settings open.

The evidence is more informative about some choices than others. The development comparison gives a measured gain for the semantic group, and the test results give a direct view of the latent-vector variant alongside the main run. The SVM experiment provides a qualitative comparison on the development data. There is no corresponding breakdown for which translation metric contributed most, whether returning both scoring directions helped, or how much the numerical and word-order features mattered. The gap between the complete system and the baseline involves several simultaneous changes and cannot be assigned to any one of those choices.

The paper also does not report an experiment that replaces the intermediate targets with binary targets while leaving the remaining training procedure fixed. The graded score and its result show that the chosen objective produced useful variation for the second subtask. How much of that usefulness depends on the vote mapping remains a different question. The design has a clear reason for preserving intermediate labels, and the experiment tests the system trained that way as a whole.

Limitations

Limits identified by the authors

The authors identify inaccurate semantic parsing as the chief obstacle to stronger results. They observe that the parser returned no analysis for many sentences. Some failures arise with particular predicates or sentence patterns that the parser handles poorly. Others reflect the nature of the Twitter data. A short post can lack a predicate that the parser recognizes or omit the grammatical material required for a usable analysis. Both situations reduce the opportunity for MEANT to compare corresponding frames.

A missing output is handled explicitly by the fallback. That keeps the feature vector defined and leaves the network with a lexical comparison and a flag. The fallback still loses the information that motivated the semantic features. It cannot associate a quantity, participant or other detail with a particular predicate across the pair. A returned but inaccurate analysis poses a related problem. If the parser assigns the roles incorrectly, an alignment can relate text that serves different functions, weakening the meaning of the resulting score.

The authors propose improving the parser, normalizing Twitter vocabulary and investigating ways to reconstruct a missing predicate. Lexical normalization would aim to convert irregular forms into ones the analysis tools can handle more readily. A recovered predicate could provide a starting point for a frame where a fragment offers none directly. These are directions suggested by the observed failures. The paper presents no experiments establishing how much either change would improve paraphrase decisions or the graded results. Lexical Normalisation of Short Text Messages.

The interpretation of the latent vectors is another limit the authors mark themselves. They are uncertain whether the difficulty lies in the suitability of the vectors for the Twitter domain or in the way the vectors were implemented and used. The reported attempts cover a small set of choices described in broad terms. The results justify little confidence in the additions as tested. Any stronger conclusion about learned sentence representations would require a comparison that makes their construction and integration explicit and varies those factors separately.

Limits visible in the experimental setup

The evaluation concerns the supplied Twitter corpus. The description of earlier performance on news sets the motivation for the change of domain. There is no evaluation showing how a classifier trained on these Twitter pairs behaves on news, or how a system trained on news would transfer to these posts under comparable conditions. The result establishes how the entry fared in the contest setting. Robustness to a domain change would require evidence from both sides of such a comparison.

The target definition has a reproducibility gap. The authors say that the full training split was used, and they specify how most vote categories map to the cross-entropy target. They omit the target for a pair with a single paraphrase vote. The ordering of the other targets suggests that such a case lies towards the negative end of the scale, but it does not determine the value actually used. An implementation would need that value to reproduce the training objective across the entire split.

Some training and decision details are also only broadly described. The development set was used to tune settings including the learning rate, but the paper gives the regularization value and the hidden-layer sizing rule more explicitly than the rest of the selected configuration. It says that training was repeated with different randomizations without reporting the spread of scores across those attempts. The discussion gives the criterion for choosing the main run but does not lay out the precise operating rule used to turn its continuous output into the submitted binary decisions. These details affect how closely a new implementation could match the reported results.

The best-run procedure gives evidence about a selected result. With different initial weights and different example orders, training can produce different outcomes. The development criterion determines which outcome is reported as the main run. Without results across repeated attempts, it is hard to judge whether the precision and recall seen for that run are representative of the procedure or especially favorable. The same issue matters for close comparisons, including the change in binary F-score between the main system and the latent-vector variant.

The graded targets have a particular interpretation. They are derived from votes about whether a pair qualifies as a paraphrase. Disagreement can reflect partial agreement in meaning, difficulty interpreting the posts, or different judgments of what counts as sufficient equivalence. The classifier is trained on the numerical mapping chosen by the authors. The Pearson result measures association with the contest’s reference judgments, and the paper does not establish calibration of the resulting scores as probabilities or as an absolute similarity scale.

There is also a gap between explaining what a feature measures and explaining an individual decision. The use of familiar signals such as word overlap, numerical agreement and correspondence between semantic roles makes the inputs understandable. After those values pass through the hidden layer, a specific score can depend on several interacting weights. The evaluation does not provide a case-level analysis of which features determined particular decisions. The semantic comparison and vector trial speak to changes in performance across sets of pairs.

Finally, the broad feature set makes it hard to attribute improvements over the baseline. The baseline and the submitted system differ in the classifier and in much of the information available to it. The result compares complete entries. The modest development evidence about the semantic bundle narrows the explanation in one place, but the paper leaves much of the contribution of the remaining feature groups unresolved. Its strongest claims concern the effectiveness of the complete system in the contest and the direction of the reported variant comparisons.

What came after

The report on SemEval-2015 Task 1: Paraphrase and Semantic Similarity in Twitter places HLTC-HKUST in the shared evaluation for which it was designed. The connection is between the task definition and a participating system. The task distinguishes paraphrase decisions from graded similarity judgments, and Bertero and Fung’s entry addresses both with one learned output. The task report cites the entry in the context of that evaluation. The two papers are from 2015, so this is a contemporaneous connection through the contest.

That connection is important for interpreting the contribution. The classifier was developed to answer two already specified evaluation questions. Its graded supervision, sigmoid output and use of a binary development selection criterion are choices about how to participate in that setting. The task report supplies the setting in which the entry can be compared with systems that prioritize different aspects of similarity. The results in Bertero and Fung’s paper show how their particular design fits the two objectives.

BnPC: A Gold Standard Corpus for Paraphrase Detection in Bangla, and its Evaluation, published in 2024, also cites the paper. Its stated contribution is a Bangla paraphrase corpus and an evaluation using that resource. The connection is again at the level of evaluating paraphrase detection, this time for a different language and corpus. The citation does not establish that BnPC used HLTC-HKUST as a baseline or adopted its translation metrics, semantic-role features or vote-to-target mapping.

The two connections give different contexts for the original work. The SemEval report links it directly to a shared task with both discrete and graded judgments. BnPC links it to subsequent work on constructing and evaluating a paraphrase resource for Bangla. The documented continuity is in the evaluation problem. The evidence here for the particular HLTC-HKUST feature combination and training design remains the Twitter experiments that Bertero and Fung reported.

Cite

Cite as Dario Bertero and Pascale Fung. 2015. HLTC-HKUST: A Neural Network Paraphrase Classifier using Translation Metrics, Semantic Roles and Lexical Similarity Features. 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-2004

@inproceedings{bertero2015hltc,
  title = {{HLTC-HKUST: A Neural Network Paraphrase Classifier using Translation Metrics, Semantic Roles and Lexical Similarity Features}},
  author = {Dario Bertero and Pascale Fung},
  booktitle = {Proceedings of the 9th International Workshop on Semantic Evaluation (SemEval 2015)},
  year = {2015},
  doi = {10.18653/v1/s15-2004},
  url = {https://doi.org/10.18653/v1/s15-2004}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/bertero-2015-hltc-hkust-neural-network-paraphrase/