Abstract
Syntactic dependency parsing has traditionally relied on complex architectures such as transition-based or graph-based systems to identify grammatical heads. This paper proposes a radical simplification: reframing dependency parsing as a standard sequence labeling task. By representing the head of a word as a relative position offset, a bidirectional LSTM (BiLSTM) model can effectively learn to predict tree structures. Evaluated across 15 languages, the "Parsing as Tagging" (PaT) framework proves to be highly competitive, often outperforming more complex state-of-the-art models while maintaining architectural simplicity.
Introduction
Identifying the grammatical "head" of every word in a sentence is a fundamental task in natural language processing. While early algorithms suffered from high computational complexity ($O(n^3)$), modern parsers have achieved linear or quadratic runtimes. However, these systems still depend on intricate mechanisms like pointer networks or stack-based state management. This work investigates whether parsing can be reduced to a simple sequence tagging task—akin to Part-of-Speech (POS) tagging—without sacrificing accuracy.
Methodology
The core of the proposed approach is the PaT (Parsing as Tagging) framework. It eliminates the need for graph-building or stack management by treating the dependency head as a relative offset from the modifier word.
The Tagging Scheme
For any given word, the model predicts a "tag" representing the distance to its parent. For example, in the sentence "John eats cake," if "eats" is the head of "cake," and "eats" is one position to the left, the tag for "cake" is -1. The root of the sentence is assigned a tag of 0.
Model Architecture
The architecture utilizes a rich set of input representations, including frozen BERT embeddings, standard word embeddings, character-level CNN encodings, and POS embeddings. These are processed by a bidirectional LSTM (BiLSTM) backbone. The resulting hidden states are passed to two separate Multi-Layer Perceptrons (MLPs) to predict the relative position (the tag) and the dependency label (e.g., nsubj, dobj).
Structural Constraints
Since independent sequence tagging does not guarantee a valid tree structure, the authors explore post-processing techniques such as greedy cycle removal and the Chu-Liu-Edmonds algorithm for Maximum Spanning Trees (MST) to ensure the final output is a well-formed dependency tree.
Experimental Setup
The PaT model was evaluated on two major benchmarks:
- Universal Dependencies (UD) Treebank: Covering 15 diverse languages, including English, Arabic, Japanese, and several European languages.
- Stanford Dependencies (SD): A conversion of the Penn Treebank used for historical comparison against a wide array of parsing models.
Results and Discussion
The experimental results demonstrate that local sequence modeling can effectively capture global syntactic structures.
Performance Across Languages
PaT achieved state-of-the-art (SOTA) results on several UD languages, notably English (+1.76% UAS), French (+1.98% UAS), and German (+1.16% UAS). Across the full 15-language set, the model remained highly consistent, trailing the previous SOTA by an average of only 0.16% UAS.
Key Insights
- BiLSTM Importance: Ablation studies show the BiLSTM is the critical component for capturing the necessary global context for local tagging decisions. Removing it causes performance to drop significantly (from ~92% to ~64% UAS).
- Natural Tree Emergence: Despite the lack of explicit tree constraints during inference, only ~5% of sentences produced cycles, suggesting the model naturally learns linguistic tree structures.
- Distance Sensitivity: The model is highly accurate for short-range dependencies (within 3 tokens) but exhibits higher error rates as the distance between head and modifier increases.
Conclusion
The "Parsing as Tagging" approach demonstrates that extreme architectural simplicity can rival complex, specialized parsing systems. By leveraging the contextual power of BiLSTMs and a simple relative-offset tagging scheme, PaT provides an efficient and effective alternative for dependency parsing. Future work may involve integrating tree constraints directly into the training process or addressing the limitations of fixed-window classification for extremely long-distance dependencies.
Summary updated