A Latent Variable Model for Generative Dependency Parsing

Ivan Titov, James Henderson

Abstract

Dependency parsing is a fundamental task in natural language processing, traditionally dominated by discriminative models requiring extensive manual feature engineering. This paper introduces a generative dependency parser based on Incremental Sigmoid Belief Networks (ISBNs). By utilizing binary latent variables that are dynamically linked according to the evolving syntactic structure, the model automates feature discovery and effectively addresses the challenge of long-distance dependencies. Experimental results on CoNLL-X datasets show that this approach achieves state-of-the-art performance and significantly outperforms traditional parsers on complex, non-local grammatical relationships.

Introduction

Dependency parsing involves mapping the grammatical relationships between words in a sentence. In the mid-2000s, the most effective models were primarily discriminative, excelling at making decisions based on predefined feature sets. However, these models faced two significant hurdles: the labor-intensive process of manual feature engineering and "long-distance blindness," where the model fails to connect syntactically related words separated by many tokens.

To overcome these limitations, we propose a generative model that defines a joint probability distribution over sentences and their structures. The core innovation is the use of latent variables to automatically induce complex features, reducing the reliance on human experts and improving the handling of long-range syntactic dependencies.

The Incremental Sigmoid Belief Network (ISBN)

The primary technical contribution of this work is the Incremental Sigmoid Belief Network (ISBN). Unlike standard Hidden Markov Models (HMMs) that rely on a fixed, linear state transition, an ISBN is a "switching" graphical model where the network topology changes based on the current state of the parse.

The architecture of an Incremental Sigmoid Belief Network (ISBN) showing the evolution of latent variables $D^t$ and states $S^t$ over time.

Structural Locality and Latent Features

The model maintains a vector of binary latent variables, $D^t$, at each step $t$. These variables act as a "hidden memory" that captures the history of the parse. Crucially, the connections between these latent states are determined by the partial parse tree rather than simple word order. If the parser identifies a "head-dependent" relationship between two words, it creates a direct link between their corresponding hidden states, even if they are far apart in the linear sequence. This "re-wiring" allows the model to treat syntactically related words as local to each other.

Generative Shift-Reduce Parsing

The model adapts Nivre’s shift-reduce algorithm into a generative framework. In this setup, the "Shift" action is modified to predict the next word in the sequence. Because exact probability calculation in ISBNs is computationally intractable, we employ a mean field approximation (a variational inference method) and use beam search to efficiently navigate the space of possible parse trees.

Experimental Setup

The ISBN model was evaluated using three treebanks from the CoNLL-X shared task:

  • Danish (DDT): Approximately 94k tokens.
  • Dutch (Alpino): Approximately 195k tokens.
  • Slovene (SDT): Approximately 28k tokens.

These datasets were selected to test the model across different training sizes and linguistic complexities.

Key Results and Discussion

The ISBN model demonstrated competitive performance against established discriminative baselines.

Performance and Feature Induction

The model achieved state-of-the-art results on the Dutch and Slovene datasets and comparable results on Danish. A key finding was that the ISBN performed nearly as well with a "minimal" set of local features as it did with a "tuned" set of hand-crafted features. This suggests that the latent variables successfully automated the feature selection process, capturing the complex information usually provided by human experts.

Success in Long-Distance Dependencies

The model's most significant advantage appeared in handling long-distance dependencies. For dependencies spanning more than six words, the ISBN model achieved a 5.7% absolute improvement in F1 score over the MALT parser. Ablation studies confirmed that disabling the structural edges between latent variables led to a sharp decline in performance, proving that the "structural memory" is the primary driver of the model's success.

Conclusion

This work demonstrates that a generative model with latent variables can be highly competitive with discriminative parsers while offering superior performance on long-distance dependencies. By allowing the model architecture to evolve with the syntactic structure, ISBNs provide a powerful mechanism for automated feature induction in natural language tasks. Future work may explore discriminative retraining to further refine accuracy and hybrid methods to scale the approach to even larger datasets.

Summary updated

BibTeX
@inproceedings{titov2007latent,
  author = {Ivan Titov and James Henderson},
  title = {{A Latent Variable Model for Generative Dependency Parsing}},
  booktitle = {IWPT},
  year = {2007},
}
Figure