Elamur Research

A Joint Phrasal and Dependency Model for Paraphrase Alignment

Paper · 2012 · Kapil Thadani, Scott Martin and Michael White

Summary

Two sentences can describe similar events with different words, and a reader can frequently tell which expressions go together by looking at the jobs they do in their sentences. Performing that comparison automatically is the task of paraphrase alignment. An aligner identifies corresponding words and spans in two passages in the same language. Its output can help another system judge whether the passages make similar claims, find material to combine, or compare alternative translations. The authors ask whether the grammatical relationships between words can help an aligner recover correspondences that are difficult to identify from the phrases alone.

Their method gives each candidate alignment a score based on the phrases it pairs and the grammatical links it pairs. Those links come from dependency parsing. In an example from the paper, one passage describes sending someone to scout and the other describes sending someone to monitor. Meteor misses the correspondence between those verbs. In the parses, each verb has the same kind of relationship to the nearby occurrence of send, giving the joint aligner evidence for the pairing. The method searches for phrase and dependency decisions together, using integer linear programming to choose the highest-scoring result allowed by its rules. It learns how much weight to give the different kinds of evidence from human alignments.

On the modified Edinburgh paraphrase corpus, the joint system achieves a test token F1 of 79.20% on the SURE links, the correspondences that annotators marked with greater confidence. The phrase-only system scores 77.85% and Meteor scores 75.49%. When the target also includes POSSIBLE links, the respective token F1 scores are 77.57%, 75.37%, and 72.32%. Adding dependencies raises both token precision and token recall relative to the phrase-only system under either annotation policy. The joint system also improves F1 on dependency correspondences derived from the reference word links and automatic parses, although its dependency precision falls relative to the phrase-only system. The reported tests find significant F1 gains. Complete sentence-pair matches show a more mixed pattern, so the clearest improvement is in recovering individual links.

Deep dive: A Joint Phrasal and Dependency Model for Paraphrase Alignment

How joint phrase and dependency alignment finds corresponding expressions in paraphrases and improves link recovery on the Edinburgh corpus. · about 34 minutes to read

The problem and its context

What an alignment represents

An alignment makes a comparison between sentences explicit. Given a pair of texts, it says which pieces express corresponding content in their respective contexts. The pieces can have different lengths. An expression built from several words may do the work of a single word in the other sentence, and an expression that has a plausible counterpart may sit somewhere different in the sentence. A passage can also contain material for which the other passage supplies no equivalent. An aligner needs a way to leave that material unpaired while identifying the parts the sentences share.

This output serves a different purpose from a judgment about the sentence pair as a whole. A paraphrase recognizer can use an alignment to identify recurring concepts and see how much of the content overlaps. For textual entailment, the correspondence can point a system toward the expressions it must compare to determine whether a claim follows. A system doing multidocument summarization can use correspondences to identify recurring information before combining material. In each case the alignment is useful because it localizes the evidence to particular passages. The paper situates such applications alongside other work in summarization.

The authors distinguish that use from a common purpose of alignment in multilingual translation. In the translation setting they describe, alignments help build phrase tables that cover a wide range of expressions. In the monolingual applications that motivate the paper, a program may consume the links for a particular pair of sentences directly. A proposed link can matter because of the inference a downstream program draws from it. A missed link can matter because the shared expression may never enter that inference. The authors discuss statistical alignment in this context, including Och and Ney’s study of statistical alignment and Alignment by Agreement.

From words to phrases and grammatical relations

Earlier monolingual techniques worked at several levels. A token-based system takes each unit of the input sequence, typically a word or punctuation mark, as the basic object to link. The paper discusses such alignment in paraphrase generation, where finding corresponding parts of existing sentences can help build alternative formulations. Its examples of that line of research include Learning to Paraphrase and Monolingual Machine Translation for Paraphrase Generation.

A phrase-based system treats adjacent words as a unit when the correspondence calls for it. This makes the scope of an alignment decision flexible. The system can pair single words or pair spans that differ in length, and the unit receiving a score can reflect the meaning of an expression as a whole. The paper traces this approach to MANLI and to a subsequent system by Thadani and McKeown that could find an exact optimum for phrase-based alignment. It describes these methods as having advantages over both token-based monolingual alignment and standard translation aligners on the alignment problems considered in that earlier research. One example of the earlier token-based work is Learning Alignments and Leveraging Natural Logic.

Meanwhile, some systems compared relations drawn from syntactic analyses. A dependency arc connects a word that governs a construction to one that depends on it. Its label describes the kind of grammatical relation involved. When pairs of such arcs are aligned, the comparison can capture corresponding structure around the words. The paper describes uses for this sort of evidence in sentence fusion, redundancy removal, and entailment recognition. One of the cited applications is Sentence Fusion for Multidocument News Summarization.

The idea of using lexical and syntactic evidence together also had a precedent. Some earlier systems considered token similarity alongside arc similarity. One used integer linear programming to keep the links between individual words consistent with links between grammatical relations. The new method carries that arrangement over to a representation in which a lexical decision can connect whole spans. Thus an arc can support a pairing that involves words inside phrases, while the choice of phrases determines which arc pairings are possible. The earlier optimization approach is discussed in Discriminative Learning over Constrained Latent Representations.

Integer linear programming had also been used for phrase alignment by itself. The approach is useful when neighboring decisions depend on one another in ways that make a simple sequence of local choices inadequate. Phrase candidates can overlap, so taking a plausible match can prevent another phrase from being selected. In the joint setting, a decision about one word can also change which grammatical relations can be paired. The constraints must account for both kinds of interaction. The paper therefore brings together an optimization approach previously applied to phrases and one previously applied to tokens and arcs.

