Unsupervised Neural Dependency Parsing

Yong Jiang, Wenjuan Han, Kewei Tu

Abstract

Unsupervised dependency parsing aims to discover the syntactic structure of sentences without the aid of hand-labeled treebanks. Traditional generative models, such as the Dependency Model with Valence (DMV), often struggle with data sparsity and the inability to share information between related linguistic categories. We present the Neural DMV, a model that replaces discrete probability tables with a neural network operating on continuous Part-of-Speech (POS) embeddings. This architecture enables "neural smoothing," where the model automatically learns to group similar grammatical categories. Our results demonstrate a significant performance leap, achieving 65.9% accuracy on the Wall Street Journal (WSJ10) corpus, outperforming previous state-of-the-art feature-engineered models.

Introduction

Dependency parsing identifies the relational structure between words—mapping how adjectives modify nouns or how subjects relate to verbs. While supervised parsers rely on thousands of manually annotated examples, unsupervised parsing must induce these rules from raw text or POS tags. The classic DMV framework treats every POS tag as an isolated entity; for instance, it does not inherently recognize that a past-tense verb and a present-tense verb should follow similar syntactic rules. Previous attempts to bridge this gap required labor-intensive manual feature engineering. The Neural DMV addresses this by leveraging the representational power of neural networks to capture latent linguistic similarities automatically.

Methodology

The core innovation of the Neural DMV is the transition from a lookup-table-based probability estimation to a continuous parameterization of grammar rules.

Distributed Representations and Architecture

As shown in Figure 1, every POS tag and "valence" state (the count of children already attached to a head) is converted into a continuous vector embedding. The model concatenates the embeddings for a "head" word ($v_h$) and its current state ($v_{val}$), passing them through a hidden layer with a ReLU activation. A softmax output layer then predicts the probability of the next "child" word or the decision to stop adding children.

Neural DMV Architecture

Learning via Expectation-Maximization (EM)

The model is trained using the EM algorithm. In the E-step, the model estimates the most likely trees for the training data. In the M-step, the neural network is trained to predict these structures, allowing the model to generalize rules across similar tags in the vector space. The researchers found that "Viterbi EM" (learning from the single best guess) was significantly more effective than standard EM when paired with this neural architecture.

Experimental Results

The researchers evaluated the Neural DMV on the Wall Street Journal (WSJ) corpus and the PASCAL Challenge on Grammar Induction, covering eight additional languages.

Performance on English (WSJ)

The Neural DMV showed substantial improvements over the baseline DMV and previous feature-heavy models. On sentences of length 10 or less (WSJ10), the model achieved an accuracy of 65.9%, a massive jump from the standard DMV’s 46.2% and surpassing the previous best "Feature DMV" (63.0%).

Performance Comparison on WSJ

Cross-Lingual Success

The model's robustness was confirmed across eight other languages (including Arabic, Basque, and Portuguese), where it outperformed the baseline in 75-77% of test cases without language-specific tuning. This suggests that the model's ability to learn universal linguistic patterns through vector proximity is highly generalizable.

Key Insights and Discussion

  • Automatic Correlation: By visualizing the learned embeddings (e.g., via t-SNE), the authors demonstrated that the model naturally clusters similar POS tags—grouping all verb types and noun types together—without explicit instruction.
  • Neural Smoothing: Traditional models assign zero probability to unseen grammar rules. In the Neural DMV, because rules are generated from continuous vectors, the model can make intelligent "guesses" about rare rules based on their proximity to common ones in the embedding space.
  • Architectural Simplicity: The power of the model stems from its representation (embeddings) rather than raw depth, as a relatively simple feed-forward network was sufficient to achieve state-of-the-art results.

Conclusion

The Neural DMV represents a major advancement in unsupervised grammar induction. By replacing discrete counts with continuous representations, the model effectively solves the sparsity issues that plagued previous generations of unsupervised parsers. Future work may incorporate lexicalized word embeddings and higher-order features to further resolve complex grammatical ambiguities.

Summary updated

BibTeX
@inproceedings{jiang2016unsupervised,
  author = {Yong Jiang and Wenjuan Han and Kewei Tu},
  title = {{Unsupervised Neural Dependency Parsing}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2016},
  doi = {10.18653/v1/d16-1073},
}
Figure