Manuscript Offprint
arXiv:2611.12020A generalized transition framework for identifying reduction domains in non-binary constituency parsing
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Direct non-binary constituency parsing must identify an ordered sequence of children at each phrase-level reduction. We extend our earlier delimiter-guided bottom-up construction to a common calculus for top-down, in-order, and bottom-up parsing. At reduction, the rightmost delimiter marks the left boundary, the nonterminal marker supplies the mother label, and the completed items in the delimited segment determine the children and arity. We use a stack invariant to prove soundness and completeness and derive the exact length of the static oracle's action sequence. A projection-and-lifting theorem shows that each delimiter-guided system and its canonical counterpart generate the same set of trees under both the structural and grammar-licensed transition relations. In controlled experiments on PTB and CTB, the delimiter-guided parsers achieve similar labeled accuracy to their canonical counterparts across all traversal orders. For bottom-up parsing, delimiter guidance reduces the number of action classes and increases the number of supervised decisions per tree.
Contents
| 1 Introduction | 2 |
|---|---|
| 2 Background and notation | 4 |
| 2.1 Canonical direct non-binary systems | 5 |
| 2.2 Structural and grammar-licensed transitions | 6 |
| 2.3 Relation to our earlier bottom-up system | 7 |
| 3 Generalized delimiter-guided transition operators | 8 |
| 3.1 Operator inventory | 9 |
| 3.2 Traversal order and static-oracle choices | 12 |
| 3.3 Reachability and stack invariant | 14 |
| 4 Formal properties | 15 |
| 5 Experiments | 23 |
|---|---|
| 5.1 Experimental setup | 24 |
| 5.2 Main results | 24 |
| 6 Analysis and discussion | 25 |
| 6.1 Action inventory and derivation workload | 25 |
| 6.2 Decoding speed | 26 |
| 6.3 Accuracy by constituent arity | 28 |
| 6.4 Sentence length and agreement between parsers | 30 |
| 6.5 Tree-language equivalence and learned decisions | 31 |
| 7 Conclusion | 32 |
| A Canonical transition systems | 38 |
| B Illustrative oracle derivations | 40 |
| C Experimental details | 42 |
Binary parsing obtains a compact local reduction operation by transforming a non-binary constituent into a sequence of binary structures. The parser consequently operates over intermediate nodes that must later be removed. Direct non-binary systems instead construct each annotated constituent from its complete child sequence in one phrase-level reduction. Top-down parsing introduces the mother label before its children are processed (Dyer et al., 2016); in-order parsing introduces it after the left corner has been completed (Liu and Zhang, 2017a); and bottom-up parsing introduces it after all children are available, conventionally selecting them through an action of the form REDUCE-X#k (Fernández-González and Gómez-Rodríguez, 2019).
Despite these different traversal orders, every phrase-level reduction constructs the same kind of object: a mother X over an ordered, nonempty sequence of completed children . We call this sequence the reduction domain and its cardinality the reduction arity. The systems differ in how they identify that domain. Top-down parsing places a nonterminal marker before the children, in-order parsing places it after the left corner, and arity-specific bottom-up parsing selects a stack suffix through the action parameter .
Our earlier bottom-up system showed that a delimiter can identify the child sequence of a reduction and thereby determine its arity (Park et al., 2026). We take that construction as the bottom-up case and ask whether the same representation preserves the tree-building capacity of each canonical traversal. The generalized calculus represents a pending phrase-level reduction by a delimiter , a marker , and an ordered sequence of completed children. The traversal parameter places the marker before all children, after the left corner, or after the complete child sequence. In each case the rightmost delimiter identifies the beginning of the relevant stack segment, the marker supplies the mother label, and the completed items determine the ordered reduction domain.
We define structural applicability independently of grammar licensing. The structural relation controls the arrangement of terminals, completed items, delimiters, and markers, whereas its grammar-licensed restriction additionally requires every constructed node to instantiate a production of a specified context-free grammar. A stack invariant characterizes the ordering, segmentation, and delimiter discipline of every reachable configuration. Its preservation supports soundness and completeness for all three traversal orders. The static oracle is determined recursively by the gold tree and has actions for a tree with terminals and phrasal nodes.
The principal formal result is a global correspondence between each delimiter-guided system and its canonical counterpart. We define projections from complete successful delimiter-guided derivations and operational liftings of complete successful canonical derivations. For top-down parsing, lifting inserts a delimiter with each phrasal marker. For in-order and bottom-up parsing, a delimiter is introduced at a terminal exactly when that terminal is the leftmost terminal of at least one phrasal constituent; reductions along the resulting first-child chain retain the delimiter until its outermost constituent is completed. The projection and lifting preserve terminal yields, mother labels, and ordered child sequences, establishing equality of the generated tree languages under both the structural and grammar-licensed relations.
We evaluate the three delimiter-guided instantiations against canonical top-down and in-order parsing and arity-specific bottom-up parsing on the Penn Treebank (Marcus et al., 1993) and Penn Chinese Treebank (Xue et al., 2005). Within each traversal order, the systems share the data, preprocessing, neural architecture, optimization procedure, and decoding strategy. The accompanying analyses examine action inventory, constituent arity, and the distinct representational choice made by binary parsing.
The resulting account identifies the reduction domain, rather than an arity-labeled action, as the central object of direct non-binary composition. Once a parser configuration identifies a mother label and an ordered child sequence, arity follows from that sequence and need not be represented as an independent transition parameter.
2 Background and notation
Let be an input sentence. A constituency tree over is a rooted ordered tree whose leaves are the terminals . Each terminal is immediately dominated by a preterminal labeled with a part-of-speech category, and each higher internal node is labeled with a phrasal nonterminal. We assume projectivity, so the yield of every node is contiguous.
Let and be the finite sets of phrasal and preterminal labels, respectively, with . A completed preterminal item has the form , where . A completed phrasal item has the form
where , , and each is a completed preterminal or phrasal item. The sequence
is contiguous when its members cover adjacent, nonoverlapping yields in left-to-right order.
In the stack schemas below, denotes an arbitrary stack prefix and denotes stack concatenation. The transition introduces a marker . We use for the transition and for the stack symbol that it introduces.
Definition 1 (Reduction domain and arity). For a phrase-level construction , the ordered nonempty sequence
is its reduction domain. Its left boundary is the left edge of the yield of , and its arity is .
2.1 Canonical direct non-binary systems
Top-down, in-order, and bottom-up non-binary parsing construct the same phrase-level object but encode its reduction domain differently. Their characteristic reducible stack suffixes and reduction effects are
where and . For , the sequence in the in-order schema is empty. These schemas display only the stack effects relevant to phrase-level reduction; the complete canonical configurations, transitions, and applicability conditions are specified in Appendix A.
In top-down parsing, the mother label is introduced before any child is constructed (Dyer et al., 2016). The unmatched marker supplies and identifies the beginning of the reduction domain. The arity is therefore the number of completed children above that marker.
In in-order parsing, the marker is introduced after the completed left corner and before the remaining children (Liu and Zhang, 2017a). The reduction domain consists of the left corner immediately below the marker and the completed children above it. Top-down and in-order parsing thus recover arity from their marker configurations rather than from an arity-specific action.
In arity-specific bottom-up parsing, all children are completed before the mother label is introduced (Fernández-González and Gómez-Rodríguez, 2019). Because no marker identifies the left boundary of the child sequence, the parameter in REDUCE-X#k selects the top completed stack items. The action therefore jointly specifies the mother label and reduction arity.
2.2 Structural and grammar-licensed transitions
Let denote the context-free grammar induced by the treebank, with production set and start symbol . A completed preterminal instantiated a production . A completed phrasal item instantiated
where is the label of .
For each traversal order , the structural relation enforces the operational conditions of the transition system: label typing, input and completion conditions, traversal-specific stack patterns, delimiter and marker placement, and the contiguity and ordering of completed children. It does not require a constructed item to instantiate a production in .
The grammar-licensed relation restricts by requiring every constructed item to be licensed by . Formally, for any configurations and ,
or equivalently,
A preterminal construction requires , and a phrase-level construction requires . Nonconstructive transitions coincide under the two relations. This distinction separates structural well-formedness and projectivity from membership in the treebank-induced grammar. The neural decoders select actions using implementation-specific legality checks without consulting . The formal results concern and . Appendix C specifies where the implemented checks differ from those relations.
2.3 Relation to our earlier bottom-up system
Our earlier work introduced delimiter-guided non-binary bottom-up parsing (Park et al., 2026). Its phrase-level reducible suffix has the form
The delimiter identifies the left boundary, the marker supplies the mother label, and the completed items between them determine the ordered reduction domain and its arity. The actions D-SHIFT and D-REDUCE respectively introduce this boundary and preserve it across constituents sharing the same left edge. The earlier experiments established the accompanying trade-off between fewer action classes and longer bottom-up derivations.
Yang and Tu (2022) also identify constituent boundaries without predicting a child count. Their bottom-up parser traverses spans in postorder and predicts the other endpoint of the next span from a cursor at a boundary shared with the preceding span. In the delimiter calculus, bottom-up parsing establishes a boundary when shifting its first word and can retain that boundary across multiple reductions. The reduction reads the completed children from the resulting stack segment. The separation of boundary placement, mother-label introduction, and reduction lets us compare their timing across traversal orders.
The present calculus retains this separation and changes when the boundary and label are introduced. The formal question is whether those choices admit a constructive correspondence with the canonical derivations of each traversal order.
Canonical top-down transition systems do not require an independent delimiter because an unmatched nonterminal marker already identifies the left boundary of the reduction domain. In the generalized calculus, a phrasal explicitly separates these roles by jointly introducing
: records the boundary, while records the mother label. The delimiter is not introduced by a separate predicted action and is consumed together with its marker by the corresponding REDUCE; erasing recovers the canonical top-down stack schema. By contrast, in-order and bottom-up parsing introduce the mother marker only after part or all of the child sequence has been constructed, so D-SHIFT must establish the boundary earlier and D-REDUCE may preserve it across constituents sharing that boundary.
3 Generalized delimiter-guided transition operators
For each traversal order , a parser configuration is , where is a stack, is the index of the next input token, and is the completion flag. The initial configuration is . A successful final configuration has the form , where is a completed tree rooted in the start symbol with yield .
The stack may contain delimiters , markers with , bare terminals, and completed tree items. Each action below is a partial function on configurations, and the union of these functions defines the structural relation . The grammar-licensed relation additionally imposes the production conditions stated below. The top-down system excludes D-SHIFT and D-REDUCE; the in-order and bottom-up systems admit both. Every action requires , and no action is applicable after .
In every transition schema, denotes an arbitrary stack prefix and the displayed elements constitute the complete suffix above it. In an in-order or bottom-up phrasal NT schema, the displayed is the rightmost active delimiter and the suffix beginning at contains no other delimiter or marker. In a phrase-level reduction schema, the displayed is likewise the rightmost active delimiter, and its suffix contains no other delimiter and no marker other than the one displayed. The items are completed tree items with nonempty consecutive yields in left-to-right order. The delimiter introduced by a top-down phrasal NT action is fresh.
An unfinished preterminal construction must be completed before any other construction begins. In the top-down order, a stack-final admits only the corresponding SHIFT, and the resulting suffix NT(P) | admits only U-REDUCE. In the in-order and bottom-up orders, a stack-final bare terminal admits only an instance of NT(P), and the resulting suffix admits only U-REDUCE. Thus no transition places a delimiter, marker, terminal, or completed item above an unfinished preterminal construction.
3.1 Operator inventory
SHIFT For , SHIFT consumes without introducing a delimiter:
In the top-down schema, is the pending preterminal label.
D-SHIFT For the in-order and bottom-up systems, D-SHIFT is structurally applicable when the derivation is unfinished (), a word remains in the input (), and no preterminal construction is pending. It pushes a fresh delimiter followed by the bare terminal and advances the input by one position.
The ensuing NT(P) and U-REDUCE leave the delimiter immediately below the completed preterminal. On the gold derivation, the oracle chooses D-SHIFT exactly when is the leftmost terminal of at least one phrasal constituent, and chooses plain SHIFT elsewhere. A single delimiter serves all phrases that begin at that word, even when an earlier delimiter is still active. Top-down parsing introduces each delimiter with a phrasal NT action before building its children.
For , introduces the marker . The expressions and below are typed schema instances of this single label-parameterized family, with and . Each concrete label nevertheless instantiated a distinct predicted action type.
For a preterminal label , the marker position depends on the traversal order:
Thus, top-down parsing introduces the preterminal label before consuming its terminal, whereas in-order and bottom-up parsing introduce it afterward. Preterminal marker introduction does not introduce a delimiter.
For a phrasal label , the traversal order determines how the delimiter is obtained and where the marker is placed:
In the top-down system, jointly introduces a fresh delimiter and the marker before any child is constructed. The corresponding REDUCE removes both symbols, so neither D-SHIFT nor D-REDUCE is required. In the in-order and bottom-up systems, the active delimiter has already been introduced by D-SHIFT, possibly retained by D-REDUCE, and introduces only the mother-label marker after the left corner or the complete child sequence, respectively.
U-REDUCE The action U-REDUCE completes a preterminal:
Under , the construction additionally requires . The action applies only to ; a unary phrasal constituent is constructed by a phrase-level reduction with one completed child.
REDUCE Let , let , and let be the root label of . The traversal-specific reductions are
For , the sequence following the marker in the in-order schema is empty. Each reduction removes the displayed delimiter and marker and replaces the ordered reduction domain with . Under , it additionally requires
D-REDUCE For the in-order and bottom-up systems, D-REDUCE has the same structural preconditions as phrase-level REDUCE. The suffix above the rightmost active delimiter must consist of one phrasal marker and one or more completed children whose yields are consecutive from left to right. The in-order marker follows exactly one child, with the remaining children above it. The bottom-up marker follows all children and is at the top of the stack. The action removes the marker, replaces the children with the new phrase, and leaves the same delimiter immediately below it. The input position stays fixed.
The two reductions construct the same phrase and differ only in whether the delimiter remains available for a later reduction. On the gold derivation, the oracle chooses D-REDUCE when a higher phrase shares the same left boundary. This occurs exactly when the new phrase is the first child of its parent. The oracle chooses REDUCE at the outermost phrase beginning at that boundary.
Under , both actions require .
Whenever REDUCE or D-REDUCE is structurally applicable, the rightmost active delimiter fixes the beginning of the reduction suffix, its single marker determines the mother label, and all completed items in that suffix determine the ordered child sequence and its arity. Grammar licensing may reject the resulting production, but it does not alter the reduction domain.
FINISH After all input has been consumed, FINISH applies exactly when the stack contains one completed tree rooted in :
The same condition holds under . The target configuration is final and admits no further transition.
3.2 Traversal order and static-oracle choices
For a constituent with children, define
This value is the number of completed children preceding the mother-label marker. Let . The complete reducible suffix for has the uniform form
where an empty child subsequence is omitted. Thus, the marker precedes all children in the top-down order, follows the left corner in the in-order order, and follows all children in the bottom-up order. The delimiter precedes the complete reduction domain in every order.
For the in-order and bottom-up static oracles, let be the preterminal dominating , and let be the highest phrasal ancestor of reached by following first-child edges only. The value is defined exactly when is the leftmost terminal of at least one phrasal constituent. Define the terminal-consuming action
When , the introduced delimiter marks the common left boundary of the phrasal constituents on the first-child path from to . The boundary target is used only to define the static oracle and is not stored in the parser configuration. The in-order and bottom-up oracle code also checks whether is sentence-initial or its preterminal and the preceding word's preterminal have different parents. This check follows from the existence of on a well-typed tree. If is later in the sentence and exists, is the first child of its parent and the preceding word lies outside that parent's yield.
For a phrasal node occurrence , let be its leftmost terminal. Its static-oracle reduction action is
These cases are exhaustive because lies on the first-child path from the preterminal over to . Reductions below the boundary target retain the delimiter, whereas reduction of the boundary target consumes it. The in-order and bottom-up static oracles use the same , , and node-indexed reduction actions ; they differ only in whether is introduced after the left corner or after the complete child sequence. At test time the decoder predicts the shift and reduction variants from the current configuration under its own legality checks (Appendix C).
In Figure 2, D-SHIFT on Ms. establishes the shared boundary of , , and TOP. Plain SHIFT on Haag leaves that boundary in place. Applying ordinary REDUCE at would discard the boundary still needed by and . The oracle therefore uses D-REDUCE at and , then consumes the delimiter with REDUCE at .
3.3 Reachability and stack invariant
A configuration is structurally reachable if it is the initial configuration or follows from a structurally reachable configuration by one step of . Unless stated otherwise, reachable means structurally reachable. Because , every configuration reachable under the grammar-licensed relation is also structurally reachable.
A delimiter is active while it remains on the stack. Each active delimiter determines a delimiter segment: the portion of the stack above that delimiter and below the next active delimiter, or below the top of the stack if no delimiter occurs above it. Its boundary is the input boundary at which it was introduced; this analytical attribute is not part of the parser configuration or action alphabet. The stack invariant consists of the following conditions.
-
After delimiters and markers are ignored, the yields of the completed tree items, together with an optional bare terminal, form a disjoint left-to-right partition of the consumed input prefix . Every completed tree item has a nonempty contiguous yield.
-
At most one preterminal construction is unfinished. In a configuration whose next-input index is , its stack-final form is , or , for , and , or , for , with the first top-down form occurring before the corresponding terminal is consumed. No other bare terminal or preterminal marker occurs on the stack.
-
Within every delimiter segment, completed tree items occur in left-to-right order and have consecutive yields. The segment contains at most one phrasal marker. In the top-down order, this marker immediately follows the delimiter and precedes every completed item in the segment. In the in-order order, exactly one completed item precedes the marker. In the bottom-up order, a nonempty sequence of completed items precedes the marker; completed items may also follow it.
-
The boundaries of active delimiters are nondecreasing in bottom-to-top stack order. Every completed item below an active delimiter has yield strictly to the left of its boundary. If a delimiter segment contains a yield-bearing symbol, its leftmost such symbol begins at the delimiter's boundary.
4 Formal properties
Lemma 1 (Invariant preservation). For every , every configuration reachable under satisfies the stack invariant. Consequently, every configuration reachable under also satisfies it.
Proof. The proof is by induction on derivation length. The initial configuration satisfies all four conditions. Suppose that a reachable configuration satisfies the invariant and that an applicable action maps to .
A SHIFT consumes the next terminal and places it in the traversal-specific unfinished preterminal configuration. A D-SHIFT has the same terminal effect and introduces a delimiter immediately before the terminal, above every active delimiter. Neither action changes the yields or relative order of existing completed items. The applicability conditions for unfinished preterminal constructions ensure that no unrelated action can intervene before the bare terminal is completed.
A preterminal places its marker before the terminal in the top-down order and after the terminal in the in-order and bottom-up orders. The corresponding U-REDUCE replaces the terminal and marker with , whose yield is the singleton . If a delimiter immediately precedes the terminal, both actions leave it in place, and it remains anchored immediately before the resulting preterminal. Thus the consumed-prefix partition and delimiter boundaries are preserved and the unique unfinished preterminal construction is removed.
A top-down phrasal introduces at the current input boundary, opening a segment whose marker precedes every completed item subsequently constructed in that segment. A D-SHIFT opens an in-order or bottom-up segment at the same boundary as its terminal. Both actions place the new delimiter above every active delimiter, and their boundary cannot precede the boundary of any delimiter below it. An in-order phrasal marker follows the single completed left corner of its segment, whereas a bottom-up phrasal marker follows a nonempty sequence of completed items. A phrase-level reduction replaces the marker and its ordered completed children with their mother item. Their consecutive yields have a contiguous union. REDUCE removes the delimiting ; D-REDUCE retains it immediately before a completed item with the same left boundary. These effects preserve the ordering and anchoring of all remaining delimiters.
FINISH changes only the completion flag. Every applicable transition therefore preserves the invariant. The grammar-licensed claim follows from .
Theorem 1 (Soundness). For every traversal order , every successful derivation under yields a well-typed projective constituency tree rooted in whose yield is . If the derivation is under , the resulting tree is licensed by .
Proof. Induct on construction actions. A U-REDUCE constructs , where , with singleton yield . If are well-typed projective trees with consecutive yields, a phrase-level reduction with constructs . Lemma 1 ensures that the children occur in left-to-right order over consecutive yields, so their mother is also well typed and projective.
Terminal-consuming actions read each token exactly once and in input order, and no construction action deletes, duplicates, or reorders a terminal yield. A successful FINISH requires complete input consumption and a stack containing exactly one completed tree rooted in ; its yield is therefore . Under , each preterminal construction requires , and each phrase-level construction requires , where is the root label of the -th child. Induction over construction actions consequently licenses every node of the final tree.
Definition 2 (Static oracle). Fix a projective gold tree . Using the terminal actions and the node-indexed phrasal reduction actions defined in Section 3, define the node-level oracle sequences recursively by
Here denotes sequence concatenation, and the sequence is empty when .
The complete oracle sequence is
For a fixed projective tree , its ordered node structure determines every and every node-indexed reduction action , so these recursive clauses uniquely determine .
Lemma 2 (Boundary lifecycle). Let , and construct a projective tree in recursive in-order when or recursive postorder when . Let be the leftmost terminal of at least one phrasal constituent. The phrasal constituents with left boundary form a chain , ordered from innermost to outermost. If is consumed by D-SHIFT, the resulting delimiter is the rightmost active delimiter when each is reduced. It is retained by D-REDUCE for and consumed by REDUCE for ; every delimiter introduced strictly inside the yield of is consumed before is reduced.
Proof. Constituent yields are contiguous, so any two phrasal constituents with the same left boundary are nested and therefore form a first-child chain. The D-SHIFT consuming places a delimiter immediately before that terminal, and completion of its preterminal leaves the delimiter immediately before the resulting item.
Prove the claim simultaneously for all boundaries by induction on the yield length of the outermost member of the chain. If that yield contains one terminal, no later child can introduce a delimiter; the traversal-specific schemas successively reduce the unary chain and establish the claim. Otherwise, a child not lying on the first-child chain has a strictly later left boundary and a strictly shorter yield. By the induction hypothesis, every delimiter opened within that child is removed by the outermost constituent sharing its boundary before the traversal returns from the child. Consequently, when is ready for reduction, no delimiter introduced inside a later child remains above the delimiter at . The latter is therefore the rightmost active delimiter, and its segment contains exactly the completed children of , with the marker in the position prescribed by the traversal order. Thus D-REDUCE is applicable for and retains the delimiter immediately before . The same argument then applies to . At , REDUCE is applicable to the same delimited domain and removes the delimiter.
Theorem 2 (Completeness). Let be a well-typed projective constituency tree over , with preterminal labels in , phrasal labels in , and root label . For every traversal order , is a successful derivation under . If is licensed by , the same sequence is successful under .
Proof. We prove by structural induction that constructs every subtree over its complete yield. For , the induction claim additionally records the delimiter at the left boundary of : every delimiter introduced strictly inside the yield of has been consumed when is completed, while the left-boundary delimiter remains immediately below precisely when is a proper descendant of its boundary target. It is consumed when is that target.
For a preterminal , the top-down sequence
constructs . In the in-order and bottom-up orders,
constructs the same item. If , no delimiter is introduced. If , the result is
, and is retained for the phrasal first-child chain beginning at . This establishes the strengthened base case.
Let , and assume the claim for its children. In the top-down order, introduces before their oracle sequences. Once all children have been completed, the stack has suffix
so REDUCE constructs and removes the delimiter.
In the in-order order, is completed before is introduced, and are completed afterward. In the bottom-up order, all children are completed before marker introduction. Delimiters opened within children for are consumed within those children because their left boundaries differ from that of . By Lemma 2, the delimiter at the left boundary of is the rightmost active delimiter when is applied. The reduction domain therefore has the required traversal-specific form. If is below its boundary target, D-REDUCE constructs and retains the delimiter immediately below it; if is the boundary target, REDUCE constructs and consumes the delimiter. The strengthened induction claim follows.
The root is the outermost constituent at its left boundary, so its reduction consumes the last retained delimiter. After , all input has been consumed and the stack contains only ; FINISH is therefore applicable. If is licensed by , every construction action instantiated its corresponding production in , so the same sequence is licensed under .
Proposition 1 (Oracle action count). Let contain terminals, preterminals, and phrasal nodes. For every traversal order ,
The top-down oracle introduces exactly delimiters, whereas the in-order and bottom-up oracles each introduce
delimiters. Every introduced delimiter is consumed by exactly one REDUCE.
The canonical top-down and in-order oracles have the same action count, whereas the arity-specific canonical bottom-up oracle has actions.
Proof. Each terminal and its preterminal contribute one terminal-consuming action, one , and one U-REDUCE, giving 3n actions. Each phrasal node contributes one and one REDUCE or D-REDUCE, giving 2m actions. FINISH contributes one action. The canonical top-down and in-order systems make the same three terminal-level and two phrase-level decisions. In the canonical bottom-up system, each terminal contributes SHIFT and REDUCE-P#1, each phrasal node contributes one arity-specific reduction, and FINISH contributes one action, giving .
Every top-down phrasal NT introduces a delimiter, giving delimiters. In the other two orders, a delimiter is introduced exactly when is defined. Lemma 2 shows that reductions below the associated boundary target retain it and that reduction of the target consumes it.
Definition 3 (Canonical projection). For , let denote the delimiter-guided system and its canonical counterpart in Appendix A. In each canonical system, a reduction over a bare terminal is a preterminal construction labeled by , a reduction over completed tree items is a phrasal construction labeled by , and an unfinished preterminal construction must be completed before any other construction begins. For top-down and in-order action-configuration sequences, erases delimiters from every configuration and transforms actions as follows. In the top-down order, it preserves , SHIFT, and FINISH, and maps both U-REDUCE and phrase-level REDUCE to canonical REDUCE. In the in-order order, it maps both SHIFT and D-SHIFT to canonical SHIFT, preserves and FINISH, and maps U-REDUCE, REDUCE, and D-REDUCE to canonical REDUCE.
In the bottom-up order, is a macro projection on successful action-configuration sequences. At completed-construction boundaries it erases delimiters from the stack, and it contracts
to canonical SHIFT · REDUCE-P#1, and contracts
to REDUCE-X#k, where k is the number of completed children in the delimited reduction domain. It preserves FINISH.
Theorem 3 (Global derivational correspondence). For every traversal order , maps every successful derivation of to a successful derivation of with the same input and final constituency tree. Conversely, every successful derivation of has a successful delimiter-guided lifting that produces the same tree and satisfies
Both directions hold for the structural relations and their grammar-licensed restrictions. Writing and for the sets of final trees generated under the structural and grammar-licensed relations, respectively,
Proof. Consider first a successful delimiter-guided derivation. In the top-down order, erasing from a phrasal source suffix
gives exactly the canonical top-down reduction domain. A U-REDUCE likewise has the same stack effect as the canonical reduction that constructs its preterminal. All other projected actions have identical marker, terminal, or completion effects. Induction on the derivation therefore gives a successful canonical derivation with the same completed items and final tree.
In the in-order order, SHIFT and D-SHIFT have the same effect after delimiter erasure. Erasing from
gives the canonical in-order reduction domain with the same mother label and ordered children, whether the delimiter-guided reduction retains or removes . Preterminal reductions project in the same way. Induction again preserves every completed item and the final tree.
In a successful bottom-up derivation, the applicability conditions force every consumed bare terminal to be completed by the following . Once a bottom-up phrasal marker has been introduced, any intervening action would place material above it and make its reduction schema permanently unavailable; hence every successful derivation discharges that marker immediately by REDUCE or D-REDUCE. The derivation therefore factors into the blocks specified by . Each projected preterminal block constructs the same , and each projected REDUCE- consumes the same ordered children and constructs the same mother item. Induction over these blocks yields a successful canonical derivation with the same final tree.
For the converse, fix a successful typed canonical derivation and its final tree. Terminals are shifted from left to right, and every construction consumes a complete top suffix. The canonical stack schemas therefore force the nodes of the fixed tree to be constructed in the corresponding recursive order: top-down marker introduction, recursive in-order construction, or recursive postorder construction. Bypassing a required marker or child would bury it below a yield-bearing item outside its reduction domain, after which it could not occupy the required suffix. The following constructions define . In the top-down order, retain every canonical preterminal construction, replacing its closing REDUCE with U-REDUCE. For every phrasal , insert immediately before its marker and use phrase-level REDUCE to remove that delimiter when the canonical marker is closed. The canonical nesting of markers makes each inserted delimiter the rightmost active delimiter at the matching reduction. Erasing the delimiters and identifying the two delimiter-guided reduction types with canonical REDUCE recovers the original derivation.
In the in-order order, replace the canonical SHIFT consuming with D-SHIFT exactly when is the leftmost terminal of at least one phrasal constituent in the final tree; otherwise retain SHIFT. Preserve each , replace a canonical reduction over a bare terminal with U-REDUCE, and replace each phrase-level reduction by D-REDUCE for a non-outermost member of its common-left-boundary chain and by REDUCE for the outermost member. The canonical schemas impose the same node-construction order as the recursive in-order traversal. Lemma 2 therefore ensures that every selected reduction is applicable and that every introduced delimiter is consumed. Projection action by action recovers the canonical derivation.
In a successful typed canonical bottom-up derivation, a SHIFT introducing is immediately followed by REDUCE-P#1: if another item were pushed first, the bare terminal could no longer form the top reduction domain required for its preterminal. Replace this pair with SHIFT or D-SHIFT, followed by NT(P) · U-REDUCE, using D-SHIFT exactly when is the leftmost terminal of at least one phrasal constituent. Replace every phrase-level REDUCE-X#k with NT(X) followed by the D-REDUCE or REDUCE selected from its common-left-boundary chain. The canonical bottom-up reduction order is the recursive postorder used in Lemma 2; all lifted blocks are therefore applicable, and no delimiter remains after the root is completed. Each block projects to its original canonical action or action pair, establishing .
Projection and lifting preserve every terminal yield, mother label, and ordered child sequence. They consequently preserve the production instantiated by each construction. The three arguments therefore apply unchanged to the grammar-licensed restrictions, and the two tree-language equalities follow.
5 Experiments
We compare six direct non-binary parsers using phrase-structure annotations from the Wall Street Journal portion of Penn Treebank 3 (PTB) (Marcus et al., 1993; Taylor et al., 2003) and from Chinese Treebank 5.1 (CTB) (Xue et al., 2005). For each traversal order, we train the canonical system and its delimiter-guided counterpart on the same trees with the same neural architecture, optimization protocol, and decoding strategy. The systems differ in how they encode the reduction domain and in the corresponding action inventory, applicability checks, and oracle sequence. The comparison tests whether replacing the canonical domain encoding incurs a loss in labeled constituency accuracy under static-oracle training.
5.1 Experimental setup
For each of the three traversal orders—top-down, in-order, and bottom-up—we compare a canonical parser with its delimiter-guided counterpart. All six parsers construct non-binary branching structures directly. We implement their transitions and static oracles in a shared Stanza training and decoding pipeline (Qi et al., 2020; Bauer and Manning, 2025). All parsers learn from the resulting gold action sequences by teacher forcing. At test time, each parser greedily selects the highest-scoring action permitted by its implementation's structural checks, with no production lookup in the treebank grammar. Appendix C specifies the training and decoding protocol.
Each system-treebank pair has three independent runs (seeds 1111, 2222, and 3333), for a total of 36 runs. We select a checkpoint for each run by labeled development-set . We score its test predictions with EVALB (Black et al., 1991) and JP-EVALB (Jo et al., 2024; Park et al., 2024). Both scorers receive the same saved gold and predicted trees, with matching token yields and reference POS labels in the exported files. The former uses the supplied COLLINS.prm on both corpora. The latter uses its default alignment mode, which retains punctuation. We compute corpus independently for each seed and report the mean and sample standard deviation of the three scores.
5.2 Main results
The absolute difference between paired canonical and delimiter-guided means is at most 0.32 points across the twelve comparisons in Table 1, with differences computed before rounding. Top-down differences stay within 0.11 points. In-order means are lower with delimiters by 0.14–0.20 points across the two corpora and scorers. For bottom-up parsing, the PTB means differ by less than 0.07 points, while the CTB means rise by 0.31 points under EVALB and 0.32 under JP-EVALB. The bottom-up pair thus preserves similar labeled constituency accuracy while changing the way the parser identifies a child sequence. These differences describe the observed runs. The experiment specifies no statistical equivalence margin.
Table 1: Labeled test on PTB and CTB. The published EVALB scores come from a generative top-down parser, a greedy in-order parser trained with a static oracle, and a greedy bottom-up parser trained with a dynamic oracle. These scores reflect the training and evaluation settings of the original studies. All six systems in this study use a shared static-oracle training protocol and greedy decoding. Their scores are means with sample standard deviations across three seeds. Dashes indicate unreported JP-EVALB scores.
| System | PTB | CTB | ||
|---|---|---|---|---|
| EVALB | JP-EVALB | EVALB | JP-EVALB | |
| Previously reported canonical non-binary systems | ||||
| Top-down (Dyer et al., 2016) | 92.40 | — | 82.70 | — |
| In-order (Liu and Zhang, 2017a) | 91.80 | — | 86.10 | — |
| Bottom-up (Fernández-González and Gómez-Rodríguez, 2019) | 91.70 | — | 86.80 | — |
| Canonical non-binary systems, reimplemented | ||||
| Top-down | 94.86 ± 0.07 | 94.27 ± 0.09 | 89.83 ± 0.28 | 88.09 ± 0.31 |
| In-order | 95.04 ± 0.07 | 94.35 ± 0.08 | 90.62 ± 0.19 | 88.89 ± 0.20 |
| Bottom-up | 94.90 ± 0.04 | 94.27 ± 0.09 | 90.63 ± 0.27 | 88.89 ± 0.26 |
| Delimiter-guided systems | ||||
| Top-down | 94.89 ± 0.10 | 94.25 ± 0.11 | 89.90 ± 0.33 | 88.20 ± 0.35 |
| In-order | 94.84 ± 0.05 | 94.18 ± 0.04 | 90.48 ± 0.38 | 88.74 ± 0.34 |
| Bottom-up | 94.90 ± 0.02 | 94.21 ± 0.04 | 90.94 ± 0.33 | 89.20 ± 0.33 |
6 Analysis and discussion
6.1 Action inventory and derivation workload
We count oracle actions on the same gold test trees for each system, including explicit preterminal construction, the ROOT node, and the final FINISH. Counting actions on a common output separates derivation length from differences in the structures produced by greedy decoding. Table 2 pairs these counts with the action classes observed in the filtered, retagged training data.
Top-down and in-order parsing already locate the reduction domain through a nonterminal marker. Adding delimiters preserves their oracle lengths and adds a small number of classes for preterminal construction and, in in-order parsing, for shifts and reductions with a delimiter effect. The bottom-up change is larger. Canonical bottom-up assigns a separate class to each observed label-arity pair. Delimiter-guided bottom-up uses a label marker and recovers the child sequence from the stack. The vocabulary contracts from 251 to 82 classes on PTB and from 227 to 68 on CTB. Each preterminal and phrasal node now requires a marker action, as in Proposition 1. The resulting gold derivations are 64% longer on PTB and 67% longer on CTB.
The narrower output layer and the longer derivation affect different parts of the scoring workload.
Table 2: Action classes observed during training and mean scoring workload per gold test sentence. Actions count oracle decisions. MACs are millions of multiply-accumulate operations in the two affine layers of the action scorer.
| Order | PTB | CTB | ||||
|---|---|---|---|---|---|---|
| Classes | Actions | MACs (M) | Classes | Actions | MACs (M) | |
| Canonical | ||||||
| Top-down | 79 | 110.04 | 17.21 | 65 | 122.15 | 18.67 |
| In-order | 79 | 110.04 | 17.21 | 65 | 122.15 | 18.67 |
| Bottom-up | 251 | 67.25 | 13.48 | 227 | 73.08 | 14.20 |
| Delimiter-guided | ||||||
| Top-down | 80 | 110.04 | 17.24 | 66 | 122.15 | 18.70 |
| In-order | 82 | 110.04 | 17.30 | 68 | 122.15 | 18.76 |
| Bottom-up | 82 | 110.04 | 17.30 | 68 | 122.15 | 18.76 |
The decoder computes a score for every class before checking legality. For bottom-up parsing, the number of output scores along a gold derivation falls by 47% on PTB and 50% on CTB. The first affine layer, however, maps 532 features to 256 hidden units at every decision in all 36 checkpoints. Counting both affine layers therefore gives the opposite direction. The mean number of multiply-accumulate operations in the bottom-up action scorer rises by 28% on PTB and 32% on CTB. The extra decisions repeat the hidden computation as well as the smaller output projection.
The workload calculation uses formal oracle lengths, including for test trees that require an action class absent from the learned inventory. Encoding, composition, stack operations, and legality checks contribute separately to decoding cost. In particular, several delimiter checks scan the current stack, so the number of actions does not determine the cost of those checks.
6.2 Decoding speed
We benchmark greedy decoding at batch size one on AMD EPYC 7352 cores. For each corpus we sample 20 test sentences without replacement from each of five token-length bands (1–10, 11–20, 21–30, 31–40, and 41 or more). All 36 checkpoints receive the same 100 sentences per corpus, in the same order and with the same predicted POS tags. We load the checkpoints in one Stanza source tree supporting all six systems. Each corpus-seed block runs its six parsers sequentially, pinned to one core with one inference thread. The six blocks run concurrently on cores with separate L3 caches. We rotate the traversal order across seeds and alternate which encoding runs first within a pair.
For each checkpoint we warm up on five additional sentences, one per length band, and time one pass over the 100-sentence sample. The wall-clock interval covers encoding of the pretagged sentence, action scoring, legality checks, and tree construction. POS tagging, checkpoint loading, warm-up, export, and evaluation are outside the timed interval. All decodes completed with the reference token yield. After restoring reference POS tags for comparison, 3,599 of the 3,600 parses matched their archived predictions exactly.
Table 3: Single-core greedy decoding throughput on the length-balanced test samples, in sentences per second. For each checkpoint, throughput is the number of timed sentences divided by their total elapsed parsing time. Entries give the mean and sample standard deviation across the three seeds.
| Order | PTB | CTB | ||
|---|---|---|---|---|
| Canonical | Delimiter-guided | Canonical | Delimiter-guided | |
| Top-down | ||||
| In-order | ||||
| Bottom-up | ||||
Table 3 reports throughput for the length-balanced samples. On PTB, top-down and in-order throughput changes by at most 0.02 sentences per second when delimiters are introduced. On CTB, the mean falls from 1.61 to 1.49 sentences per second for top-down parsing and from 1.58 to 1.54 for in-order parsing. Canonical bottom-up has the highest mean throughput on both corpora. Delimiter-guided bottom-up reduces throughput by 9% on PTB and 15% on CTB relative to its canonical counterpart.
Mean decoding time increases with sentence length for all six parsers on both corpora (Figure 1). Delimiter-guided bottom-up takes longer than canonical bottom-up in every length band. For sentences with 41 or more tokens, its mean time rises from 1.56 to 1.76 seconds on PTB and from 0.97 to 1.16 seconds on CTB. These gaps have the same direction as the scorer workload differences in Table 2. The measured time includes encoding and all decoding operations, so it does not isolate the contribution of any one component.