Translation evaluation supplies another point of comparison. Metrics that compare machine-translated text with reference translations may first have to find correspondences between texts in the same language. The authors cite work showing that these alignments can be effective for other monolingual tasks, even when the metric is used with its default settings. That observation motivates their use of Meteor, a metric whose matching stage could be evaluated as an aligner in its own right. The relevant earlier work includes Re-examining Machine Translation Metrics for Paraphrase Identification and Meteor 1.3.

The method, step by step

How structure helps identify a match

The paper illustrates the task with a training pair about Australian activity in East Timor. In one passage, an official is to be sent to scout. In the other, a military officer is to be sent to monitor. The reference word links identify a correspondence between scout and monitor that Meteor misses. The authors examine how the Stanford parser analyzes the sentences to see what clues surround that missing link.

The parses connect send to scout and send to monitor with the label xcomp. Both also connect the corresponding scouting or monitoring verb to its own infinitival to with the label aux. Here xcomp is the dependency label for the complement relation in the infinitival construction, and aux marks the auxiliary relation in the parser’s analysis. The matching occurrences of send and to give the two grammatical comparisons endpoints with direct lexical support. Pairing scout with monitor would bring the other endpoints into correspondence as well.

This example explains what the method can gain by considering several decisions at once. A system could start with word links and compare the grammatical relations attached to their endpoints. If the word links have already been fixed, that comparison can reveal where something is missing, but it cannot change the earlier decision. In the joint method, the score for the arc pair is available when the phrase alignment is selected. A phrase match can become preferable because it allows grammatical matches elsewhere in the solution. The paper also points to a group of missed links near the end of the illustrated pair for which the supporting relations are interdependent. The relevant support may involve several uncertain pairings rather than one tentative pairing next to an obvious one.

The program begins with the words in each segment and the labeled dependencies supplied for those words. It assigns scores to available phrase and arc edits, where an edit is a proposed correspondence or a decision to leave something unpaired. The solver selects a set of these edits that covers the inputs and satisfies agreement between the phrase and dependency decisions.

How the joint aligner chooses phrase and dependency links

The steps in order.

How the joint aligner chooses phrase and dependency linksStep 1: Prepare both token sequences and their dependency graphs1. Prepare both token sequences and their dependency graphsStep 2: Enumerate candidate phrase matches and deletions2. Enumerate candidate phrase matches and deletionsStep 3: Enumerate candidate dependency matches and deletions3. Enumerate candidate dependency matches and deletionsStep 4: Score candidate edits with learned feature weights4. Score candidate edits with learned feature weightsStep 5: Connect phrase choices to token pair indicators5. Connect phrase choices to token pair indicatorsStep 6: Enforce agreement between token and dependency choices6. Enforce agreement between token and dependency choicesStep 7: Return the highest-scoring feasible alignment7. Return the highest-scoring feasible alignment

Representing the two input segments

The mathematical representation distinguishes the identity of a token from its position. If a word occurs repeatedly, each occurrence has its own index. This distinction matters because the dependency arc used as evidence connects particular occurrences. In the example, an occurrence of to has to belong to the relevant infinitival construction. A match to another occurrence of the same spelling would give a different syntactic comparison.

Tˢ = {tᵢˢ : 1 ≤ i ≤ nˢ}

Here Tˢ is input segment s, and s identifies either side of the pair, whose labels are 1 and 2. The quantity nˢ is the number of tokens in segment s. The symbol tᵢˢ is the token at position i in that segment. The braces collect the indexed tokens, the colon means “such that,” and ≤ makes both bounds inclusive. The indices preserve the order of the tokens.

tᵢ…ⱼˢ = {tₖˢ : tₖˢ ∈ Tˢ, i ≤ k ≤ j}

Here tᵢ…ⱼˢ denotes the contiguous span of segment s with first position i and last position j. The index k ranges over positions within that span, and tₖˢ is the token at position k. The symbol ∈ means “belongs to.” The brace notation describes membership, with the indices supplying the reading order. A phrase in this representation is a contiguous span. The definition does not require a parser to identify the span as a constituent.

Dˢ = {dᵢⱼˢ : tⱼˢ is a dependent of tᵢˢ ∈ Tˢ ∪ {ROOT}}

The set Dˢ contains the labeled dependency arcs for segment s. An arc dᵢⱼˢ goes from the governing position i to the dependent position j. The dependent token is tⱼˢ, and tᵢˢ denotes the governor when it is an ordinary token. ROOT is the special root symbol, and ∪ includes it alongside the tokens in Tˢ as a possible governor. Arc labels are part of the arcs. They do not get a separate position index in this notation.

The representation can pair phrase spans whose internal structure differs. A span may contain several words on one side and a single word on the other. Selecting a phrase pair establishes a block of token correspondences for purposes of the constraints. The individual endpoints of a dependency arc then consult those token correspondences. The phrase and arc representations consequently meet at word positions, even though an entire phrase is the unit selected and scored by the phrase part of the method.

What the program scores

The authors describe an alignment as a set of edits. A phrase match pairs two contiguous spans, one from each segment. A phrase deletion accounts for a span on either side that has no assigned counterpart. In this setting, the word deletion names a decision in the alignment. It does not change the input or imply that the unpaired material is unimportant. The complete set of phrase decisions covers every token exactly once. Thus the selected spans form a segmentation on each side, with every span either paired with another span or marked as unpaired.

