Transition-Based Syntactic Linearization
Paper · 2015 · Yijia Liu, Yue Zhang, Wanxiang Che et al.
Summary
A collection of words can contain everything needed for a sentence while leaving its arrangement unresolved. Syntactic linearization addresses that remaining task: it chooses a word sequence and constructs a grammatical structure for it. “Transition-Based Syntactic Linearization” asks how to perform this search efficiently without risking an unfinished output. The input may contain only lexical items, or it may also specify grammatical categories and relationships. The authors want a procedure that can exploit any of these inputs while reliably reaching an arrangement containing the entire collection.
Their approach adapts dependency parsing, the task of connecting sentence elements through directed head–dependent relationships. A conventional parser receives words in their established order. Here, the words await selection in an unordered collection. Whenever the procedure introduces an item into its working structure, it also chooses that item’s position in the emerging sentence. Other actions connect introduced items syntactically. A beam keeps competing construction histories available, allowing several possibilities to develop before later evidence distinguishes them. Optional grammatical information restricts which actions the search may consider.
The computational argument concerns how these constructions progress. Each retained history advances through a prescribed number of actions, determined by input length, rather than waiting for an open-ended search to discover a complete sentence. The paper gives a quadratic bound for the fixed-beam procedure. This does not remove the underlying difficulty of finding the best arrangement: beam pruning can discard a desirable continuation. It does, however, provide a bounded route to an output incorporating all supplied items. That guarantee addresses a weakness of the best-first methods discussed by the authors, which can reach their time limit before completing a sentence.
Evaluation uses Wall Street Journal sentences from the Penn Treebank, with base noun phrases handled as intact units. On the final test set, free ordering achieves 49.4 BLEU against 44.7 for Zhang’s best-first comparison. When every grammatical tag is supplied but dependencies remain unknown, the corresponding results are 50.8 and 46.8. Supplying both complete tags and complete dependencies gives 82.3 for the transition approach and 76.2 for the comparison. Development measurements also favor the transition procedure in decoding time throughout the tested constraint combinations.
The analyses offer a more specific explanation than a general claim that beam search is better. Complete coverage avoids the brevity penalty associated with unfinished baseline outputs. The searches also allocate attention differently across syntactic fragments: the transition approach recovers more reference fragments, although best-first search is more precise on the smallest reported span range. Together, these findings support a practical alternative for the evaluated ordering task. They establish neither globally optimal generation nor universal superiority for every sentence, language, or source of grammatical constraints.
Deep dive: Transition-Based Syntactic Linearization
Transition-based syntactic linearization uses beam search to order words and build syntax, improving BLEU and speed with bounded decoding. · about 35 minutes to read
The problem and its context
A sentence needs an arrangement as well as vocabulary
In text generation, deciding what material to express does not automatically determine its surface sequence. A system might already possess a verb, expressions for its participants, a preposition, and punctuation. Those items still need positions. Their grammatical relationships may also remain unsettled.
The paper isolates this ordering problem by starting with a bag of lexical items. “Bag” emphasizes that membership is available but sequence is absent. The task is therefore different from completing a sentence prefix or selecting vocabulary from an unrestricted inventory. The output must arrange supplied material.
A syntactic linearizer adds a structural requirement. Alongside the sequence, it builds a derivation explaining how the items relate grammatically. In the dependency representation used here, words or phrase units form nodes, and directed connections identify heads and dependents. The resulting hierarchy provides information beyond mere adjacency.
Consider the paper’s recurring example involving Dr. Talcott, a team, and Harvard University. The lexical collection also contains the material needed to express the action and the connection between the team and the university. A suitable output must place these pieces coherently while constructing the relationships among them. The presence of the right vocabulary does not prevent an incorrect attachment or an awkward arrangement.
The example includes multiword units because the experimental task treats base noun phrases as indivisible items. An expression such as Harvard University can therefore enter the construction as a whole. The linearizer chooses where that unit belongs without independently searching its internal word order.
This treatment makes the task easier to define and important to interpret correctly. “Unordered input” does not mean that every internal arrangement has been erased. Some phrase organization is retained before the evaluated search begins.
Grammatical information can arrive in different amounts
The authors organize previous syntactic linearization work according to the structure supplied with the lexical collection. At one end, free ordering provides no dependency restrictions. The generator must discover an arrangement while choosing an appropriate hierarchy.
At the other end, full-tree linearization supplies a dependency hierarchy covering the complete input. The remaining problem is how to realize that hierarchy as a sequence. Knowing which expression depends on which does not by itself settle the placement of every dependent or the relative positions of siblings.
Partial-tree linearization occupies the intermediate setting. Some connections are fixed, while the rest remain open. The input can consist of several connected fragments that the generator must preserve and join into a larger structure.
Grammatical categories provide a separate source of information. A part-of-speech tag identifies an item’s category without determining its complete relationship to surrounding material. Tags can be supplied even when dependencies are absent, and dependency information can be available without every tag being specified.
The distinction matters because these inputs constrain different decisions. A known category removes uncertainty about tagging. A known dependency restricts the permissible hierarchy and may indirectly rule out certain sequences. Neither kind of information should be confused with a ready-made sentence order.
The paper’s practical motivation includes generation pipelines in which earlier components already know something about the eventual structure. Lexical transfer in machine translation is the authors’ example. Discarding such information would force the final ordering component to solve uncertainties that an earlier stage had already resolved.
The desired linearizer should therefore accommodate varying amounts of structure. It should also use that structure during construction, where it can prevent wasted search, rather than checking only whether a completed output happens to satisfy it.
Why knowing a tree does not make ordering trivial
The paper characterizes the search problem as NP-hard, including the setting where a full syntactic tree is supplied. A hierarchy can permit many surface arrangements because the children associated with a head still need an order.
This explains why the authors do not propose exhaustive enumeration. Their central question is how an approximate procedure should organize its effort and what it can promise before stopping. An efficient search may still make mistakes, but it should reach a usable output predictably.
Previous work, as described in the paper, generally relied on heuristics. The strongest reported approaches used best-first exploration, constructing larger syntactic candidates from smaller ones and prioritizing promising material. Such a search can direct computation toward attractive fragments without advancing every candidate towards completion at the same pace.
The resulting difficulty is operational. A collection of well-scored fragments is not yet a sentence. Search can spend substantial time improving or extending those fragments while failing to assemble the entire input. The authors report processing times of 5–10 seconds and note that even a timeout can arrive before a complete result is available.
Longer lexical collections make this problem more severe. They create additional arrangements and combinations for the search to consider. Progress on local structures need not translate quickly into a finished global structure.
A time limit provides an external stopping condition, but it does not ensure that the search has accomplished its task. Earlier systems may therefore need a fallback output assembled from incomplete work. The paper treats this distinction between stopping and completing as a central weakness to address.
Parsing supplies a different organization of the search
The authors’ starting observation is that parsing and syntactic linearization share structural work. Both must produce a syntactic analysis over lexical material. Linearization additionally decides how that material will be ordered.
A transition parser constructs its analysis through small state changes. It can introduce another word, connect items already under consideration, and retain a compact representation of unfinished work. Its progress is tied to a sequence of actions rather than an unrestricted competition among fragments.
The paper draws specifically on the arc-standard dependency procedure and on the incremental search framework associated with Zhang and Nivre. Their parser provides the structural machinery and many of the scoring features that the authors adapt.
Other parsing approaches use dynamic programming. The paper mentions Online Learning of Approximate Dependency Parsing Algorithms among the relevant comparisons. The authors favor the incremental beam approach for their harder joint ordering problem because it offers an efficient approximation.
The adaptation requires more than applying an existing parser to randomly ordered input. A parser normally assumes that the next sentence item is already known from its buffer position. A linearizer must choose that item. The paper makes this additional decision part of the transition inventory.
Earlier linearization work also used grammatical frameworks beyond dependencies, including context-free and combinatory categorial representations. The authors acknowledge those alternatives while developing and evaluating a dependency-based system. Their broader suggestion is that a transition-based route could transfer to other grammars; the demonstrated method remains the dependency version.
The method, step by step
Represent unfinished construction explicitly
The procedure is easiest to follow by separating its working memory from its decisions. Its working memory records material currently being assembled, material not yet introduced, and grammatical connections already created. A decision changes that memory and extends a construction history.
The paper first expresses the general transition framework as:
S = (C, T, cₛ, Cₜ)
S names the transition system. C is the collection of possible configurations. T contains the action types that move between configurations. The distinguished starting configuration is cₛ, and Cₜ contains configurations accepted as finished.
The symbol C later serves another purpose in the constraint algorithms, where it denotes supplied syntactic information. Those uses belong to different parts of the presentation: the general formalization uses C for configurations, whereas action legality is evaluated against an input constraint structure.
For ordinary dependency parsing, a configuration is written as:
s = (σ, β, A)
Here s identifies the current configuration. The stack σ stores active construction material, β holds the remaining sentence items in their established sequence, and A records completed dependency connections.
The stack provides the working boundary of the analysis. Recently introduced material is available near its top. A word can remain active while collecting dependents, then leave the stack after its own attachment is resolved.
Removing a word from the stack does not erase it from the output or discard the structure beneath it. The remaining head represents the structure that has been assembled. This distinction is essential: stack removal concerns availability for future construction, not lexical deletion.
Use arc actions to assemble dependencies
The inherited arc-standard procedure has action types named SHIFT, LEFT-ARC, and RIGHT-ARC. SHIFT introduces the next available input item. The arc actions connect the items at the top of the stack and remove the dependent from active consideration.
Suppose i is the uppermost item and j is immediately beneath it. LEFT-ARC makes i govern j, then removes j. RIGHT-ARC makes j govern i, then removes i. In either case, the head remains available for subsequent construction.
These operations impose a discipline on attachment. A dependent that leaves the stack cannot later collect another required child through the same mechanism. It must therefore be structurally ready before reduction.
That requirement is initially a property of the parser. It becomes especially important when the linearizer receives required dependencies. A move can be unacceptable because it closes an item too soon, even if the dependency created by that move looks locally compatible.
In ordinary parsing, SHIFT does not choose a lexical successor. The ordered buffer already supplies one. The parser decides how to analyze that given sequence, and its action inventory can rely on the buffer’s front being meaningful.
Linearization removes precisely that assumption. The authors preserve the stack-based attachment machinery while changing how lexical material enters it.
Choose a word when introducing it
For ordering, the paper replaces the sentence buffer with an unordered collection:
s = (σ, ρ, A)
The active stack remains σ, and A still records dependencies. The symbol ρ denotes input items awaiting introduction, with no predetermined successor among them.
A SHIFT choice may now select any permitted item from ρ. Selecting it fixes the next position in the generated sequence. Its later attachment may remain undecided, but its surface position relative to items already introduced has been chosen.
The authors also incorporate tagging into this decision. Their expanded action is named SHIFT-Word-POS. Word specifies the input item selected for introduction, and POS specifies its grammatical category.
This combined action handles the unconstrained setting, where categories have not been supplied in advance. It lets the search consider alternative tags while deciding the output sequence. When a tag is already known, that part of the choice becomes fixed.
The method therefore distributes its work across closely related decisions. Introduction actions determine lexical sequence and category assignments. Arc actions determine dependency attachments and which active structures remain available. A history contains both kinds of decisions.
Calling the method left-to-right refers to how the output sequence grows. It does not imply that every dependency is completed immediately upon introducing its head or dependent. Structural assembly proceeds through the stack while the sequence extends through lexical choices.
From unordered input to a completed syntactic output
The steps in order.
Read the running example as a construction problem
The example centered on Dr. Talcott contains intact noun phrases, a verb, a preposition, and punctuation. The authors use it to connect the abstract stack operations with a recognizable dependency hierarchy.
The phrase involving Harvard University must be integrated with the prepositional material, which in turn relates to the team expression. That larger construction must participate in the clause headed by the verb. The algorithm needs both a workable introduction order and an attachment sequence that can realize these relations.
A successful history can first introduce relevant items and then reduce completed dependent structures. When an item is reduced, its head remains as the active representative of the newly enlarged structure.
The same lexical collection admits unsuccessful histories. An introduction order can leave the stack in a configuration that cannot produce required arcs. Without supplied dependencies, a poorly scored distinction can instead survive until the output is complete but badly arranged.
The example is useful for distinguishing structural feasibility from preference. Constraints can eliminate histories that cannot satisfy a required relationship. The learned scorer must distinguish among feasible histories when several grammatical arrangements remain possible.
The method does not separately construct an unordered tree and then run an unrelated ordering stage. Its introduction choices and attachment decisions develop within a common history. This is the main sense in which syntax construction and word ordering are performed jointly.
Advance a beam through synchronized stages
A greedy decoder would retain only its current favorite continuation. The authors instead maintain a beam: a limited collection of competing configurations and their histories.
Initially, the collection contains the starting configuration. During a search stage, the algorithm examines every retained candidate, obtains its legal actions, and applies each action to produce successors. These successors are scored together.
Only the highest-ranked candidates survive into the following stage. The paper uses k for the beam capacity. That capacity limits how many histories continue, rather than how many total successors may be considered before pruning.
The temporary agenda and the retained candidates have different roles. One gathers expansions generated during the current stage. The other is the restricted set allowed to seed the next stage. Clearing the temporary collection prevents successors from earlier stages from competing indefinitely with later constructions.
This creates a consistent progression. Candidates being compared have advanced through the same number of actions, although they need not have introduced identical numbers of words at every intermediate point. Some histories may have spent an action on attachment where another spent it on introduction.
The final selection is the highest-scoring terminal candidate remaining in the beam. It is the best among retained alternatives, not a certificate that every possible arrangement has been considered.
This qualification is central to understanding the efficiency claim. The beam limits exploration deliberately. The search offers predictable progress because it does not preserve an unbounded collection of partial possibilities.
Explain the time bound through the actions
The paper states the construction length as:
2n
The symbol n denotes the input size in the transition formulation. The expression gives the prescribed number of stages in the search algorithm.
The authors justify this count through the lifecycle of an input item: it is introduced into the stack and subsequently removed as construction finishes. The operations are accordingly introductions or removals, giving a transition budget determined by the input rather than by when a favorable complete hypothesis happens to appear.
The reported asymptotic dependence is:
n²
Again, n refers to input length. The square arises because the search has a prescribed linear-length action sequence, while a stage may consider lexical introduction alternatives across the remaining unordered collection.
A conventional parser does not incur this same lexical-choice factor: it already knows which buffer item comes next. The linearizer’s additional work comes from selecting that next item.
The stated bound assumes that the beam and category inventory are fixed aspects of the procedure. Wider beams and more tagging alternatives still affect actual computation. They do not disappear merely because the paper expresses the length dependence quadratically.
The bound is also distinct from exact optimization. The unrestricted ordering problem remains difficult; the algorithm avoids exhaustive search by pruning. Its guarantee concerns bounded construction and coverage of the supplied material, not recovery of the best conceivable sentence.
Nor does quadratic scaling specify a universal elapsed time. The experiments measure particular implementations. The formal argument explains how their search is organized as input grows, while the measured timings show how that organization behaves in the reported setup.
Score a history through its features
The paper uses a weighted feature representation to rank candidate histories:
Score(h) = Φ(h) · θ
The argument h is a hypothesis represented by its transition history. Φ(h) collects feature occurrences extracted over the configurations in that history. The vector θ contains learned weights, and the centered dot combines corresponding feature values and weights into the scalar Score(h).
The equation does not assign a separate probability to each candidate. It specifies a ranking function. A more favorable score makes a history more likely to survive beam pruning or to be selected at completion.
Though the feature representation is global over a history, its templates inspect concrete construction contexts. Repeated observations across the history contribute to the final representation.
This connection between local observations and history-level ranking matters during decoding. Search must compare incomplete constructions before their eventual sentences are known. The scorer therefore needs evidence available at intermediate stages, not just properties observable after completion.
The training procedure learns which observations should favor or disfavor a history. The equation alone does not establish linguistic correctness. It provides the mechanism through which labeled examples influence search preferences.
Combine structural context with surface context
The template inventory draws heavily on the parser from which the method is adapted. Its structural observations include lexical identities, grammatical categories, and information about dependents associated with the upper stack positions.
The paper writes S₀ for the uppermost stack word and S₁ for the word beneath it. Within template names, w indicates the lexical item and p its grammatical category. Additional modifier indices identify material attached on the left or right, including further modifier positions.
Some templates observe a single lexical or category property. Others combine properties of a head and dependent or of the active stack items. These combinations provide evidence about the structure currently under construction.
The authors group such templates under unigram, bigram, and trigram headings. Here the grouping concerns combinations of feature elements; it should not be read as saying that every structural template is merely a consecutive word sequence.
They remove a type of information that the original parser could use: observations about the first items in its ordered buffer. An unordered input collection has no equivalent linguistic front. Keeping those templates would retain a positional assumption that the new task does not provide.
A separate linearization group captures aspects of the emerging string. The notation w₀ identifies its latest word, and w₋₁ identifies the preceding word. The p notation provides corresponding tag information, while templates extending farther back use w₋₂ and p₋₂.
These are n-gram observations over the selected output sequence. They let local surface patterns affect a decision alongside stack and dependency context.
The linearization group also contains modifier combinations. The overall design therefore combines evidence about how the output reads with evidence about the partial hierarchy that supports it.
The paper evaluates this inventory as part of the full procedure. It does not report a separate experiment removing every template group, so the results should not be attributed to any particular family in isolation.
Train preferences with incremental search
The parameters are learned from labeled examples using an averaged perceptron. This training method adjusts feature weights according to contrasts between desired behavior and competing predictions.
The authors combine it with early update, citing the incremental approach associated with Incremental Parsing with the Perceptron Algorithm and subsequent parsing work. Early update links learning to what remains accessible in the beam: a correction can occur when the desired history has been lost during search.
This is relevant because an eventual good sentence is unavailable once its necessary history has been pruned. Training only a final comparison would overlook the point where search ceased to retain that route.
Averaging is part of the adopted learning procedure. The paper’s new contribution is not a newly derived perceptron objective. It is the transition formulation for ordering, together with the mechanisms that incorporate optional grammatical input.
The article’s scoring equation is the explicit learned-ranking formula in the paper. The authors do not provide a separate mathematical update derivation for their training algorithm.
The resulting division of labor is clear. Features specify what the scorer observes. Perceptron training supplies weights. Beam search decides which candidates remain available. The transition inventory determines what can be constructed and how completion is reached.
Apply known tags before expansion
Tag constraints are handled directly inside the introduction action. If an input item’s category is supplied, SHIFT-Word-POS can use only that category for the item.
This avoids generating alternatives that the input already rules out. The benefit can therefore be computational as well as linguistic: fewer successors require scoring.
The restriction does not predetermine the item’s position. A known noun or verb category leaves many possible introduction orders. It also does not specify all attachments.
Treating tags separately from dependencies allows the same search to accommodate mixed information. Some items can have fixed categories while others retain alternatives, and some relationships can be known while others remain open.
The operative location is the procedure that enumerates possible actions. Constraints are not merely additional score features whose influence the learner might override. They exclude actions before the beam chooses among successors.
Preserve required connections under partial trees
Partial dependency constraints are harder because future construction can be obstructed by an action that creates no immediate contradiction. The legality machinery must account for what the stack will still permit later.
For an arc action, readiness for removal is essential. If a prospective dependent still has required descendants awaiting processing, removing it would prevent those relationships from being completed.
The authors’ REDUCABLE condition therefore checks more than the direction of the proposed arc. It also asks whether the item can safely leave active construction. A permitted attachment must either match a supplied connection or attach a root of a supplied fragment where the unspecified larger structure leaves that possibility open.
SHIFT legality is more involved. Introducing another item changes which reductions can occur before later words arrive. An ill-chosen introduction can trap required relatives in an unusable stack order.
The paper’s example places Harvard University in a configuration where introducing the team phrase next would prevent the required chain through the preposition from being constructed. The new item is rejected because of that future obstruction.
The sketched legality test considers how the incoming item relates to words already on the stack. It distinguishes child, grandchild, parent, grandparent, and sibling relationships within supplied structure.
When a stack item is a child of the incoming item, the intervening active material must be compatible with the reductions that can follow. A grandchild relationship can instead indicate that the proposed introduction would make completion impossible.
When the stack contains the incoming item’s parent, the relevant portion of the stack again has to remain reducible in a suitable way. More distant ancestry imposes restrictions on whether intervening material can legitimately belong beneath the ancestor.
Sibling relationships require considering their least common ancestor. The test must preserve a route by which both sibling material and intervening structures can be integrated beneath that ancestor.
If no active stack word belongs to the same supplied dependency fragment as the incoming item, the paper allows greater freedom: the partial structure has not prescribed a conflicting relationship there.
These cases share a purpose. They reject actions whose consequences would destroy the possibility of satisfying the input. They are not simply a list of preferred linguistic arrangements.
The authors place detailed SHIFT legality pseudocode in supplementary material and provide the structural sketch in the main paper. Their main explanation establishes the rationale, while the full case implementation requires that additional specification.
Specialize the procedure when the whole tree is known
Complete-tree input can pass through the partial-tree machinery, but the authors also give a simpler action generator for this setting.
With an empty stack, a remaining item can be introduced freely. Once an item is active at the top, the procedure checks whether any of its descendants remain unprocessed.
If such descendants remain, introduction choices must help complete that material. The algorithm therefore draws from descendants still in the input collection instead of opening arbitrary unrelated structures.
When the top item’s descendants have been processed, the procedure attempts the required attachment with the item beneath it. If their relationship is specified in the tree, the appropriate arc action can proceed.
When those active items are not connected in the required way, the search must introduce material that permits continuation, such as the relevant head or a sibling structure.
This policy uses the known hierarchy more directly than the general partial-tree test. There is less uncertainty about how fragments will eventually connect because the complete set of relationships is already supplied.
The output order remains unresolved in spite of that knowledge. Several permitted introductions can correspond to different surface realizations of the same hierarchy. The scorer and beam still choose among them.
The authors make the implementation available through their zgen project under GPL. The released program embodies the ordering transitions, learned scoring, beam search, and input-constraint handling described in the paper.
Experiments and results
Establish the data and the comparison
For these experiments, the data come from the Penn Treebank’s Wall Street Journal section. Sections 2–21 supply training material, section 22 supports development evaluation, and section 23 is reserved for final testing.
The authors obtain dependency structures by converting bracketed treebank analyses with Penn2Malt. Those derived structures provide the supervised syntax and the source of the experimental dependency constraints.
Base noun phrases remain intact as individual units. This preprocessing is part of the evaluation task, not a later convenience added when interpreting the results. The systems arrange those units and the other input items instead of reconstructing every phrase internally.
Output quality is measured with the BLEU score, following earlier ordering evaluations and the metric introduced in Bleu: a Method for Automatic Evaluation of Machine Translation. The paper discusses BLEU through local sequence agreement and output brevity.
That combination is especially consequential here. A search that omits material can differ from its reference in length as well as arrangement. The authors therefore supplement the main metric with coverage and syntactic-fragment analyses.
The principal comparison is their implementation of Zhang’s best-first method, identified as Z13 in the paper. The final-results table also includes figures from earlier studies. Those historical results broaden the comparison, while the detailed development analyses concern the implemented competing searches.
Choose a practical beam setting
The authors first vary beam width on development data under free ordering. The strongest settings highlighted in the discussion use beams of 64 and 128.
The smaller setting obtains 47.5 BLEU, while the larger obtains 48.2. The paper reports that the larger beam runs twice as slowly and judges its quality gain insufficient to justify that cost.
The remaining experiments consequently use 64. This is an empirical operating choice, not a claim that the same beam is necessarily appropriate for every corpus or version of the task.
The experiment also demonstrates why the formal complexity bound does not settle practical speed. Search breadth affects the amount of work performed within each stage, even when the dependence on input length retains the same asymptotic form.
Compare final test performance
The final evaluation examines several information conditions. The unconstrained condition provides neither tags nor dependency requirements.
Free ordering on PTB section 23, BLEU
The transition approach leads the best-first comparison without supplied grammatical constraints.
The numbers
| System or setting | BLEU |
|---|---|
| Zhang (2013) | 44.7 |
| Transition approach (this paper) | 49.4 |
This result tests the broadest joint prediction problem in the final table. The system chooses categories, sequence, and dependency structure instead of receiving the hierarchy beforehand.
When complete tags are supplied but dependencies are absent, the table contains a wider historical comparison.
Complete tags without dependencies on PTB section 23, BLEU
Transition-based construction leads the reported systems when categories are known but attachments remain open.
The numbers
| System or setting | BLEU |
|---|---|
| Wan et al. (2009) | 33.7 |
| Zhang and Clark (2011b) | 40.1 |
| Zhang et al. (2012) | 43.8 |
| Zhang (2013) | 46.8 |
| Transition approach (this paper) | 50.8 |
The category information simplifies introduction actions but leaves substantial structural and ordering uncertainty. The proposed procedure’s advantage therefore persists beyond the fully unconstrained case.
The most informative input condition supplies complete tags and complete dependencies.
Complete tags and dependencies on PTB section 23, BLEU
The transition procedure also achieves stronger reference agreement when the dependency hierarchy is supplied.
The numbers
| System or setting | BLEU |
|---|---|
| Zhang (2013) | 76.2 |
| Transition approach (this paper) | 82.3 |
These scores concern a different task condition from free ordering. The higher values reflect evaluation with much more grammatical information available, not an improvement obtained while holding the input unchanged.
Across the final conditions, the proposed procedure has the strongest reported BLEU. That is the empirical basis for the paper’s accuracy claim. The separate development timings support its efficiency claim.
Vary grammatical information on development data
For the constraint experiment, tags and dependencies are sampled randomly from the gold structures. The authors vary category coverage and dependency coverage independently, creating nine combinations.
Without dependency constraints, the transition procedure scores 47.5 BLEU with no supplied tags, 47.9 with 50% pos, and 48.8 with all tags. The associated average sentence-ordering times are 155, 119, and 74 milliseconds.
For the same conditions, the best-first implementation scores 42.9, 43.4, and 44.7 BLEU. Its average times are 4872, 4856, and 4826 milliseconds per sentence.
This comparison shows that category information helps even when the hierarchy remains unspecified. It also shows a substantial runtime separation between the implementations before any dependency restrictions are added.
With 50% dep, the transition scores are 54.8 without tags, 55.2 with 50% pos, and 56.2 with complete tags. Their corresponding times are 132, 91, and 41 milliseconds per sentence.
The best-first results in those matched conditions are 50.5, 51.4, and 52.2 BLEU, with times of 4790, 4737, and 4720 milliseconds.
When all dependencies are supplied, the transition procedure obtains 77.8 BLEU without tags, 79.1 with 50% pos, and 81.1 with complete tags. Average decoding takes 40, 28, and 22 milliseconds, respectively.
The best-first implementation obtains 73.3, 74.7, and 76.3 BLEU under those complete-dependency conditions. Its average times are 4600, 4431, and 4218 milliseconds.
The direction of the pattern is consistent: supplying more correct grammatical information accompanies better reference agreement and faster transition decoding. This fits the action-generation mechanism, which can avoid expanding alternatives excluded by the input.
These measurements belong to section 22, the development split. They should remain distinct from the section 23 figures in the final charts. Similar-looking information conditions do not make the development and final values interchangeable.
The timing evidence is also specific about what was measured: average time to order a sentence. It does not describe training cost or the runtime of an entire generation pipeline.
Examine individual outputs without treating them as averages
The paper includes unconstrained examples illustrating both success and failure. Their value is qualitative: they show what kinds of arrangement errors remain behind the aggregate scores.
In the asbestos example, the best-first output receives 43.5 BLEU and the transition output receives 17.8. The latter mishandles the placement of the products expression and other material. The stronger overall system can therefore lose badly on a particular sentence.
For the example concerning watch imports and duty-free treatment, the best-first arrangement receives 67.6, whereas the transition result receives 100. The contrast concerns displacement of a phrase that the transition procedure places as in the reference.
The longer example concerns investors moving cash into money funds despite recent yield declines. The best-first output receives 20.1, and the transition output receives 67.0. The proposed procedure produces a more coherent overall arrangement, though its grouping of material still differs from the reference.
These examples support a measured reading of the findings. The method improves aggregate agreement and frequently handles longer material better, as the authors observe. It does not eliminate ordering mistakes, and complete inclusion of the input cannot on its own ensure a satisfactory sentence.
What the ablations show
The paper contains no systematic removal of individual feature groups; its diagnostic evidence instead comes from beam variation, controlled changes to grammatical input, and comparisons of coverage and syntactic spans.
Search breadth helps, but computation still matters
The beam experiment changes how many alternatives remain available without changing the basic transition inventory. It therefore probes the practical effect of retaining more construction histories.
The stronger result at the wider setting indicates that pruning still matters. Some useful alternatives can be lost when search is narrower. The chosen beam should accordingly be understood as a quality–speed compromise.
The experiment does not reveal how close either setting comes to exhaustive optimization. There is no exact-search reference establishing the amount of remaining search error. Better performance with a wider beam is evidence that breadth can help, not proof that the widest tested beam has solved the search problem.
This comparison is also limited to free ordering on development data. It does not separately optimize the beam for every constraint condition. The subsequent experiments inherit the practical setting selected there.
That decision is reasonable for the paper’s aim: demonstrate a usable alternative to slower best-first exploration. It nonetheless leaves open how the relative advantages might change under different computational budgets.
Constraints test whether legality checks are useful
The grammatical-input experiment directly exercises the mechanism for restricting actions. Supplied categories remove tagging alternatives. Supplied dependencies eliminate histories incompatible with required structure.
The observed improvement across information levels supports the claim that these restrictions are usable in practice. More information does not merely sit alongside the search; it changes the successor configurations that can be generated.
The associated speed changes are particularly informative. Restricting an action before expansion can save work that would otherwise be spent constructing and scoring an invalid candidate.
However, this is not a pure comparison of search algorithms with identical knowledge. Adding grammatical constraints also gives the system information about the desired answer. Quality can improve because the task is more specified, because search becomes easier, or through both effects.
The experiment therefore validates the combined input-and-search mechanism. It does not quantify a separate contribution for each route by which constraints help.
Nor does the study test incorrect constraints. Sampling from gold structure ensures that the supplied information is consistent with the reference hierarchy. The findings concern useful exploitation of correct partial knowledge.
Coverage exposes a distinct failure mode
The paper compares output brevity as input size changes. Its diagnostic is described as output word count divided by reference word count.
For the transition procedure, the reported value remains 1 because every supplied item is incorporated. This follows from the construction process rather than an empirical tendency that might disappear when the search happens to favor a shorter answer.
The best-first implementation can omit material even for bags of 9 – 11 words. Larger inputs make this weakness more pronounced. A time limit can arrive before the search has assembled all the available content into a finished candidate.
This analysis explains part of the BLEU difference. The metric is affected by brevity, so incomplete output is disadvantaged even before considering whether its surviving phrases are well ordered.
The distinction is scientifically useful because it identifies a concrete mechanism. The claim is not merely that the proposed search returns better-scoring strings. It avoids a recognizable class of incomplete results that the baseline can produce.
At the same time, coverage does not settle arrangement quality. An output can incorporate everything and still place material incorrectly. The authors’ weaker transition example demonstrates exactly that possibility.
The paper therefore turns to structural fragments to examine differences beyond missing material.
Span recovery separates precision from recall
Both searches build projective spans, described by the authors as dependency treelets. The diagnostic compares how accurately these fragments match reference structure over several length thresholds.
Precision concerns the correctness of recovered fragments. Recall concerns how much reference structure is recovered. F-score combines these aspects, making it possible to distinguish selective correctness from broader recovery.
| Span threshold | Z13 precision | Transition precision | Z13 recall | Transition recall | Z13 F-score | Transition F-score |
|---|---|---|---|---|---|---|
| < 5 | 24.63 | 20.45 | 14.56 | 21.82 | 18.3 | 21.11 |
| < 10 | 15.20 | 16.33 | 10.59 | 15.88 | 12.48 | 16.1 |
| < 15 | 10.82 | 14.73 | 9.38 | 14.08 | 10.05 | 14.4 |
| < 30 | 8.18 | 12.54 | 8.26 | 12.43 | 8.22 | 12.49 |
The smallest threshold reveals the important exception to uniform superiority. Best-first search has higher precision there. The transition procedure nevertheless has higher recall and F-score.
At the other displayed thresholds, transition search leads on precision as well as recall. Its F-score is higher throughout the comparison.
These are threshold conditions as labeled in the paper. They should not be treated as separate, nonoverlapping length groups. The analysis asks how performance behaves under the specified span-length limits.
The pattern is consistent with a search that retrieves a broader and ultimately more useful collection of structures, even though some very small fragments from the competing method are more selectively accurate.
The searched object changes the fragment distribution
The authors relate this precision–recall pattern to what each method ranks. Best-first exploration compares individual spans of different sizes, expanding those with favorable scores. There is no fixed requirement that its attention across span sizes follow the distribution found in complete sentences.
This can produce relatively few small fragments while selecting those fragments carefully. Their precision may be strong even as the search fails to recover enough of the structures needed for the reference.
The transition procedure ranks histories instead. A history accumulates the structures encountered while constructing a complete analysis. Its feature representation and training operate over that progression.
The paper compares the resulting span distributions with gold dependency trees. The transition distribution is closer to the reference distribution. Best-first search produces relatively fewer short spans and more long spans.
This comparison supports the authors’ interpretation of why the searches differ. It also clarifies that changing search organization affects more than runtime. It changes which kinds of intermediate structures receive representation and competition.
The evidence is diagnostic rather than a complete causal decomposition. The paper does not hold the distribution fixed while changing only the search, nor does it isolate every feature and training effect. The span findings make the explanation more plausible without proving that distribution alone accounts for the final BLEU advantage.
Limitations
The authors identify generation tasks still outside the system
The authors explicitly leave the addition of large-scale language scoring to future research. Their current experiment tests the learned feature inventory and transition procedure described in the paper, not an expanded system incorporating that future component.
They also identify joint morphological generation and linearization as future work. This matters because practical inputs need not already contain the surface forms required for the final sentence.
The related-work discussion mentions generation settings whose input consists of lemmas without punctuation. Arranging supplied surface items does not, by itself, solve the additional decisions those settings require.
These are author-stated directions. They define a boundary around the contribution: the paper develops a linearization component suitable when lexical material and optional syntax are available. It does not demonstrate every stage needed to turn an underspecified meaning representation into final text.
The authors further suggest that the approach could extend to other grammatical formalisms because transition parsing has been applied beyond dependency grammar. That is a conceptual proposal, not an experimental result for those formalisms.
The distinction matters because a transition inventory and its legality checks depend on the structures being constructed. Success with the dependency version does not automatically supply a tested implementation for another grammar.
Bounded construction leaves the optimization problem approximate
A limit visible from the search design is that beam pruning can remove the best continuation. The paper’s computational guarantee does not protect a history once it falls outside the retained candidates.
The procedure consequently guarantees a route to completion under its construction scheme, instead of an exact solution to unrestricted ordering. Its result can be inferior to an alternative that was never explored fully.
This is consistent with the paper’s NP-hard characterization of the task. Predictability is achieved through restricted search, not by showing that all candidate arrangements can be evaluated efficiently.
The learned score adds another distinction. Even the highest-scoring possible history would be optimal only under that scoring function. The paper does not establish that the score perfectly represents grammaticality or fluency.
A completed output should therefore be understood procedurally: the construction has incorporated the input and reached its terminal condition. It does not amount to a linguistic theorem about the resulting sentence.
The authors’ examples make that boundary concrete. The transition system can use all the material while producing a poor arrangement. Coverage removes a search failure, but successful linguistic choice still depends on features, training, and surviving alternatives.
The quadratic claim also abstracts away from constant factors. Beam width and tag alternatives affect practical cost, as the development experiment demonstrates. The asymptotic statement should not be read as a fixed runtime promise for arbitrary implementations.
The corpus and preprocessing define the demonstrated task
A limitation inferred from the evaluation is its concentration on Wall Street Journal material. The paper does not report comparable experiments for other domains or languages.
That leaves several questions unresolved. Different constructions may alter which ordering decisions are ambiguous. Different input distributions may affect the usefulness of lexical features, the amount of search required, and the relationship between sentence length and practical runtime.
The dependency trees are produced through Penn2Malt conversion. The evidence therefore concerns the resulting representation rather than every possible dependency convention.
The retained base noun phrases also matter. They supply internal phrase organization before the ordering procedure begins. The nominally unconstrained condition is unconstrained at the level of those units and their relationships; it does not remove every trace of prior organization.
A reader should not transfer the reported BLEU values directly to bags in which all phrase-internal words have been separated. That would change the task.
This is an evaluation boundary instead of an author-stated criticism of the method. The preprocessing follows earlier work and allows the intended comparisons. It nevertheless determines what has actually been demonstrated.
Similarly, the paper does not report an evaluation of an entire generation pipeline. A pipeline might introduce errors before the linearizer receives its input, and its total cost would include components outside the measured ordering stage.
Gold-derived constraints do not establish robustness to mistakes
The constraint experiments deliberately sample correct information. This is a strong design for examining how performance changes as grammatical knowledge becomes more complete.
A limitation inferred from that setup is the absence of noisy upstream syntax. Real constraints could be incorrect or could omit relationships in systematic ways unlike random sampling.
The distinction is especially consequential because the method uses hard legality restrictions. A false requirement can eliminate otherwise desirable histories rather than merely lowering their scores.
The paper does not evaluate how to detect such a requirement, relax it, or trade it against competing evidence. It also does not compare hard constraints with confidence-weighted alternatives.
Randomly retaining gold relationships tests information quantity under controlled correctness. It does not cover every pattern of partial knowledge that an earlier generation component might supply.
For instance, an upstream procedure might reliably provide certain kinds of dependencies while rarely identifying others. The amount of supplied information could resemble a sampled condition while its structural distribution differs substantially.
The reported gains accordingly support exploitation of correct supplied structure. They do not establish a general policy for trusting uncertain grammatical input.
This qualification does not diminish the value of the controlled study. It identifies the next distinction that would matter before extending the result to pipelines whose inputs are themselves predictions.
Automatic agreement is narrower than human quality
Another evaluation limit is the use of BLEU as the principal output measure. The paper provides automatic evidence about reference agreement, not a reported human comparison of fluency or acceptability.
An arrangement can differ from the recorded sentence while remaining plausible. Conversely, complete vocabulary coverage and some matching local sequences do not ensure that readers would judge an output satisfactory.
The authors supplement BLEU with structural diagnostics, which helps avoid treating a single score as the whole explanation. Those diagnostics still do not provide a direct assessment of every aspect of sentence quality.
No reported experiment separates semantic faithfulness, grammatical acceptability, and stylistic preference through human judgments. The findings should therefore retain the metric-specific language used in the results.
Brevity also makes attribution more complicated. Avoiding incomplete output is a practical achievement and legitimately improves the comparison. Yet the final score blends that achievement with improvements in local order.
The paper establishes that coverage explains part of the advantage. It does not calculate a complete division of the gain among coverage, attachment decisions, surface preferences, or other components.
The span analysis provides further evidence of structural recovery, but it cannot serve as a full decomposition of sentence-level BLEU. These measures examine related but different properties.
The evidence compares complete implementations
The runtime and quality results support the proposed system against the reported best-first implementation. They do not establish that every possible best-first implementation would behave identically.
Timeout policy, feature design, search organization, and training all contribute to an implemented system’s behavior. The paper’s main comparison changes a substantial package of these interacting choices.
The analyses explain important consequences of that package, especially completion and span distribution. They do not provide a matched experiment isolating every factor.
The absence of feature-removal experiments leaves the contribution of the surface templates unresolved. The same applies to the exact independent benefit of inherited parser templates or the training choices.
These are limits inferred from the experimental coverage, rather than concessions that the authors explicitly enumerate. They constrain causal claims about why the entire system wins.
The strongest supported conclusion remains substantial: in the specified experiments, transition-based construction gives better BLEU, markedly shorter decoding, and predictable completion over the input. Extending that conclusion to different representations, noisy constraints, broader generation tasks, or other corpora would require additional evidence.
What came after
The identified later citation is Sequence-to-Sequence Learning as Beam-Search Optimization, dated 2016. Its stated subject places beam-search optimization within sequence learning, making search an explicit part of the problem under discussion.
The available bibliographic relationship establishes that the later work cites “Transition-Based Syntactic Linearization.” It does not specify which component it adopted, challenged, or used as background. There is therefore no basis for attributing a particular extension of the linearizer to that work.
Several distinct connections would be possible in principle, and keeping them distinct prevents an unsupported historical claim. The transition paper combines learned history scores, incremental pruning, grammatical construction actions, and a bounded completion process. Interest in beam-based learning would not itself imply adoption of its dependency stack or its unordered input representation.
Likewise, a later sequence-learning objective need not preserve the specific guarantee established here. That guarantee depends on the action inventory and the prescribed construction length, not merely on using a beam.
The documented continuation is consequently narrow: a subsequent work centered on sequence learning and beam-search optimization includes this paper among its citations. The record does not establish a direct successor implementation or a later replication of the ordering results.
The paper’s own contribution remains clear without a stronger lineage claim. It demonstrates how reformulating word ordering as incremental syntactic construction can change both practical search behavior and the guarantees available at completion. Its experiments then examine the consequences through reference agreement, decoding time, coverage, and recovered structure.
Institutions
Fields, topics and concepts
Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 works
Topics 1Research subjects and languages the work is about.Machine translation · 1,109 works
Cite
Cite as Yijia Liu, Yue Zhang, Wanxiang Che and Bing Qin. 2015. Transition-Based Syntactic Linearization. Proceedings of the 2015 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies.
@inproceedings{liu2015transition,
title = {{Transition-Based Syntactic Linearization}},
author = {Yijia Liu, Yue Zhang, Wanxiang Che and Bing Qin},
booktitle = {Proceedings of the 2015 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies},
year = {2015},
doi = {10.3115/v1/n15-1012},
url = {https://doi.org/10.3115/v1/n15-1012}
}References
- Anja Belz, Mike White, Dominic Espinosa, Eric Kow, Deirdre Hogan, and Amanda Stent. 2011. The first surface realisation shared task: Overview and evaluation results. In Proceedings of the Generation Challenges Session at the 13th European Workshop on Natural Language Generation, pages 217– 226, Nancy, France, September. Association for Computational Linguistics.
- Bernd Bohnet, Leo Wanner, Simon Mill, and Alicia Burga. 2010. Broad coverage multilingual deep sentence generation with a stochastic multi-level realizer. In Proceedings of the 23rd International Conference on Computational Linguistics (Coling 2010), pages 98–106, Beijing, China, August. Coling 2010 Organizing Committee.
- Michael Collins and Brian Roark. 2004. Incremental parsing with the perceptron algorithm. In Proceedings of the 42nd Meeting of the Association for Computational Linguistics (ACL’04), Main Volume, pages 111– 118, Barcelona, Spain, July.
- Michael Collins. 2002. Discriminative training methods for hidden markov models: Theory and experiments with perceptron algorithms. In Proceedings of the 2002 Conference on Empirical Methods in Natural Language Processing, pages 1–8. Association for Computational Linguistics, July.
- Adrià de Gispert, Marcus Tomalin, and Bill Byrne. 2014. Word ordering with phrase-based grammars. In Proceedings of the 14th Conference of the European Chapter of the Association for Computational Linguistics, pages 259–268, Gothenburg, Sweden, April. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Wei He, Haifeng Wang, Yuqing Guo, and Ting Liu. 2009. Dependency based chinese sentence realization. In Proceedings of the Joint Conference of the 47th Annual Meeting of the ACL and the 4th International Joint Conference on Natural Language Processing of the AFNLP, pages 809–816, Suntec, Singapore, August. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Terry Koo and Michael Collins. 2010. Efficient third-order dependency parsers. In Proceedings of the 48th Annual Meeting of the Association for Computational Linguistics, pages 1–11, Uppsala, Sweden, July. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Ryan T McDonald and Fernando CN Pereira. 2006. Online learning of approximate dependency parsing algorithms. In EACL.
- Joakim Nivre. 2008. Algorithms for deterministic incremental dependency parsing. Computational Linguistics, 34(4):513–553. DOI ↗
- Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. 2002. Bleu: a method for automatic evaluation of machine translation. In Proceedings of 40th Annual Meeting of the Association for Computational Linguistics, pages 311–318, Philadelphia, Pennsylvania, USA, July. Association for Computational Linguistics.
- Ehud Reiter and Robert Dale. 1997. Building applied natural language generation systems. Nat. Lang. Eng., 3(1):57–87, March. OpenAlex ↗ · Scholar ↗
- Kenji Sagae, Alon Lavie, and Brian MacWhinney. 2005. Automatic measurement of syntactic development in child language. In Proceedings of the 43rd Annual Meeting of the Association for Computational Linguistics (ACL’05), pages 197–204, Ann Arbor, Michigan, June. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Linfeng Song, Yue Zhang, Kai Song, and Qun Liu. 2014. Joint morphological generation and syntactic linearization. In AAAI, pages 1522–1528. OpenAlex ↗ · Scholar ↗
- Stephen Wan, Mark Dras, Robert Dale, and Cécile Paris. 2009. Improving grammaticality in statistical sentence generation: Introducing a dependency spanning tree algorithm with an argument satisfaction model. In Proceedings of the 12th Conference of the European Chapter of the ACL (EACL 2009), pages 852– 860, Athens, Greece, March. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Michael White and Rajakrishnan Rajkumar. 2009. Perceptron reranking for CCG realization. In Proceedings of the 2009 Conference on Empirical Methods in Natural Language Processing, pages 410–419, Singapore, August. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Michael White. 2004a. Reining in CCG chart realization. In In Proc. INLG-04, pages 182–191. OpenAlex ↗ · Scholar ↗
- Michael White. 2004b. Reining in ccg chart realization. In Natural Language Generation, pages 182– 191. Springer. OpenAlex ↗ · Scholar ↗
- Wenduan Xu, Stephen Clark, and Yue Zhang. 2014. Shift-reduce ccg parsing with a dependency model. In Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 218–227, Baltimore, Maryland, June. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Yue Zhang and Stephen Clark. 2011a. Syntactic processing using the generalized perceptron and beam search. Computational Linguistics, 37(1):105–151. OpenAlex ↗ · Scholar ↗
- Yue Zhang and Stephen Clark. 2011b. Syntax-based grammaticality improvement using CCG and guided search. In Proceedings of the 2011 Conference on Empirical Methods in Natural Language Processing, pages 1147–1157, Edinburgh, Scotland, UK., July. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Yue Zhang and Joakim Nivre. 2011. Transition-based dependency parsing with rich non-local features. In Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies, pages 188–193, Portland, Oregon, USA, June. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Yue Zhang, Graeme Blackwood, and Stephen Clark. 2012. Syntax-based word ordering incorporating a large-scale language model. In Proceedings of the 13th Conference of the European Chapter of the Association for Computational Linguistics, pages 736– 746, Avignon, France, April. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Yue Zhang. 2013. Partial-tree linearization: Generalized word ordering for text synthesis. In IJCAI. OpenAlex ↗ · Scholar ↗
This page in Markdown https://md.research.elamur.ai/free/en/papers/liu-2015-transition-based-syntactic-linearization/