Abstract
Dependency parsing is a critical task in natural language processing, yet high-order graph-based models often suffer from prohibitive $O(n^4)$ complexity. This paper introduces a multi-pass "coarse-to-fine" architecture that achieves speed-ups of up to two orders of magnitude (100x–200x) without sacrificing accuracy. By utilizing a linear-time "vine pruning" pass to filter out unlikely dependencies early, the authors develop a third-order parser that is faster than a standard, unpruned first-order parser.
Introduction: The Accuracy-Speed Trade-off
Identifying grammatical relationships between words—dependency parsing—traditionally involves a trade-off between speed and accuracy. Graph-based models offer high accuracy by considering global sentence structure but are computationally expensive. Conversely, transition-based models are fast (linear time) but often less accurate due to greedy local decision-making. This research seeks to bridge this gap, combining the speed of linear-time algorithms with the global optimization capabilities of high-order graph-based models.
Methodology: Structured Prediction Cascades
The core innovation is a multi-pass cascade that progressively narrows the search space for dependencies.
Vine Pruning
The first pass employs a "vine parser," a restricted model that only considers "short" arcs (dependencies between nearby words). Operating in linear time ($O(n)$), it ignores long-distance relationships. To prevent irreversible errors, it uses "outer arcs"—placeholders that defer long-distance head-modifier decisions to subsequent, more powerful passes.
Pruning as a Specialized Task
Unlike standard parsers trained for accuracy, these early passes are trained specifically to prune. Using a "filter loss," the models are penalized only if they discard a correct (gold) dependency. This ensures that the cascade maintains high recall in its early stages.
Higher-Order Refinement
Once the vine parser eliminates approximately 86% of possible arcs, subsequent first-, second-, and third-order models evaluate only the remaining candidates. This drastic reduction in the search space makes the final, most complex pass significantly more efficient.
Key Insights: The "Banded" Nature of Language
The effectiveness of vine pruning rests on the observation that most linguistic dependencies are local. In a head-modifier matrix, the probability mass is heavily concentrated along the diagonal.
By exploiting this physical reality of syntax, the vine pass can safely discard the majority of the search space. The use of "deferred ambiguity" via outer arcs allows the linear-time model to acknowledge its limitations, passing difficult decisions to the higher-order models.
Results and Evaluation
The system was evaluated on the English Penn WSJ Treebank (PTB) and six languages from the CoNLL-X shared task (Bulgarian, Chinese, Japanese, German, Portuguese, and Swedish).
- Massive Speedups: The third-order cascade is 200x faster than an unpruned third-order baseline.
- Efficiency vs. Complexity: The pruned third-order model is twice as fast as a standard, unpruned first-order model, despite its increased mathematical complexity.
- Accuracy Preservation: The system preserves >98% of correct arcs during pruning, with final Unlabeled Attachment Scores (UAS) comparable to state-of-the-art exhaustive parsers.
- Cross-Linguistic Robustness: The method proved effective even for languages with freer word order, such as German, suggesting the "vine" assumption is robust across grammars.
Conclusion and Future Work
While this coarse-to-fine approach lacks the theoretical global optimum guarantees of A* search, it consistently finds the correct parse in practice. Future work may focus on optimizing feature extraction, which becomes a bottleneck as the search space shrinks. The success of this pruning strategy suggests that even higher-order models, currently deemed computationally impossible, may be within reach.
Summary updated