Getting the Most out of Transition-based Dependency Parsing
Paper · 2011 · Jinho D. Choi and Martha Palmer
Summary
A dependency parser makes a series of decisions about which words belong together. Once it has attached a word to its head, it faces a practical question. Will that word still be needed as the head of something farther along in the sentence? Keeping it available preserves that possibility, but every extra word the parser keeps can mean more comparisons later. Jinho D. Choi and Martha Palmer study how to make that choice inside a transition-based parser, which builds a sentence’s grammatical structure one action at a time. They also tackle a related problem in training. The partial trees a parser sees while learning are typically correct, while the partial trees it builds when reading new sentences can contain its own mistakes. Both problems arise within dependency parsing.
The first change is a transition called LEFT-POP. It attaches an earlier word to a later head and removes the earlier word from further consideration when it has no dependent left to find in the unread input. The original LEFT-ARC action remains available for cases that require retaining the word. This lets the parser save work where the sentence permits it while retaining the machinery for non-projective structures, in which dependencies can cross when drawn over the words in sentence order. The choice is part of the ordinary sequence of parsing actions. It requires no separate pass to rearrange the words.
The second change is to let a trained parser process its own training sentences. For each state reached during this run, the authors record features from the partial analysis the parser actually produced. They obtain the training label from the human-annotated reference tree. A new classifier thus learns what action the reference calls for when the available structural clues come from an automatic parse. The authors repeat this process while held-out accuracy improves in cross-validation.
The experiments use the CoNLL’09 English and Czech evaluation sets. Adding LEFT-POP improves all reported attachment scores relative to the authors’ implementation of the original algorithm. With bootstrapping, labeled attachment reaches 89.15% for English and 80.24% for Czech, close to the strongest shared-task results in the comparison. The bootstrapping gains are statistically significant for both labeled and unlabeled attachment in both languages. The final system averages 2.29 milliseconds in the reported parsing-speed comparison, against 2.69 for the original algorithm. Its runtime grows approximately linearly across the sentence-length groups studied. That observation concerns the measured implementation and sentence sets. The paper leaves open how much of the timing difference comes from the number of transitions and how much comes from the work involved in each transition.
Deep dive: Getting the Most out of Transition-based Dependency Parsing
How transition-based dependency parsing can run faster by dropping finished words and gain accuracy by training on its own parsing histories. · about 33 minutes to read
The problem and its context
A tree built through local decisions
A dependency tree represents the grammatical structure of a sentence through directed links between words. Each link identifies a head and a dependent, and a label names the relationship. For example, in the paper’s running example, was is the head of It, and the link is labeled as a subject relation. A special root token supplies a head for the word at the top of the sentence’s tree. The parser has to recover both the links and their labels from the sentence and the linguistic information supplied with its words.
The authors distinguish two broad approaches by what they search over. A graph-based parser can start from a graph whose vertices represent words and whose weighted edges represent possible dependencies. It looks for the highest-scoring tree in that graph. The paper points to a spanning-tree approach as an example of how to carry out that search for non-projective dependencies. Non-Projective Dependency Parsing using Spanning Tree Algorithms
A transition-based parser searches through a series of configurations. A configuration, also called a parsing state, records which words are available for comparison and which dependencies have already been added. A transition can move words or add an edge. The greedy approach discussed in the paper chooses the highest-scoring available action at each step. By the time the process terminates, the actions have accumulated a tree. Nivre’s earlier projective algorithm is the example the authors use to explain this style of parsing. An Efficient Algorithm for Projective Dependency Parsing
A useful consequence of proceeding through states is that the next decision can use information built up by preceding decisions. When two words are under consideration, some of their dependents or heads may already be known to the parser. Those partial structures can supply clues to the next action. The paper describes a corresponding possibility for graph-based parsing through higher-order scoring, where the score can depend on configurations of related edges. It cites work that improves accuracy this way and emphasizes the added computational cost. In the transition-based setting, the partially built tree is already available as part of the state. Experiments with a Higher-Order Projective Dependency Parser
The paper motivates this engineering problem through the utility of dependency structure in other language tasks. It points to prior work that used it in machine translation and in identifying the scope of negation for sentiment analysis. The parser is valuable in these settings because it supplies information about relations between words, and its cost matters when that analysis is one part of a larger system. The paper’s own experiments therefore examine attachment accuracy and parsing speed together. A New String-to-Dependency Machine Translation Algorithm with a Target Dependency Language Model
Why crossing dependencies complicate the search
Imagine writing the words of a sentence in order and drawing the dependency edges above them. A projective tree can be drawn with the dependencies above the sentence without crossing. Non-projective structures admit crossings. The operational question for these authors is what those structures require the parser to remember. A word whose own head has been found can still have a dependent farther to the right. If the parser discards the word prematurely, it gives up the chance to create that later edge.
A parser designed only for projective trees can exploit the restrictions of that setting to drop some words deterministically. The paper describes worst-case time for the projective approach as linear in sentence length and for the non-projective approach as quadratic. The worst case is about how much work an algorithm may need on a sentence of a given length. Its importance here is that a mechanism for revisiting earlier words creates the possibility of many comparisons. A later word can prompt the parser to look back through a large part of the earlier sentence, and the same kind of search can happen again at other positions.
The authors draw on prior work for the observation that non-projective dependencies constitute a small share of the dependencies a parser encounters. That makes selective use of the more flexible operations attractive. A non-projective parser must preserve enough options to recover crossing structures when needed. For much of a sentence, it can still exploit local situations where there is no future work for a particular token. The design question is how to recognize those situations within the parsing process. Pseudo-Projective Dependency Parsing
One earlier answer was Nivre’s SWAP algorithm. SWAP reorders tokens involved in non-projective structures so the parser can handle them through a changed processing order. The paper describes the approach as linear in practice while retaining a quadratic worst case. Choi and Palmer pursue selective processing through a different operation. Their starting point is a parser that keeps prior tokens available in lists, and their change lets it retire a token when a particular kind of attachment finishes its work. Non-Projective Dependency Parsing in Expected Linear Time
The immediate predecessor is Choi and Nicolov’s adaptation of Nivre’s list-based algorithm. It distinguishes two ways of advancing to the next input word. One follows automatically when the list of earlier comparison candidates is empty. The other is predicted and can advance before that list has been exhausted. An early advance can save work on the current word. The additional operation in Choi and Palmer’s paper addresses a different source of work. It can remove an earlier word from comparisons with future input as well.
Why accurate training histories can be a poor fit
A second issue comes from the origin of the partial tree. In ordinary training, the annotated tree guides the parser through a sequence of correct transitions. By following that sequence, the trainer can construct examples showing how a correct decision looks when the preceding decisions were also correct. A classifier learns to associate those partial structures with appropriate actions.
Decoding is the use of the trained parser on sentences for which it must construct the tree automatically. There, its own predictions determine the next state. It might pass over a word too early or attach a word to the wrong head. A later action then has to be chosen using the lists and edges that actually resulted. The corresponding feature values can differ from those in a reference-guided training run, even though the parser is still processing the same words.
The paper relates its response to SEARN, an earlier approach that connects search and learning in structured prediction. SEARN repeatedly generates new training examples using a policy, meaning a procedure for selecting actions. Those examples are cost-sensitive, so different choices can carry different costs. SEARN also interpolates the current policy with its predecessor. Choi and Palmer borrow the idea of using the learner’s behavior to generate training situations. Their version uses ordinary action labels and trains a fresh classifier for the next stage.
The authors also discuss Zhang and Clark’s projective parser. That parser uses beam search, which keeps several candidate sequences of states and selects the best-scoring one. Its structured-perceptron training uses automatically derived states resembling configurations the parser might see at decoding time. The relationship is in the training evidence. Choi and Palmer generate that evidence by running their own parser over the training data and recording the states along its chosen path. A Tale of Two Parsers: Investigating and Combining Graph-based and Transition-based Dependency Parsing
The method, step by step
What the parser keeps in a state
The parser examines the first word awaiting processing and compares it with an earlier word. The earlier word comes from the end of a list of available candidates. During work on the current input word, the parser can move a candidate into a temporary list after considering it. This exposes the next earlier candidate while keeping the moved word available for a later input word. In effect, the parser works backward through earlier candidates as far as the action sequence requires. Advancing the input restores the temporarily moved words to the active list.
How the list-based parser builds a dependency tree
The steps in order.
The paper writes the state as a tuple.
(λ₁, λ₂, β, E)
Here λ₁ is the list of earlier tokens still available for comparison with the current input word. The list λ₂ temporarily holds earlier tokens already passed over while processing that word. The list β contains the unread input, with the current word at its front. The set E contains the labeled dependency edges recorded so far. The parentheses group the state components in order.
([0], [], [1, …, n], ∅)
This is the initial state. The brackets mark lists and [] is the empty list. The identifier 0 is the position of the artificial root token. The unread list begins with the word at position 1 and continues in sentence order through position n, the last word. The ellipsis indicates the intervening positions. The symbol ∅ denotes an empty set, so initially there are no edges.
(λ₁, λ₂, [], E)
This is a terminal state. The list β has become [], so every input word has been consumed. The lists λ₁ and λ₂ are whatever remains in those components when the condition is reached, and E is the resulting set of dependencies. The stopping test concerns the unread input. A word can remain in λ₁ at the end because the algorithm has no further input word against which it could be compared.
The distinction between λ₂ and permanent removal matters. Moving a word to λ₂ says that this comparison is finished for the current input word. The word can become useful again once the input advances. LEFT-POP instead removes a candidate from the future search. Once a word has been popped, an ordinary SHIFT has no copy of it to restore.
Attaching a word to a head on its right
Let i denote the position of the last token in λ₁, and let j denote the position of the first token in β. The corresponding words are wᵢ and wⱼ. Suppose that wⱼ is the head of wᵢ with dependency label L. The updated parser can encode that same edge using either LEFT-ARC or LEFT-POP. What happens to wᵢ after the attachment distinguishes the actions.
LEFT-ARCᴸ: ([λ₁ | i], λ₂, [j | β], E) ⇒ (λ₁, [i | λ₂], [j | β], E ∪ {i ←ᴸ j})
The superscript L on LEFT-ARC identifies the label chosen for the edge. In this formula λ₁ and β stand for the list portions left after identifying the displayed tokens. The notation [λ₁ | i] places i at the end of the available list, and [j | β] places j at the beginning of the unread list. The notation [i | λ₂] adds i to the front of the temporary list λ₂. The bar separates the distinguished item from the rest of the list. The arrow ⇒ points from the state before the action to the state after it. The arrow in i ←ᴸ j points from head j to dependent i, and L names the relation. Braces enclose the edge being added, and ∪ takes its union with the existing edge set E.
i ≠ 0 ∧ i ↛* j
This is the formal eligibility condition listed for LEFT-ARC, given the candidate pair. The expression i ≠ 0 excludes the artificial root as a dependent. The symbol ∧ joins conditions that must both hold. The expression i ↛* j says that there is no directed dependency path from i to j in the structure already built. The star indicates a path through the edges, and the barred arrow denies that the path exists. If i could already reach j, adding a link from j back to i would form a cycle.
LEFT-ARC leaves the current input word in place. The parser can now examine it against the next word in the first list. When the parser eventually consumes the current word, the earlier candidate i returns to availability along with the other words in λ₂. This makes sense if i still has dependents to find. A word can already have its own head and still be a head within another dependency.
LEFT-POPᴸ: ([λ₁ | i], λ₂, [j | β], E) ⇒ (λ₁, λ₂, [j | β], E ∪ {i ←ᴸ j})
LEFT-POPᴸ denotes the new action with relation label L. As in LEFT-ARC, i is the earlier candidate, j is the current input word, λ₁ is the list prefix before i, and β is the unread suffix after j. The bar marks the position of the distinguished token in each list. The old state becomes the new state across ⇒. The set E gains the single labeled edge in braces by union, written ∪. The arrow inside the braces points from j to i. The temporary list λ₂ stays as it was. That detail accounts for the action’s name. The candidate i comes off the first list and goes into neither of the lists holding earlier words.
i ≠ 0 ∧ i ↛* j ∧ ¬∃ k ∈ β : i → k
In this version of the precondition, i ≠ 0 again protects the root, and i ↛* j again excludes an existing directed path from i to j. The sign ∧ requires the conditions on both sides. The final clause uses ¬ to negate existence, written ∃. Here k is the position of a remaining word, ∈ means membership, and β is the unread suffix after j. The colon introduces the property being checked for such a k. The arrow i → k denotes a direct dependency with i as head and k as dependent, regardless of label. In reference-guided training, LEFT-POP is appropriate when the reference tree calls for the left attachment and supplies no such future dependent.
A useful way to read the two transitions is to separate their immediate output from their effect on future states. Their immediate output is the same new dependency. A parser can score correctly on that edge with either action. The action choice then determines whether i could appear in a later comparison. Retaining a finished token costs work if the parser revisits it. Removing a token that still has an unprocessed dependent can prevent the parser from constructing that edge. In decoding, the classifier must make this choice from the information available in the current state.
Attaching a word to a head on its left
RIGHT-ARC is used when the earlier candidate is the head and the current input word is the dependent. The two words exchange grammatical roles compared with the leftward actions. The movement between lists follows the same pattern as LEFT-ARC.
RIGHT-ARCᴸ: ([λ₁ | i], λ₂, [j | β], E) ⇒ (λ₁, [i | λ₂], [j | β], E ∪ {i →ᴸ j})
RIGHT-ARCᴸ names the action with dependency label L. The symbols i and j again identify the earlier candidate and current input word. The list λ₁ in this expression is the part preceding i, λ₂ is the temporary list, and β is the suffix after j. The bar places a token at the indicated end of its list, and ⇒ separates the old and new states. The set E gains the edge inside the braces through ∪. Here i →ᴸ j points from i, the head, to j, its dependent. The action transfers i to the temporary list and leaves j at the front of its input list.
j ↛* i
The condition for RIGHT-ARC excludes a directed path from j to i, where the star and barred arrow again indicate the absence of a path in the built structure. A path in that direction would make the addition of i → j cyclic. The earlier candidate i can be the artificial root, as happens when the parser identifies the head of the sentence.
Keeping j in place after a rightward attachment lets the parser continue examining the remaining candidates. Discovering an incoming dependency for the current word does not settle every possible relation between that word and the still-available earlier tokens. The conditions for advancing to the next input word deal with that separate question. The reference-guided procedure can inspect the outstanding relations, while the decoder uses the learned action choice.
Passing a candidate and advancing the input
A comparison may yield no edge. NO-ARC is the default operation that moves past the current earlier candidate so the parser can continue looking through λ₁.
NO-ARC: ([λ₁ | i], λ₂, [j | β], E) ⇒ (λ₁, [i | λ₂], [j | β], E)
NO-ARC is the name of the action. The indices i and j denote the words under comparison. The lists λ₁ and β in this notation omit the separately displayed i and j, and λ₂ holds the candidates already passed over. The bar indicates how the displayed word sits at the end or front of a list, while ⇒ marks the transition to the updated state. The candidate i moves to the front of λ₂. The edge set E is identical on either side of ⇒. The current word j remains in place, and the algorithm can now compare it with the next available earlier word.
SHIFT advances the input. It puts the current word at the end of the reconstructed list of earlier words.
SHIFT: (λ₁, λ₂, [j | β], E) ⇒ ([λ₁ · λ₂ | j], [], β, E)
SHIFT names the action, and ⇒ shows the state change. Here λ₁ is the remaining active list and λ₂ is the list of temporarily moved words. The dot · means concatenation in that order. The bar on the left separates the first unread word j from its suffix β. The bar on the right places j after the concatenated lists. The brackets [] indicate that the temporary list is now empty. The new unread list is β, and the edge set E is carried forward. Since passed-over words were placed at the front of λ₂ as the parser worked backward, concatenation restores their order among the retained earlier words.
DT: λ₁ = []
DT denotes the deterministic form of SHIFT. The equals sign compares the available list λ₁ with the empty list []. When it is empty, there are no more earlier candidates left for the current word. The parser can advance without a classification decision about whether to end that search.
NT: ¬∃ k ∈ λ₁ : (k → j ∨ k ← j)
NT is the non-deterministic form of SHIFT, meaning that the decoder learns when to choose it. In the reference condition, ¬∃ says there is no earlier candidate k belonging to λ₁, with membership shown by ∈, for which the expression after the colon holds. The index j identifies the current word. The arrow k → j represents a dependency from the earlier candidate to the current word, and k ← j represents one from the current word to the candidate. The symbol ∨ means either direction suffices. The parentheses group the alternatives. If neither relation exists for any remaining candidate, the parser can finish work on j while some earlier words are still unexamined for it.
Early SHIFT and LEFT-POP save comparisons at different points. An early SHIFT leaves the unexamined candidates available for the next input word. It skips work for j on the grounds that there are no remaining edges involving j among those candidates. LEFT-POP takes a word out of subsequent consideration after the parser has attached it to j. It saves work across later input positions. The usefulness of early SHIFT depends on recognizing when the current word is finished. The usefulness of LEFT-POP depends on recognizing when the earlier word is finished.
What happens in the running example
The paper illustrates the actions with It was in my interest to see you. The parser begins with the root in its earlier list and It at the front of the input. It advances to was, then attaches It as the subject with LEFT-ARC. That action moves It into the temporary list. The parser adds the edge from the root to was with RIGHT-ARC, and SHIFT returns the temporarily moved words to the earlier list as it advances. The decision to keep It will matter when the parser reaches to.
The decisive LEFT-POP occurs at interest. At this point my is the last available earlier candidate and interest is the current input word. The reference makes my a dependent of interest. Since my has no dependent among the remaining unread words, the parser can add that edge and remove my. The next candidate for interest is in, which the example makes the head of interest. The two transitions at this input position therefore attach my to interest and interest to in.
When to later becomes current, the parser passes several candidates through NO-ARC before reaching It. The word my is already out of the list, so the parser has no comparison to make between my and to. The word It is still present because its earlier attachment used LEFT-ARC. The trace uses RIGHT-ARC to add the dependency from It to to. The connection illustrates why a left attachment could require retention. The earlier word already has its head, yet the reference gives it work beyond that head’s position.
The example gives a concrete reading of the paper’s description of switching between projective and non-projective processing. The switch occurs at an individual transition. The parser can permanently discard my, retain It, and keep the rest of the same data structure and input order throughout. Once the later dependencies have been added, the last SHIFT consumes the remaining input word and the parser stops.
From reference transitions to classifier decisions
For the initial training run, the reference tree determines the appropriate action at each state. The training procedure examines the transition conditions, builds an example from the state’s features, and pairs that example with the action label. An edge-producing action includes the dependency relation in that label. The training run advances through states using the reference decisions. As a result, the partial structural information available to the learner is derived from correct attachments along that run.
During decoding, the parser selects transitions with its learned decision procedure. The deterministic SHIFT follows from the empty-list condition. For decisions that require prediction, the classifier uses the configuration to select an action. In particular, the reference test about unread dependents gives the training procedure a way to label LEFT-POP cases. Decoding requires predicting them from what the parser can observe at that point. The same distinction applies to deciding whether to take a non-deterministic SHIFT.
The feature information includes partial information about heads and subtrees for the words being compared. A subtree is the part of the dependency structure descending from a word. At an intermediate point, some of those edges may already be present and some may still have to be found. The authors exploit what the algorithm has built so far. Two states with the same words under comparison can still give the classifier different structural features if their preceding transitions built different edges.
The lexical and grammatical input to the experiments includes automatic lemmas, part-of-speech tags, and the supplied grammatical features. A lemma represents a word’s base form, while a part-of-speech tag indicates its grammatical category. These input annotations are already automatic in the shared-task data. The gold-standard information in the initial training procedure refers to the dependency trees that supervise the actions. This distinction becomes important in the bootstrapping stage, which changes the source of partial dependency information the classifier sees. Lemma · Part-of-speech tagging
The classifier is a Liblinear support vector machine using L2 regularization and L1 loss. Regularization constrains the fitted weights, and the loss is the part of training that assigns a penalty to prediction errors. The paper specifies the following settings for the experiments.
c = 0.1
The letter c denotes the cost setting for the learner. The equals sign assigns it the value 0.1.
e = 0.1
The letter e is the learner’s termination criterion, set to 0.1. It governs the classifier fitting procedure. The separate decision about when to stop bootstrapping is made through cross-validation.
B = 0
The capital letter B denotes the bias setting. The equals sign gives the bias setting used in the experiments as 0.
Training on the states the parser actually reaches
Bootstrapping begins with the classifier trained on reference-guided states. The authors then run it on the training sentences as a parser. Its predicted actions determine the path through the sentence, including which candidates remain available and which edges have been created. At each visited state, the authors collect the feature representation from the resulting automatic history. A head feature reflects the head present in that state. A subtree feature reflects the edges already predicted.
The label for this new example comes from the annotated tree. The authors describe looking up the reference relation between the two words under consideration. The resulting supervision pairs the current automatic state with a gold-standard label. In effect, the example says which relation the reference calls for in the current comparison, under the structural conditions produced by the preceding predictions. If those conditions include a mistaken edge, the feature representation still records the state that was actually encountered.
Once the run has generated examples across the training data, the authors train a different classifier on those examples. They can use that classifier to parse the training set again and generate another collection of states. Since actions determine the next configuration, a change in the classifier can change which training cases it reaches on the following run. Each stage lets the next classifier learn from the parsing trajectories induced by its predecessor.
Cross-validation supplies the stopping decision. It assesses how well a stage parses held-out portions of the training data. The authors compare the average parsing accuracy for a stage with the preceding stage’s average and stop when cross-validation accuracy begins to decrease. This keeps the decision about repeating the procedure tied to parsing performance. A stage’s value comes from how well the parser works on held-out sentences, even though its new training examples were generated from automatic histories.
The process preserves human supervision while altering the conditions under which the parser encounters it. It also has a straightforward scope. The new examples teach the parser about actions in imperfect states. The parsing transitions still govern what can happen next, including the permanence of LEFT-POP. A later, better-trained classifier can learn to make a different decision when it meets a comparable situation. During an individual parse, the actions already taken continue to constrain what remains possible.
Experiments and results
Data, baselines, and measures
The experiments use the English and Czech data from the CoNLL’09 shared task. The authors train and evaluate with the automatic lemmas, part-of-speech tags, and grammatical features distributed for that task. The attachment comparisons are for the English and Czech evaluation sets. Cross-validation serves the separate purpose of deciding when to stop the repeated training procedure. The CoNLL-2009 Shared Task: Syntactic and Semantic Dependencies in Multiple Languages
The authors use two measures of attachment accuracy. Unlabeled attachment score, or UAS, measures the percentage of evaluated words assigned the correct head. Labeled attachment score, or LAS, requires both the correct head and the correct dependency label. In the running example, attaching It to was would satisfy the head requirement, and the labeled score would additionally require the subject relation. The measures make it possible to see whether a gain extends to labeled dependencies as well as to the underlying tree links.
CN is the authors’ implementation of the Choi–Nicolov parser. Our adds LEFT-POP to that implementation. Those two systems use the same feature set, which makes the comparison informative about the changed transition inventory. Our+ applies bootstrapping to the new parser. Comparing Our with Our+ tests the training intervention with the extended transition system in place.
The authors also compare labeled scores with two entrants from the shared task. Merlo is the best transition-based entrant cited in the comparison and parses syntax and semantics synchronously. Bohnet is the best graph-based entrant cited there and uses a maximum spanning tree algorithm. These comparisons show how close the reported scores are to strong results on the same evaluation data. The controlled changes within the authors’ implementation provide the evidence about LEFT-POP and bootstrapping.
Attachment accuracy in English and Czech
Labeled attachment on the CoNLL’09 English evaluation set
Bootstrapping improves the extended parser and brings it close to the strongest shared-task entry.
The numbers
| System or setting | LAS % |
|---|---|
| CN | 88.54 |
| Our | 88.62 |
| Merlo | 88.79 |
| Our+ (this paper) | 89.15 |
| Bohnet | 89.88 |
On the English evaluation set, the original transition inventory in CN gives 88.54% labeled attachment and 90.57% unlabeled attachment. The version with LEFT-POP, Our, reaches 88.62% labeled attachment and 90.66% unlabeled attachment. With bootstrapping, Our+ reaches 89.15% labeled attachment and 91.18% unlabeled attachment. The scores show a small gain after the inventory change and a larger gain once training examples incorporate automatic histories.
On the same English evaluation set, Merlo reports 88.79% labeled attachment and ranks third overall in the shared task, displayed as (3) in the paper. Bohnet reports 89.88% labeled attachment and ranks first overall, shown as (1). Our+ falls between the two on labeled attachment. The authors’ comparison gives labeled scores for those external systems, so the 91.18% unlabeled attachment score can be compared directly with the authors’ own variants in that table.
Labeled attachment on the CoNLL’09 Czech evaluation set
The bootstrapped parser approaches the top shared-task score and exceeds the graph-based entry in this comparison.
The numbers
| System or setting | LAS % |
|---|---|
| CN | 78.12 |
| Our | 78.30 |
| Bohnet | 80.11 |
| Our+ (this paper) | 80.24 |
| Merlo | 80.38 |
On the Czech evaluation set, CN gives 78.12% labeled attachment and 83.29% unlabeled attachment. Adding LEFT-POP raises these figures to 78.30% for labeled attachment and 83.47% for unlabeled attachment. Our+ reaches 80.24% labeled attachment and 85.24% unlabeled attachment. The movement from Our to Our+ is larger here than in the English comparison for both metrics.
Among the Czech shared-task results in the table, Merlo has 80.38% labeled attachment and the overall rank (1). Bohnet has 80.11% labeled attachment and the overall rank (2). Our+ again falls between the two on labeled attachment, with their order reversed relative to English. This makes the wording “near state of the art” appropriate for the comparison. The bootstrapped parser reaches the vicinity of the top score in each language, and which external system it exceeds depends on the language.
For the comparison of Our with Our+, the paper reports McNemar significance of p < .0001 for every language-and-metric combination shown. McNemar’s test uses paired outcomes, so the comparison is informed by cases where the systems differ in correctness on the same evaluation material. The reported threshold applies to the bootstrapping step. The attachment results for CN and Our separately show the direction and size of the changes associated with adding LEFT-POP.
Speed on the same evaluation material
The timing experiment includes Nivre’s SWAP parser as implemented in MaltParser, along with the variants implemented in the authors’ ClearParser project. MaltParser’s features had not been optimized for these evaluation sets. The implementations thus answer a practical question about the speed of the configurations measured, with the closest implementation comparison available among the ClearParser variants.
The authors run the timing tests on an Intel Xeon 2.57GHz machine. For each parser, they perform five trials, discard the fastest and slowest measurements, and average the middle three. They exclude the time to load the trained classifiers. Feature extraction counts as part of parsing time. For a system that repeatedly extracts features from the current state, that component is part of the work a user of the tested parser would experience once the classifier is loaded.
Average parsing time on the combined CoNLL’09 English and Czech evaluation material
Both ClearParser variants with LEFT-POP take less time than the original transition system, with the unbootstrapped variant fastest.
The numbers
| System or setting | ms |
|---|---|
| Nivre | 2.86 |
| CN | 2.69 |
| Our (this paper) | 2.20 |
| Our+ | 2.29 |
The reported average parsing times on the evaluation material are 2.86 milliseconds for Nivre, 2.69 for CN, and 2.29 for Our+. The authors give 2.20 ms for Our in their discussion of the additional timing run. This makes Our the fastest measured configuration and Our+ the stronger configuration on attachment. Both timings matter because the transition change and the training change can affect how many comparisons the parser makes.
The paper also plots average parsing time by sentence length, using sentence groups drawn from both evaluation sets. Its group with the upper-length label < 10 contains 1,415 sentences. The groups labeled < 20 and < 30 contain 2,289 and 1,714 sentences, respectively. The group labeled < 40 contains 815 sentences, and the one labeled < 50 contains 285. Towards the long end, the groups labeled < 60 and < 70 contain 72 and 18 sentences. These are the paper’s reported group labels and counts. They show how much less evaluation material supports the timing averages near the long end of the plot.
The authors describe the growth of their extended parser’s runtime as linear across those groups, including the longer groups where some competing curves begin to bend. They report a very similar pattern for Our and Our+. The figure adds a dimension that the overall averages alone leave unresolved. A low average time describes performance on the evaluation mix. The groups indicate how that time changes as sentences get longer within the range that was measured.
What the ablations show
Keeping the features fixed while adding LEFT-POP
The closest test of the transition change is CN against Our. Both were implemented by the authors and use the same feature set. Our includes LEFT-POP, so that comparison holds the feature design fixed while changing the set of actions the classifier can learn. Accuracy moves upward in English and Czech, on labeled as well as unlabeled attachment. The timing comparison also favors Our under the reported conditions. Together, the comparisons indicate that retiring candidates can save time while maintaining and modestly improving attachment accuracy on these sets.
There are two parts to the mechanism. LEFT-POP directly reduces the set of available candidates after it fires. That can prevent later operations whose sole purpose would have been passing over a finished word. The new action also changes the path on which later decisions are made. The classifier can see a different candidate at a later state, and the histories used during training can contain different transitions. The experiment captures the behavior of the extended parser as a whole. The table supplies attachment scores for complete trees, while the running example explains one route from the changed action to fewer comparisons.
The authors tried another transition borrowed from Nivre’s projective algorithm, a projective RIGHT-ARC, and report that it did not improve performance in their experiments. The paper gives this outcome qualitatively. The tried operation is distinct from the RIGHT-ARC already present in the displayed transition system. The reported result puts some specificity behind the engineering choice. The evidence favors the particular leftward attachment-and-removal operation the authors kept.
Changing the training histories with the parser held fixed
Our and Our+ both use the extended inventory. Their comparison changes the histories used to generate training features. Our learns from reference-guided parsing. Our+ learns through the bootstrapping procedure, where the prior classifier’s decisions determine which configurations are visited and which partial dependency features appear. In both cases the annotated tree supplies the supervision. This makes the comparison a test of whether training on automatic histories helps the extended parser at evaluation time.
The improvement appears in UAS as well as LAS for each language. That matters because labeled attachment is a joint measure. It can rise when more heads are correct, when more relations are correct on the assigned heads, or through both. The separate UAS gains establish that head assignment itself improves. The reported measures leave the change in label accuracy conditional on correct heads unresolved. The result supports a benefit to the parser’s complete labeled output and identifies head assignment as one part of that benefit.
The Czech scores start lower and move further after bootstrapping. That is consistent with the authors’ suggestion that the technique can have greater impact in a setting where parsers perform less well. An interpretation in terms of automatic histories is that a weaker starting parser may encounter more states unlike those seen under reference guidance. The comparison contains two languages and no direct measurement of the frequency of those states. The observed difference is a property of the English and Czech experiments.
The experiment also identifies the scale of the two interventions on the reported attachment measures. The inventory change gives a modest increase across the categories, while the bootstrapping step accounts for the larger score movement. By retaining the intermediate system, the paper shows how much performance the extended parser achieved before the training change. The final comparison with shared-task entrants would leave that contribution hard to distinguish on its own.
Why the fastest variant has lower attachment scores
The paper reports that Our takes more non-deterministic SHIFT actions than Our+. These shifts let it advance without visiting every remaining earlier candidate for the current word. The authors attribute the lower average time of Our to this willingness to skip candidate nodes and point out that the skipped comparisons may have followed correct or incorrect choices. Because Our and Our+ have the same action inventory, their different timing illustrates how the learned decisions within an inventory can influence runtime.
An early shift is efficient when everything still in the earlier list is irrelevant to the current word. The cost of an incorrect early shift is a lost opportunity to find a dependency. Unlabeled attachment measures one possible consequence at the end of the parse. The paper reports aggregate timing and accuracy, so it allows this mechanism to be described without assigning the accuracy difference to particular shifts. It gives no audit linking individual skipped comparisons to corrected or missed edges.
This speed result helps separate the effect of the inventory from the behavior of the classifier. The new inventory allows permanent removal under LEFT-POP, and the learned classifier also has an existing way to cut a search short through non-deterministic SHIFT. The final runtime reflects the actions chosen from both possibilities. Bootstrapping gives better attachment and slightly slower parsing than the unbootstrapped extended parser, while the bootstrapped parser still takes less time than CN in the timing comparison.
Limitations
Limits identified by the authors
The authors explicitly qualify the comparison with Nivre’s SWAP parser. Its curve could be influenced by implementation details, including the cost of feature extraction. MaltParser and ClearParser implement the tested approaches separately, and MaltParser’s features were not optimized for the evaluation sets. A timing difference can therefore reflect how often an algorithm makes a transition, how expensive it is to construct features for that transition, or both. The authors propose counting the actual transitions as a more direct comparison of algorithmic work and leave that analysis to future work.
The paper describes linear growth as an observation in its speed tests. The non-projective parsing problem still admits configurations where retaining candidates and revisiting earlier words is necessary. The addition of LEFT-POP supplies a way to reduce work when a particular token can be discarded. Its precondition also explains why the opportunity is conditional. Some words must be retained because they still have dependents to find. The observed length curve gives evidence about the tested sentences and implementation. The paper gives no new worst-case bound for the extended non-projective parser.
The authors identify evaluation in more languages as future work. English and Czech give two distinct test settings and show that the bootstrapping gain is observable in each. The evidence for robustness covers the two shared-task datasets and the automatic linguistic inputs used there. The comparison also concerns syntactic attachment and parsing time. The other language tasks mentioned in the motivation explain why dependency parsing matters, and the experiments leave its downstream effects open.
Limits visible in the experimental setup
The sequence of CN, Our, and Our+ tests the changes in the order the authors introduced them. It includes the baseline, the baseline with LEFT-POP, and that extended system with bootstrapping. There is no bootstrapped CN system reported in the accuracy comparison. As a result, the experiments establish the effect of bootstrapping for the new parser, while the magnitude of its effect on the original transition inventory remains open. They also leave open how strongly the two interventions interact.
The attachment results pool all evaluated dependencies for each language. They therefore show the effect on overall head assignment and labeled attachment. Scores split by projectivity would be needed to tell whether the parser preserves or improves accuracy specifically on the non-projective structures that motivate the list-based design. Similarly, a breakdown by relation or by the distance between head and dependent could locate where the changes help. The paper’s example explains why retaining a candidate can matter to a later edge. Aggregate scores establish the overall result at a different level of detail.
The bootstrapping description specifies the source of the features, the source of the labels, and the stopping principle. The results do not give the fold-by-fold accuracy or a curve for every stage. That leaves the reader with the selected system’s performance and the principle used to select it. It also leaves the cost of repeatedly parsing the training data and refitting the classifier outside the timing comparison, which measures parsing with the trained classifiers already available.
There is a further distinction between labeling a local comparison and recovering from an entire mistaken history. The paper uses the reference relation for the words under comparison to supervise training on automatic states. Some decisions are irreversible within a parse. If a state has already discarded a token needed for a reference edge, supplying a correct label elsewhere does not restore the discarded candidate. The procedure teaches from states the parser reaches, and the evaluation demonstrates that doing so helps. The paper does not specify an objective for finding the best remaining reachable tree after every possible mistaken action.
The long-sentence averages also deserve to be interpreted alongside the sample counts. The group labeled < 70 contains 18 sentences from the combined evaluation sets, and the group labeled < 60 contains 72. The time measurements at the long end therefore represent far fewer sentences than the earlier groups. The graph supports the authors’ description of the measured trend, with the behavior on other samples of long sentences left to further evaluation.
Finally, the shared-task comparison is a comparison of reported outputs on the same evaluation data. The external systems use their own parsing approaches, including synchronous syntactic-semantic prediction in Merlo’s case and a spanning-tree method in Bohnet’s. Their scores locate Our+ among strong systems the authors considered. The evidence for the cause of the gains comes from the internal comparisons with CN and Our. The external results establish proximity on labeled attachment while leaving the effect of individual cross-system design differences open.
What came after
One later citation comes from work on semantic role labeling, the analysis of who or what fills roles in the situation expressed by a sentence. The title of the later work identifies linguistically informed self-attention as its way of addressing that task. Choi and Palmer’s contribution lies at the syntactic parsing stage, where the immediate output is a tree of labeled head-dependent relationships. The citation therefore connects this line of syntactic parsing work to research with a semantic output. The citation establishes that connection without identifying whether the later system used LEFT-POP, the bootstrapping procedure, or the parser itself. Linguistically-Informed Self-Attention for Semantic Role Labeling
The other later citation comes from work on structured parsing of dialogue discourse. Its title places the structure at the level of dialogue, where the objects of analysis are relations within a conversation. Choi and Palmer’s experiments concern words and their relations within a sentence. The connection is that research on dialogue structure cites a study of how to build a labeled structure through parsing decisions at a different scale. The citation alone does not establish which transition, training procedure, or analysis the dialogue work took up. Structured Dialogue Discourse Parsing
Cite
Cite as Jinho D. Choi and Martha Palmer. 2011. Getting the Most out of Transition-based Dependency Parsing. Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies.
@inproceedings{choi2011getting,
title = {{Getting the Most out of Transition-based Dependency Parsing}},
author = {Jinho D. Choi and Martha Palmer},
booktitle = {Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies},
year = {2011},
url = {https://aclanthology.org/P11-2121/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/choi-2011-getting-most-out-transition-based/