For arcs, a match pairs a dependency from each segment. A deletion marks a dependency as unpaired. Each arc receives exactly one such decision. The arc choices are tied to the phrase choices in both directions. An arc match requires corresponding governors and corresponding dependents. If those endpoints correspond for a candidate arc pair, the arc match is required. In other words, a candidate cannot collect the reward for a grammatical comparison while leaving its endpoints unrelated, and it cannot retain both endpoint matches while quietly omitting an unfavorable arc comparison.

score(E) = ∑_{e*ₚₕᵣ ∈ E} αₚₕᵣ(e*ₚₕᵣ)
         + ∑_{e⁻ₚₕᵣ ∈ E} δₚₕᵣ(e⁻ₚₕᵣ)
         + ∑_{e*ₐᵣ꜀ ∈ E} αₐᵣ꜀(e*ₐᵣ꜀)
         + ∑_{e⁻ₐᵣ꜀ ∈ E} δₐᵣ꜀(e⁻ₐᵣ꜀)

Here E is the complete alignment, and score(E) is its real-valued score. The symbol e denotes an edit, with * for a match and ⁻ for a deletion. The subscripts ₚₕᵣ and ₐᵣ꜀ identify phrase and arc edits, respectively. Each ∑ adds the contributions of the edits of its indicated type that belong to E, and + combines the totals. For phrases, αₚₕᵣ scores a pair of spans from opposite segments and δₚₕᵣ scores a single unpaired span from either segment. For dependencies, αₐᵣ꜀ scores a pair of arcs and δₐᵣ꜀ scores a single unpaired arc.

The deletion terms make the score a comparison among complete ways of accounting for the text. Consider an aligner deciding whether to pair two spans. It must consider how the resulting edit scores compare with those for leaving the spans unpaired, as well as with the scores of other phrase choices that cover some of the same words. The same principle applies to dependencies. Under the consistency rules, a phrase choice can replace some arc deletions with arc matches. Its effect on the score can therefore reach beyond the words in the span, because those words can have governors or dependents elsewhere.

How the edit scores are learned

The authors express all four kinds of scores through features. A feature records a property of a candidate edit whose contribution is learned from examples. Putting the scores in this common form allows the learner to use positive or negative evidence from phrases and arcs when choosing an alignment.

score(E) = ∑_{e ∈ E} w · Φ(e)

Here E is the alignment and e ranges over its selected edits. The vector Φ(e) records the feature values of edit e, and w contains the corresponding learned weights. The dot · is the dot product, which multiplies corresponding entries and adds the products. The outer ∑ accumulates that contribution over the selected edits. The same weights are used to score competing alignments for an input pair.

The phrase features follow earlier phrase alignment work. Some indicate whether the edit is a match or a deletion. For matches, features describe the sizes of the two spans and their similarity as assessed with lexical resources. The scorer also uses contextual and positional features. Thus phrase evidence already includes properties beyond the identity of the words being compared. The dependency features add a particular kind of context, namely how the words participate in relations identified by the parse.

For arcs, the features described are simple. They combine the edit type with information about the dependency label or label class. The scorer can learn a weight for pairing dependencies of the class subj, for example, or for leaving a det dependency unpaired. These features can give grammatical relations different influence on the final decision. A pair of arcs can be considered whenever its endpoints allow it under the constraints. A common arc label alone does not establish the endpoint correspondence, and a comparison between arcs is scored as part of a whole alignment.

The authors learn the weights with the structured perceptron. A structured prediction is a complete configuration of interdependent choices, here a set of edits. Training compares such a prediction against the annotated alignment and adjusts the feature weights using the disagreement between them. When a feature occurs in both configurations, its shared contribution does not favor one over the other in that comparison. A feature associated with an edit found on only one side can change the relative scores. This makes it possible to learn about a tentative phrase pairing and its grammatical consequences through the same training procedure.

Turning choices into binary variables

The integer program assigns binary indicators to candidate decisions. An indicator is 1 when the decision is selected and 0 when it is absent. The subscripts identify the positions of the relevant spans, dependencies, or tokens. The superscript s gives the side from which the indices are being read. The other side is denoted by s′.

s′ = 3 − s

Here s is a side index from the set 1, 2, and s′ is the opposite side. The constant 3 and the subtraction sign − express the switch between those indices. The prime identifies the other side throughout the variables and constraints.

  • yᵢⱼ∼ₖₗˢ stands for matching the phrase from i through j in segment s with the phrase from k through l in segment s′. The symbol ∼ connects the indices of the two counterparts. Reversing the perspective to the other segment refers to the same decision.
  • ȳᵢⱼˢ stands for leaving the span from i through j in segment s unpaired. The bar marks a deletion variable, which needs indices from only one segment.
  • zᵢⱼ∼ₖₗˢ stands for pairing the arc from governor i to dependent j in segment s with the arc from governor k to dependent l in segment s′. Reversing the perspective again gives the same variable.
  • z̄ᵢⱼˢ stands for leaving the arc with governor i and dependent j in segment s unpaired.
  • xₚ∼qˢ records whether position p in segment s and position q in segment s′ are covered together by a selected phrase match. Unlike y, it refers to individual positions and has no independent score term.

For phrase indicators, index pairs identify the inclusive boundaries of spans. For arc indicators, they identify the directed endpoints of grammatical relations. The same letters can thus have different roles in the two types of variables. The input dependency graphs determine which pairs of positions have arc variables. The contiguous spans of permitted length determine which positions can serve as the boundaries of phrase variables.

xₚ∼qˢ = 1 if ∃ i, j, k, l such that
              yᵢⱼ∼ₖₗˢ = 1, i ≤ p ≤ j, and k ≤ q ≤ l
        0 otherwise

