Using a maximum entropy-based tagger to improve a very fast vine parser

Anders Søgaard, Jonas KuhnIWPT 2009

Abstract: Anders Søgaard, Jonas Kuhn. Proceedings of the 11th International Conference on Parsing Technologies (IWPT’09).

2009.

Introduction

In Natural Language Processing, dependency parsing—the task of mapping grammatical relationships between words—often involves a compromise between speed and accuracy. State-of-the-art systems like MSTParser or MaltParser provide high accuracy but are computationally intensive to train and deploy. In contrast, "vine parsers" are designed for extreme efficiency, running in linear time with minimal models, but they have historically suffered from significantly lower accuracy.

This paper demonstrates a method to close this accuracy gap without sacrificing the vine parser's signature speed. By utilizing a standard Maximum Entropy-based Part-of-Speech (POS) tagger as a preprocessing step to provide "hard constraints," the authors achieved accuracy gains of 1–5% across multiple languages.

Methods

The proposed hybrid approach uses a tagger to provide structural constraints that the parser is forced to respect. The methodology consists of four key components:

  1. Tagger as Partial Parser: A standard tagger is trained to identify three structural features: ROOT (the sentence head), LEFT (a word whose head is immediately to its left), and RIGHT (a word whose head is immediately to its right).
  2. Hard Constraints: The vine parser is restricted to only consider dependency trees that align with the tagger's high-precision predictions.
  3. Simplified Chu-Liu-Edmonds: The underlying parser uses a version of the Chu-Liu-Edmonds algorithm without cycle contraction. This maintains speed, and the authors argue that enforcing acyclicity in this low-resource context can actually degrade performance.
  4. Discriminative Learning: A tuning phase determines optimal dependency length constraints for different POS tags, helping the parser decide the search radius for head words.
Performance of the tagger in predicting ROOT, LEFT, and RIGHT constraints across six languages.

Key Insights

A central finding is that for hard constraints, precision is more critical than recall. As shown in the tagger performance data, the system is remarkably good at identifying local dependencies and roots with high precision (often exceeding 85-90% for certain categories). Because taggers only examine a limited local window, they are significantly faster than full parsers that must evaluate all possible word pairings.

Results

The researchers evaluated the system on six typologically diverse languages: Arabic, Czech, Dutch, Italian, Japanese, and Turkish. Most data was sourced from the CoNLL-X Shared Task (2006).

Comparison of Unlabeled Attachment Scores (ULA) across different models and language datasets.

As illustrated in the results table, the extended vine parser (Vine+ROOT+LEFT+RIGHT) improved Unlabeled Attachment Scores (ULA) by 1–5% compared to the baseline vine parser. Specifically:

  • Significant Gains: Absolute improvements were $\ge 2\%$ in four of the six languages, with Dutch seeing the largest jump (over 4%).
  • Competitive Performance: The system outperformed a POS-restricted version of MaltParser in 5 out of 6 languages.
  • Efficiency: Training takes only minutes, and parsing a standard test suite requires less than two seconds—orders of magnitude faster than standard graph-based parsers.

Limitations and Future Work

While effective, this hard-constraint strategy is currently limited to graph-based or constraint-based parsers and does not easily translate to sequential "history-based" parsers. Additionally, the current implementation only produces unlabeled dependency graphs. Future research will explore using taggers to identify more complex grammatical functions and testing whether this strategy scales to higher-accuracy parsers like MSTParser.

Summary updated

BibTeX
@inproceedings{sgaard2009using,
  author = {Anders Søgaard and Jonas Kuhn},
  title = {{Using a maximum entropy-based tagger to improve a very fast vine parser}},
  booktitle = {IWPT},
  year = {2009},
  url = {https://openreview.net/forum?id=eF0be7YrlnU},
}
Figure