NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Lattice Deduction Transformers

Liam Davis, Alberto Alfarano, Leopold Haller, Mark Santolucito

NeurIPS page · OpenReview · Open on the map

Category: LLM Reasoning, Memory & RAG › Chain-of-Thought Reasoning · Type: new method · Keywords: logical deduction, recurrent transformer, lattice projection, puzzle solving, abstract interpretation, neural reasoning

Areas: LLM Reasoning › Efficient Reasoning › Latent and Looped Reasoning; Model Architectures & Sequence Modeling › Language Model Architectures › Algorithmic Transformers

Summary

Lattice Deduction Transformer (LDT) is a recurrent transformer that approximates logical deduction by projecting its latent state through a lattice, achieving near-perfect accuracy on Sudoku and Maze puzzles at low training cost.

Explained to a 5-year-old

A computer program was made to help solve tricky puzzles like Sudoku and maze games. It works like a brain that remembers what it has tried before and learns from its mistakes. The program can check if its answers are correct and will say it doesn't know if it is unsure. It can solve the puzzles almost perfectly without needing a huge amount of training data. This makes solving puzzles faster and cheaper for people who need to find answers quickly.

Explained to a 5-year-old, longer

A new computer brain was created to help solve puzzles like Sudoku and maze games. It works by remembering what it has tried before and learning from each attempt. The brain uses a special way to keep its thoughts organized, like a ladder for ideas. It can think step by step, trying different possibilities to find the right answer. When it is not sure about an answer, it can say that it does not know instead of guessing. The program was trained on many puzzle examples, so it knows how to handle new ones. It can solve Sudoku puzzles perfectly, filling every number in the right spot. It can also solve hard maze puzzles, finding the correct path almost every time. The program does not need a huge amount of data or a super powerful computer to work. It can finish solving puzzles quickly, which saves time for people who need answers fast. This makes puzzle solving easier for games, education, and maybe even real-world problems. Overall, the computer brain helps us solve tricky puzzles reliably and efficiently.

For a technical reader

The work introduces a recurrent transformer that learns to perform logical deduction by maintaining an internal state and passing it through a lattice structure between steps. Training is done on-policy, mimicking how a search-based constraint solver explores possibilities, and the model is supervised with an abstract-interpretation approximation of the solution set. Evaluations on three challenging puzzle benchmarks show near-perfect accuracy with relatively small models, while existing large language models achieve no correct answers. The design enables the model to abstain when uncertain, providing a sound reasoning behavior.

Problem

Existing small recurrent reasoners struggle to achieve high accuracy on challenging logical deduction puzzles while remaining computationally efficient and empirically sound. There is a need for a method that can approximate sound deduction with low training cost and the ability to abstain when uncertain.

Method

The approach uses a recurrent transformer that maintains a latent state and projects it through a lattice between forward passes to approximate sound deduction. Training is performed on-policy, mimicking deduction in a search-based constraint solver, and supervised with a domain-agnostic abstract-interpretation approximation of solution candidates.

Results

The approach achieves 100% accuracy on Sudoku-Extreme and Snowflake Sudoku with an 800K-parameter model and 99.9% accuracy on Maze-Hard with a 1.8M-parameter model, while frontier LLMs score 0% on all three.

Contributions

A recurrent transformer that approximates sound logical deduction via lattice projection, trained on-policy with an abstract-interpretation supervisor, enabling high-accuracy puzzle solving at low training cost and the ability to abstain when uncertain.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction