← News

ResearchSources: arXiv · 3 Dec 2026

Researchers propose CCG-based method to audit LLM outputs as typed derivations

An arXiv paper argues that language model outputs can be reconstructed as Combinatory Categorial Grammar derivations, enabling structural and content checks without claiming models implement the grammar internally.

In plain words

The authors describe a way to take text produced by large language models and rebuild it as a formal, step-by-step grammatical derivation using Combinatory Categorial Grammar, a linguistic framework built for word-by-word processing. This reconstruction could let tools check whether a sentence is structurally sound and whether its claims match external knowledge. The method applies to the model's output, not to how the model works inside.

What was announced

Writing on arXiv, the authors argue that the prefix-driven, type-completing way autoregressive models generate text closely matches the incremental processing that CCG was designed to support. Their framework lifts outputs into typed compositional derivations, which they say are auditable; they explicitly do not claim that LLMs implement CCG internally. Via the Curry-Howard correspondence, the same lifting extends to formal languages the models produce, such as Solidity, OWL, SQL and Lean. The authors also describe two checking layers: a compositional one that catches structural failures, and a content layer that flags hallucinated material against external knowledge. They illustrate the distinction with a dispute over a Lean formalization of an announced Navier-Stokes proof, noting that compilation certifies composition, not correspondence.

The evidence offered is a feasibility study covering 2,922 sentences generated by four LLMs across five registers. The authors report that the lifting covered 97.7 percent of sentences, that normal-form and incremental derivations yielded identical logical forms wherever both were well-formed, and that most checkable predications were available before a sentence was complete. They add that the account requires of a producer only a prefix-driven generative profile, not cognition. These results come from the paper's own abstract and have not been independently confirmed.

What it does not show

  • The evidence is the paper's abstract only; the full article, method details and study setup were not available for review.
  • The feasibility figures are reported by the authors and are not independently confirmed.

For security and IT teams

Scope
The paper's claims cover LLM outputs, including formal languages such as Solidity, OWL, SQL and Lean, and explicitly do not claim LLMs implement CCG internally.

Sources

Source-support review completed 4 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 4 Dec 2026

New to the subject? AI from the Ground Up starts from the beginning.