Here ∃ means there is at least one choice of the four boundaries i, j, k, and l. The first inequality places token position p inside the phrase in s, and the second places q inside its partner in s′. The condition on yᵢⱼ∼ₖₗˢ requires the phrase pair to be selected. The two values for xₚ∼qˢ mean active and inactive. In a selected multiword phrase pair, every cross-span token pair satisfies this coverage test. The test does not ask for an additional word-by-word pairing inside the two phrases.

The objective and the coverage constraints

A maximum scored alignment is obtained by maximizing the sum of candidate scores multiplied by their indicators. The authors express the search over phrase spans with a length control λ. The following form groups the terms by the decisions the program scores.

max_{y, ȳ, z, z̄}
    ∑_{i=1…n¹} ∑_{j=i…min(n¹, i+λ)}
    ∑_{k=1…n²} ∑_{l=k…min(n², k+λ)}
        yᵢⱼ∼ₖₗ¹ αₚₕᵣ(⟨tᵢ…ⱼ¹, tₖ…ₗ²⟩)
  + ∑_{dᵢⱼ¹ ∈ D¹} ∑_{dₖₗ² ∈ D²}
        zᵢⱼ∼ₖₗ¹ αₐᵣ꜀(⟨dᵢⱼ¹, dₖₗ²⟩)
  + ∑_{s ∈ {1, 2}} (
        ∑_{i=1…nˢ} ∑_{j=i…min(nˢ, i+λ)} ȳᵢⱼˢ δₚₕᵣ(tᵢ…ⱼˢ)
      + ∑_{dᵢⱼˢ ∈ Dˢ} z̄ᵢⱼˢ δₐᵣ꜀(dᵢⱼˢ)
    )

Here max asks for the largest attainable score over the four families of edit indicators y, ȳ, z, and z̄, subject to the constraints. The auxiliary variables x are determined by the phrase decisions and carry no objective coefficient. Superscripts 1 and 2 designate the two segments, and n¹, n², and nˢ are their lengths as applicable. For the phrase matching term, i, j are the start and end on side 1, and k, l are the start and end on side 2. The operator min takes the smaller bound so the candidate stops at the segment boundary when needed. The quantity λ controls how far beyond the start the end index may extend. The notation … includes each index between the displayed limits.

Angle brackets ⟨ , ⟩ make a pair, either of spans t for αₚₕᵣ or arcs d for αₐᵣ꜀. The sums over D¹, D², and Dˢ range over the dependencies of the indicated segments. The last group adds deletion scores from both sides, using δₚₕᵣ for a span and δₐᵣ꜀ for an arc. Placing a score beside an indicator means multiplication. An inactive decision then contributes nothing, and a selected decision contributes its full score. The use of just one orientation for the matching sums counts each match once.

The first rule covers each token. A token can belong to several candidate phrases before inference, so the program sums all the phrase matches and deletions that would account for that token.

∑_{i,j : i ≤ p ≤ j} (∑_{k,l} yᵢⱼ∼ₖₗˢ + ȳᵢⱼˢ) = 1
    for every p in segment s

Here p is the fixed token position whose coverage is being checked. The outer sum ranges over allowed boundaries i, j in segment s that contain p. The inner sum ranges over the allowed partner boundaries k, l in segment s′. The phrase deletion indicator ȳᵢⱼˢ is counted once for each covering span regardless of how many possible partners the span has. The right side 1 makes exactly one edit active for that position, and the rule applies on each side. Selecting overlapping phrases on a side would make the left side exceed that value at an overlapping token.

The analogous rule for arcs ensures that there is a decision for every dependency. A single dependency cannot be paired with several others just because several candidates have attractive scores.

∑_{k,l : dₖₗˢ′ ∈ Dˢ′} zᵢⱼ∼ₖₗˢ + z̄ᵢⱼˢ = 1
    for every dᵢⱼˢ ∈ Dˢ

Here dᵢⱼˢ is a fixed dependency in segment s, with governor i and dependent j. The sum ranges over partner dependencies dₖₗˢ′ in the graph Dˢ′ of the opposite segment, with k their governor and l their dependent. The indicator zᵢⱼ∼ₖₗˢ records an arc match, and z̄ᵢⱼˢ records a deletion. The total 1 requires exactly one of those outcomes. Applying the constraint from the perspective of both segments limits the possible reuse of any dependency.

Making the two kinds of alignment agree

To tie phrases to arcs, the program first expresses the token-pair condition as a linear equality. It adds up the selected phrase matches that contain the two relevant tokens on opposite sides.

∑_{i,j : i ≤ p ≤ j} ∑_{k,l : k ≤ q ≤ l} yᵢⱼ∼ₖₗˢ = xₚ∼qˢ
    for every p in segment s and q in segment s′

Here i, j run over permitted phrase boundaries around p in segment s, and k, l run over permitted boundaries around q in segment s′. The indicators yᵢⱼ∼ₖₗˢ refer to matches of those spans. Because a position can belong to only one selected phrase edit, the sum on the left is either 0 or 1. The equality sets the token pair indicator xₚ∼qˢ to the same value. A phrase deletion does not enter the sum, since it has no span in the opposite segment.

The next constraints refer to a specific pair of existing dependencies. Each checks the alignment of one kind of endpoint.

zᵢⱼ∼ₖₗˢ ≤ xᵢ∼ₖˢ

