A Context Free TAG Variant

Ben Swanson, Elif Yamangil, Eugene Charniak, Stuart M. ShieberACL 2013

Introduction

In computational linguistics, a persistent challenge is balancing the expressivity of a grammar with its computational efficiency. Context-Free Grammars (CFGs) are widely used due to their $O(n^3)$ parsing complexity but often fail to capture long-distance dependencies or complex "wrapping" structures without significant redundancy. Conversely, Tree-Adjoining Grammars (TAGs) can model these dependencies but suffer from a prohibitive $O(n^6)$ complexity, making them impractical for large-scale applications.

The OSTAG Formalism

The authors propose Off-Spine Tree Adjoining Grammar (OSTAG) as a solution. OSTAG allows the use of wrapping auxiliary trees—a hallmark of TAG—while maintaining the efficiency of CFGs. The core innovation is a structural constraint: adjunction is permitted into any node except those on the "spine" of an existing auxiliary tree (the path from the root to the foot node).

Figure 4: A collection of elementary tree fragments used to construct syntactic derivations in the OSTAG formalism.

By blocking recursive adjunction along the spine, OSTAG prevents the complexity explosion typical of full TAGs. The authors prove that this restriction makes OSTAG weakly equivalent to CFGs, allowing for a reversible transformation into a standard CFG format. This enables the use of efficient algorithms like CYK parsing and Inside-Outside estimation for probabilistic modeling.

Key Insights: The Power of Wrapping Trees

The "spine" constraint is the key to "taming" TAG complexity. While it limits recursion, it does not eliminate the ability to use wrapping trees. This is particularly relevant for modeling parenthetical structures, appositives, or quoted speech, which are naturally represented as trees wrapping around a core phrase.

Figure 6: An example of a wrapping auxiliary tree structure (VP) that can be incorporated into an OSTAG derivation.

Furthermore, OSTAG can be quadratically more compact than equivalent CFGs for certain formal languages, such as bracketed palindromes. This compactness suggests that OSTAG can represent complex linguistic rules more concisely than traditional models, reducing the number of variables the model needs to learn and helping prevent overfitting on sparse data.

Experimental Results

The model was evaluated on the Penn Treebank (Wall Street Journal corpus), the standard benchmark for English syntactic parsing. OSTAG achieved an F-score of 85.86, outperforming a state-of-the-art Tree Substitution Grammar (TSG) baseline (85.00).

Empirical analysis confirmed that the model utilized wrapping auxiliary trees in its most probable derivations. Although these instances were relatively infrequent (41 in the test set), they represent the complex structures that standard CFGs typically struggle to handle accurately. The results also showed that more granular modeling of adjunction probabilities significantly improved performance, suggesting the model successfully captures nuanced linguistic patterns.

Conclusion

OSTAG offers a compelling middle ground in the grammar formalism spectrum. By strategically restricting adjunction, it preserves the linguistic power of wrapping trees while ensuring the practical efficiency required for large-scale natural language processing tasks. Future work may involve more principled induction methods and applications to languages with different branching characteristics.

Summary updated

BibTeX
@inproceedings{swanson2013context,
  author = {Ben Swanson and Elif Yamangil and Eugene Charniak and Stuart M. Shieber},
  title = {{A Context Free TAG Variant}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2013},
}
Figure