Abstract
This paper, authored by Robert C. Berwick at the MIT AI Lab, presents a significant evolution of the "Marcus parser"—a landmark in computational linguistics known for its deterministic approach to natural language. Berwick extends the parser’s reach to handle complex phenomena like "gapping," rightward movement, and pronoun binding, while providing a rigorous mathematical proof that these parsers belong to a well-understood class of automata. By formalizing the parser as a restricted two-stack automaton, the paper bridges the gap between natural language processing and formal compiler theory, proving that complex human syntax can be parsed in polynomial time.
Introduction
In the early 1980s, the Marcus parser represented a paradigm shift in computational linguistics by attempting to parse sentences deterministically—without the need for backtracking—much like a computer language compiler. While successful in many respects, the original Marcus parser suffered from several "blind spots" regarding sophisticated linguistic structures. It struggled with rightward movement, deletions (such as gapping), and anaphora resolution. Furthermore, the parser's computational limits were not fully understood in the context of standard computer science parsing algorithms like LR(k). Berwick’s work addresses these gaps by introducing architectural novelties and a formal mathematical framework for deterministic natural language processing.
Addressing the Limitations of Deterministic Parsing
Berwick identifies three primary areas where previous deterministic models failed to provide broad coverage:
- Rightward Movement: This occurs when a phrase moves to the end of a sentence (e.g., "A book about nuclear disarmament appeared" becoming "A book appeared about nuclear disarmament").
- Deletions: Specifically "Gapping" (Max gave Sally a nickel, and Harvey a dime) and "VP Deletion" (John kissed Mary, and I think Frank did too).
- Anaphora: The challenge of linking pronouns like "he" or "each other" to their correct subjects within a sentence.
To resolve these, Berwick introduces several architectural innovations. To handle rightward movement without resorting to invisible "traces," the parser utilizes a "+rightmoved" diacritic. This flag marks a noun phrase as incomplete if the look-ahead buffer detects a potential moved constituent nearby.
For deletions and anaphora, the parser adopts a two-stage processing model. Local deletions like gapping are handled during the initial pass, while "unbounded" deletions (VP deletion) and pronoun resolution are deferred to a second stage of analysis. Pronoun resolution itself is managed via directed pointers for co-indexing; for instance, if "he" refers to "John," a pointer is created so the pronoun inherits the properties of its antecedent.
Formalization and Automata Theory
A core contribution of the paper is the formal mapping of the Marcus parser’s mechanics to established computer science principles. Berwick maps the parser to LR(k,t) parsing and two-stack push-down automata. By modeling the parser as a two-stack machine where material can move between stacks, Berwick demonstrates that the parser can handle "strictly context-sensitive languages"—a class of languages more complex than the context-free grammars typically used for programming languages.
This formalization allows the use of established proofs from compiler theory to analyze natural language. Most notably, Berwick proves that despite the added complexity of handling deletions and pronoun binding, the entire parsing process runs in polynomial time, ensuring computational efficiency.
Linguistic Constraints as Computational Necessity
One of the paper's most profound insights is the suggestion that certain rules in human language may exist because they make deterministic parsing possible. Berwick argues that linguistic constraints—such as the fact that rightward movement is much more restricted than leftward movement in English—are computational necessities. A deterministic parser with a limited three-item look-ahead buffer simply could not function without these constraints.
The paper also distinguishes between the processing of gapping and VP deletion. Gapping is identified as "bounded" and locally detectable, making it suitable for the primary deterministic parser. In contrast, VP deletion can span significant distances, requiring the more flexible strategy of the second stage.
Results and Broad Coverage
The redesigned parser successfully accounts for a wide range of complex phenomena, including:
- German "Verb Second" rules, demonstrating the parser's applicability beyond English.
- Complex reciprocal constructions, such as "They think that feeding each other would be dangerous."
- Formal reduction of the Marcus parser from a "black box" to a variant of the LR(k,t) parsing method defined by Donald Knuth.
Conclusion and Future Directions
While Berwick’s work significantly expands the coverage of deterministic parsers, it also highlights areas for future research. The author notes that while the parser’s constraints mirror linguistic constraints, it is not yet proven that these constraints are strictly necessary for efficiency, though the correlation is strong. Additionally, while the parser handles pronouns within a sentence, it only briefly addresses "discourse NPs"—pronouns that refer to entities mentioned in previous sentences.
Finally, the link to LR(k) technology suggests that future Marcus-style parsers could be "compiled" using standard programming language techniques to make them smaller and faster, further bridging the gap between natural language and formal computational theory.
Summary updated