This paper, published in 1987, addresses a classic headache in computational linguistics: how to make Combinatory Categorial Grammars (CCGs) fast enough for real-world use without drowning in redundant calculations.
TL;DR
Combinatory Categorial Grammars are powerful tools for parsing complex natural language, but they suffer from "spurious ambiguity"—generating hundreds of redundant derivations for a single meaning. This paper introduces predictive combinators, specialized rules that bake top-down information into the grammar to force unique, efficient derivations and drastically reduce the parser's search space.
What Problem Does This Paper Address?
In Categorial Grammar (CG), words are treated like mathematical functions. For example, a transitive verb is a function that looks for an object and a subject to produce a sentence. To handle "non-canonical" structures—like "The apples which John says he likes"—researchers use Combinatory Categorial Grammar (CCG), which adds operators like functional composition and type raising.
The problem is spurious ambiguity. Because these operators are highly flexible, a parser can often combine words in many different orders that all result in the exact same semantic interpretation. For a single sentence, a standard CCG might find 469 different ways to build the same meaning. This redundancy is a roadblock to efficiency: if a sentence is ungrammatical, the parser might spend an eternity exploring thousands of redundant paths before finally failing.
Methods
The author proposes a method to "compile" a standard CCG into a more efficient form using Predictive Combinators.
- Context-Sensitive Rules: Instead of using general-purpose rules (like "always allow functional composition"), the author derives new, specialized rules that only trigger when specific "higher-order" categories are present in the string.
- Top-Down Information: These rules incorporate "predictive" information. Much like the "dotted rules" in an Earley parser, these combinators "know" what kind of category they are looking for to complete a derivation.
- Forced Uniformity: The predictive combinators are designed to force the parser into a specific branching structure (e.g., strictly left-branching for certain types of extraction). By removing the choice of how to branch, you remove the spurious ambiguity.
The paper introduces specific new rules, such as forward-predictive functional composition (fpfc>) and forward-predictive subject type raising (fpstr).
Key Insights and Ideas
- The "Aha" Moment: Functional composition and type raising are only actually necessary when a specific type of complex category (a "higher-order functor") appears at the end of a substring. If you can restrict these rules to only fire in those specific contexts, the redundancy vanishes.
- Grammar Compilation: You don't have to write these complex predictive rules by hand. The author suggests an algorithm can take a standard, linguistically intuitive CCG and automatically derive the predictive version.
- Complexity vs. Constant Factors: While adding more rules to a grammar increases the size of the rule-base, it prevents the exponential explosion of derivations during the actual parsing of a string.
Key Results
- Derivation Reduction: In one example sentence ("I can believe that she will eat cakes"), a standard CCG allows at least 132 distinct derivations. Using the proposed forward-predictive rules, the grammar admits exactly one.
- Efficiency: By eliminating spurious ambiguity, the parser avoids the worst-case scenario where it must enumerate every possible bracketing of a string. This makes exhaustive searching (necessary for genuine ambiguity or failing on ungrammatical input) much more computationally feasible.
Limitations and Future Work
- Formal Proofs: At the time of writing, the author noted that while the algorithm was implemented and seemed to work, a full formal proof of its correctness and completeness was still forthcoming.
- Rule Base Size: The paper acknowledges that "compiling out" every possible unary rule could lead to a very large set of predictive combinators, though it argues this is a manageable trade-off.
- Generalization: The examples focus heavily on English-style "movement" (topicalization). Applying this to languages with more complex word orders (like Dutch or Finnish) would require further validation of the rule-generation algorithm.
Summary updated