Here zᵢⱼ∼ₖₗˢ indicates a match between an arc from i to j on side s and an arc from k to l on side s′. The indicator xᵢ∼ₖˢ records whether the governors at i and k are aligned. The relation ≤ allows z to be 1 only if this governor indicator is 1.

zᵢⱼ∼ₖₗˢ ≤ xⱼ∼ₗˢ

The left side is the same candidate arc match. The indicator xⱼ∼ₗˢ checks the dependents at j and l across the two segments. This inequality makes an active arc match require alignment of the dependents as well.

xᵢ∼ₖˢ + xⱼ∼ₗˢ ≤ zᵢⱼ∼ₖₗˢ + 1

Here xᵢ∼ₖˢ and xⱼ∼ₗˢ indicate the governor pairing and dependent pairing for the candidate arc match, respectively. The symbol + adds the endpoint indicators on the left and adds the constant 1 to the arc indicator zᵢⱼ∼ₖₗˢ on the right. When both endpoint indicators are active, the inequality forces z to be 1. When either endpoint pairing is absent, the previous constraints force z to be 0. Together the rules make an arc match equivalent to the conjunction of its endpoint matches for the candidate arcs.

This last constraint matters because phrase matches can be broad. A phrase pair can put several token pairs into correspondence at once. The program then has to satisfy all the arc decisions those correspondences entail, including the rule that each dependency gets only one edit. If the token pairs implied by a phrase configuration would require incompatible arc matches, that configuration is infeasible. The phrase segmentation and the arc rules both shape the search space. Dependencies influence the result through their scores and through the requirement that the selected configuration be coherent.

The authors recover the highest-scoring feasible alignment using Gurobi. The guarantee concerns the score and constraints just defined. For a fixed set of candidate edits and feature weights, exact inference can distinguish competing legal configurations without making the solution depend on which local match happened to be examined first. The authors describe the instances for short stretches of text as manageable with a general-purpose solver, while acknowledging that integer linear programs generally carry no guarantee of efficient solution.

Preparing the annotated data and training the scorer

The starting point is the human-aligned paraphrase collection introduced in Constructing Corpora for Paraphrase Systems. The authors call their modified version the Edinburgh corpus. They standardize the handling of single and double quotation marks and apply truecasing, which adjusts capitalization. They also collapse recognized names to individual tokens using Stanford named entity recognition. Their example is Bank of Holland, represented as Bank_of_Holland. After that change, the name takes a single indexed position in the alignment representation. The paper identifies the modified corpus as available from the authors.

The original collection includes portions with one human alignment per instance and portions in which annotators worked on the same instances. The authors put the singly annotated portions into training. They then sample training material from the overlapping portions, taking 45 instances from the trial portion of mtc, 19 from news, and 10 from novels. The test material comprises the other multiply annotated instances and the five remaining trial instances. Training receives 70% of the data and testing receives 30%, with each subcorpus accounting for the same share of both sets.

Where the annotations overlap, the authors use one annotator’s alignment as the reference for a given example. They make the selection randomly with a balanced allocation, choosing each annotator exactly half of the time. A prediction for such an item is thus compared against one annotator’s set of decisions. The protocol preserves the distinction between SURE and POSSIBLE links within the selected annotation. These are levels of confidence assigned to the link by the annotator.

The authors train separate systems for the two definitions of a target alignment. Under SURE, training uses the links marked SURE. Under SURE + POSSIBLE, both types of links form the target set, and evaluation treats the included links equally. Each setting is run with and without dependency features. Training takes 20 epochs of averaged perceptron learning, with an epoch being a pass through the training data. Averaging uses weights from across the course of learning, so the scorer used for prediction reflects more than the final update.

Experiments and results

Data, baselines, and scoring

The training split contains 715 paraphrase pairs and 29,827 tokens, with a mean of 20.9 tokens per sentence. The test split contains 305 pairs and 14,391 tokens, with a mean of 23.6 tokens per sentence. The reported performance comparisons use the test split. The paper analyzes how frequently gold token links receive syntactic support separately, on the training split.

The principal comparison is with the unconstrained phrase alignment approach of Thadani and McKeown. Here unconstrained identifies the variant of that earlier method. It still needs to choose a valid set of phrase edits. The comparison asks what changes when phrase alignment is coupled to the dependency representation. Since the joint aligner inherits the phrase-based approach, this comparison is more directly informative about the addition than a comparison between two unrelated methods would be.

The authors also run Meteor as an alignment baseline. They choose its precision-oriented max accuracy setting because it gives higher F-measure on their training data than the available max coverage option. The comparison on test therefore uses a Meteor configuration chosen using training performance. The paper does not give a separate test score for max coverage.

The authors report macro-averaged results. This gives sentence pairs influence through their individual scores instead of pooling all link decisions into one long list. Precision measures how much of a system’s output agrees with the reference. Recall measures how much of the reference the system recovers. F1 balances the two by taking their harmonic mean, which makes a low score on either one consequential. The exact column measures complete agreement for a sentence pair under the indicated alignment and reference policy. That is a stricter criterion than getting most of the individual links right.

There are two levels of evaluation. Token evaluation compares word-position links. This makes it possible to assess the output of a phrase aligner in terms of the tokens connected by its selected spans. Dependency evaluation compares links between arcs in Stanford parses. The dependency reference is projected from the gold alignment onto those parses, using the correspondences between arc endpoints. In this setting the reference tells how the arcs in the automatic parses line up given the annotated links. It is a way to evaluate recovery of dependent structures using the same gold correspondences. The results presented at both levels are instances of evaluation and benchmarks.

Token alignment

