Revised Generalized Phrase Structure Grammar

Eric Sven RistadACL 1987

Abstract

Generalized Phrase Structure Grammar (GPSG) was initially celebrated for its context-free generative power, suggesting a path toward efficient natural language processing. However, subsequent analysis revealed a "complexity gap": while the generated languages were simple, the universal recognition problem for GPSG was computationally explosive, reaching EXP-POLY hardness. This paper introduces Revised Generalized Phrase Structure Grammar (RGPSG), a framework that imposes linguistically motivated constraints to prune the theory's excessive power. By eliminating recursive category embedding and simplifying metarule application, RGPSG reduces the complexity of the recognition problem to NP-complete, aligning the theory's computational requirements more closely with human linguistic capabilities.

Introduction

In the mid-1980s, the linguistic community faced a paradox. GPSG appeared to be a powerful yet constrained theory, but its formal devices allowed for the simulation of incredibly complex computations, such as alternating Turing machines. Eric Sven Ristad argues that these devices are "too powerful" and lack a basis in human language processing. The resulting computational intractability makes GPSG difficult to implement in efficient parsers. RGPSG aims to bridge this gap by identifying and restricting the specific formalisms responsible for this explosive complexity.

The RGPSG Formalism

Ristad systematically revises the five primary formal devices of GPSG to ensure tractability:

  1. Syntactic Features: Original GPSG allowed categories to be embedded recursively (e.g., a SLASH feature containing another category). RGPSG introduces unit feature closure, restricting categories to a single level of depth. This prevents the "recursive category trap" where the number of possible categories could exceed the number of atoms in the universe.
  2. ID/LP Rules: Immediate Dominance (ID) rules are restricted to "short" rules (e.g., binary branching). Furthermore, null transitions—rules producing empty strings—are strictly limited to prevent parser "hallucinations."
  3. Metarules: RGPSG replaces standard "finite closure" with biclosure. Metarules are further restricted so they cannot alter the "head" of a phrase, thereby preserving the structural integrity of X-bar theory.
  4. Universal Feature Instantiation (UFI): Principles like the Head Feature Convention (HFC) are made monotonic. This ensures that feature instantiation can only add information, never delete or alter existing specifications, facilitating more stable computation.
  5. Marking Conventions: Complex Feature Co-occurrence Restrictions (FCRs) are replaced with Simple Defaults (SDs). These are computationally tractable and applied independently to each category, avoiding the overhead of global constraint satisfaction.

Empirical Coverage

Despite these restrictions, RGPSG maintains the descriptive adequacy of the original theory. The model was evaluated against complex linguistic phenomena in English, including:

  • Topicalization: The structure of sentences like "That book, I read."
  • Explicative Pronouns: The distribution of "it" and "there" (e.g., "It continues to bother Lou").
  • Parasitic Gaps: Complex constructions where a single filler relates to multiple gaps.

RGPSG demonstrates that the constraints required for computational tractability often overlap with those required for linguistic accuracy.

Computational Complexity and Results

The primary achievement of RGPSG is the reduction of the universal recognition problem from EXP-POLY hard to NP-complete. While NP-complete problems remain challenging in the worst case, this shift represents a massive improvement. Crucially, because the problem is in NP, a parse tree (a "proof" of a sentence's grammar) can be verified in polynomial time.

Complexity bounds for the expansion of ID rules in RGPSG.

The figure above illustrates the complexity of the grammar expansion process. By applying Metarule UC, UFI, and Simple Defaults (SDs) in a constrained manner, the final set of ID rules $R'$ can be derived with a complexity of $O(|G|^4)$, where $|G|$ represents the size of the grammar. This efficient expansion is a prerequisite for more tractable recognition.

Conclusion

RGPSG proves that linguistic theories can be both descriptively adequate and computationally tractable. By limiting the depth of category embedding and ensuring monotonic feature instantiation, Ristad provides a framework that is more verifiable and implementable. Future work involves further limiting "head features" to potentially reach polynomial-time parsing and validating the "unit feature closure" constraint across a broader range of natural languages. Parser implementation using Earley’s algorithm was notably in progress at Thinking Machines Corporation following this research.

Summary updated

BibTeX
@inproceedings{ristad1987revised,
  author = {Eric Sven Ristad},
  title = {{Revised Generalized Phrase Structure Grammar}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {1987},
  doi = {10.3115/981175.981209},
}
Figure