Figure 1: Single-core decoding time by sentence length. We average the wall-clock time over the same 20 sentences per band for each checkpoint. Points show the means across seeds and error bars show one sample standard deviation. The two corpus rows have separate vertical scales.
6.3 Accuracy by constituent arity
We compare the six systems on their recovery of constituents of different arities. For this diagnostic we match phrasal occurrences within each test sentence by label, terminal span, and exact immediate child count. We retain punctuation, omit preterminals and the outer ROOT wrapper, and count repeated occurrences with multiplicity. Exact arity is required even in the group with five or more children. We sum matches and gold and predicted occurrences within each group to compute corpus per seed.
All six systems recover unary and binary constituents more accurately than constituents with three or more children. The effect of delimiter guidance varies with traversal order. On PTB, the mean for the group with at least five children rises for each order, by 0.33–0.77 points. On CTB, the four-child mean rises by 2.09 points for top-down parsing and falls by 2.22 for in-order parsing. These two directions hold in all three CTB seed pairs. The bottom-up mean for five or more children
Table 4: Exact-arity labeled test by immediate child count. Gold counts give the number of reference phrasal occurrences in each group. Results are means sample standard deviations across three seeds. C denotes canonical and D delimiter-guided.
| System | 1 | 2 | 3 | 4 | |
|---|---|---|---|---|---|
| PTB | |||||
| Gold count | 8,879 | 23,840 | 7,381 | 2,317 | 1,859 |
| C Top-down | |||||
| C In-order | |||||
| C Bottom-up | |||||
| D Top-down | |||||
| D In-order | |||||
| D Bottom-up | |||||
| CTB | |||||
| Gold count | 3,482 | 3,698 | 1,121 | 184 | 235 |
| C Top-down | |||||
| C In-order | |||||
| C Bottom-up | |||||
| D Top-down | |||||
| D In-order | |||||
| D Bottom-up | |||||
falls by 1.57 points. These CTB groups contain 184 and 235 gold occurrences, respectively. The arity results thus identify where the systems differ even when their aggregate scores are close. The criterion jointly measures span, label, and child count.
The canonical bottom-up inventory restricts which label-arity pairs the decoder can predict. Two gold phrasal occurrences on PTB test, an eight-child NX and an eight-child PRN, require label-arity pairs absent from the canonical bottom-up training inventory. No CTB test occurrence has this property. Neither PTB occurrence was recovered by the delimiter-guided bottom-up system in any seed. The development predictions contain examples of successful recovery of unseen pairs. Delimiter-guided bottom-up recovers the 19-child PTB NP and 64-child CTB NP in all three seeds, the 12-child PTB VP in two, and the 15-child CTB QP in none. These examples use the development data also used for checkpoint selection. They illustrate that reusing a known label at a new arity is possible, while accurate recovery still depends on the other construction decisions.
6.4 Sentence length and agreement between parsers
We also group the test sentences by token count and score exact label-span matches, with the same tree treatment as in the arity analysis and with child count omitted from the match. Table 5 gives corpus within each group for both encodings. The shortest group has higher than the longest group for every system. On PTB, the six means span 95.53–96.05 in the shortest group and 91.99–92.46 in the longest. The corresponding CTB ranges are 93.83–94.88 and 85.66–87.84. For sentences of 41 tokens or more, switching the domain encoding changes the mean by at most 0.29 points on PTB and 0.44 points on CTB within a traversal order. The overall association with sentence length is larger than the observed differences between encodings within this group. Gold derivation workload also varies substantially with length. In the shortest and longest groups, respectively, delimiter-guided bottom-up adds 12.4 and 84.0 oracle actions per sentence on PTB and 11.1 and 118.8 on CTB.
Table 5: Labeled bracket by test sentence length in tokens. Counts give the number of test sentences in each group. Results are means ± sample standard deviations across three seeds. C denotes canonical and D delimiter-guided.
| System | 1–10 | 11–20 | 21–30 | 31–40 | |
|---|---|---|---|---|---|
| PTB | |||||
| Sentences | 270 | 764 | 778 | 433 | 171 |
| C Top-down | |||||
| C In-order | |||||
| C Bottom-up | |||||
| D Top-down | |||||
| D In-order | |||||
| D Bottom-up | |||||
| CTB | |||||
| Sentences | 96 | 81 | 84 | 38 | 49 |
| C Top-down | |||||
| C In-order | |||||
| C Bottom-up | |||||
| D Top-down | |||||
| D In-order | |||||
| D Bottom-up | |||||
Close corpus scores allow substantial disagreement on individual sentences. We pair runs with the same seed within each traversal order and test whether the predicted multisets of labeled brackets coincide. Agreement ranges from 60.00% to 64.67% across orders on PTB and from 50.86% to 53.16% on CTB (Table 6). Under sentence-level , both encodings outperform their counterpart on some sentences. For example, on CTB the delimiter-guided bottom-up predictions score higher on an average of 24.04% of sentences, and the canonical predictions score higher on 23.85%.
Table 6: Sentence-level agreement and relative accuracy for matched seed pairs (%, mean ± sample standard deviation). Same requires identical labeled bracket multisets. D higher and C higher count sentences with higher bracket for the delimiter-guided and canonical predictions, respectively.
| Order | PTB | CTB | ||||
|---|---|---|---|---|---|---|
| Same | D higher | C higher | Same | D higher | C higher | |
| Top-down | ||||||
| In-order | ||||||
| Bottom-up | ||||||
We further count gold bracket occurrences recovered when matching only spans and when requiring labels as well. Across the six systems, 5.35–5.56% of PTB gold occurrences and 8.34–9.76% of CTB gold occurrences lack a matching predicted span after matching with multiplicity. Requiring the label removes a further 0.80–0.86% of gold occurrences on PTB and 1.36–1.59% on CTB. Missed spans therefore account for the larger share of the observed recall deficit in both encodings. These measurements describe completed trees. They leave the transition at which a parser first diverged from its gold derivation unresolved.
6.5 Tree-language equivalence and learned decisions
Theorem 3 equates the final tree languages of the formal systems by projecting and lifting successful derivations. The lifting uses the completed tree to choose where to place delimiters. For example, the canonical bottom-up parser can shift the second word of a sentence and leave open whether a later constituent begins there. In the formal delimiter-guided system, a plain SHIFT at that word rules out a phrase beginning there, because no later action can introduce a delimiter at a boundary the parser has already passed. In-order parsing makes the same early commitment, while top-down parsing introduces the boundary jointly with the mother label. A misplaced delimiter can affect several constituents with the same left edge if successive reductions retain it. The bidirectional encoder supplies sentence context in every order, while the traversal order determines which children are complete when the mother label is chosen. Static supervision trains these decisions on gold configurations.
Across all six systems and three seeds, the audit found zero structural departures in 43,488 PTB parses and 6,264 CTB parses after accounting for top-down marker timing. The relaxed in-order domain and the bottom-up fallback each occurred zero times at marker introduction and reduction. For each of those systems this covers 7,248 PTB parses and 1,044 CTB parses. Delimiter-guided top-down parsing delayed delimiter placement at every phrasal opening. The audit places each delimiter at its corresponding opening action before checking the structural schemas (Appendix C).
Binarization also changes the derivation while allowing the original branching structure to be recovered. It imposes a sequence of local compositions and introduces intermediate training targets (Sagae and Lavie, 2005; Watanabe and Sumita, 2015; Liu and Zhang, 2017b; Qi et al., 2026). The direct systems compose the entire annotated child sequence at each phrase-level reduction. The earlier binary bottom-up experiments of Park et al. (2026) used a different model configuration and training schedule. Estimating an effect of binarization against the six present systems would require a binary run with the same protocol.
7 Conclusion
This paper identifies the reduction domain as the common structural object of direct non-binary top-down, in-order, and bottom-up parsing. In an applicable phrase-level reduction, the rightmost delimiter identifies the relevant stack segment, the phrasal marker supplies the mother label, and the completed items in that segment supply the ordered children. The reduction arity is therefore the cardinality of an already identified child sequence rather than an independent parameter of the reduction action.
The formal results separate this representational claim from grammar licensing. A stack invariant is preserved throughout every structural derivation and supports soundness and completeness under both the structural and grammar-licensed relations. The recursively specified static oracle has an exact action count of . More centrally, the global projection-and-lifting theorem ranges over complete successful derivations of all three traversal orders. It shows that each delimiter-guided system and its canonical counterpart construct the same final trees, and hence generate the same tree language, under both relations. Delimiter guidance and canonical domain encoding thus change the derivation representation without changing its tree-building capacity.
The paired experiments show that the factorization can support accurate greedy parsing under static-oracle training. In bottom-up parsing, deriving arity from the stack reduces the learned action inventory by more than two thirds on both treebanks and increases the number of decisions in a gold derivation.
Declaration of Competing Interest
The authors declare no competing interests.
Code availability
The Stanza implementations of all six parsers, along with the notebooks, experiment scripts, and results, are available at https://github.com/jungyeul/generalized-non-binary.
Declaration of generative AI and AI-assisted technologies in the manuscript preparation process
The authors used OpenAI ChatGPT and Codex to edit the language, reorganize parts of the manuscript, and clarify the technical and mathematical exposition. The authors reviewed and edited the resulting text, verified the formal arguments and implementations, and take full responsibility for the article.
Acknowledgments
This work was supported by the Institute for Information & Communications Technology Planning & Evaluation (RS-2025-25461932, the Top-Tier AI Global HRD invitation program, and RS-2022-II220078, Explainable Logical Reasoning for Medical Knowledge Generation).
References
John Bauer and Christopher D. Manning. High-Accuracy Transition-Based Constituency Parsing. In Kenji Sagae and Stephan Oepen, editors, Proceedings of the 18th International Conference on Parsing Technologies (IWPT, SyntaxFest 2025), pages 26–39, Ljubljana, Slovenia, 8 2025. Association for Computational Linguistics. ISBN 979-8-89176-294-7. URL https://aclanthology.org/2025.iwpt-1.4/.
Ezra Black, Steven P. Abney, Dan Flickinger, Claudia Gdaniec, Ralph Grishman, Phil Harrison, Don Hindle, Robert Ingria, Frederick Jelinek, Judith Klavans, Mark Liberman, Mitch Marcus, Salim Roukos, Beatrice Santorini, and Tomek Strzalkowski. A Procedure for Quantitatively Comparing the Syntactic Coverage of English Grammars. In Proceedings of a Workshop on Speech and Natural Language, pages 306–311, Pacific Grove, California, 2 1991. Morgan Kaufmann. URL https://aclanthology.org/H91-1060/.
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. In Jill Burstein, Christy Doran, and Thamar Solorio, editors, Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171–4186, Minneapolis, Minnesota, 6 2019. Association for Computational Linguistics. doi: 10.18653/v1/N19-1423. URL https://aclanthology.org/N19-1423/.
Chris Dyer, Adhiguna Kuncoro, Miguel Ballesteros, and Noah A. Smith. Recurrent Neural Network Grammars. In Kevin Knight, Ani Nenkova, and Owen Rambow, editors, Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics:
Human Language Technologies, pages 199–209, San Diego, California, 6 2016. Association for Computational Linguistics. doi: 10.18653/v1/N16-1024. URL https://aclanthology.org/N16-1024.
Daniel Fernández-González and Carlos Gómez-Rodríguez. Faster shift-reduce constituent parsing with a non-binary, bottom-up strategy. Artificial Intelligence, 275:559–574, 2019. ISSN 0004-3702. doi: https://doi.org/10.1016/j.artint.2019.07.006. URL https://www.sciencedirect.com/science/article/pii/S000437021830540X.
Eunkyul Leah Jo, Angela Yoonseo Park, and Jungyeul Park. A Novel Alignment-based Approach for PARSEVAL Measures. Computational Linguistics, 50(3):1181–1190, 9 2024. URL https://aclanthology.org/2024.cl-3.10.
Jiangming Liu and Yue Zhang. In-Order Transition-based Constituent Parsing. Transactions of the Association for Computational Linguistics, 5:413–424, 2017a. doi: 10.1162/tacl{_}a{_}00070. URL https://aclanthology.org/Q17-1029.
Jiangming Liu and Yue Zhang. Shift-Reduce Constituent Parsing with Neural Lookahead Features. Transactions of the Association for Computational Linguistics, 5:45–58, 2017b. ISSN 2307-387X. URL https://transacl.org/ojs/index.php/tacl/article/view/927.
Mitchell P. Marcus, Mary Ann Marcinkiewicz, and Beatrice Santorini. Building a Large Annotated Corpus of English: The Penn Treebank. Computational linguistics, 19(2):313–330, 1993. URL https://aclanthology.org/J93-2004.
Jungyeul Park, Junrui Wang, Eunkyul Jo, and Angela Park. jp-evalb: Robust Alignment-based PARSEVAL Measures. In Kai-Wei Chang, Annie Lee, and Nazneen Rajani, editors, Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 3: System Demonstrations), pages 70–77, Mexico City, Mexico, 6 2024. Association for Computational Linguistics. URL https://aclanthology.org/2024.naacl-demo.7.
Jungyeul Park, Eunkyul Leah Jo, and Zihao Huang. Non-binary bottom-up constituency parsing without arity actions. In Hung-Yi Lee, Sunipa Dev, Jessy Li, and Desmond Elliott, editors, Findings of the Association for Computational Linguistics: EMNLP 2026, pages 12869–12879, Budapest, Hungary, 10 2026. Association for Computational Linguistics. ISBN 979-8-89176-462-0. URL https://aclanthology.org/2026.findings-emnlp.611/.
Peng Qi, Yuhao Zhang, Yuhui Zhang, Jason Bolton, and Christopher D. Manning. Stanza: A Python Natural Language Processing Toolkit for Many Human Languages. In Asli Celikyilmaz and Tsung-Hsien Wen, editors, Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics: System Demonstrations, pages 101–108, Online, 7 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020.acl-demos.14. URL https://aclanthology.org/2020.acl-demos.14.
Zeyao Qi, Yige Chen, Eitan Klinger, Vivaan Wadhwa, and Jungyeul Park. Better heads do not guarantee better binarized constituency parsing, 2026. URL https://arxiv.org/abs/2605.28131.
Kenji Sagae and Alon Lavie. A Classifier-Based Parser with Linear Run-Time Complexity. In Proceedings of the Ninth International Workshop on Parsing Technology (IWPT2005), pages 125–132, Vancouver, British Columbia, 2005. Association for Computational Linguistics. URL http://www.aclweb.org/anthology/W/W05/W05-1513.
Ann Taylor, Mitchell Marcus, and Beatrice Santorini. The Penn Treebank: An Overview. In Anne Abeillé, editor, Treebanks: Building and Using Parsed Corpora, pages 5–22. Springer Netherlands, Dordrecht, 2003. ISBN 978-94-010-0201-1. doi: 10.1007/978-94-010-0201-1{_}1. URL https://doi.org/10.1007/978-94-010-0201-1_1.
Mengqiu Wang, Kenji Sagae, and Teruko Mitamura. A Fast, Accurate Deterministic Parser for Chinese. In Nicoletta Calzolari, Claire Cardie, and Pierre Isabelle, editors, Proceedings of the 21st International Conference on Computational Linguistics and 44th Annual Meeting of the Association for Computational Linguistics, pages 425–432, Sydney, Australia, 7 2006. Association for Computational Linguistics. doi: 10.3115/1220175.1220229. URL https://aclanthology.org/P06-1054.
Taro Watanabe and Eiichiro Sumita. Transition-based Neural Constituent Parsing. In Chengqing Zong and Michael Strube, editors, Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 1169–1179, Beijing, China, 7 2015. Association for Computational Linguistics. doi: 10.3115/v1/P15-1113. URL https://aclanthology.org/P15-1113.
Nianwen Xue, Fei Xia, Fu-dong Chiou, and Marta Palmer. The Penn Chinese TreeBank: Phrase Structure Annotation of a Large Corpus. Natural Language Engineering, 11(2):207–238, 6 2005. ISSN 1351-3249. doi: 10.1017/S135132490400364X. URL https://doi.org/10.1017/S135132490400364X.
Songlin Yang and Kewei Tu. Bottom-Up Constituency Parsing and Nested Named Entity Recognition with Pointer Networks. In Smaranda Muresan, Preslav Nakov, and Aline Villavicencio, editors, Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2403–2416, Dublin, Ireland, 5 2022. Association for Computational Linguistics. doi: 10.18653/v1/2022.acl-long.171. URL https://aclanthology.org/2022.acl-long.171.
Yue Zhang and Stephen Clark. Transition-Based Parsing of the Chinese Treebank using a Global Discriminative Model. In Harry Bunt and Eric de La Clergerie, editors, Proceedings of the 11th International Conference on Parsing Technologies (IWPT'09), pages 162–171, Paris, France, 10 2009. Association for Computational Linguistics. URL https://aclanthology.org/w09-3825.
Muhua Zhu, Yue Zhang, Wenliang Chen, Min Zhang, and Jingbo Zhu. Fast and Accurate Shift-Reduce Constituent Parsing. In Hinrich Schuetze, Pascale Fung, and Massimo Poesio, editors, Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 434–443, Sofia, Bulgaria, 8 2013. Association for Computational Linguistics. URL https://aclanthology.org/P13-1043.
A Canonical transition systems
For each traversal order , the canonical system has configurations , where is a stack, is the next-input index, and is the completion flag. The initial configuration is . A successful final configuration has the form , where is a completed tree rooted in with yield . Top-down and in-order stacks may contain markers , bare terminals, and completed tree items; bottom-up stacks may contain bare terminals and completed tree items.
Each action below is a partial function on configurations, and their union defines the canonical structural relation . In every schema, denotes an arbitrary stack prefix and the displayed elements constitute its complete suffix. The variables and distinguish preterminal and phrasal instances of the unified label variable . A bare terminal can be reduced only to a preterminal, whereas a nonempty sequence of completed tree items can be reduced only to a phrasal constituent. Every action requires , and no action is applicable after .
An unfinished preterminal construction must be completed before any other transition is taken. In the top-down system, a stack-final admits only SHIFT, and the resulting suffix admits only REDUCE. In the in-order system, a stack-final bare terminal admits only , and the resulting suffix admits only REDUCE. In the bottom-up system, a stack-final bare terminal admits only REDUCE-.
Top-down The canonical top-down action inventory consists of , SHIFT, REDUCE, and FINISH. The expressions and below are typed instances of the single action family
NT(L), and both reduction schemas are instances of the single action REDUCE:
In a phrase-level REDUCE, the displayed NT(X) is the topmost unmatched marker, and are completed tree items with nonempty consecutive yields in left-to-right order. The marker supplies the mother label, and the complete suffix above it supplies the ordered child sequence.
In-order The canonical in-order action inventory likewise consists of SHIFT, NT(L), REDUCE, and FINISH. Its typed transition schemas are
In a phrase-level REDUCE, the displayed marker is the topmost unmatched marker, and are completed tree items with nonempty consecutive yields in left-to-right order. The sequence is empty when k = 1, so unary phrasal constituents remain distinct from preterminal constructions by the type of their sole child.
Arity-specific bottom-up The canonical arity-specific bottom-up action inventory consists of SHIFT, REDUCE-L#k, and FINISH. The preterminal and phrasal schemas are typed instances of the single arity-specific reduction family:
In the phrase-level schema, are completed tree items with nonempty consecutive yields in left-to-right order. The parameter selects the complete top suffix and records its arity. In particular, REDUCE-P#1 applies only to a bare terminal, whereas REDUCE-X#1 applies only to a completed tree item.
Completion and grammar licensing For every traversal order, FINISH applies exactly when all input has been consumed and the stack contains one completed tree rooted in :
The canonical grammar-licensed relation requires every constructed constituent to instantiate a production in . A preterminal reduction constructing requires . A phrase-level reduction constructing requires , where is the root label of . All nonconstructive transitions coincide under the structural and grammar-licensed relations.
B Illustrative oracle derivations
Figure 2 gives the target tree for Ms. Haag plays Elianti., with TOP treated as a phrasal nonterminal. The tree has five terminals, five preterminals, and five phrasal nodes, with phrase-level arities one, two, and three.
Table 7 gives the static oracle sequence for each traversal order. Every sequence contains 26 actions, including FINISH, and is a successful derivation of the tree in Figure 2 under . If the

Figure 2: Target constituency tree for Ms. Haag plays Elianti.
displayed tree is licensed by , the same sequences are derivations under . In each phrase-level construction, the marker follows exactly completed children. In the top-down column, each phrasal is a single action whose stack effect introduces ; hence a delimiter is present even though no D-SHIFT action appears. Preterminal introduces only and no delimiter.
For the in-order and bottom-up sequences, the boundary targets are
while and the boundary target of the final punctuation are undefined. Hence, both sequences introduce delimiters before , , and . The delimiter before is preserved when and are constructed and consumed when its boundary target is constructed. The other two delimiters are consumed when and , respectively, are constructed.
Immediately before constructing the ternary , the three reducible suffixes are
Table 7: Delimiter-guided static-oracle sequences for the tree in Figure 2. Tokens shown with SHIFT and D-SHIFT identify the consumed input token; they are not action parameters. The reduction actions have neither label nor arity parameters.
| Step | Top-down | In-order | Bottom-up |
|---|---|---|---|
| 1 | Nt(TOP) | D-SHIFT(Ms.) | D-SHIFT(Ms.) |
| 2 | Nt(S) | Nt(NNP) | Nt(NNP) |
| 3 | Nt(NP₁) | U-REDUCE | U-REDUCE |
| 4 | Nt(NNP) | Nt(NP₁) | SHIFT(Haag) |
| 5 | SHIFT(Ms.) | SHIFT(Haag) | Nt(NNP) |
| 6 | U-REDUCE | Nt(NNP) | U-REDUCE |
| 7 | Nt(NNP) | U-REDUCE | Nt(NP₁) |
| 8 | SHIFT(Haag) | D-REDUCE | D-REDUCE |
| 9 | U-REDUCE | Nt(S) | D-SHIFT(plays) |
| 10 | REDUCE | D-SHIFT(plays) | Nt(VBZ) |
| 11 | Nt(VP) | Nt(VBZ) | U-REDUCE |
| 12 | Nt(VBZ) | U-REDUCE | D-SHIFT(Elianti) |
| 13 | SHIFT(plays) | Nt(VP) | Nt(NNP) |
| 14 | U-REDUCE | D-SHIFT(Elianti) | U-REDUCE |
| 15 | Nt(NP₂) | Nt(NNP) | Nt(NP₂) |
| 16 | Nt(NNP) | U-REDUCE | REDUCE |
| 17 | SHIFT(Elianti) | Nt(NP₂) | Nt(VP) |
| 18 | U-REDUCE | REDUCE | REDUCE |
| 19 | REDUCE | REDUCE | SHIFT(.) |
| 20 | REDUCE | SHIFT(.) | Nt(.) |
| 21 | Nt(.) | Nt(.) | U-REDUCE |
| 22 | SHIFT(.) | U-REDUCE | Nt(S) |
| 23 | U-REDUCE | D-REDUCE | D-REDUCE |
| 24 | REDUCE | Nt(TOP) | Nt(TOP) |
| 25 | REDUCE | REDUCE | REDUCE |
| 26 | FINISH | FINISH | FINISH |
Deleting the delimiter and marker yields the same ordered reduction domain
in all three cases, and hence the same recovered arity . The top-down sequence constructs with REDUCE; the in-order and bottom-up sequences use D-REDUCE because the active delimiter must remain available for the subsequent construction of TOP.
C Experimental details
Data and preprocessing The PTB split assigns WSJ sections 02–21 to training, section 22 to development, and section 23 to testing. The prepared CTB 5.1 splits follow the basic partition, which assigns documents 001–270 and 440–1151 to training, 301–325 to development, and 271–300 to testing. The runners consume prepared split files. They prune null elements, discard any tree made empty by pruning, simplify functional and coindexation labels, and standardize the outer label to ROOT with one child. The resulting train, development, and test files contain 39,832, 1,700, and 2,416 trees for PTB and 17,544, 352, and 348 for CTB. The trainer removes duplicate trees from the training and development files, giving 39,514 and 1,696 trees for PTB and 16,676 and 326 for CTB. The prepared files for each split have identical content hashes across systems and seeds. The test runs score all 2,416 PTB trees and all 348 CTB trees.
Encoder and action scorer The experiments use a modified Stanza 1.14.0 parser with Python 3.10.12, PyTorch 2.14.1+cu130 and Transformers 4.57.6. The word encoder concatenates pre-trained word vectors, trainable word and POS embeddings, forward and backward character language-model features, and a learned linear mixture of the final four hidden layers of frozen BERT (Devlin et al., 2019). PTB uses bert-large-cased, Stanza's conll17 vectors, and the 1billion character models. CTB uses bert-base-chinese, fasttext157 vectors, and the gigaword character models. A two-layer bidirectional LSTM encodes the words with 256 units per direction. The constituent and transition stacks use two-layer LSTMs with hidden sizes 256 and 20, respectively. Transition and POS embeddings have 20 dimensions, and the trainable word embeddings have 100. Constituent composition takes a coordinatewise maximum over child vectors, followed by a learned transformation. Two affine layers with a ReLU hidden layer of width 256 score the actions. Word, prediction, and LSTM input dropout are 0.2. The models use no additional attention layers.
Training and model selection Before oracle construction, Stanza's default POS pipelines assign XPOS tags to the supplied tokens (combined_charlm for English and gsdsimp_charlm for Chinese). These tags serve as encoder features and as preterminal labels in the training trees. The transition sequences shift bare words and predict the preterminal label through the respective construction actions. Training minimizes the sum of action cross-entropies over each minibatch, with the softmax taken over the learned action inventory. Each of the 200 training iterations takes the next 5,000 trees from shuffled passes through the training set, carrying unused trees forward between iterations.
Training batches contain 16 trees and evaluation batches contain 32. We use AdamW with initial learning rate 0.001, , , and weight decay 0.05 (zero for LSTM biases) in a single training stage. A development-score plateau scheduler multiplies the learning rate by 0.6 after a patience of five iterations, with a ten-iteration cooldown and a floor of . We retain the earliest checkpoint attaining the highest native labeled development , computed with CoreNLP 4.6.0 on the filtered, retagged development trees. The canonical top-down PTB runs resumed from optimizer and scheduler checkpoints after 114, 132, and 132 iterations for seeds 1111, 2222, and 3333, respectively. The sampler and random-number generators were reinitialized on resume. All three runs continued through iteration 200.
Implementation checks at decoding The learned policy scores the observed training action classes and uses order-specific legality checks, including root restrictions and safeguards against unbounded action sequences. The unary limits derived from training are 4 for PTB and 6 for CTB. Both top-down implementations resolve a pending marker's role from the next executed action. A shift identifies a preterminal marker, and a child marker identifies a phrasal marker. In the delimiter-guided implementation, the latter action also materializes the parent's delimiter. The delimiter-guided in-order checks allow a phrasal marker with multiple completed items to its left in the active segment. The delimiter-guided bottom-up checks allow the entire completed stack as the reduction domain when no delimiter is active. All reported test predictions cover the full reference token sequences.
When no delimiter is active, the in-order decoder allows D-SHIFT only from an empty stack. The bottom-up decoder disallows D-SHIFT while a marker is at the top of the stack. In both orders, D-REDUCE requires an active delimiter and a nonroot label. A unary D-REDUCE is subject to the decoder's unary guard. When the delimiter is at the bottom of the in-order stack, only a root reduction may consume it.
Audit of executed transitions We rerun greedy decoding for the 36 test checkpoints on an NVIDIA A100 with length-sorted inputs and the original evaluation batch size of 32. We record the selected actions and replay them against the structural schemas in Section 3 and Appendix A. For top-down traces, we assign each marker its resolved type at its opening action and, in the delimiter-guided variant, place the delimiter at the same action. This moves 139,023 PTB delimiters and 26,917 CTB delimiters one action earlier in the recorded histories. For delimiter-guided in-order and bottom-up traces, we check for the respective relaxed domain at both marker introduction and reduction. The symbolic replay reconstructs every decoded tree from a total of 5,177,168 actions. All 49,752 decoded trees match the archived predictions after reference POS tags are restored.
Test scoring We restore the reference POS labels after decoding and retain the saved ROOT wrappers for both scorers. We run EVALB with the COLLINS.prm file distributed with JP-EVALB, applying the same label exclusions and equivalences to PTB and CTB. We run JP-EVALB in its default alignment mode, which retains punctuation. The scoring records identify the exact revisions of both scorers. For each seed, we compute corpus-level from the matched, predicted, and gold bracket totals. We round the mean and sample standard deviation only after aggregating across seeds.
Data provenance The Linguistic Data Consortium distributes both corpora under license. We use Penn Treebank 3 (LDC99T42) and the Chinese Treebank 5.1 update to LDC2005T01.