With SURE as the target on the Edinburgh test split, both trained aligners recover more reference links than Meteor. The joint system also retains a larger fraction of correct predicted links than the phrase-only system. The F1 ranking reflects this combination of recall and precision.

Edinburgh test set token F1 on SURE links

The joint aligner has the highest token F1 when the reference contains the confident links.

Edinburgh test set token F1 on SURE linksMeteor: 75.49Meteor75.49Phrase-based: 77.85Phrase-based77.85Phrase+Arc (this paper): 79.20Phrase+Arc (this paper)79.20
The numbers
System or settingF1 %
Meteor75.49
Phrase-based77.85
Phrase+Arc (this paper)79.20

For SURE test tokens, Meteor has precision of 81.82% and recall of 71.90%. The phrase-based baseline has precision of 74.83% and recall of 83.25%. Phrase+Arc has precision of 76.57% and recall of 83.79%. Thus the phrase-based systems offer greater coverage of the SURE reference, while Meteor’s precision-oriented matching leaves a smaller share of its predicted links outside that reference. The joint system improves both components of F1 relative to the phrase baseline. Complete token agreement is 11.22% for Meteor and 12.21% for each of the trained systems. The gains in individual matches leave the exact agreement rate between the two trained systems unchanged in this setting.

When POSSIBLE links enter the target, the task includes correspondences the annotators marked with less confidence. For the trained aligners, the results come from systems fitted with that broader definition of the reference. Links in either class count equally when measuring agreement with it. Meteor’s output is judged against this reference too.

Edinburgh test set token F1 on SURE and POSSIBLE links

The joint aligner leads when both annotation classes contribute to the token reference.

Edinburgh test set token F1 on SURE and POSSIBLE linksMeteor: 72.32Meteor72.32Phrase-based: 75.37Phrase-based75.37Phrase+Arc (this paper): 77.57Phrase+Arc (this paper)77.57
The numbers
System or settingF1 %
Meteor72.32
Phrase-based75.37
Phrase+Arc (this paper)77.57

For SURE + POSSIBLE test tokens, Meteor has precision of 85.40% and recall of 64.76%. The phrase-based system has precision of 70.84% and recall of 82.54%. The joint system has precision of 73.03% and recall of 84.60%. The joint system’s improvement over the phrase-only system thus reaches both measures again. Its complete token agreement also improves in this setting, with 14.85% for Phrase+Arc, 13.53% for the phrase baseline, and 10.56% for Meteor.

Meteor’s precision and recall under the broader policy illustrate how a change in the desired output affects interpretation. A prediction outside the SURE reference can become correct when a POSSIBLE link is accepted. At the same time, a larger reference creates more opportunities to miss links. For the learned aligners, the comparison between annotation policies also involves training on different targets. Their scores under one policy should therefore be read as results for that target and its trained system, with the other policy answering a related question.

Dependency alignment

On the Edinburgh test split, the SURE dependency reference favors Phrase+Arc on F1 and recall. Its F1 is 76.30%, compared with 75.10% for the phrase-based system and 65.60% for Meteor. Its recall is 84.27%, compared with 78.42% and 58.03%, respectively. Precision follows a different order. Meteor reaches 84.64%, the phrase-based system 76.07%, and the joint system 73.56%. Complete dependency agreement on that reference is 17.49% for Meteor, 23.10% for the phrase-only system, and 20.79% for Phrase+Arc. Someone choosing a system specifically for full agreement on SURE dependency sets would therefore read the result differently from someone choosing on average link F1.

The dependency F1 results for the broader target show the same ranking among the systems. Here the reference projection has access to endpoint matches provided by the POSSIBLE links as well as the SURE ones.

Edinburgh test set dependency F1 on SURE and POSSIBLE links

Joint scoring best recovers the projected dependency links by F1 under the broader reference policy.

Edinburgh test set dependency F1 on SURE and POSSIBLE linksMeteor: 62.57Meteor62.57Phrase-based: 78.79Phrase-based78.79Phrase+Arc (this paper): 80.92Phrase+Arc (this paper)80.92
The numbers
System or settingF1 %
Meteor62.57
Phrase-based78.79
Phrase+Arc (this paper)80.92

For SURE + POSSIBLE test dependencies, Meteor has precision of 91.19% and recall of 51.80%. The phrase baseline reaches precision of 80.09% and recall of 80.74%. Phrase+Arc reaches precision of 77.04% and recall of 88.76%. Here, too, the joint system’s F1 advantage over the phrase baseline comes with more ambitious link recovery and lower link precision. Exact agreement on the projected sets is 12.87% for Meteor, 22.11% for the phrase baseline, and 22.44% for the joint system.

The token and dependency results answer different questions about the same alignment. Recovering a reference dependency generally relies on getting both of its endpoint correspondences right. A phrase alignment can agree with the reference on many tokens while missing an endpoint needed for an arc match. It can also align enough endpoints to generate extra dependency pairs. This relationship helps explain how the joint system can improve token precision while losing dependency precision compared with phrase-only alignment. The metrics operate on different objects, with a different set of acceptable decisions at each level.

The authors use Wilcoxon signed-rank tests to assess the F1 increases. The test looks at paired score differences and ranks their magnitudes, taking account of which system each difference favors. The authors report p < 0.001 for the increases they test, with one exception. The joint system’s F1 increase over the phrase-based system on SURE dependencies has p < 0.05. These significance results concern F1. The paper gives the exact agreement scores separately, without reporting a corresponding significance result for them.

What the ablations show

