NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Feature Selection in Kernel Space: A Case Study on Dependency Parsing

Xian Qian, Yang LiuACL 2015

Introduction

In Natural Language Processing, researchers often face a trade-off between the expressive power of a model and its computational efficiency. Linear models are highly efficient but typically require extensive manual "feature engineering" to capture complex contextual relationships. Conversely, kernel methods (such as Polynomial or Tree kernels) can automatically explore vast feature combinations, but they scale poorly—computing a kernel matrix for datasets like the Penn Tree Bank often requires $O(N^2)$ time, making them computationally prohibitive for large-scale tasks.

This paper introduces a novel feature selection method that bridges this gap. By utilizing an $L_1$ norm SVM and a specialized "gradient mining" algorithm, the authors explicitly select high-order features from massive kernel spaces. This approach allows them to train a fast linear model that achieves a state-of-the-art 93.72% Unlabeled Attachment Score (UAS) on English dependency parsing without relying on external data resources.

The Feature Selection Framework

The core of the proposed method is an $L_1$ norm SVM-based feature selection process using subgradient descent. To manage the "feature explosion" that occurs when moving from simple unigrams to complex subtree combinations, the authors implement several key innovations:

  1. Gradient Mining & Anti-monotone Property: The authors observe that the "steepness" (subgradient) of a complex combined feature is bounded by the subgradients of its simpler components. If a basic feature does not significantly reduce model error, its more complex extensions are unlikely to be useful. This allows the algorithm to safely "prune" entire branches of the feature search space.
Pruning the feature search space using the anti-monotone property of subgradients.
  1. Coarse-to-Fine Iteration: Features are processed in segments by "order," starting with first-order features and progressively moving to higher-order combinations.
  2. Spectral Bloom Filters: To handle millions of candidate features within limited RAM, the authors use Spectral Bloom Filters—a probabilistic data structure—to estimate feature frequencies and gradients before materializing them in the model.

Dependency Tree Kernels (DTK)

The authors define a specific kernel for dependency parsing designed to capture all possible subtrees. Using a "rightmost-extension" method, they can enumerate these subtrees in $O(L^3)$ time, where $L$ is the sentence length. This systematic enumeration allows the model to discover high-order structural features that would be nearly impossible to design manually.

Enumeration of subtrees as high-order features in a dependency tree kernel.

Key Results and Performance

The proposed feature-selected linear model (LM with DTK) demonstrated significant improvements in both accuracy and speed over traditional kernel methods:

  • State-of-the-Art Accuracy: The model achieved a 93.72 UAS on the Penn Tree Bank (PTB) dataset, outperforming the full Dependency Tree Kernel (DTK) method (93.65 UAS).
  • Efficiency Gains: While the full Tree Kernel method required 10 days to train, the feature selection approach reached superior results in just 36 hours. For simpler quadratic kernels, training time plummeted from 6 hours to only 9 minutes.
  • Multilingual Robustness: Evaluated on the CoNLL 2009 Shared Task, the system achieved the best reported results for Japanese, Spanish, and Czech.

Conclusion and Future Work

By using kernel spaces to discover features rather than using the kernel trick during inference, the authors created a system that combines the accuracy of high-order modeling with the speed of linear inference. While the 36-hour training time remains significant and the model is sensitive to the regularization threshold $C$, the success of this "mining" approach suggests potential applications in other NLP tasks, such as sequence labeling via string kernels.

Summary updated

BibTeX
@inproceedings{qian2015feature,
  author = {Xian Qian and Yang Liu},
  title = {{Feature Selection in Kernel Space: A Case Study on Dependency Parsing}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2015},
  doi = {10.3115/v1/p15-1114},
}
Figure