[KongchangAI]
· 1 min read· 422 words

Path Grammars: Separating Surface Order from Structure in Incremental Syntax

Path Grammars: Separating Surface Order from Structure in Incremental Syntax

Path Grammars enable incremental syntactic analysis via stack-controlled paths, combining context-freeness with mild context-sensitivity.

Path Grammars are a novel rewriting system that traverses phrase structure trees via stack-controlled paths, separating surface word order from deep structure to model human word-by-word incremental processing. The basic form is equivalent to context-free grammars, ensuring generative capacity; extensions with slash categories and filler stacks can generate cross-serial dependencies while belonging to linear indexed languages and maintaining polynomial-time recognition. All theorems (correspondence, incrementality, linear index bounds, etc.) are machine-verified in Rocq. This framework provides a rigorous formal foundation for incremental syntactic analysis with potential impact across linguistics, cognitive science, and NLP.

Introduction: The Challenge of Incremental Processing

Humans understand sentences word by word, but traditional phrase structure grammars typically ignore the semantics of rule application order. This disconnect makes it difficult for formal grammars to directly model human incremental processing. Path Grammars are proposed precisely to resolve this contradiction: they traverse phrase structure trees via stack-controlled paths, thereby capturing surface word order while preserving structure.

According to the paper, Path Grammars are a class of rewriting systems whose derivations follow left-to-right stack-controlled paths, where one child of each branching node is expanded immediately while right siblings wait on the control stack. This mechanism makes the order of generated word strings consistent with surface order, and maintains a connected local tree throughout the process.

Path Grammars schematic

Formal Foundations and Core Theorems

The basic form of Path Grammars is proven to derive exactly the unlabeled derivation trees of context-free grammars. This means it is equivalent in generative capacity to CFGs, but introduces incrementality through path control. The authors further extend the item structure by introducing slash categories (carrying filler items) and LINK structures inspired by dynamic syntax, thereby enriching syntactic structure while preserving context-freeness and cubic-time recognition complexity.

This result provides a rigorous formal framework for incremental syntactic analysis, and all theorems—including the correspondence theorem, incrementality results, linear index upper bounds, and cross-serial examples—have been machine-verified in the Rocq proof assistant. This enhances the credibility of the theory and provides a foundation for future implementations.

Extensions and Mild Context-Sensitivity

When slash categories are allowed to carry a stack of pending filler items, the formal system becomes mildly context-sensitive: its language belongs to linear indexed languages, recognizable in polynomial time, and can generate cross-serial dependencies (such as those in Swiss German) while placing each argument in its canonical position. Crossing phenomena arise from the interaction between the filler stack and the control stack.

This extension demonstrates the potential of Path Grammars for handling complex dependencies in natural language while maintaining computational feasibility. Polynomial-time recognition means the framework has application prospects in practical parsers.

Conclusion and Outlook

Path Grammars provide a new formal tool for incremental syntactic analysis by separating surface order from structure. Its machine-verified theorems and extensibility lay a solid foundation for future research. Although still theoretical, it has potential impact at the intersection of linguistics, cognitive science, and natural language processing.

Note: This article is based on the paper abstract and does not cover implementation details or experimental evaluation; readers may refer to the original paper for complete information.

#Path Grammars#incremental parsing#context-free grammar#mild context-sensitivity#Rocq verification
Share:

Related articles