Static and Dynamic Feature Selection in Morphosyntactic Analyzers

Bernd Bohnet, Miguel Ballesteros, Ryan T. McDonald, Joakim NivrearXiv 2016

Abstract

We study the use of greedy feature selection methods for morphosyntactic tagging under a number of different conditions. We compare a static ordering of features to a dynamic ordering based on mutual information statistics, and we apply the techniques to standalone taggers as well as joint systems for tagging and parsing. Experiments on five languages show that feature selection can result in more compact models as well as higher accuracy under all conditions, but also that a dynamic ordering works better than a static ordering and that joint systems benefit more than standalone taggers. We also show that the same techniques can be used to select which morphosyntactic categories to predict in order to maximize syntactic accuracy in a joint system. Our final results represent a substantial improvement of the state of the art for several languages, while at the same time reducing both the number of features and the running time by up to 80% in some cases.

Introduction

Morphosyntactic tagging—the identification of parts of speech (POS) and grammatical features such as gender, number, and case—is a fundamental task in natural language processing. Modern systems increasingly employ "joint" models that perform tagging and dependency parsing simultaneously to leverage mutual dependencies and improve accuracy.

However, these joint models often suffer from extreme complexity. To achieve high performance, researchers typically utilize millions of feature templates based on word forms, suffixes, and context. In morphologically rich languages like Russian or Hungarian, the resulting search space can be massive, leading to significant computational overhead. This research investigates whether greedy feature selection can automatically prune these sets to create leaner, faster models without sacrificing accuracy.

Methodology

The core approach explored is Greedy Forward Feature Selection. This iterative process begins with an empty feature set and evaluates features one by one, adding a feature to the set only if it provides a measurable improvement in accuracy on a development set.

Greedy Forward Feature Selection Algorithm

The study compares two primary strategies for ordering features during this selection:

  1. Static Feature Ordering: Features are evaluated in a fixed, human-predefined sequence.
  2. Dynamic Feature Ordering (MRMR): This strategy utilizes Minimal Redundancy Maximal Relevance. At each step, it calculates Mutual Information statistics to select the feature that is most predictive of the output (Maximal Relevance) while being least similar to features already in the set (Minimal Redundancy).

These methods were tested on both standalone taggers and joint tagger-parsers across five diverse languages: Chinese (CTB5), English (WSJ), German (Tiger), Hungarian (Szeged), and Russian (SynTagRus).

Analysis and Insights

The experiments revealed several critical insights into the nature of feature engineering for NLP:

  • Joint Models Benefit More: While feature selection helps standalone taggers, its impact is most profound in joint models. The global syntactic context provided by the parser allows the tagger component to function effectively with fewer complex local features.
  • Redundancy is a Primary Bottleneck: The dynamic MRMR approach consistently produced more compact models than static ordering. By explicitly penalizing redundancy, the algorithm ensures that every added feature provides unique information.
  • Feature Selection as Regularization: Counter-intuitively, reducing the feature count often led to higher accuracy. This suggests that greedy selection acts as a form of regularization, preventing the model from overfitting to noisy or irrelevant patterns present in the full feature set.
  • Selective Morphology: Beyond feature templates, the authors applied selection to morphological attributes themselves. They found that while some traits (like "case" in German) are essential for parsing, others (like "gender") can often be omitted with no loss in syntactic accuracy.

Key Results

The results demonstrate that "less is more." Across all languages, the proposed selection methods achieved state-of-the-art accuracy while dramatically reducing model size.

Performance Comparison: Pipeline vs. Joint Systems across Languages

As shown in the comparative results, the number of feature templates (the '#' column) was reduced from 74 to as few as 9-20 in joint systems—a reduction of up to 78%. This compression translated directly into performance gains, with running times reduced by up to 80% in some instances (e.g., from 0.015s to 0.003s per sentence). Despite the smaller footprint, the joint models outperformed established benchmarks like the Stanford Tagger and MarMot, particularly in morphologically complex languages like Russian.

Conclusion

This work proves that automated feature selection is a powerful tool for optimizing morphosyntactic analyzers. By balancing relevance and redundancy, particularly through dynamic ordering, it is possible to build models that are both faster and more accurate than those using exhaustive feature sets. While the greedy search is a heuristic and may not find the absolute global optimum, its practical benefits in terms of speed and regularization are significant. Future research may extend these principles to neural architectures, where the challenge of architectural redundancy remains a key area for optimization.

Summary updated

BibTeX
@misc{bohnet2016static,
  author = {Bernd Bohnet and Miguel Ballesteros and Ryan T. McDonald and Joakim Nivre},
  title = {{Static and Dynamic Feature Selection in Morphosyntactic Analyzers}},
  year = {2016},
  eprint = {1603.06503},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1603.06503},
}
Figure