Discriminative Learning over Constrained Latent Representations
Paper · 2010 · Ming-Wei Chang, Dan Goldwasser, Dan Roth et al.
Summary
Two sentences can describe the same event while using different words and putting the participants in a different order. A system that compares them can first align the words and grammatical relations that appear to correspond, then decide whether the sentences are paraphrases. But the training labels usually give only the decision for the pair. They leave open which words should be joined and which should be left unmatched. This paper asks whether those final labels can teach a system to make better alignment choices for the decision it has to make. It studies paraphrase identification, the related task of recognizing textual entailment, and transliteration discovery, where the items to align are characters in two written forms.
The authors call their framework Learning over Constrained Latent Representations, or LCLR. A latent representation is the hidden structure used to make a prediction. Here it is an alignment assembled from possible links and omissions. The authors specify which combinations are allowed using constraints. They then learn weights that give each permissible alignment a score. For a new input, the system finds the highest-scoring alignment and predicts a positive label if that score reaches a threshold. The same weights thus determine both which alignment the system uses and what decision it makes with that alignment.
Training treats positive and negative examples differently. For a positive pair, the algorithm looks for an alignment that can support the known label and temporarily holds it fixed while updating the weights. For a negative pair, the update has to account for whichever permissible alignment would give the strongest reason to classify the pair as positive. The search can therefore expose misleading evidence that a fixed alignment would hide. An integer linear program handles the structured search, and the training procedure keeps a cache of alignments that have already posed problems for negative examples.
LCLR improves on the authors’ two-stage comparison in each task. On the English–Hebrew transliteration test, mean reciprocal rank rises from 85.7 to 95.4. On the RTE-5 test, entailment accuracy rises from 65.0 to 66.8. On the original MSR paraphrase test, accuracy moves from 76.23 to 76.41. The separation is larger on a modified paraphrase dataset that offers more possible alignments and also changes the training sample. The strongest comparison is within each task, where the systems share their feature definitions and alignment constraints. The results show what changes when the final labels help choose the alignment. The quality of the recovered alignments as linguistic annotations is a separate question.
Deep dive: Discriminative Learning over Constrained Latent Representations
Discriminative Learning over Constrained Latent Representations learns which alignments help classify word and sentence pairs from final labels alone. · about 35 minutes to read
The problem and its context
The information between the input and the label
A labeled sentence pair tells a learning system the answer to a question about the pair. It leaves much of the reasoning behind that answer implicit. In textual entailment, for instance, the input contains a text and a hypothesis. The question is whether the hypothesis follows from the text. A useful comparison might connect an entity in the hypothesis to a differently worded mention in the text, then check whether the same predicate applies to it. The label tells the system whether the inference succeeds. The entity correspondence and the predicate correspondence still have to be worked out.
Paraphrase identification presents a similar problem. It asks whether two sentences express the same meaning. A difference in word order can coexist with a close match in content, and a strong resemblance in wording can coexist with a difference in what is asserted. Aligning parts of the sentences gives a classifier a way to distinguish those situations. The alignment makes it possible to ask which expressions correspond and whether their grammatical relationships agree. The paper uses the term latent representation because this arrangement is inferred from the input. It is intermediate because the prediction concerns the sentence pair as a whole.
In transliteration discovery, the evidence is arranged at a different scale. The system is given a pair of written forms and decides whether they refer to the same entity. The hidden structure describes how characters in one form correspond to characters in the other. The authors emphasize that differences between writing systems make the correspondence ambiguous. A character pairing that makes sense in one setting may have a different interpretation when its neighbors change. The overall decision can benefit from identifying a coherent sequence of character correspondences for the particular pair.
These tasks have different meanings for a positive label. An entailment hypothesis follows from the text, a paraphrase expresses the same meaning as its partner, and a transliteration pair names the same entity. What they share is an opportunity to explain a judgment through the arrangement of smaller pieces of evidence. Making that arrangement explicit also exposes a choice the learning procedure has to make. Several alignments can satisfy the same structural rules for the same input, and they can produce quite different evidence for the classifier.
What a fixed alignment commits the classifier to
The pipeline the authors describe starts with an alignment procedure. Its developer specifies a scoring rule or uses an existing inference procedure to select an intermediate structure. A separate learning stage then trains a classifier on features extracted from the selected structure. This approach allows substantial effort to go into both parts. The first stage can use domain knowledge to produce coherent alignments, and the second can learn to value their properties using labels for the final task.
The ordering of those two stages has a consequence. Once the alignment has been chosen, the classifier sees features of that choice. If two links competed for the same word, the link discarded in the first stage is unavailable to the classifier. A larger weight on an informative feature can help when the chosen alignment contains it. The same weight has no opportunity to help an example where the heuristic consistently chooses a different link. The final training labels teach the system how to read the selected structure while the selection rule keeps its original preferences.
The paper identifies two assumptions behind this arrangement. The first is that a useful alignment can be established independently of the decision for which it will be used. The second is that the particular procedure chosen by the developer will tend to select that alignment. The authors’ alternative begins from the idea that an intermediate representation is useful insofar as it helps solve the classification task. The same available links can be organized differently depending on which distinctions matter to the prediction.
The paper discusses an earlier entailment approach that treated alignment as a supervised task in its own right. It used manually marked alignments to tune the correspondence procedure. The authors report that this produced good alignments under the alignment task’s criteria without improving the entailment judgments. Recovering the links that a human marks and recovering the evidence that a particular entailment classifier needs are different aims. The alignment annotations answer a question about correspondence, while the entailment labels answer a question about inference. That example gives the paper a reason to use the latter labels when learning which intermediate structures to prefer.
The authors place this two-stage pattern in work on string matching, transliteration, paraphrase identification and entailment. Earlier approaches also explored ways to bring structured matching and the final decision closer together. The paper points to work on graph matching for textual inference, transliteration as constrained optimization and paraphrase identification as probabilistic quasi-synchronous recognition. In the authors’ account, much of this work tied the representation and search procedure closely to the application. Their aim was to keep the rules for constructing a structure specific to the task while sharing the way those rules enter inference and learning.
The related work also gives the authors two points of comparison for the optimization. Other latent-variable support vector methods often rely on task-specific inference procedures. LCLR expresses its search through constraints supplied to a general integer optimization interface. Some probabilistic approaches instead combine contributions from all possible hidden structures. The paper argues that this is computationally burdensome when a representation is defined by rich constraints. LCLR bases the decision on the score of a single best feasible structure. The resulting question is whether any permitted arrangement supplies enough evidence to support the positive label.
The method, step by step
From a pair of sentences to a set of possible explanations
The paper illustrates the idea with newspaper sentences about MSNBC and a report first made on Friday. One sentence leads with a notification and introduces the reporting organization later. The other leads with the organization, written as MSNBC.com, and describes the reported item as a CIA request. Links between the expressions for the reporting organization, the act of reporting and the day give a way to compare the sentences in spite of their different order and wording. The example is useful because the alignment has to express a set of judgments about particular parts of the sentences before a score can be assigned to the whole pair.
The system first needs a vocabulary of decisions it can make. A decision might be to match a word in the first sentence to a word in the second, to match two grammatical links, or to leave an item unmatched. A candidate alignment amounts to a collection of such decisions. Each has an indicator, which is active when the decision is used. The indicators make it possible to describe the same example by several structures. Turning on one word link and turning off a competing link produces a different intermediate representation, even though the original sentences and their training label are the same.
There are two distinct ingredients in the search. The constraints specify whether a collection of decisions is legal. For example, a rule can prevent a word from being assigned to several partners. The features describe a legal decision in ways that the learning algorithm can score. For a word link, features can register similarity between the words or record their grammatical categories. A candidate can be perfectly legal and still have little value for the classifier. Constraints govern participation in the search, while the learned weights determine the scores of the available alternatives.
The prediction procedure looks for the legal structure with the highest total score. Its score serves as the score of the input pair. This gives the model of the task an asymmetry: an input can be classified as positive if one structure supplies enough evidence, while a negative decision requires the score of the best structure to fall below the threshold. The authors motivate this choice with cases such as paraphrasing, where they expect coherent alignments to be easier to find for genuine paraphrases.
How LCLR learns to score constrained alignments
The steps in order.
Scoring a fixed structure or searching for one
In the paper’s general notation, an input is denoted by x. The input can be a sentence pair or a word pair. Its label is either −1 or 1, with 1 denoting the positive case. In the two-stage approach, the initial procedure chooses a structure denoted by h₀. A feature vector summarizes that fixed selection, and a separate learning procedure supplies the weights for the final prediction.
θᵀ Φ(x, h₀) ≥ 0
Here θ is the classifier’s weight vector, and the superscript ᵀ indicates a transpose so the product is a dot product. The capital Φ denotes the full feature vector computed from input x and fixed structure h₀. The symbol ≥ compares the resulting score with the threshold 0. If the comparison holds, the classifier gives the positive label. A different structure could generate different features for the same x, but the formula uses the structure already supplied to the classifier.
LCLR gives the classifier access to the search itself. The paper writes Γ(x) for the collection of candidate parts of structures relevant to x. A part s can be a potential link or deletion. Each candidate has its own vector φₛ(x), whose coordinates describe properties of that candidate. The vector h indicates which candidates are active. For a vocabulary of N components, h belongs to a space of binary vectors of length N. The feasible set C consists of the vectors allowed by the task’s constraints for the input under consideration.
fᵤ(x) = maxₕ∈C Σₛ∈Γ(x) hₛ uᵀ φₛ(x)
The function fᵤ gives the score of x using weight vector u. The expression maxₕ∈C chooses the largest value over feasible vectors h, and ∈ means membership in the indicated set. The sum Σₛ∈Γ(x) runs over the candidate parts s of x. The indicator hₛ contributes 1 when s is selected and 0 when it is inactive. The product uᵀ φₛ(x) is the dot product of the weights with the features of the candidate. The sum therefore adds the scores of the active parts. The outer maximum gives the score of the best feasible complete selection.
fᵤ(x) ≥ 0
Here fᵤ is the maximized score using weights u, x is the input, and 0 is the threshold for the positive label. The comparison includes equality. Selecting the structure and predicting the label use the same score. An alignment that wins the search can still produce a negative prediction if its score falls below the threshold. Winning measures how well it fares against the alternatives for that input. The threshold measures whether its evidence suffices for a positive decision.
For any fixed weights, each candidate contributes a constant coefficient multiplied by its binary indicator. Together with linear constraints on the indicators, this makes the search an integer linear program. The word integer refers to the allowed indicator values. Linear refers to the way they enter the objective and constraints. A global search can matter even when candidate features are computed individually. Several locally attractive links may reuse the same vertex, and choosing one link can require other links elsewhere in the structure. The solver optimizes the whole assignment subject to these dependencies.
Building the paraphrase alignment
For the full paraphrase task, each sentence becomes an acyclic graph. A vertex records a word’s lemma and part of speech. The lemma is the word’s base form for lexical comparison, and the part of speech indicates its grammatical category. The graph edges come from the Stanford parser and encode grammatical dependencies between words. Using dependency parsing this way lets the alignment compare grammatical links as well as the words those links connect.
The paper uses G₁ and G₂ for the graphs of the first and second sentences. Their vertices are the members of V(G₁) and V(G₂), and their edges are the members of E(G₁) and E(G₂). A word-mapping indicator proposes to pair a vertex from each graph. An edge-mapping indicator proposes to pair a dependency edge from each graph. A word-deletion indicator leaves a vertex unmatched, and an edge-deletion indicator leaves an edge unmatched. Deletion is a description of the alignment. The original sentence still contains the word, and an unmatched item can itself supply a feature for classification.
For a vertex in the first graph, the constraint sums over all its possible partners in the second graph and includes the option of leaving it unmatched.
∀ v₁ ∈ V(G₁), hᵥ₁,∗ + Σᵥ₂∈V(G₂) hᵥ₁,ᵥ₂ = 1
The quantifier ∀ means the equation applies to every v₁, where v₁ is a vertex in the vertex set V(G₁) of the first graph. The variable hᵥ₁,∗ is its deletion indicator, with ∗ marking the missing partner. The sum runs over vertices v₂ in V(G₂), the vertex set of the second graph. Each hᵥ₁,ᵥ₂ indicates the proposed match of v₁ to v₂. The plus sign adds the deletion and mapping choices, and equality to 1 requires exactly one of them to be active.
The counterpart for a vertex in the second graph restricts incoming matches.
∀ v₂ ∈ V(G₂), h∗,ᵥ₂ + Σᵥ₁∈V(G₁) hᵥ₁,ᵥ₂ = 1
The quantifier ∀ now ranges over vertices v₂ in V(G₂). The indicator h∗,ᵥ₂ marks a deletion from the second graph. The sum ranges over possible first-graph vertices v₁ in V(G₁), with hᵥ₁,ᵥ₂ denoting the same shared match indicator as before. The sum plus the deletion indicator must equal 1. Applying both vertex equations prevents one vertex from being reused as the partner of several vertices on the other side.
The edge constraints use the same arrangement of choices.
∀ e₁ ∈ E(G₁), hₑ₁,∗ + Σₑ₂∈E(G₂) hₑ₁,ₑ₂ = 1
Here ∀ applies the equation to every edge e₁ in E(G₁), the first graph’s edge set. The variable hₑ₁,∗ indicates deletion of e₁, and ∗ marks the absent partner. Each hₑ₁,ₑ₂ indicates a match with an edge e₂ in E(G₂), the second graph’s edge set. The sum over second-graph edges and the deletion indicator must add to 1.
∀ e₂ ∈ E(G₂), h∗,ₑ₂ + Σₑ₁∈E(G₁) hₑ₁,ₑ₂ = 1
Here ∀ ranges over every second-graph edge e₂ in E(G₂). The indicator h∗,ₑ₂ marks deletion of that edge. The sum ranges over first-graph edges e₁ in E(G₁), using hₑ₁,ₑ₂ for each proposed pairing. The equality requires one decision per second-graph edge. The two edge equations together enforce one-to-one pairing while permitting unmatched edges in either graph.
The paper ties edge matches to vertex matches. Consider an edge e₁ from v₁ to v₁′ and an edge e₂ from v₂ to v₂′. The primes distinguish the second endpoint of each edge from the first. Pairing the edges concerns both endpoint pairs. The first constraint says that choosing both endpoint mappings requires the edge mapping.
hᵥ₁,ᵥ₂ + hᵥ₁′,ᵥ₂′ − hₑ₁,ₑ₂ ≤ 1
The first two indicators record matches between the corresponding endpoints, and hₑ₁,ₑ₂ records the edge match. The expression subtracts the edge indicator from the sum of the endpoint indicators. The upper bound ≤ 1 would be violated if both endpoint indicators were active and the edge indicator were inactive. With the binary choices used here, selecting both vertices therefore forces the edge match.
The converse uses an inequality for each endpoint pair.
hᵥ₁,ᵥ₂ ≥ hₑ₁,ₑ₂
The left-hand variable is the match indicator for the first endpoints v₁ and v₂. The right-hand variable is the match indicator for e₁ and e₂. The inequality ≥ requires the first endpoint match to be active whenever the edge match is active.
hᵥ₁′,ᵥ₂′ ≥ hₑ₁,ₑ₂
The left-hand variable now concerns the second endpoints v₁′ and v₂′, and the right-hand variable again concerns the two edges. The same lower-bound comparison requires the second endpoint match whenever the edge match is active. These inequalities and the preceding upper bound make the edge match equivalent to choosing both corresponding endpoint matches.
With those conditions in place, the integer optimization for a sentence pair can be written as follows.
maxₕ Σₛ hₛ uᵀ φₛ(x) subject to the graph constraints and hₛ ∈ {0, 1} for every s
The maximization is over h, the complete selection of mapping and deletion indicators. The sum runs over candidate decisions s for the input x. The indicator hₛ belongs to the binary set {0, 1}, and it multiplies the candidate’s feature score uᵀ φₛ(x). Here u is the fixed weight vector during inference, ᵀ denotes its transpose, and φₛ(x) gives the candidate’s features. The graph constraints are the vertex, edge and endpoint conditions above. The output of the search includes a maximizing selection, and its objective value supplies the score used for prediction.
The feature design gives the same set of graph decisions several kinds of evidence. Word mappings can use WordNet similarity, part of speech, named-entity information and edit distance. The last of these describes how much editing separates the written forms being compared. Word deletions use part of speech and named-entity information. Edge mappings use information from the corresponding word matches and the labels of the dependency edges. Edge deletions use dependency labels. The label evidence changes the score of a candidate edge choice, while the endpoint conditions determine whether that choice can occur in the alignment.
The objective for learning the weights
A training item has an input xᵢ and a known label yᵢ. The index i identifies the example. The paper expresses the prediction error through the score multiplied by the label. For a positive example, a larger input score increases this signed score. For a negative example, a smaller input score increases it. The loss receives the negative of the signed score, so a non-decreasing loss penalizes evidence that moves away from the known label. The optimization also includes a penalty on the magnitude of the weight vector.
minᵤ [ (λ/2) ‖u‖² + Σᵢ ℓ(−yᵢ fᵤ(xᵢ)) ]
The minimum is taken over weight vectors u. The coefficient λ is the regularization parameter, and λ/2 scales the penalty on ‖u‖², the squared norm of the weights. The sum runs over all training indices i. The function ℓ is the loss. Its argument is the negative of the product of the label yᵢ and the score fᵤ(xᵢ) for input xᵢ. Larger evidence for the known label makes that argument smaller. Regularization places the loss reduction in competition with increasing the magnitude of the weights.
Substituting the alignment search into the training expression gives the optimization that LCLR addresses.
minᵤ [ (λ/2) ‖u‖² + Σᵢ ℓ(−yᵢ maxₕ∈C Σₛ∈Γ(xᵢ) hₛ uᵀ φₛ(xᵢ)) ]
The outer minimum again chooses u using regularization strength λ and loss ℓ. The outer sum runs over training examples i with inputs xᵢ and labels yᵢ. Inside each loss, the maximum searches the feasible set C for the current example. The inner sum ranges over Γ(xᵢ), the candidate parts s of xᵢ. The indicator hₛ selects a part whose features φₛ(xᵢ) are scored by the dot product with u. The label and minus sign determine how the best score enters that example’s loss.
This objective is non-convex in general. To see where the complication enters, consider a positive example with two plausible alignments. At one weight setting, the first alignment can provide the stronger argument for the positive label. At another, the second can provide it. Each region of weight space may explain the example in a different way. The optimization is free to rely on whichever explanation scores highest, and changing weights can change the explanation on which the loss depends. For negative examples the same maximum has a different role. A single structure with a high score can make a negative example hard to classify, regardless of how low the other scores are.
The experiments use squared-hinge loss. It penalizes a signed score below a target margin, with the penalty increasing quadratically with the size of the shortfall.
ℓ(−y fᵤ(x)) = max(0, 1 − y fᵤ(x))²
Here ℓ is the loss for a training pair with input x and label y. The function fᵤ(x) is its best feasible score with weights u. The product y fᵤ(x) is the signed score. The term 1 − y fᵤ(x) measures the shortfall from the training margin of 1. The maximum keeps that shortfall when it is positive and gives 0 otherwise. Squaring the result makes a larger shortfall cost more. The margin used in training serves a different purpose from the prediction threshold of 0.
Why the positive and negative updates differ
LCLR initializes u from the weights obtained by training the two-stage classifier. It then finds the highest-scoring feasible structure for every positive example at those weights. For the next weight update, it holds those positive structures fixed. In effect, it asks the weights to make each selected structure sufficient evidence for its example’s positive label. After updating the weights, the algorithm searches the positives again. If a different structure has become more useful, the following update can use that new structure.
The negative examples remain subject to the maximum during the weight update. Fixing a single negative alignment would allow the update to lower the score of that alignment while raising the score of an alternative. At test time, the alternative might win and still produce a false positive. The negative term instead penalizes the strongest positive-looking explanation a negative pair can support at the weights being considered. As those weights change, the alignment receiving that penalty can also change.
minᵤ [ (λ/2) ‖u‖² + Σᵢ:yᵢ=1 ℓ(−Σₛ hᵢ,ₛ∗ uᵀ φₛ(xᵢ)) + Σⱼ:yⱼ=−1 ℓ(maxₕ∈C Σₛ hₛ uᵀ φₛ(xⱼ)) ]
The minimum chooses u, with the norm penalty scaled by λ/2. The first sum ranges over positive examples i with label yᵢ equal to 1. The starred indicator hᵢ,ₛ∗ is the fixed choice for candidate s in the maximizing structure found for positive input xᵢ. The dot product uᵀ φₛ(xᵢ) scores that candidate. The minus sign makes a higher positive structure score reduce the argument to ℓ. The second sum ranges over negative examples j with label yⱼ equal to −1. For each input xⱼ, the maximum ranges over h in its feasible set C, and the sum inside the maximum adds the feature scores of the selected candidates. On negative examples, larger maximized scores increase the argument to ℓ.
The authors state that a non-decreasing loss gives a decreasing objective through the outer iterations. The fixed positive term explains the guarantee. At the weights used to select the positive structure, its score equals the maximum. At any other weights, its score is at most the new maximum. After changing the sign for the positive loss, the loss on the fixed structure is therefore at least as large as the corresponding loss that could be achieved by searching again. The update minimizes an upper bound that agrees with the original objective at the current weights. This mechanism gives descent even though the original problem admits competing explanations of the same positive examples.
The authors also state that the weight-update problem is convex when the loss is convex as well as non-decreasing. On the positive side, each fixed structure gives a linear score in u. On the negative side, the maximum of the linear scores is convex, and applying a convex non-decreasing loss preserves convexity. Convexity concerns this update with its current positive structures. The next outer iteration can change those structures and hence the convex problem being solved.
Finding the negatives that matter to the update
For each negative example, the cutting-plane procedure keeps a collection Hⱼ of structures already found for that example. At the current weights, it runs inference to find the strongest feasible negative alignment and adds it to the collection. Then it solves a version of the weight-update problem that compares the cached alignments of each negative example. This makes the optimization easier because a potentially large search space is represented by a growing collection of specific competitors.
minᵤ [ (λ/2) ‖u‖² + Σᵢ:yᵢ=1 ℓ(−Σₛ hᵢ,ₛ∗ uᵀ φₛ(xᵢ)) + Σⱼ:yⱼ=−1 ℓ(maxₕ∈Hⱼ Σₛ hₛ uᵀ φₛ(xⱼ)) ]
The minimum, regularizer and positive terms have the same interpretation as in the full weight update. The weight vector is u, λ scales its squared norm, and ℓ evaluates the example losses. Indices i and j refer to positive and negative inputs respectively, as specified by the conditions on yᵢ and yⱼ. The starred positive indicators hᵢ,ₛ∗ stay fixed. For each negative input xⱼ, the maximum now ranges over the cached structures Hⱼ. Within a candidate structure h, each hₛ selects whether the score uᵀ φₛ(xⱼ) enters the sum. The inner algorithm alternates a full search for a competitor with a weight update based on the collected competitors.
The search over all feasible alignments is important even though weight updates use a cache. Once the weights have responded to the alignments in the cache, a previously unexamined alignment can become the strongest one. Finding it expands the cache and gives the next update another case to account for. If a full search for each negative returns a maximizing alignment already represented in its cache, the cached maximum attains the full maximum at those weights. The procedure then stops adding structures. The paper gives finiteness of the possible structures as the reason this process terminates.
For the cached problem, the authors use coordinate descent on a dual formulation. The dual is a different optimization expression for solving the same restricted problem, and coordinate descent updates individual optimization coordinates. The paper states a global minimum guarantee for that restricted solve. In the implementation, the cache is retained for each negative example across outer iterations. A later update can therefore begin with structures exposed by earlier searches. The outer iteration ends when relative improvement in the objective falls below 10⁻⁵.
What changes from one task to another
For transliteration, the candidate structure contains character mappings. The input is a pair of words, and each mapping indicator records whether a position in the first word is aligned to a position in the second. The features describe individual character pairs and pairs in their surrounding character contexts. The authors use one-to-one and noncrossing constraints. One-to-one restricts reuse of a position. Noncrossing requires chosen correspondences to preserve their relative order across the two written forms. These rules express a property of a plausible character alignment while allowing the learned weights to decide which permissible correspondences are informative.
For entailment, the input graphs use words as vertices. The authors connect verbs to the head words of their arguments using semantic role labeling. This analysis identifies roles associated with a predicate, and the head word represents an argument in the graph. Other words are connected by dependency links. The authors use word mappings, word deletions and edge mappings. They supply the deletion variables and deletion features for the hypothesis alone, because the text is typically much longer. The entailment setup therefore reflects the direction of the question being asked of the pair.
The entailment word-mapping features include a WordNet similarity measure, part-of-speech information and negation indicators. The system also uses coreference resolution to identify which entities pronouns refer to and to build features using those entities. Word-deletion features record the deleted token’s part of speech. For an edge mapping, the authors use information from the corresponding word mappings, scaled by the similarity of the words at the edge endpoints. The graph and feature design give lexical and grammatical evidence a joint place in the alignment search.
The common procedure across these tasks is to build a legal hidden structure from scored parts, search for its best instance under the current weights, and train using the final label. The flexibility comes from how the candidate parts are defined, how they are described, and which combinations are declared legal. In the experiments the two-stage approach supplies a learned classifier for initialization as well as a comparison system. LCLR starts from that classifier’s weights and then allows the final task to shape the search that generates its evidence.
Experiments and results
The comparison shared by the tasks
The experiments ask what changes when the alignment objective is learned together with the classifier. The authors call their fixed-alignment comparison Alignment + Learning. Both it and LCLR have the same kinds of intermediate representations, the same feature functions and the same constraints for the task. In Alignment + Learning, a task-specific scoring heuristic selects the alignment before the classifier learns from it. In LCLR, the classifier’s evolving weights score the alignments themselves. The paired comparison gives a direct view of that training change.
The established systems reported alongside the authors’ own systems give a different kind of context. They show how the resulting task scores compare with scores from earlier work or from challenge submissions. Their methods can differ in representation, features and training, so the comparisons with those rows involve several design choices at once. The most informative rows for the paper’s research question are the two systems constructed using the shared setup.
Transliteration discovery
The evaluation uses an English–Hebrew corpus containing 250 positive pairs in the training set and 300 pairs in the test set. For negative training examples, the authors sample 10% from random pairings made from words in the positive data. These pairs give the algorithm examples for which a plausible-looking character alignment may be misleading. The paper starts the two-stage search with a Romanization table that gives uniform weights to prominent character correspondences. After computing a constrained alignment for each example, the two-stage system uses its alignment features to train a support vector classifier with squared-hinge loss.
This experiment reports mean reciprocal rank and accuracy. The first metric assigns each correct target the inverse of its rank and averages that value over the test cases. It can register a system placing the correct candidate close to the top even when another candidate is ranked first. Accuracy in this evaluation is the share of test cases with the correct candidate at the top. The metrics therefore reflect complementary aspects of how the classifier’s scores order candidates for the same task.
Transliteration systems on the English–Hebrew test set by mean reciprocal rank
The joint system ranks the correct transliteration more favorably than either comparison system.
The numbers
| System or setting | MRR % |
|---|---|
| Goldwasser and Roth | 89.4 |
| Alignment + Learning | 85.7 |
| LCLR (this paper) | 95.4 |
The earlier constrained transliteration system of Goldwasser and Roth has a reported test mean reciprocal rank of 89.4, between the authors’ two systems. Alignment + Learning has test accuracy of 80.0, and LCLR has test accuracy of 92.3. The table does not give accuracy for the earlier system. The paired improvement appears both in the measure that rewards moving the correct candidate nearer the top and in the measure that requires it to finish first.
The shared constraints are relevant to reading this outcome. Both of the authors’ systems can construct position correspondences and score the resulting features. The two-stage procedure initially searches using the character correspondence heuristic, then learns to exploit whichever character pairs it gets. The joint procedure can learn to favor a different permissible alignment when that makes the positive and negative pairs easier to distinguish. The test results quantify the effect on ranking. The experiment does not independently evaluate the accuracy of the chosen character correspondences.
Recognizing textual entailment
The entailment experiment uses RTE-5, with 600 pairs for training and 600 for testing. The paper describes the positive and negative examples as equally distributed. The outcome is accuracy on the test sentence pairs. A system receives credit when it correctly predicts whether the text entails the hypothesis. The intermediate correspondence is evaluated through its effect on that judgment.
To select alignments in the two-stage system, the authors use their WordNet similarity measure. The word scores also affect edge choices through the constraints connecting vertex and edge assignments. The final classifier can draw on the richer alignment features after the search has selected a structure. LCLR uses the same resources to learn the weights that drive the search and the final score. In this experiment, the authors report convergence after 5 outer iterations.
Entailment accuracy on the RTE-5 test set
The two-stage system exceeds the challenge median, and joint learning improves on the two-stage result.
The numbers
| System or setting | accuracy % |
|---|---|
| Median of TAC 2009 systems | 61.5 |
| Alignment + Learning | 65.0 |
| LCLR (this paper) | 66.8 |
The first row is the median of the best-performing submissions from the participating challenge teams. It gives a benchmark for the overall performance of the authors’ graph representation and classification setup. The comparison between 65.0 and 66.8 is the direct evidence about joint training. It holds the task representation fixed while changing how the training labels influence alignment. Because the entailment features include cues such as negation and resolved references, the search has access to distinctions beyond the WordNet score used by the fixed alignment heuristic. The scores alone give no breakdown of which cues explain the gain.
Paraphrase identification
The authors evaluate on the MSR paraphrase corpus and on a modified version they call the Extended dataset. Both evaluations use the paraphrase graph structure with word and edge mappings and deletions on both sides. They report accuracy. The original corpus provides a comparison with existing single-system results. The Extended dataset lets the authors examine what happens when the search has more candidate word mappings to choose among.
Paraphrase identification accuracy on the original MSR test set
The shared graph approach exceeds the earlier single-system results, with the joint version scoring highest.
The numbers
| System or setting | accuracy % |
|---|---|
| Qiu et al. | 72.00 |
| Das and Smith | 73.86 |
| Wan et al. | 75.60 |
| Alignment + Learning | 76.23 |
| LCLR (this paper) | 76.41 |
The earlier systems in the comparison include the approach based on classifying the significance of dissimilarities and the task-specific joint approach by Das and Smith. The paper restricts the comparison to individual systems and notes that earlier work had reported gains from combining systems. Alignment + Learning already exceeds the earlier results listed for the original corpus. LCLR improves the test accuracy from 76.23 to 76.41. The authors attribute the strong performance shared by the two systems to the intermediate representation they designed. The within-representation comparison leaves a much smaller advantage for learning the alignment objective on this dataset.
For the Extended dataset, the authors sample 500 sentence pairs from the MSR data for training and retain the original test collection as the basis for the modified test set. For every pair, they lengthen the longer sentence by appending a copy of it to the end. At the level of the alignment, a word on the shorter side can now have more possible partners. A repeated occurrence can compete with the original occurrence for the same match. Since matching decisions also interact through the graph constraints, this duplication changes the search for a coherent alignment.
On the Extended test set, Alignment + Learning reaches 72.00 accuracy and LCLR reaches 72.75. Both reported test scores on the modified data are below the corresponding scores on the original corpus, while their separation is larger. The paper treats the original-data result as the reference ceiling for this experiment. The modified input repeats existing material and creates additional choices for inference. It also comes with a sampled training set, a distinction that matters when interpreting the comparison between the original and modified evaluations.
What the ablations show
What can be held fixed in the main comparison
The paper reports no component-by-component ablation of the features, alignment rules or optimizer. Its primary controlled comparison is the fixed alignment objective against the learned one. Since both systems use the same feasible structures and feature functions, the test differences can be read as evidence about the joint use of those ingredients. The comparison keeps the options available to the search broadly constant within each experiment. What changes is how the procedure learns to choose among them and what score it ultimately assigns to the pair.
The control is especially important because a useful structured representation may improve a two-stage system by itself. The original paraphrase results illustrate the point. The fixed-alignment version already outperforms the earlier individual systems listed by the authors. It would be easy to credit all the performance of LCLR relative to the earlier work to its training algorithm. Holding the representation fixed reveals the smaller incremental gain in this setting. The authors’ claim about their representation explains a pattern across rows, while a direct test of that claim would require alternative representations within the same training procedure.
The transliteration comparison shows that substantial gains can occur even when the two systems share a tightly constrained character alignment and use the same feature functions. The gain is visible both in reciprocal rank and in top-ranked correctness. In entailment, the comparison likewise holds the graph design, constraints and feature resources fixed. Those results support the portability of the training approach across the specific alignment problems tested. They leave open whether the most consequential changes came from particular types of links, particular feature weights, or interactions among several choices.
There is also a difference between the experimental control and the algorithmic mechanism it tests. Replacing the fixed procedure changes how features are selected through alignment and how the weights are trained on those selections. Those effects are coupled by design. The comparison answers whether the complete joint procedure helps given the paper’s representations and starting point. It gives no separate estimate of the effect of repeatedly realigning positive examples, of searching for stronger negative alignments during an update, or of using the maximized score at prediction time.
What the extended paraphrase test can establish
The authors offer the Extended dataset to investigate why the original paraphrase gain is small. Their hypothesis is that the original input pairs leave relatively little room for differing intermediate structures. If the fixed procedure already selects an alignment close to the one that helps the classifier, allowing the classifier to choose its own alignment offers a limited opportunity for improvement. The duplication creates more candidate matches and gives the joint procedure more opportunities to choose a different structure from the heuristic.
The results follow the pattern the authors expected. The joint procedure’s advantage over Alignment + Learning is larger on the Extended dataset than on the original corpus. Since the two systems are compared under the same conditions within the Extended experiment, that advantage shows that learning to score the alignment continues to help under that modification. The result also makes the following interpretation plausible: alignment choices matter more to the final decision when the input leaves more correspondences open.
The comparison across datasets changes two things, however. It adds duplications to the input and uses a sampled training set. The design supports a claim about the combination used in the Extended experiment. It leaves open how either system would respond to duplication under the original training regime or to the sampled regime with unmodified sentences. Repetition also introduces a particular kind of ambiguity. A natural pair with several distinct plausible matches might challenge the scoring procedure differently from a pair with repeated copies of the same words.
The remaining analyses concern the learning procedure itself. The paper gives a descent and convexity result for its alternating updates, describes termination of the cache expansion, and reports the iteration count for entailment. These facts explain why the authors can carry out the proposed training and why they keep only selected negative structures in the inner optimization. They answer a computational question about how the method proceeds. The experimental comparisons answer the separate question of whether training that way improves final predictions under the paper’s setups.
Limitations
Limits the authors state
The authors describe the full training objective as non-convex and emphasize the need for a good initialization. They use weights from the two-stage classifier as their starting point. The guarantee for the outer procedure concerns descent, and the convexity result concerns an update with positive structures held fixed. The global minimum guarantee described for coordinate descent concerns the cached subproblem. A run can therefore improve its objective with each update while its eventual solution still depends on which region of the full objective it started in.
The paper’s theoretical description has gaps the authors mark explicitly. They state their theorem for the alternating procedure without giving the proof, citing space limits. They also leave out the derivation of the dual formulation and details of the coordinate descent optimization. The high-level search and update steps are specified, and the graph constraints give a concrete worked instance. Reconstructing the exact restricted solver from the paper requires working through the omitted optimization details.
The authors frame success at the level of the final prediction. They motivate their approach by the idea that the most useful representation is the one that helps the task. Their expectation that meaningful alignments are more common in positives is part of the rationale for the maximum-based decision rule. Some negative sentence pairs can share substantial content or align closely while differing on a fact that matters. The negative training step addresses this possibility by searching for competing evidence, but the architecture still depends on its feature functions and constraints to express the distinction that makes the label negative.
The paper qualifies the scope of its paraphrase comparison by listing single systems and acknowledging earlier gains from combining them. It also treats the original corpus as the performance ceiling for its Extended comparison. These are boundaries on the comparisons the paper makes. The reported advantage concerns the evaluated systems and conditions, including the particular definition of the alignment and the particular modification used to make search harder.
Limits visible in the experimental design
The evaluation measures final-label accuracy or, for transliteration, the rank of the correct answer. It has no independent measurement of whether the learned alignments agree with expert judgments or improve over the heuristic alignments by an external linguistic criterion. This is consistent with the paper’s stated objective. It limits what can be inferred from a correct prediction. Several alignments may support that prediction, and a useful score may come from correspondences that a human would judge differently. The training labels constrain the desired decision while leaving the hidden structure underdetermined.
Feature design and candidate construction remain important sources of task knowledge. In paraphrase identification, the solver receives dependency graphs and word information. Entailment adds predicate–argument information and resolved references. Transliteration depends on a representation of character correspondences and order. Learning selects among structures available under these designs. It cannot recover a correspondence excluded by the candidate vocabulary or a type of evidence that the graph and feature functions cannot describe. Accordingly, the general framework still requires different linguistic decisions for each application.
The exact integer search can expose relevant alternatives, but the evaluation offers little evidence about its cost as inputs or representations become much larger. Finite candidate spaces give the cache expansion a stopping guarantee. They can still contain many different feasible structures. The paper describes the practical advantage of considering a small set of difficult negative cases and gives an iteration count for entailment. It provides no systematic comparison of running time, cache size, or initialization sensitivity across the experiments.
The reported scores also give limited information about the reliability of small differences. The paper describes improvements as significant, but the reported experimental detail does not include statistical tests or uncertainty estimates for those comparisons. This matters especially on the original paraphrase test, where the two reported percentages are close. The observed score ordering is clear. Its stability under a new training sample, a different starting point or another test collection cannot be established from those scores.
Finally, the paper demonstrates a common training scheme for several concrete cases of structured matching. Each task has a binary final decision, and each experiment uses a hidden alignment definable through binary choices and linear constraints. The conclusion mentions other possible structures, including parse trees. Those are proposed applications of the framework. The demonstrated range consists of the character and sentence alignments used in transliteration, entailment and paraphrase identification.
What came after
The citing papers take up several of the same underlying questions. Some examine what it means for parts of two sentences to correspond. Others study a latent structure behind a language decision without making word alignment the focus. Their topics make it possible to trace the reach of the earlier paper’s problem formulation. The citation relationship alone leaves the details of direct methodological reuse open.
Probabilistic Tree-Edit Models with Structured Latent Variables treats textual entailment and question answering through probabilistic tree edits with hidden structure. It shares an application with LCLR and places a structured representation between the input and the task judgment. The tree-edit formulation makes the implied changes between structures central to the comparison. In LCLR, the intermediate object records selected correspondences and omissions under graph constraints. The two formulations illustrate different ways to define what the hidden structure of a comparison contains.
Back to Basics for Monolingual Alignment focuses on the alignment problem itself and names word similarity and contextual evidence as the basis for it. This intersects with a design choice in LCLR. A proposed match can draw evidence from the words it joins and from the relations around them. In the earlier paper, the alignment is sought because it can support a final judgment such as entailment or paraphrase. The later paper’s focus brings the correspondence question to the foreground. The shared subject is how to interpret evidence for a link when words occur in the context of whole sentences.
Semantic Parsing via Paraphrasing brings paraphrasing into semantic parsing, the task of relating an utterance to a representation of its meaning. LCLR uses correspondence to decide whether two given sentences express the same meaning. The later work’s title points to a different role for the connection between alternate expressions, where it serves the task of obtaining a meaning representation. In both problems, comparing surface forms is a means of establishing something about their interpretation.
ABCNN studies sentence-pair comparison using attention and convolution. Attention gives a way for the comparison to emphasize particular parts of the inputs. That addresses a question recognizable from LCLR’s treatment of sentence pairs, namely which parts should influence the comparison of the whole. The architectural terms identify a different approach to specifying those interactions from a search over binary links governed by graph constraints. The connection concerns the organization of evidence for a pair-level judgment.
Modeling Semantic Relations Expressed by Prepositions moves the focus to the meaning relations expressed by prepositions. This is a different way that a surface expression can underdetermine the structure a system needs to reason about. The relevant question is what relation the preposition expresses in context. In LCLR, the corresponding distinction between surface evidence and structure takes the form of a space of possible links between inputs. The later paper addresses a related representation problem at the level of a semantic relation within the input.
“I Object!” examines latent pragmatic effects in courtroom dialogue. This puts the hidden aspect of the analysis at the level of what an utterance does in an exchange. The earlier paper’s hidden choices concern how entities, relations or characters correspond. The dialogue work points to another setting where an observed string leaves a consequential part of its interpretation implicit. Across these works, the recurring technical question is how to specify the unobserved structure relevant to the task and how to connect that structure to the decision the system is trained to make.
Cite
Cite as Ming-Wei Chang, Dan Goldwasser, Dan Roth and Vivek Srikumar. 2010. Discriminative Learning over Constrained Latent Representations. Human Language Technologies: The 2010 Annual Conference of the North American Chapter of the Association for Computational Linguistics.
@inproceedings{chang2010discriminative,
title = {{Discriminative Learning over Constrained Latent Representations}},
author = {Ming-Wei Chang, Dan Goldwasser, Dan Roth and Vivek Srikumar},
booktitle = {Human Language Technologies: The 2010 Annual Conference of the North American Chapter of the Association for Computational Linguistics},
year = {2010},
url = {https://aclanthology.org/N10-1066/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/chang-2010-discriminative-learning-over-constrained-latent/