The paper’s main component comparison is between the phrase-based system and the full joint system. It trains with and without dependency evidence and runs this comparison under each reference policy. The joint system has a richer scoring function, and its feasible decisions must also obey the arc consistency rules. The experiment therefore measures the effect of adding that package to phrase alignment. It cannot assign separate shares of the effect to the features, the penalties for unpaired arcs, and the restrictions on which combinations are legal.

At the token level, the direction of the result is stable. Under each reference policy, adding the dependency component improves recall while also improving precision relative to the phrasal baseline. That is informative because one possible effect of a new source of matches would be to propose more links indiscriminately. Precision would then be vulnerable to the added false matches. In these comparisons the joint system recovers more reference links and agrees with the reference on a larger share of its predictions. The test results are compatible with the dependency evidence helping the system replace some mistaken phrase choices as well as find missing ones. The paper gives aggregate scores, so the proportions attributable to those two changes are unspecified.

At the arc level, the precision loss helps characterize what the component adds. The joint system is better at recovering the projected arcs, while a larger share of its arc predictions falls outside the projection. A bundle of decisions can be attractive because it connects several useful endpoints and recovers several dependencies even if it also produces an unsupported match. The SURE exact result shows how a sentence-pair metric can penalize those errors. One mistaken arc can spoil complete agreement while leaving much of the reference correctly recovered.

The two annotation policies are a further controlled comparison of how the task is defined. They vary what the learner sees as valid and what the evaluation accepts. The broader policy offers more chances for an arc match to be supported by the annotations. This matters specifically for a method whose arc decisions need endpoint agreement. The larger token F1 advantage under SURE + POSSIBLE is consistent with that source of support. Since weights are trained separately for both policies, the experiment describes the effect of a broader target throughout the pipeline. It does not quantify how the same fitted weights would behave under a change of scoring policy alone.

Before evaluating the trained system, the authors count how often the reference annotations exhibit the structural pattern used by the joint method. A token correspondence counts as supported when the aligned tokens participate in corresponding dependencies with other aligned tokens. In the Edinburgh training split, that applies to 64% of SURE token links and 65% of token links when SURE and POSSIBLE are taken together. This is a descriptive statistic about the annotations and parses. It includes links that may be easy to recover using phrase evidence, so it does not give the share of predictions that owe their success to dependencies.

The authors also examine the comparison from the perspective of dependencies. In the training corpus, endpoint correspondences based on SURE links align 54% of the arcs. Taking both annotation classes into account brings that coverage to 62%. The token-support measure asks whether a reference word pairing benefits from a related structural pairing. The arc measure asks how much of the parsed structure can be paired using the word links available. Each gives a different denominator. A broader reference can consequently open up additional arc matches even when the proportion of word links with support changes little.

The arc analysis also finds that some grammatical relations correspond much more frequently than others. Among types that are not rare, 74% of aux dependencies are aligned with POSSIBLE links included, compared with 38% of rcmod dependencies, the parser’s label for relative-clause modifiers. The reported range for many core types, including xcomp and dobj, is 64-70%. The label dobj denotes a direct-object relation in the parses. These figures give a reason to represent arc types separately. A scorer can learn that matches and deletions of certain types behave differently. The counts themselves are observations about the corpus, independent of the weights ultimately learned for the alignment objective.

The scout and monitor example shows the mechanism at the scale of a particular mistake. One missed word pairing is structurally plausible because two arc comparisons can share it as an endpoint. The paper’s example also includes interrelated misses for which some potentially useful arc comparisons depend on more than one unsettled word link. When uncertain decisions support one another in that way, a component that only scores an isolated token substitution has less access to the pattern. A joint search can consider the compatible group and compare its total score with competing groups. The example establishes the presence of this evidence in a real annotated pair. The paper uses the corpus counts to show that the underlying pattern is widespread in the training data.

How far the comparison isolates a cause

The Meteor baseline helps put the practical differences in context. A system chosen for precise matching can have difficulty recovering links beyond the correspondences it recognizes confidently. The phrase-trained systems give a different balance, with higher recall. The result against Meteor therefore says something about the usefulness of the full trained aligners under this evaluation. The component comparison with the phrase baseline is the evidence specific to adding dependencies.

The paper does not give an experiment in which individual arc label classes are removed, nor does it replace the parses or turn off one direction of the consistency relationship in isolation. The coverage analysis motivates label-specific features, but a frequent correspondence for a label is not a measurement of how much that label improves test F1. For that, one would need a comparison in which the rest of the scorer and search stay fixed as the label’s contribution changes. Likewise, exact inference is part of the method, but this experiment cannot quantify its contribution against a version that searches approximately under the same objective. The reported comparisons establish the performance of the system with its components working together.

Limitations

Limits identified by the authors

The authors point out that grammatical agreement is only available when the dependency structures are compatible. A parser can make an error, leaving a true correspondence with misleading syntactic evidence. Sentences can also express related content while reversing the governor and dependent roles. This method pairs governors with governors and dependents with dependents, so it does not account for such inversions. Larger structural changes can make the relation between the sentences difficult to capture through arc matches even when the words or phrases correspond. The variation in support across dependency types is consistent with these possibilities. The paper does not decompose the unmatched arcs into counts attributable to each cause.

The authors also identify a limitation in the treatment of names. Once a recognized name is collapsed, the aligner treats it as a single input position. A later analysis of the output has access to the collapsed token and its link, while the alignment itself has no independent decisions for words inside that name. The authors propose preserving the original token sequence and identifying name spans by their indices in future work. Their conclusion also identifies evaluation on additional corpora and stronger phrase and arc similarity features as future directions.

