A Polynomial Parsing Algorithm for the Topological Model: Synchronizing Constituent and Dependency Grammars, Illustrated by German Word Order Phenomena

Kim Gerdes, Sylvain KahaneACL 2006

Abstract

Parsing languages with flexible word order, such as German, presents a significant challenge: surface word order (topology) often diverges from functional syntactic relations (dependency). This paper introduces a polynomial-time parsing algorithm that synchronizes these two structures. By explicitly modeling the discrepancy between topology and syntax through bounded non-local features, the authors achieve a complexity of $O(n^{K+5})$, demonstrating that complex linguistic phenomena like scrambling can be handled efficiently.

Introduction: The Topology-Syntax Gap

In languages like German, the surface arrangement of words is governed by a "field" structure that is partially independent of functional roles. An object can be "scrambled" to the front of a sentence, far from its governing verb. Traditional constituent grammars (CFGs) excel at capturing these surface fields but struggle with long-distance dependencies. Conversely, dependency grammars capture functional roles well but often neglect the rigid topological constraints of the language.

Previous attempts to bridge this gap, such as HPSG or LFG, often resulted in NP-complete parsing complexities. This paper seeks a middle ground: a synchronized model that remains computationally tractable.

The Topological Model

The proposed framework consists of three synchronized modules:

  1. Syntactic Grammar: A dependency grammar that generates unordered trees representing functional relations (e.g., subject, object).
  2. Topological Grammar: A constituent-like grammar defining "boxes" or "fields" (e.g., the Vorfeld or front field) that words must occupy.
  3. Interface Grammar: The logic that maps nodes in the dependency tree to specific boxes in the topological tree.
Figure 1: A dependency tree representing the functional relations in a complex German sentence.
Figure 3: A topological tree for the same sentence, illustrating how words are distributed across surface fields like the Vorfeld (vf) and Mittelfeld (mf).

The model uses the concept of "emancipation" to describe when a word moves out of the topological box of its governor. The interface rules define the constraints on such movements.

Parsing via Synchronized CKY

To parse these structures, the authors adapted the Cocke-Kasami-Younger (CKY) algorithm. The synchronization is managed via two key non-local features:

  • Slash: Tracks a "missing" element required by a verb.
  • Visitor: Tracks an "extra" element placed in a topological box that has not yet been attached to its functional head in the dependency tree.

By bounding the number of active non-local features to a constant $K$, the algorithm maintains a polynomial complexity of $O(n^{K+5})$. This $K$ factor serves as a precise measure of the "computational pain" caused by the discrepancy between surface order and functional structure.

Results and Discussion

As a theoretical contribution, the paper evaluates the algorithm using "toy grammars" of German. It successfully demonstrates the ability to parse notoriously difficult phenomena:

  • Scrambling: Flexible ordering of arguments in the middle field.
  • Extraposition: Movement of constituents to the end of the sentence.
  • Partial VP-fronting: Moving parts of a verb phrase to the front field.

Limitations

While the $O(n^{K+5})$ complexity is theoretically polynomial, its practical efficiency depends heavily on $K$ remaining small (e.g., 1 or 2). Furthermore, the current work relies on hand-crafted grammars; scaling to broad-coverage, real-world datasets remains a future challenge. There is also potential to integrate pragmatic constraints, as German word order is often influenced by information structure (topic/focus).

Conclusion

This work provides a formal bridge between constituent and dependency views of grammar. By synchronizing these layers rather than transforming one into the other, the algorithm leverages the constraints of both to prune the search space, offering a path toward efficient parsing of languages with complex word order.

Summary updated

BibTeX
@inproceedings{gerdes2006polynomial,
  author = {Kim Gerdes and Sylvain Kahane},
  title = {{A Polynomial Parsing Algorithm for the Topological Model: Synchronizing Constituent and Dependency Grammars, Illustrated by German Word Order Phenomena}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2006},
  doi = {10.3115/1220175.1220313},
}
Figure