Overview
This research introduces a "stacked" framework for dependency parsing that bridges the gap between two traditionally competing approaches: graph-based and transition-based parsers. By utilizing the output of one parser as a rich feature set for a second, the authors achieve state-of-the-art accuracy across 12 languages while maintaining the computational efficiency of simpler models.
The Representation-Efficiency Tradeoff
In dependency parsing—the task of predicting the grammatical structure of a sentence—researchers typically face a fundamental tradeoff between representation and efficiency:
- Graph-based parsers (e.g., MSTParser) are mathematically elegant and capable of finding globally optimal trees. However, to remain computationally efficient ($O(n^2)$ or $O(n^3)$), they often rely on "arc factorization," assuming each arc is independent. This prevents them from considering broader, non-local context.
- Transition-based parsers (e.g., MaltParser) are greedy and fast. They can utilize rich, non-local features because they build trees incrementally. However, local decision-making lacks global optimality guarantees and is prone to "garden path" errors, where an early mistake cascades through the rest of the parse.
The proposed stacked architecture seeks to integrate the rich features of the transition-based approach with the global optimality and efficiency of graph-based methods.
Methods: Stacked Learning
The authors employ a two-level architecture known as Stacked Learning:
- Level 0: A "base" parser (either transition-based or graph-based) processes the input sentence to produce an initial dependency tree.
- Level 1: A second, graph-based parser takes the original sentence along with the predictions from Level 0. It treats these predictions as "guide features" or "hints," allowing it to observe whether the Level 0 parser identified specific words as "grandparents" or "siblings."
To prevent the Level 1 parser from becoming over-reliant on a "perfect" Level 0 parser during training, the authors use a cross-validation approach. They split the training data, training Level 0 on one portion and having it predict on the other. This ensures the Level 1 parser learns to navigate the actual types of errors the base parser is likely to make in practice.
Key Results
The models were evaluated on the CoNLL-X shared task datasets, covering 12 diverse languages: Arabic, Bulgarian, Chinese, Danish, Dutch, German, Japanese, Portuguese, Slovene, Spanish, Swedish, and Turkish.
- Broad Success: Stacked models improved performance over baseline parsers in nearly every language tested. The combination of Malt (Level 0) + MST (Level 1) achieved the most significant improvements.
- Complexity Reduction: A stacked $O(n^2)$ model (Malt + MST 1st-order) was able to bridge the gap and even exceed the performance of much slower, more complex $O(n^3)$ models. This represents a major win for practical efficiency.
Key Insights and Ideas
- Approximating Higher-Order Features: Stacking serves as a clever way to approximate complex features. Instead of increasing mathematical complexity to account for siblings and grandparents directly, a simpler parser "summarizes" that context into a digestible feature for the second parser.
- Diversity Matters: Stacking is most effective when the two parsers are distinct. Stacking a graph-based parser with itself yields minimal gains because their errors are highly correlated. Conversely, stacking Malt with MST provides a significant boost because their error patterns are distinct.
- Disagreement as Confidence: The authors discovered that when the Level 0 and Level 1 parsers disagree significantly (measured by Hamming distance), final accuracy tends to drop. This suggests that the "disagreement" between levels can serve as a built-in confidence measure.
Limitations and Future Work
While the Level 1 parser remains efficient, the primary limitation is computational overhead: inference requires running two parsers, increasing total time and memory requirements. Future work could explore richer feature engineering beyond the five types tested (PredEdge, Sibling, etc.) or investigate architectures involving more than two levels and ensembles of multiple base parsers.
Summary updated