From Dependency to Compositionality: A Neurosymbolic Lifting of LLM Outputs via Combinatory Categorial Grammar
Abstract
Large language models (LLMs) generate fluent text by incrementally predicting the next token from a prefix. Critics in the generative tradition argue that such systems lack genuine grammar; influential replies from the dependency-grammar perspective hold that LLM behavior is well described by local head-dependent structure built word by word. We argue that a sharper observation has been overlooked: the prefix-driven, type-completing dynamics of autoregressive generation align closely with the incremental processing model that Combinatory Categorial Grammar (CCG) was originally designed to support. On this basis we propose a neurosymbolic framework in which LLM outputs are lifted into typed compositional derivations -- not claiming that LLMs implement CCG internally, but that their outputs admit a principled, incremental, and auditable CCG reconstruction. Two consequences follow. First, through the Curry-Howard correspondence the lifting extends beyond natural language to the formal languages LLMs also produce -- programming languages such as Solidity, description-logic and query languages such as OWL and SQL -- with the type system varying and the architecture held fixed. Second, the lifting supports two layers of checking: a compositional layer that catches structural failures directly, and a content layer that checks the lifted structure against external knowledge sources, enabling the earliest possible flagging of hallucinated content. The account thereby requires of a producer not cognition but a prefix-driven generative profile. We close with a sketch of synchronous LLM-CCG coupling as one direction the framework opens.
Create a lesson
Metadata
- Comments
- 27 pages. Under review
Related papers
What Does Skill Lift Actually Measure? A Source-Code-Level Audit and Noise-Aware Reanalysis of SkillsBench
Shared title terminologycs.AIHaozhe Zhang, Zhen Long
Brand Recall and Category Accuracy in Language Models: An Audit of 1,000 B2B SaaS Brands
Shared title terminologycs.AIBen Moore
Breaking the Binary-Lifting Barrier for DNA Minimizer Density: Exact Optimization of a Native 4-ary Order at (w, k) = (12, 5)
Shared title terminologycs.AIStefan G. Creadore, Peyton Berntsen
How Much Dependency Can a Marginal Rule See? Total Correlation in Diffusion LM Parallel Decoding
Shared title terminologycs.AIDovud Asadov, Rustambek Urokov, Qobiljon Toshnazarov et al.
Same World, Differently Given: History-Dependent Perceptual Reorganization in Artificial Agents
Shared title terminologycs.AIHongju Pae
Differentiable Logic Programming to Mitigate Reasoning Shortcuts in Neurosymbolic Systems
Shared title terminologycs.AIAkihiro Takemura, Katsumi Inoue