[Paper Review] Strongly Incremental Constituency Parsing with Graph Neural Networks
This paper proposes a novel strongly incremental transition system called attach-juxtapose for constituency parsing, where each action integrates exactly one token into a single, growing parse tree using graph neural networks (GNNs) to encode structural features. The method achieves state-of-the-art performance on Chinese Treebank (F1: 93.59) and matches or exceeds existing parsers on Penn Treebank, demonstrating that human-aligned, strongly incremental parsing with GNNs improves syntactic structure learning.
Parsing sentences into syntax trees can benefit downstream applications in NLP. Transition-based parsers build trees by executing actions in a state transition system. They are computationally efficient, and can leverage machine learning to predict actions based on partial trees. However, existing transition-based parsers are predominantly based on the shift-reduce transition system, which does not align with how humans are known to parse sentences. Psycholinguistic research suggests that human parsing is strongly incremental: humans grow a single parse tree by adding exactly one token at each step. In this paper, we propose a novel transition system called attach-juxtapose. It is strongly incremental; it represents a partial sentence using a single tree; each action adds exactly one token into the partial tree. Based on our transition system, we develop a strongly incremental parser. At each step, it encodes the partial tree using a graph neural network and predicts an action. We evaluate our parser on Penn Treebank (PTB) and Chinese Treebank (CTB). On PTB, it outperforms existing parsers trained with only constituency trees; and it performs on par with state-of-the-art parsers that use dependency trees as additional training data. On CTB, our parser establishes a new state of the art. Code is available at https://github.com/princeton-vl/attach-juxtapose-parser.
Motivation & Objective
- To develop a parsing system that aligns with human parsing behavior, which is strongly incremental—processing one token at a time and maintaining a single, coherent partial tree.
- To address the limitations of traditional shift-reduce parsers, which represent partial sentences as disconnected subtrees and do not reflect human syntactic processing.
- To leverage graph neural networks (GNNs) for encoding the evolving parse tree structure at each step, enabling richer structural supervision.
- To demonstrate that a strongly incremental system with a single-tree state representation improves parsing accuracy, especially in low-resource or structurally complex settings.
Proposed method
- Proposes the attach-juxtapose transition system, where each action either attaches a new token as a child to an existing node or juxtaposes it as a sibling by creating a shared parent.
- Represents the partial sentence as a single connected parse tree at each step, preserving full syntactic structure for partial inputs.
- Employs a graph neural network (GNN) to encode node representations in the current partial tree, capturing both content and positional features.
- Uses an attention mechanism over the GNN-embedded nodes to predict the next action (attach or juxtapose) and the target node for integration.
- Separates content and position features in GCN layers to improve model capacity and performance, consistent with prior work on sequence modeling.
- Trains the model end-to-end using supervised learning on constituency treebanks, with the decoder generating actions step-by-step to build the full parse tree.
Experimental results
Research questions
- RQ1Can a strongly incremental transition system that grows a single parse tree by adding one token per step improve constituency parsing performance compared to traditional shift-reduce systems?
- RQ2Does representing partial sentences as a single connected tree, rather than a stack of subtrees, provide stronger structural supervision for neural action prediction?
- RQ3Can graph neural networks effectively encode evolving parse tree structures to guide action generation in a strongly incremental parsing framework?
- RQ4How does the proposed attach-juxtapose system compare in efficiency and accuracy to existing transition-based parsers, especially those using dependency tree supervision?
- RQ5To what extent does separating content and position features in GNN layers improve parsing performance in this strongly incremental setting?
Key findings
- On the Penn Treebank (PTB), the proposed parser achieves an F1 score of 96.34, outperforming existing parsers trained only on constituency trees and matching state-of-the-art models that use additional dependency tree supervision.
- On the Chinese Treebank (CTB), the model achieves a new state-of-the-art F1 score of 93.59, representing a 0.95 absolute improvement over the previous best result.
- The ablation study confirms that separating content and position features in GCN layers improves performance, with a 0.09 F1 point gain on PTB and a 0.10 F1 point gain on CTB compared to vanilla GCN layers.
- Error analysis shows the model reduces common parsing errors like 'Clause Attachment' and 'XoverX Unary' compared to prior work, while slightly increasing 'PP Attachment' and 'UNSET move' errors.
- Theoretical analysis proves that any parse tree without unary chains can be uniquely constructed via a sequence of attach-juxtapose actions, and such sequences are shorter than those in the In-order Shift-reduce System (n vs. n+2m actions).
- The model is the first to apply graph neural networks to constituency parsing in a strongly incremental transition setting, demonstrating the effectiveness of GNNs for structural sequence modeling in syntactic parsing.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.