From Natural Language to Exact Cover: A Neuro-Symbolic Approach to Zebra Puzzles
Paulius Skaisgiris, Thomas Pammer, Veronika Semmelrock, Mykyta Ielanskyi, Maximilian Heisinger, Erich Kobler
Read on arXiv →Key claim
Hybrid approach outperforms traditional neural reasoning methods.
In plain English
Imagine you're building an AI that needs to solve complex logic puzzles, like those found in games or exams. Current large language models (LLMs) can generate impressive text but often falter when faced with basic logical reasoning tasks. They lack the reliability and correctness that traditional symbolic systems, like SAT solvers, provide. However, these classical methods require problems to be framed in specific formal languages, which makes them less applicable to natural language inputs. This is what's called the gap between neural and symbolic reasoning. To bridge this gap, the authors propose a neuro-symbolic framework that combines the strengths of both approaches. The idea is to have an LLM translate a natural language logic puzzle into structured tool calls that set up a deterministic reasoning problem. A symbolic solver then finds the solution and offers feedback to refine any incorrect or incomplete encodings. This iterative process leverages the unique properties of specific puzzles, like Zebra puzzles, to enhance accuracy. Compared to previous methods, this hybrid approach consistently outperforms standard neural models and other neuro-symbolic techniques, indicating a promising direction for building more reliable AI systems capable of complex reasoning tasks.
The integration of neural semantic parsing with deterministic reasoning represents a significant advancement in addressing logical reasoning challenges.
The empirical evaluation across various LLMs and parameters supports the robustness of the proposed method.
Deep reliability assessment
The methodology supports improved performance on complex reasoning tasks by combining neural semantic parsing with symbolic reasoning, but it may overclaim by suggesting it consistently outperforms all neural baselines without specifying the conditions or limitations.
Reproducibility
yes, the code is available at https://codeberg.org/bilai-ss25-booleguru-llm/zebrallm
Key figure
The key architectural diagram likely illustrates the process of translating natural language Zebra puzzles into exact cover instances using neural semantic parsing and symbolic solving.
