Abstract
This paper explores a modular parsing framework that treats natural language syntax as a discrete combinatorial problem solved via constraint satisfaction. By decoupling generative operations from filtering constraints and applying local consistency algorithms, the proposed parser efficiently manages the exponential complexity inherent in linguistic structures.
Introduction
In the late 1980s, linguistic theories such as Government and Binding (GB) and Tree Adjoining Grammar (TAG) offered powerful descriptive capabilities but presented significant computational challenges. The primary issue is overgeneration: applying basic generative rules—such as X-bar theory for phrase construction or adjunction for modification—unconstrained results in an exponential growth of possible tree structures, specifically $O(4^n)$ for certain attachment levels. The complexity is further exacerbated when "indexing" (determining coreference between entities) is introduced. The challenge lies in applying linguistic constraints, such as subject-verb agreement, to filter out invalid structures without incurring prohibitive computational costs.
The Constraint Satisfaction Framework
Jeff Martin proposes a solution by decomposing the grammar into two distinct components: generative operations and filtering constraints. This separation allows the parser to treat syntax as a Constraint Satisfaction Problem (CSP).
As shown in Figure 1, the operations (such as PROJECT-X and MOVE-X) act as "builders" that generate candidate nodes and edges within a syntactic graph. Conversely, constraints (such as CASEMARK and AGREE) act as "inspectors" that verify the legality of these connections.
Formal Axioms and Generative Rules
The generative side of the framework is defined by a set of formal axioms that govern how phrases are projected and modified. These axioms provide the structural backbone for the syntactic graph before constraints are applied.
Figure 2 details these axioms, which include the specifier axiom, complement axiom, labeling axiom, and adjunction axiom. These rules define the basic geometry of the syntactic structures that the parser explores.
Algorithmic Implementation
The parser constructs a Syntactic Graph incrementally from left to right. Rather than generating thousands of discrete trees, it utilizes a "packed" representation where a single graph contains multiple potential analyses. To maintain tractability, the system employs three standard CSP algorithms:
- Node Consistency: Validates the attributes of individual nodes.
- Arc Consistency: Ensures binary constraints between two nodes (e.g., a head marking its complement for Case) are satisfied.
- Path Consistency: Verifies that relationships across three nodes (paths of length 2) remain logically consistent.
The Power of Locality
A key insight of this approach is the locality of linguistic constraints. Because most constraints apply within "local government configurations," the parser only needs to check consistency in a small neighborhood of the graph as new words are added. Furthermore, because linguistic features like "Case" or "Number" have small, finite domains, the filtering algorithms can rapidly eliminate impossible structural options.
Conclusion and Future Work
By applying local consistency checks on-the-fly, Martin’s framework prevents the "grammar explosion" typical of systems that attempt to pre-compile constraints into rules. While this high-level design sketch demonstrates a significant reduction in state-space exploration, several areas remain for future research. Specifically, the current model does not address linear precedence (word order) constraints, nor does it incorporate the probabilistic or "fuzzy" constraints prevalent in modern natural language processing. Future implementations will need to evaluate the practical costs of maintaining path consistency in large-scale, real-world grammars.
Summary updated