Abstract
Unsupervised dependency parsing, which tries to discover linguistic dependency structures from unannotated data, is a very challenging task. Almost all previous work on this task focuses on learning generative models. In this paper, we develop an unsupervised dependency parsing model based on the CRF autoencoder. The encoder part of our model is discriminative and globally normalized which allows us to use rich features as well as universal linguistic priors. We propose an exact algorithm for parsing as well as a tractable learning algorithm. We evaluated the performance of our model on eight multilingual treebanks and found that our model achieved comparable performance with state-of-the-art approaches.
Introduction
Learning the underlying structure of language without explicit human supervision remains a fundamental challenge in computational linguistics. Dependency parsing, the process of identifying syntactic relationships between words, typically relies on large-scale human-annotated datasets. This paper explores a novel approach to unsupervised dependency parsing: discovering these structures from raw text alone using a CRF autoencoder framework.
The Challenge of Unsupervised Parsing
Traditionally, unsupervised parsing has been dominated by generative models like the Dependency Model with Valence (DMV). While generative models are naturally suited for unlabeled data, they struggle to incorporate "rich features"—such as the specific context of surrounding words—because they must model the joint probability of the entire observation. Conversely, discriminative models excel at handling complex features but are difficult to train without gold-standard labels. The authors propose a middle ground that enjoys the feature-rich flexibility of discriminative systems while remaining trainable on unlabeled data.
The CRF Autoencoder Framework
The proposed model utilizes a Conditional Random Field (CRF) Autoencoder framework, which consists of two primary components:
- Discriminative Encoder: A globally normalized CRF model that predicts the probability of a latent dependency tree given a sentence. Its discriminative nature allows for the inclusion of diverse features, including POS tags of the head, child, and surrounding context, as well as dependency distance and direction.
- Generative Decoder: A reconstruction model that takes the latent tree from the encoder and attempts to regenerate the original sentence.
Key Innovations
- Universal Linguistic Priors: The model incorporates soft constraints based on universal linguistic rules (e.g., a Verb is a likely head for a Noun) to steer the learning process toward linguistically plausible structures.
- Viterbi Learning: The authors found that a Viterbi version of their objective function—focusing on the single most likely tree during training—significantly outperformed standard Expectation-Maximization (EM). On the English WSJ dataset, this approach yielded 55.7% accuracy compared to 41.8% for the standard version.
- Computational Tractability: By adapting Eisner’s algorithm for projective trees and the Matrix-Tree Theorem for non-projective trees, the authors ensured that the complex math of tree structures remains computationally feasible.
Experimental Results
The model was rigorously tested on the English Wall Street Journal (WSJ) corpus and seven multilingual treebanks from the PASCAL Challenge (Basque, Czech, Danish, Dutch, Portuguese, Slovene, and Swedish).
As shown in the results, the CRF Autoencoder (CRFAE) achieves state-of-the-art performance. On the English WSJ, it reached 55.7% directed dependency accuracy. Across the multilingual datasets, the model achieved an average accuracy of 54.3% for sentences of length $\le 10$, consistently outperforming established benchmarks like Neural DMV and Convex-MST. The inclusion of universal linguistic rules provided a massive performance boost, helping the model avoid "degenerate" solutions.
Conclusion
The CRF Autoencoder represents a significant step forward in unsupervised dependency parsing. By combining the feature-rich flexibility of discriminative models with the trainability of autoencoders and the guidance of universal linguistic priors, the model achieves robust performance across multiple languages. Future work may involve integrating neural networks for feature representation and exploring lexicalization to further enhance parsing accuracy.
Reference: Cai, J., Jiang, Y., & Tu, K. (2017). CRF Autoencoder for Unsupervised Dependency Parsing. Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing (EMNLP), 1638–1643.
Summary updated