cs.AINov 2, 2026

From Natural Language to Exact Cover: A Neuro-Symbolic Approach to Zebra Puzzles

Authors: Paulius Skaisgiris, Thomas Pammer, Veronika Semmelrock, Mykyta Ielanskyi, Maximilian Heisinger, Erich Kobler

Organizations: Institute of Logic and Computation, TU Wien, Austria · Institute for Application-Oriented Knowledge Processing, JKU Linz, Austria · Department of Artificial Intelligence and Cybersecurity, University of Klagenfurt, Austria · Institute for Machine Learning, JKU Linz, Austria · 

Abstract

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.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Neurosymbolic Language Reasoning as Satisfiability Modulo Theory

    Feb 20, 2026Hyunseok Oh, Sam Stern, Youngki Lee +1Constraint-Guided Reasoning in Language ModelsNeuro-Symbolic Reasoning

  2. SymStep: Symbolic Step Verification for Logical Reasoning

    Jul 25, 2026Aida Usmanova, Rui Gao, Dilshod Azizov +2Constraint PropagationSymbolic Reasoning