NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Atom of Thoughts for Markov LLM Test-Time Scaling

Fengwei Teng, Quan Shi, Zhaoyang Yu, Jiayi Zhang, Yuyu Luo, Chenglin Wu, Zhijiang Guo

Abstract

Large Language Models (LLMs) typically scale reasoning performance at test-time by expanding history-dependent trajectories, such as Chain-of-Thought (CoT) or Tree-of-Thought (ToT). However, these methods suffer from context accumulation, redundant information, and increased computational costs. We introduce Atom of Thoughts (AoT), a framework that treats reasoning as a Markovian state-transition process. By iteratively decomposing problems into atomic units and contracting them into simplified, answer-equivalent states, AoT decouples reasoning from historical context. Our evaluation across mathematical, coding, and multi-hop reasoning benchmarks demonstrates that AoT achieves superior accuracy and efficiency, providing a scalable and memoryless alternative to traditional reasoning methods.

Introduction

Current strategies for improving LLM performance during inference—often referred to as "test-time scaling"—rely heavily on expanding the reasoning trajectory. Whether utilizing simple linear chains (CoT) or complex branching structures (ToT, GoT), these frameworks share a fundamental limitation: they are history-dependent. To generate the next step in a solution, the model must process the entire preceding reasoning chain. As these chains grow, they accumulate "contextual noise," leading to higher costs and potential model confusion.

Atom of Thoughts (AoT) addresses this by proposing a "memoryless" approach. Inspired by Markov chains, where the next state depends only on the current state, AoT reformulates the reasoning process into a series of self-contained, answer-equivalent transitions. This allows the model to scale its reasoning depth without the burden of an ever-expanding history.

The Atom of Thoughts Framework

The core of AoT is the Markovian Reasoning Process. In this paradigm, each state $Q_i$ represents a version of the original problem $Q_0$ that has been simplified but remains "answer-equivalent"—meaning a correct solution to $Q_i$ is also a correct solution to $Q_0$.

The Transition Cycle

The transition from one state to the next ($Q_i \to Q_{i+1}$) occurs in two distinct phases:

  1. Decomposition: The LLM analyzes the current problem and breaks it down into a Directed Acyclic Graph (DAG) of sub-problems or "thoughts." This DAG explicitly maps out the logical dependencies required to solve the problem.
  2. Contraction: The model identifies independent sub-problems (leaf nodes in the DAG), solves them, and integrates their results back into the problem statement. This results in a new, reformulated, and simplified version of the question ($Q_{i+1}$).

Stability and Termination

To maintain the integrity of the reasoning process, AoT employs an LLM-as-a-judge strategy. After each contraction, a judge compares the original problem, the intermediate DAG, and the new contracted question. If the judge determines that the new question has lost its "answer equivalence" (i.e., it no longer represents the original problem's intent), the process terminates to prevent error propagation, returning the most reliable previous state.

Experimental Evaluation

Benchmarks and Models

AoT was evaluated across a diverse suite of reasoning-intensive datasets:

  • Mathematics: MATH, GSM8K, and AIME (American Invitational Mathematics Examination).
  • Code Generation: MBPP and LiveCodeBench.
  • Multi-hop QA: LongBench (including HotpotQA and MuSiQue).

The framework was tested using both standard models (GPT-4o-mini, DeepSeek-V3) and models specifically optimized for reasoning (O3-mini, DeepSeek-R1).

Key Results

AoT consistently outperformed existing baselines as the computational budget increased:

  • Accuracy Gains: On the MATH benchmark, GPT-4o-mini using AoT achieved a score of 83.6, significantly higher than standard CoT (78.3) and even specialized agentic frameworks like AFlow (83.0).
  • Scaling Reasoning Models: Even for models with native reasoning capabilities, AoT provided a performance boost. DeepSeek-R1 reached 81.7 on the AIME benchmark with AoT, compared to 78.3 with standard CoT.
  • Efficiency: By discarding intermediate reasoning "chatter" and only retaining the reformulated state, AoT maintains a superior cost-to-accuracy ratio compared to history-dependent methods.

Discussion and Insights

The Emergence of "Atoms"

A significant finding of this research is the emergence of "atomic" units. As Markovian chains scale, reasoning trajectories naturally converge into indivisible, low-complexity sub-problems. These atoms can be solved with high stability, reducing the likelihood of the model hallucinating during complex multi-step tasks.

Plug-and-Play Scalability

Because AoT outputs a simplified version of the original question at each step, it is highly compatible with other frameworks. It can serve as a pre-processor for methods like Forest-of-Thought (FoT), streamlining the problem before more intensive search algorithms are applied.

Limitations

While AoT offers a robust path for scaling, it is not without challenges. The decomposition and contraction steps require additional LLM calls, which may be inefficient for trivial problems. Furthermore, the framework's success is tied to the underlying model's ability to generate valid structural DAGs; weaker models may struggle with the required logical decomposition.

Conclusion

Atom of Thoughts represents a shift in how we approach LLM test-time scaling. By moving from history-heavy reasoning chains to a memoryless, Markovian state-transition model, AoT enables more efficient and accurate problem-solving. Future work will focus on developing adaptive termination criteria and exploring the potential of fine-tuning models specifically on these Markovian trajectories to internalize atomic reasoning patterns.

Summary updated

BibTeX
@inproceedings{teng2025atom,
  author = {Fengwei Teng and Quan Shi and Zhaoyang Yu and Jiayi Zhang and Yuyu Luo and Chenglin Wu and Zhijiang Guo},
  title = {{Atom of Thoughts for Markov LLM Test-Time Scaling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=qXSFkP0ELS},
}
Figure