Semi-Supervised Feature Transformation for Dependency Parsing

Wenliang Chen, Min Zhang, Yue Zhang

Introduction

Dependency parsing, the process of identifying grammatical relationships between words in a sentence, is a fundamental task in natural language processing. While supervised learning has driven significant progress, modern parsers often struggle with the "curse of dimensionality." High-dimensional feature sets, which incorporate word pairs, triples, and contextual information, frequently lead to data sparseness. In practice, many features encountered during testing may have appeared rarely or not at all in the training corpus, causing a sharp decline in parser performance when the model encounters these "unseen" structures.

Methodology: Feature Transformation

To address this, the authors introduce a semi-supervised Feature Transformation method. This approach leverages massive amounts of unannotated text to "smooth" the feature space by converting sparse, high-dimensional base features into a compact set of informative meta-features based on their frequency in the wild.

The process involves three primary stages:

  1. Large-Scale Auto-Parsing: A baseline parser, trained on a limited set of gold-standard data, is used to process millions of unannotated sentences (e.g., news archives). This generates a large, albeit noisy, corpus of dependency trees.
  2. Feature Mapping: Base features (e.g., "is word A the head of word B?") are extracted from the auto-parsed corpus. These features are then categorized into four frequency-based bins: Highly Frequent (Hi), Moderately Frequent (Mi), Low Frequency (Li), and Unseen (Oi).
  3. Meta-Feature Generation: These bins serve as "meta-features." Instead of relying solely on specific word-pair features, the model incorporates information about the frequency category of a feature. This allows the parser to generalize from well-attested structures in the large-scale corpus to similar structures in the test data.
The Feature Transformation process: mapping base features from an auto-parsed sentence to frequency-based meta-features.

Experimental Setup

The method was evaluated on two major benchmarks for dependency parsing:

  • English: The Penn Treebank (PTB) was used for supervised training and testing, while the BLLIP WSJ corpus (~43 million words) provided the unannotated data for feature transformation.
  • Chinese: The Chinese Treebank 5.1 (CTB5) served as the gold standard, with the Xinhua portion of the Chinese Gigaword (~311 million words) used for auto-parsing.

Key Results and Analysis

The resulting "MetaParser" demonstrated significant improvements over baseline models, achieving state-of-the-art results at the time of publication. In Chinese, it achieved an Unlabeled Attachment Score (UAS) of 83.08%, a 2.07-point absolute improvement over the baseline. In English, it reached 93.77% UAS, making it comparable to much more complex semi-supervised systems.

A critical finding was the parser's robustness to unseen data. Analysis showed that as the number of "unknown" features in a sentence increases (represented by higher bins in performance analysis), the performance gap between the MetaParser and the baseline grows larger. By utilizing frequency signals from the unannotated corpus, the MetaParser effectively bridges the gap between known training examples and unknown test instances.

Accuracy of the MetaParser on English and Chinese datasets across different bins, representing varying levels of feature sparsity and sentence complexity.

Conclusion

The proposed semi-supervised feature transformation offers a computationally efficient and effective solution to the data sparseness problem. By using frequency as a proxy for reliability, the model learns to trust certain grammatical structures even when specific word combinations are rare in the training set. While the method's success depends on the quality of the initial baseline parser, its simplicity and performance gains make it a powerful tool for improving dependency parsing across different languages.

Summary updated

BibTeX
@inproceedings{chen2013semi,
  author = {Wenliang Chen and Min Zhang and Yue Zhang},
  title = {{Semi-Supervised Feature Transformation for Dependency Parsing}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2013},
  doi = {10.18653/v1/d13-1129},
}
Figure