On the Bias of Next-Token Predictors Toward Systematically Inefficient Reasoning: A Shortest-Path Case Study
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Recent advances in natural language processing highlight two key factors for improving reasoning in large language models (LLMs): (i) allocating more test-time compute tends to help on harder problems but often introduces redundancy in the reasoning trace, and (ii) compute is most effective when reasoning is systematic and incremental, forming structured chains of thought (CoTs) akin to human problem-solving. To study these factors in isolation, we introduce a controlled setting based on shortest-path tasks in layered graphs. We train decoder-only transformers on question-trace-answer triples using a custom tokenizer, comparing models trained on optimal bottom-up dynamic programming traces with those trained on longer, valid traces involving backtracking. Surprisingly, with the same training-token budget, models trained on inefficient traces generalize better to unseen graphs. This benefit is not due to length alone-injecting arbitrary redundancy into reasoning traces fails to help and can even hurt performance. Instead, we find that generalization correlates with the model's confidence in next-token prediction, suggesting that long, coherent, and locally incremental traces make the training signal easier to optimize.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 11 of its 49 references that are in the map. First posted on arXiv 7 Jul 2025.
Builds on
11 of 49 references.
Closest ancestors · 1
Same direction, newest first
- 2025s1: Simple test-time scaling31 Jan
Other references · 10
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2019The Curious Case of Neural Text Degenerationcited by 2,916
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2024The AI Scientist: Towards Fully Automated Open-Ended Scientific Discoverycited by 1,071
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 886
- 2024Chain-of-Thought Reasoning Without Promptingcited by 210
- 2025LLMs Can Easily Learn to Reason from Demonstrations Structure, not content, is what matters!cited by 132
- 2024Beyond A*: Better Planning with Transformers via Search Dynamics Bootstrappingcited by 90
- 2024Understanding Transformer Reasoning Capabilities via Graph Algorithmscited by 67
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026On the Token Value Inequality in Efficient Reasoning
- 2026Shorthand for Thought: Compressing LLM Reasoning via Entropy-Guided Supertokens
- 2025Do Latent Tokens Think? A Causal and Adversarial Analysis of Chain-of-Continuous-Thought
- 2026Playing Psychic: Using Thought Trees to Predict Reasoning Models Accuracy on Coding Tasks
- 2026Probing the Trajectories of Reasoning Traces in Large Language Models
- 2025Token Assorted: Mixing Latent and Text Tokens for Improved Language Model Reasoning
- 2026Efficient Reasoning via Constrained Optimization in Latent Space
- 2025THOUGHTTERMINATOR: Benchmarking, Calibrating, and Mitigating Overthinking in Reasoning Models