arXiv Computation and Language

The Scope Grammar of Natural-Language Rules: Counting and Enumerating Readings modulo Logical Equivalence

arXiv:2611. 01825v1 Announce Type: cross Abstract: A rule written for people fixes its atomic conditions and connectives but leaves open how the connectives are bracketed, and each bracketing is a different logical reading that an autoformalizer must resolve or expose.

arXiv AI
Sep 24

Not What You Meant: Can LLMs Follow a Specified Negation Semantics?

The paper investigates how large language models (LLMs) interpret negation across different logical semantics—open‑world vs. closed‑world, two‑ vs. three‑valued, and credulous vs. skeptical reasoning. Using the newly introduced NAFBench, a procedural generator that creates solver‑certified logic programs and their natural‑language verbalizations, the authors evaluate LLMs on four semantic viewpoints (SLDNF, well‑founded semantics, and stable‑model semantics). Results show a persistent gap: even the strongest models achieve only 59–74% accuracy, with many models sensitive to rule ordering and prone to overcommitment on undefined cases, though some frontier models reach near‑perfect performance on a fixed‑complexity set. "whyItMatters":"The study highlights that current LLMs struggle to reliably follow explicitly specified negation semantics, underscoring a limitation in their logical reasoning capabilities."

By Qiming Bao, Agnieszka Mensfelt, Michael J. Witbrock, Kostas Stathis
arXiv AI
Jun 16

The Faithfulness Gap: Certifying Semantic Equivalence Between Natural-Language and Formal Mathematical Statements

arXiv:2606. 16541v1 Announce Type: new Abstract: Autoformalization, translating natural-language mathematics into formal proof assistants, is bottlenecked not by translation fluency but by \emph{faithfulness}: a formal statement can typecheck and be provable, yet still encode a different theorem than the source intended.

By Noor Islam S. Mohammad, Tamim Sheikh
arXiv Computation and Language
Nov 11

The Left Ripple of Byte-Pair Encoding: Certified Lookbehind for Every Dictionary

The paper formalizes the left‑ripple effect of byte‑pair encoding (BPE), answering how far a string prepended on the left can alter tokenization for any dictionary. It introduces radius certificates derived from two automaton runs to compute the origin radius in polynomial time, characterizes when this radius is infinite, and shows that a finite radius guarantees dense cuts in every window. The authors also provide a streaming tokenizer that emits stable tokens after each symbol, decide boundedness of edit distance for all dictionaries, and analyze specific models such as GPT‑2 and Llama 3.

By Nicklas Nidh\"ogg
arXiv Computation and Language
Oct 23

Finitely Verifiable Segmentation: Decidability for Every Tokenizer with a Finite-State Verifier

The paper introduces the notion of finitely verifiable segmentation, where a finite automaton accepts exactly the segmentations produced by a given policy. It proves that several key decision problems—such as boundary certification, bounded gaps, mask completable generation, and policy equivalence—become decidable for this class, which lies strictly between online‑scannable and regular‑domain policies. The class is closed under common pipeline operations and supports practical implementations like maximal‑munch lexing and WordPiece, with all results accompanied by executable checks.

By Nicklas Nidh\"ogg
arXiv Machine Learning
Sep 11

Characterizing Language Generation in the Limit: Finite Witnesses and a Separation-Width Hierarchy

The paper studies the problem of language generation in the limit, where a learner must produce valid unseen elements from any exhaustive positive presentation of an unknown infinite language. It establishes that generation is possible precisely when each target language admits a finite positive witness such that all targets activated by any finite sample share an infinite common intersection. The authors introduce a separation-width hierarchy to measure the size of compatible witnesses, showing that every level of the hierarchy occurs and that countable families admit singleton witnesses while more complex families require unbounded finite witnesses. The results are formalized and verified in Lean, with the development available on GitHub.

By Xiaoyu Li, Andi Han, Jiaojiao Jiang, Junbin Gao