For inference, the authors qualify their use of exact optimization by describing the text segments of interest as short. An integer program can provide an exact answer for its objective, but efficient solution is not guaranteed in general. A longer input provides more possible spans and dependencies to compare, with more ways for edits to compete for the same words and arcs. The paper treats the test instances as manageable, and its empirical result concerns the alignment scores. It gives no profile of runtime or solver behavior as the input scale grows.

Limits of the evaluation and representation

The reported performance comes from one adjusted version of the Edinburgh corpus with one split procedure. Using the same proportions of the mtc, news, and novels subcorpora for training and testing gives the systems exposure to the types of material they will be evaluated on. That design supports a direct comparison within the corpus. It leaves open performance on a whole subcorpus held out from training, on a different corpus, or with different preprocessing. The normalization and name collapsing are part of the test conditions, so the results do not separately measure their effects.

The reference selection also shapes what a score means. Each multiply annotated item is evaluated using one annotator’s alignment, with balanced selection of annotators across the data. The resulting score measures agreement with the chosen judgment for each item. A different reference policy could credit more alternatives or demand more agreement before accepting a link. The SURE and SURE + POSSIBLE settings expose some of this dependence by varying which links count within the selected annotations. They do not report how sensitive the results would be to other ways of combining annotators’ decisions.

The dependency evaluation uses projected links. An arc that is absent from the automatic parse cannot be recovered as a match to an arc on the other side, and a parsed relation can enter the projected reference if its endpoints align. The experiment therefore measures correspondence between dependencies available in those parses, given the human textual alignment. A separate human assessment of syntactic correspondence could make different judgments for structurally divergent sentences. The paper’s figures on how frequently dependencies support the word links are subject to the same dependence on the parses.

There are also restrictions imposed before scoring. Phrase candidates are contiguous and are limited by the permitted span boundaries. A correspondence that needs a single discontinuous edit cannot be expressed as such. The aligner might connect separate pieces with several edits, in which case it scores them separately and relates them only through the available consistency constraints and dependencies. A broad phrase match has a different limitation. It supplies every cross-span token pairing to the arc constraints, with no internal choice over which of those pairs carries the strongest semantic correspondence. If such a phrase match induces incompatible arc decisions, the integer program has to find another configuration. Exact search ensures that the selected configuration is best under the rules it has, so the set of legal candidates matters to what that guarantee can establish.

Finally, the experiment evaluates alignment as an output. It motivates the task with uses in entailment, fusion, redundancy removal, and translation evaluation. Those uses can have different costs for missing a link or making an extra one. The results show gains in average agreement with annotated or projected links under the conditions tested. They leave the size and direction of any downstream effect open. An application that needs a complete structure for each sentence pair may especially care about the exact scores, where the advantage is less consistent than it is for F1.

What came after

The citing papers continue the study of alignment through different combinations of units, evidence, and matching rules. Their titles identify those directions, and the citation relationship places the joint phrase and dependency paper in that line of work. The extent to which each later system reused the earlier features, objective, or solver is unspecified.

Extending the setting and revisiting word evidence

The 2013 Turkish case study takes paraphrase alignment into a setting defined by a different language. That is a distinct question from recovering correspondences in the Edinburgh corpus. A case study can examine what the alignment task looks like in its language of interest, including which pieces serve as meaningful units of comparison. The relationship established here is the shared paraphrase alignment problem. The case study’s title leaves its particular treatment of phrases and dependencies unspecified. A Case Study Towards Turkish Paraphrase Alignment

The 2014 study foregrounds word similarity and contextual evidence for monolingual alignment. Its stated emphasis connects to a question that also motivates the joint aligner. A matching decision can draw on evidence about the words themselves and on the context in which they occur. In the earlier paper, one explicit form of context is a grammatical dependency whose other endpoint can support the pairing. The later title places words at the center of the task and identifies context as a source of evidence without specifying the same arc constraints. Back to Basics for Monolingual Alignment

Varying the syntax and the matching formulation

The 2017 work keeps phrases as alignment units and studies their alignment on parse forests. A forest represents alternative parses, so this direction relates directly to the earlier method’s reliance on the particular dependency structures available for a sentence pair. The earlier method scores links between arcs drawn from its input graphs. The later work’s stated focus concerns how phrase alignment is formulated with alternative parses in view. How those alternatives affect the final choices depends on the later method’s own formulation. Monolingual Phrase Alignment on Parse Forests

The 2023 work studies unbalanced word alignment through unbalanced optimal transport. Its subject relates to a recurring choice in paraphrase alignment. Texts may contain different quantities of corresponding material, and an aligner needs a way to express that imbalance. The 2012 formulation puts the decision into explicit phrase and arc deletions, each with a score. The later title identifies optimal transport as the framework for addressing imbalance at the word level. This connection is about the matching problem each work makes explicit, with the later work taking the word as its unit and framing imbalance through transport. Unbalanced Optimal Transport for Unbalanced Word Alignment

Cite

Cite as Kapil Thadani, Scott Martin and Michael White. 2012. A Joint Phrasal and Dependency Model for Paraphrase Alignment. Proceedings of COLING 2012: Posters.

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

@inproceedings{thadani2012joint,
  title = {{A Joint Phrasal and Dependency Model for Paraphrase Alignment}},
  author = {Kapil Thadani, Scott Martin and Michael White},
  booktitle = {Proceedings of COLING 2012: Posters},
  year = {2012},
  doi = {10.7916/d8ns1382},
  url = {https://doi.org/10.7916/d8ns1382}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/thadani-2012-joint-phrasal-dependency-model-paraphrase/