Paulius Skaisgiris, Thomas Pammer, Veronika Semmelrock, Mykyta Ielanskyi, Maximilian Heisinger, Erich Kobler
Solid, well-engineered neuro-symbolic pipeline with strong numbers on a narrow benchmark, but incremental over Logic.py/Logic-LM and with confounded comparisons.
Chain-of-Thought (CoT) generation has substantially improved the performance of Large Language Models (LLMs) on complex reasoning tasks, including code generation, data analysis, and exam-style question answering. Despite these advances, purely neural LLMs continue to struggle with elementary logical reasoning problems and lack the determinism, soundness, and reliability characteristic of symbolic reasoning systems. Conversely, classical symbolic methods such as SAT solving and exact cover guarantee correctness and completeness, but require problems to be expressed in highly specialized formal encodings, limiting their applicability to natural language inputs. In this work, we present a synergistic neuro-symbolic framework that bridges this gap by combining neural semantic parsing with deterministic exact cover reasoning. Given a Zebra-style logic puzzle in natural language, an LLM translates entities and constraints into structured tool calls that construct an exact cover instance. A symbolic solver then computes the solution and provides feedback to iteratively refine invalid, under- or overconstrained encodings, exploiting the uniqueness property of Zebra puzzles. We conduct a comprehensive empirical evaluation across multiple parameter scales, post-training paradigms, and LLM families. The results demonstrate that our hybrid approach consistently outperforms strong plain neural baselines, including CoT prompting, as well as recent neuro-symbolic methods.
The paper presents NeuralExactCover (NEC), a neuro-symbolic pipeline for Zebra (logic grid) puzzles. An LLM harmonizes the puzzle text, extracts clues, and emits JSON tool calls, one per clue. The calls build a colored exact-cover instance, which is solved by Knuth's Algorithm C via the MiniExact solver. The solver's outcome (no solution, multiple solutions, or a wrong number of calls) is fed back as a retry prompt. The feedback exploits the uniqueness property of Zebra puzzles: a unique solution signals a plausible encoding, since an over- or under-constrained encoding must contain an error. The contributions are:
The reported results are a new ZebraLogic "SOTA" (97.9% puzzle accuracy with Devstral-Small-2-24B, versus 91.7% for o3-mini-high) and the first ZebraExtreme baseline.
The conceptual novelty is modest. Translating puzzles into solver encodings with solver feedback is well established (Logic-LM, SATLM, Logic.py, CP-Agent, Berman et al.). The new elements are the choice of exact cover as the target and the tight fit of that encoding to the puzzle structure. Doing the semantic parsing with a fixed, puzzle-specific tool API leaves the LLM little to do beyond clue classification and argument extraction. The paper is therefore closer to a well-engineered domain-specific pipeline than a general method.
The study evaluates four method families (Plain, Logic-LM, Logic.py, NEC with and without feedback) across several model families, sizes (0.6B–30B), and post-training modes (base, instruct, thinking). Metrics are puzzle and cell accuracy, with bins by solution-space size and runtime analysis. A failure-trace analysis of 21 Devstral failures shows that 86% come from the neural parsing stage and 14% from de-harmonization bugs. This is useful and honest.
Several weaknesses limit how far the comparisons can be trusted:
For the LLM-reasoning community, the work reinforces a known lesson: offloading search to a solver and having the LLM do only parsing scales much better than CoT. This is useful as a data point, especially the evidence that small models (4B) can reach 80%+ with this scheme. The ZebraExtreme dataset can serve as a modest benchmark extension, because plain LLMs, including reasoning models, collapse on it. The exact-cover framing may interest the symbolic and constraint-programming community, and the MiniExact tool could see some uptake.
However, the approach is tied to a narrow, template-like puzzle genre with 8 fixed clue types and a synthetic, templated clue language. The paper's own claim that it "bridges natural language and formal encodings" is only demonstrated where the encoding is already designed by hand and the LLM merely selects among predefined functions. Generalization to arbitrary combinatorial problems, the paper's stated future work, is the hard part and is not addressed. Practical impact beyond puzzle benchmarks is therefore limited.
The topic fits the interest in neuro-symbolic reasoning, tool use, and the scaling limits of reasoning models (ZebraLogic). The tool-calling setup with open-weight models is current. The venue (NeSy) is appropriate, but the novelty is incremental relative to Logic.py and similar work.
Generated Nov 3, 2026
Solid, well-engineered neuro-symbolic pipeline with strong numbers on a narrow benchmark, but incremental over Logic.py/Logic-LM and with confounded comparisons.