Introduction
Dependency parsing is a fundamental task in natural language processing, involving the mapping of grammatical structures within sentences. Statistical parsers typically rely on extensive sets of "feature templates"—combinations of linguistic data such as part-of-speech tags, lemmas, or stack positions—to guide transition decisions. While the prevailing "more is better" approach often leads researchers to include hundreds of templates, this practice results in massive feature kernels that increase memory overhead and slow down both training and inference. Furthermore, redundant or noisy features can degrade model accuracy. This paper presents an automatic feature selection framework designed to identify an optimal subset of features that maintains high accuracy while significantly improving computational efficiency.
Methodology
The proposed framework is built upon the Mate parser, a high-performance system utilizing transition-based beam search. The core of the approach is a Forward Feature Selection algorithm that iteratively refines the feature set:
- Initialization: The process begins with a small, established default set of features.
- Iterative Testing: New feature templates are evaluated one by one from a candidate pool of 326 templates.
- Thresholding: A candidate feature is retained only if its inclusion improves the Labeled Attachment Score (LAS) by more than a predefined threshold ($\Delta$).
- Pruning Rules: To accelerate the search, the algorithm employs pruning heuristics. For instance, if a feature examining a specific buffer position is rejected, subsequent features targeting deeper buffer positions are bypassed.
The researchers found that a threshold of $\Delta = 0.0$ generally provided the most effective balance between model parsimony and parsing accuracy.
Experimental Setup
The framework was evaluated across five linguistically diverse languages to demonstrate its generalizability:
- English: Wall Street Journal (WSJ) section of the Penn Treebank.
- German: Tiger Treebank.
- Chinese: Penn Chinese Treebank 5.1 (CTB5).
- Hungarian: Szeged Dependency Treebank.
- Russian: SynTagRus Treebank.
Results and Discussion
The automatic selection process revealed that the "optimal" feature set is highly language-dependent. Morphologically rich languages like Russian and Hungarian benefit from distinct feature combinations compared to English. A key finding was the "saturation" effect: beyond a certain point, additional features increase computational complexity without yielding significant accuracy gains.
Performance and Efficiency
By reducing the number of feature templates by approximately two-thirds across all tested languages, the authors achieved substantial performance gains:
- Speed: The optimized transition-based parser was twice as fast as the baseline, reducing per-sentence parsing time from 0.085s to 0.042s on a single CPU core.
- Accuracy: The models achieved state-of-the-art results for Chinese, Russian, and Hungarian. For English, the model reached a 93.49 Unlabeled Attachment Score (UAS).
- Memory: The feature kernel size was drastically reduced—from 75.8 million features to as few as 17.8 million in some configurations—lowering the hardware requirements for deployment.
Conclusion
This research demonstrates that automatic feature selection can produce dependency parsers that are both faster and more accurate than those using manually curated, exhaustive feature sets. While the initial search process is computationally intensive, the resulting models offer significant advantages for real-world applications. Future work may explore more advanced search strategies or the interaction between selected features and different machine learning kernels.
Summary updated