Causal Language Modeling Can Elicit Search and Reasoning Capabilities on Logic Puzzles
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Causal language modeling using the Transformer architecture has yielded remarkable capabilities in Large Language Models (LLMs) over the last few years. However, the extent to which fundamental search and reasoning capabilities emerged within LLMs remains a topic of ongoing debate. In this work, we study if causal language modeling can learn a complex task such as solving Sudoku puzzles. To solve a Sudoku, the model is first required to search over all empty cells of the puzzle to decide on a cell to fill and then apply an appropriate strategy to fill the decided cell. Sometimes, the application of a strategy only results in thinning down the possible values in a cell rather than concluding the exact value of the cell. In such cases, multiple strategies are applied one after the other to fill a single cell. We observe that Transformer models trained on this synthetic task can indeed learn to solve Sudokus (our model solves 94.21% of the puzzles fully correctly) when trained on a logical sequence of steps taken by a solver. We find that training Transformers with the logical sequence of steps is necessary and without such training, they fail to learn Sudoku. We also extend our analysis to Zebra puzzles (known as Einstein puzzles) and show that the model solves 92.04 % of the puzzles fully correctly. In addition, we study the internal representations of the trained Transformer and find that through linear probing, we can decode information about the set of possible values in any given cell from them, pointing to the presence of a strong reasoning engine implicit in the Transformer weights.
Key facts. Cited by 35 papers in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 31 of its 56 references that are in the map. First posted on arXiv 16 Sep 2024.
Builds on
31 of 56 references.
Closest ancestors · 2
Same direction, newest first
- 2024Puzzle Solving using Reasoning of Large Language Models: A Survey17 Feb
- 2022ReAct: Synergizing Reasoning and Acting in Language Models6 Oct
Other references · 29
- 2023GPT-4 Technical Reportcited by 18,132
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
- 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,302
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2022Inner Monologue: Embodied Reasoning through Planning with Language Modelscited by 1,057
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
- 2023Gemini: A Family of Highly Capable Multimodal Modelscited by 810
17 more
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 679
- 2016Neural Combinatorial Optimization with Reinforcement Learningcited by 600
- 2024TravelPlanner: A Benchmark for Real-World Planning with Language Agentscited by 385
- 2022PlanBench: An Extensible Benchmark for Evaluating Large Language Models on Planning and Reasoning about Changecited by 372
- 2023Emergent Linear Representations in World Models of Self-Supervised Sequence Modelscited by 313
- 2022Transformers Learn Shortcuts to Automatacited by 260
- 2023Large Language Model Guided Tree-of-Thoughtcited by 218
- 2023Planning with Large Language Models for Code Generationcited by 179
- 2024The pitfalls of next-token predictioncited by 156
- 2023Teaching Arithmetic to Small Transformerscited by 121
- 2024Physics of Language Models: Part 2.1, Grade-School Math and the Hidden Reasoning Processcited by 107
- 2024Beyond A*: Better Planning with Transformers via Search Dynamics Bootstrappingcited by 89
- 2023Physics of Language Models: Part 1, Learning Hierarchical Language Structurescited by 83
- 2024On the Origins of Linear Representations in Large Language Modelscited by 76
- 2024Amortized Planning with Large-Scale Transformers: A Case Study on Chesscited by 45
- 2023Improving Length-Generalization in Transformers via Task Hintingcited by 12
- 2021Puzzle Solving without Search or Human Knowledge: An Unnatural Language Approachcited by 8
Built on by
Citing papers per year: 2024: 2; 2025: 17; 2026: 16.
35 papers.
Sort:
By area:
- 2025Gemma 3 Technical Reportcited by 1,686
- 2025Train for the Worst, Plan for the Best: Understanding Token Ordering in Masked Diffusionscited by 208
- 2025BIG-Bench Extra Hardcited by 123
- 2025Inverse Scaling in Test-Time Computecited by 49
- 2025To Backtrack or Not to Backtrack: When Sequential Search Limits Model Reasoningcited by 24
- 2025Sudoku-Bench: Evaluating creative reasoning with Sudoku variantscited by 21
- 2025Improving Discrete Diffusion Unmasking Policies Beyond Explicit Reference Policiescited by 21
- 2024Transformers Struggle to Learn to Searchcited by 19
- 2024Chasing Progress, Not Perfection: Revisiting Strategies for End-to-End LLM Plan Generationcited by 11
- 2025Insertion Language Models: Sequence Generation with Arbitrary-Position Insertionscited by 11
- 2026Reasoning with Latent Tokens in Diffusion Language Modelscited by 8
- 2026Stop Training for the Worst: Progressive Unmasking Accelerates Masked Diffusion Trainingcited by 8
23 more
- 2025Scalable Autoregressive 3D Molecule Generationcited by 7
- 2026Flow Reasoning Models: Turning Flows Into Efficient Recurrent Reasonerscited by 5
- 2025Variational Masked Diffusion Modelscited by 4
- 2025Are Language Models Efficient Reasoners? A Perspective from Logic Programmingcited by 4
- 2025Language Models, Graph Searching, and Supervision Adulteration: When More Supervision is Less and How to Make More Morecited by 3
- 2026When Does Intrinsic Self-Correction Help? A Task-Sensitive Analysiscited by 3
- 2025LogiPlan: A Structured Benchmark for Logical Planning and Relational Reasoning in LLMscited by 2
- 2025Teaching Transformers to Solve Combinatorial Problems through Efficient Trial & Errorcited by 2
- 2026Leveraging Pretrained Language Models as Energy Functions for Glauber Dynamics Text Diffusioncited by 1
- 2026The Confidence Shortcut: A Reasoning Failure Mode of Masked Diffusion Modelscited by 1
- 2026Scheduling Thoughts: Learning the Order of Thought in Diffusion Language Modelscited by 1
- 2026Formalizing Latent Thoughts: Four Axioms of Thought Representation in LLMscited by 1
- 2025Learning Model Successorscited by 0
- 2025Project Patti: Why can You Solve Diabolical Puzzles on one Sudoku Website but not Easy Puzzles on another Sudoku Website?cited by 0
- 2025Bootstrapped Mixed Rewards for RL Post-Training: Injecting Canonical Action Ordercited by 0
- 2026Recursive Scaling in Masked Diffusion Modelscited by 0
- 2026Understanding Parallel Samplers in Masked Diffusion via Random Walks on Graphscited by 0
- 2026Sticky Jump Diffusions: A Unifying View of Masked, Continuous, and Hybrid Diffusioncited by 0
- 2026Token Time Continuous Diffusion for Language Modelingcited by 0
- 2026From Interface to Inference: Eliciting Any-Order Inference from Any-Order Modelscited by 0
- 2026Position: Certified Correctness in Neural Constraint Reasoning Requires Symbolic Integrationcited by 0
- 2026Random Recursive Modelscited by 0
- 2026Hierarchical Continuous Diffusion Language Modelscited by 0
- 2026Hierarchical Continuous Diffusion Language Models1 Oct 2026
- 2026Random Recursive Models30 Sep 2026
- 2026From Interface to Inference: Eliciting Any-Order Inference from Any-Order Models29 Jul 2026
- 2026Sticky Jump Diffusions: A Unifying View of Masked, Continuous, and Hybrid Diffusion12 Jul 2026
- 2026Flow Reasoning Models: Turning Flows Into Efficient Recurrent Reasoners28 Jun 2026
- 2026Scheduling Thoughts: Learning the Order of Thought in Diffusion Language Models22 Jun 2026
- 2026When Does Intrinsic Self-Correction Help? A Task-Sensitive Analysis22 Jun 2026
- 2026Understanding Parallel Samplers in Masked Diffusion via Random Walks on Graphs22 Jun 2026
- 2026Recursive Scaling in Masked Diffusion Models16 Jun 2026
- 2026Position: Certified Correctness in Neural Constraint Reasoning Requires Symbolic Integration2 Jun 2026
- 2026The Confidence Shortcut: A Reasoning Failure Mode of Masked Diffusion Models27 May 2026
- 2026Token Time Continuous Diffusion for Language Modeling7 May 2026
23 more
- 2026Formalizing Latent Thoughts: Four Axioms of Thought Representation in LLMs7 May 2026
- 2026Leveraging Pretrained Language Models as Energy Functions for Glauber Dynamics Text Diffusion5 May 2026
- 2026Stop Training for the Worst: Progressive Unmasking Accelerates Masked Diffusion Training10 Feb 2026
- 2026Reasoning with Latent Tokens in Diffusion Language Models3 Feb 2026
- 2025Bootstrapped Mixed Rewards for RL Post-Training: Injecting Canonical Action Order3 Dec 2025
- 2025Are Language Models Efficient Reasoners? A Perspective from Logic Programming29 Oct 2025
- 2025Variational Masked Diffusion Models27 Oct 2025
- 2025Improving Discrete Diffusion Unmasking Policies Beyond Explicit Reference Policies7 Oct 2025
- 2025Teaching Transformers to Solve Combinatorial Problems through Efficient Trial & Error26 Sep 2025
- 2025Project Patti: Why can You Solve Diabolical Puzzles on one Sudoku Website but not Easy Puzzles on another Sudoku Website?22 Jul 2025
- 2025Inverse Scaling in Test-Time Compute19 Jul 2025
- 2025LogiPlan: A Structured Benchmark for Logical Planning and Relational Reasoning in LLMs12 Jun 2025
- 2025Sudoku-Bench: Evaluating creative reasoning with Sudoku variants22 May 2025
- 2025Scalable Autoregressive 3D Molecule Generation20 May 2025
- 2025Insertion Language Models: Sequence Generation with Arbitrary-Position Insertions9 May 2025
- 2025To Backtrack or Not to Backtrack: When Sequential Search Limits Model Reasoning9 Apr 2025
- 2025Gemma 3 Technical Report25 Mar 2025
- 2025Language Models, Graph Searching, and Supervision Adulteration: When More Supervision is Less and How to Make More More13 Mar 2025
- 2025BIG-Bench Extra Hard26 Feb 2025
- 2025Train for the Worst, Plan for the Best: Understanding Token Ordering in Masked Diffusions10 Feb 2025
- 2025Learning Model Successors31 Jan 2025
- 2024Chasing Progress, Not Perfection: Revisiting Strategies for End-to-End LLM Plan Generation14 Dec 2024
- 2024Transformers Struggle to Learn to Search6 Dec 2024
- 2025Train for the Worst, Plan for the Best: Understanding Token Ordering in Masked Diffusionscited by 208
- 2025Improving Discrete Diffusion Unmasking Policies Beyond Explicit Reference Policiescited by 21
- 2026Stop Training for the Worst: Progressive Unmasking Accelerates Masked Diffusion Trainingcited by 8
- 2025Scalable Autoregressive 3D Molecule Generationcited by 7
- 2025Variational Masked Diffusion Modelscited by 4
- 2026Leveraging Pretrained Language Models as Energy Functions for Glauber Dynamics Text Diffusioncited by 1
- 2026Recursive Scaling in Masked Diffusion Modelscited by 0
- 2026Understanding Parallel Samplers in Masked Diffusion via Random Walks on Graphscited by 0
- 2026Sticky Jump Diffusions: A Unifying View of Masked, Continuous, and Hybrid Diffusioncited by 0
- 2026Token Time Continuous Diffusion for Language Modelingcited by 0
- 2026From Interface to Inference: Eliciting Any-Order Inference from Any-Order Modelscited by 0
- 2026Hierarchical Continuous Diffusion Language Modelscited by 0
- 2026Hierarchical Continuous Diffusion Language Models1 Oct 2026
- 2026From Interface to Inference: Eliciting Any-Order Inference from Any-Order Models29 Jul 2026
- 2026Sticky Jump Diffusions: A Unifying View of Masked, Continuous, and Hybrid Diffusion12 Jul 2026
- 2026Understanding Parallel Samplers in Masked Diffusion via Random Walks on Graphs22 Jun 2026
- 2026Recursive Scaling in Masked Diffusion Models16 Jun 2026
- 2026Token Time Continuous Diffusion for Language Modeling7 May 2026
- 2026Leveraging Pretrained Language Models as Energy Functions for Glauber Dynamics Text Diffusion5 May 2026
- 2026Stop Training for the Worst: Progressive Unmasking Accelerates Masked Diffusion Training10 Feb 2026
- 2025Variational Masked Diffusion Models27 Oct 2025
- 2025Improving Discrete Diffusion Unmasking Policies Beyond Explicit Reference Policies7 Oct 2025
- 2025Scalable Autoregressive 3D Molecule Generation20 May 2025
- 2025Train for the Worst, Plan for the Best: Understanding Token Ordering in Masked Diffusions10 Feb 2025
- 2025BIG-Bench Extra Hardcited by 123
- 2025Inverse Scaling in Test-Time Computecited by 49
- 2025To Backtrack or Not to Backtrack: When Sequential Search Limits Model Reasoningcited by 24
- 2025Sudoku-Bench: Evaluating creative reasoning with Sudoku variantscited by 21
- 2026Reasoning with Latent Tokens in Diffusion Language Modelscited by 8
- 2026Flow Reasoning Models: Turning Flows Into Efficient Recurrent Reasonerscited by 5
- 2025Are Language Models Efficient Reasoners? A Perspective from Logic Programmingcited by 4
- 2025LogiPlan: A Structured Benchmark for Logical Planning and Relational Reasoning in LLMscited by 2
- 2026The Confidence Shortcut: A Reasoning Failure Mode of Masked Diffusion Modelscited by 1
- 2026Scheduling Thoughts: Learning the Order of Thought in Diffusion Language Modelscited by 1
- 2026Formalizing Latent Thoughts: Four Axioms of Thought Representation in LLMscited by 1
- 2026Flow Reasoning Models: Turning Flows Into Efficient Recurrent Reasoners28 Jun 2026
- 2026Scheduling Thoughts: Learning the Order of Thought in Diffusion Language Models22 Jun 2026
- 2026The Confidence Shortcut: A Reasoning Failure Mode of Masked Diffusion Models27 May 2026
- 2026Formalizing Latent Thoughts: Four Axioms of Thought Representation in LLMs7 May 2026
- 2026Reasoning with Latent Tokens in Diffusion Language Models3 Feb 2026
- 2025Are Language Models Efficient Reasoners? A Perspective from Logic Programming29 Oct 2025
- 2025Inverse Scaling in Test-Time Compute19 Jul 2025
- 2025LogiPlan: A Structured Benchmark for Logical Planning and Relational Reasoning in LLMs12 Jun 2025
- 2025Sudoku-Bench: Evaluating creative reasoning with Sudoku variants22 May 2025
- 2025To Backtrack or Not to Backtrack: When Sequential Search Limits Model Reasoning9 Apr 2025
- 2025BIG-Bench Extra Hard26 Feb 2025
- 2025Gemma 3 Technical Reportcited by 1,686
- 2024Transformers Struggle to Learn to Searchcited by 19
- 2024Chasing Progress, Not Perfection: Revisiting Strategies for End-to-End LLM Plan Generationcited by 11
- 2025Insertion Language Models: Sequence Generation with Arbitrary-Position Insertionscited by 11
- 2025Language Models, Graph Searching, and Supervision Adulteration: When More Supervision is Less and How to Make More Morecited by 3
- 2026When Does Intrinsic Self-Correction Help? A Task-Sensitive Analysiscited by 3
- 2025Learning Model Successorscited by 0
- 2025Project Patti: Why can You Solve Diabolical Puzzles on one Sudoku Website but not Easy Puzzles on another Sudoku Website?cited by 0
- 2025Bootstrapped Mixed Rewards for RL Post-Training: Injecting Canonical Action Ordercited by 0
- 2026Position: Certified Correctness in Neural Constraint Reasoning Requires Symbolic Integrationcited by 0
- 2026Random Recursive Modelscited by 0
- 2026Random Recursive Models30 Sep 2026
- 2026When Does Intrinsic Self-Correction Help? A Task-Sensitive Analysis22 Jun 2026
- 2026Position: Certified Correctness in Neural Constraint Reasoning Requires Symbolic Integration2 Jun 2026
- 2025Bootstrapped Mixed Rewards for RL Post-Training: Injecting Canonical Action Order3 Dec 2025
- 2025Project Patti: Why can You Solve Diabolical Puzzles on one Sudoku Website but not Easy Puzzles on another Sudoku Website?22 Jul 2025
- 2025Insertion Language Models: Sequence Generation with Arbitrary-Position Insertions9 May 2025
- 2025Gemma 3 Technical Report25 Mar 2025
- 2025Language Models, Graph Searching, and Supervision Adulteration: When More Supervision is Less and How to Make More More13 Mar 2025
- 2025Learning Model Successors31 Jan 2025
- 2024Chasing Progress, Not Perfection: Revisiting Strategies for End-to-End LLM Plan Generation14 Dec 2024
- 2024Transformers Struggle to Learn to Search6 Dec 2024
Similar, not cited
Close in wording, no citation either way
- 2026Transformers Linearly Represent Highly Structured World Models
- 2026Not Too Hard, Not Too Easy: Learning from Intermediate States for LLM Structured Reasoning
- 2026MaxSAT-Based Feedback for Guiding Vision-Language Models in Sudoku
- 2025Liquid Reasoning Transformers: A Sudoku-Based Prototype for Chess-Scale Algorithmic Tasks
- 2025Enigmata: Scaling Logical Reasoning in Large Language Models with Synthetic Verifiable Puzzles
- 2023Assessing Logical Puzzle Solving in Large Language Models: Insights from a Minesweeper Case Study
- 2026Recurrent Reasoning on Symbolic Puzzles with Sequence Models
- 2025LLM-First Search: Self-Guided Exploration of the Solution Space