Feature Embedding for Dependency Parsing

Wenliang Chen, Yue Zhang, Min Zhang

Abstract: Discriminative dependency parsing often suffers from severe feature sparseness due to the reliance on complex, hand-crafted feature templates. This paper proposes a novel method to learn dense, low-dimensional distributed representations (embeddings) for features rather than just words. By defining structural contexts within dependency trees and training a Skip-gram-style model on millions of auto-parsed sentences, the authors demonstrate that feature embeddings can significantly improve parsing accuracy for both English and Chinese benchmarks.

Introduction

State-of-the-art discriminative dependency parsers rely heavily on rich, hand-crafted features. Because linear models struggle to capture complex correlations between atomic features (like a single word or a part-of-speech tag), researchers manually combine them into highly specific templates. While these complex lexicalized features are highly discriminative, they are incredibly sparse. In typical training sets, many feature combinations seen at test time never appear during training, leading to the "unseen feature" problem. This work addresses this by capturing underlying similarities between sparse features using massive amounts of unannotated text.

Methodology

Defining Feature Context

The core innovation of this work is the application of the embedding concept to features. In standard word embeddings, "context" is defined by a sliding window of adjacent words. For feature embeddings, the authors define an $M$-step structural context based on the dependency tree structure. For a specific dependency arc, its context consists of the features on arcs that are $M$ edges away in the tree.

Mapping dependency tree structures to feature contexts.

Learning and Integration

The authors parse massive amounts of raw text using a baseline parser to generate auto-parsed trees. They then adapt the Skip-gram model with Negative Sampling to predict surrounding features in a 1-step context.

Framework for learning feature embeddings from structural contexts.

Because baseline graph-based parsers typically use binary features, the continuous real numbers of the learned embeddings must be integrated carefully. The authors introduce a discretization function that converts continuous embedding vectors into discrete, binary "embedding features" based on their distribution. This allows the dense information to be utilized within a standard Margin Infused Relaxed Algorithm (MIRA) framework without overpowering the original sparse features.

Experimental Results

The addition of Feature Embedding (FE) yielded significant improvements over strong graph-based baselines across multiple languages:

  • English (Penn Treebank): Unlabeled Attachment Score (UAS) improved from 92.78% to 93.74%, and complete tree match (COMP) jumped from 48.08% to 50.82%.
  • Chinese (CTB5): UAS improved from 81.04% to 82.94%, and COMP improved from 29.73% to 31.72%.

Interestingly, the authors found that feature embeddings peaked at a surprisingly low dimensionality—just 10 dimensions yielded the best performance, suggesting that the structural information required for parsing is highly concentrated.

Conclusion

This research demonstrates that features, like words, possess structural contexts that can be leveraged to learn meaningful distributed representations. By bridging the gap between deep-learning-style embeddings and traditional linear NLP models through discretization, the authors provide a viable alternative to word-cluster-based semi-supervised approaches. Future work may involve more sophisticated discretization mappings and the integration of feature embeddings with existing word-clustering techniques to further push the boundaries of parsing accuracy.

Summary updated

BibTeX
@inproceedings{chen2014feature,
  author = {Wenliang Chen and Yue Zhang and Min Zhang},
  title = {{Feature Embedding for Dependency Parsing}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2014},
}
Figure