NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Dependency Parsing as Head Selection

Xingxing Zhang, Jianpeng Cheng, Mirella Lapata

Introduction

In natural language processing, dependency parsing is the critical task of identifying grammatical relationships between words in a sentence. Traditionally, this has been viewed as a complex structural problem because language is inherently hierarchical, typically represented as a tree where every word has exactly one parent (head) and no cycles exist. Researchers from the University of Edinburgh have challenged the necessity of complex, tree-constrained algorithms during training with their model, DENSE (Dependency Neural Selection).

The DENSE Architecture

The core innovation of DENSE lies in its elegant simplicity. Rather than employing computationally expensive global optimization or complex step-by-step state tracking, the model treats parsing as an independent head-selection task for each word.

Architecture of the DENSE model using BiLSTMs for head selection.

As illustrated in the architecture diagram above, the model utilizes Bidirectional LSTMs (BiLSTMs) to read sentences in both directions, creating dense vector representations that capture the full context of every word. For each word, the model calculates a score for every other word (including a special "ROOT" token) to determine the most likely head. This mechanism functions similarly to a neural attention mechanism, allowing the model to weigh potential relationships across the entire sentence.

Training and Inference

During the training phase, DENSE is optimized to maximize the probability of the correct head for each word independently. Crucially, the model is never explicitly forced to satisfy tree constraints during learning; it treats the problem as a series of classification tasks.

At test time, the model employs a greedy inference strategy, picking the highest-scoring head for each word. In the rare event that the resulting graph contains cycles or multiple roots, a standard Maximum Spanning Tree (MST) algorithm, such as Chu-Liu-Edmonds, is used as a post-processing step to ensure a valid tree structure.

Experimental Results and Insights

The model was evaluated across diverse datasets, including the English Penn Treebank (PTB), the Chinese Treebank (CTB), and non-projective datasets for Czech and German.

One of the most significant findings was the "Implicit Tree" phenomenon: despite the lack of explicit constraints during training, 95% of English sentences parsed greedily were already valid trees. This suggests that the inherent structure of language provides a sufficiently strong signal for neural networks to capture "tree-ness" implicitly.

UAS performance across different sentence lengths for PTB (a) and CTB (b) datasets.

Furthermore, DENSE demonstrated remarkable long-distance resilience. As shown in the performance graphs above, while traditional transition-based parsers often struggle as sentence length increases due to error propagation, DENSE maintains competitive Unlabeled Attachment Scores (UAS) across longer, more complex sentences. On the English PTB, it achieved a UAS of 94.10%, rivaling far more complex systems.

Conclusion

DENSE proves that state-of-the-art dependency parsing does not require hand-crafted features or rigid structural constraints during the learning process. By relying on powerful BiLSTM representations and simple head selection, the model achieves high accuracy and efficiency. While some languages like Chinese show a slightly lower rate of natural tree formation (87%), the overall success of DENSE suggests that in modern NLP, simplicity and data-driven learning may be all that is needed to capture the complex structure of human language.

Summary updated

BibTeX
@inproceedings{zhang2017dependency,
  author = {Xingxing Zhang and Jianpeng Cheng and Mirella Lapata},
  title = {{Dependency Parsing as Head Selection}},
  booktitle = {EACL},
  year = {2017},
  doi = {10.18653/v1/e17-1063},
}
Figure