Reasoning as Attractor Dynamics: Latent Memory Retrieval via Gibbs-Weighted Energy Minimization
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Large Language Models (LLMs) are traditionally viewed as autoregressive generators. However, from the perspective of collective computation, they function as high-dimensional Dense Associative Memories that store complex reasoning patterns as latent attractors. In this work, we investigate the energy landscape of mathematical reasoning. We posit that correct reasoning chains correspond to deep, wide attractor basins ("flat minima") in the model's output distribution, whereas hallucinations manifest as sharp, unstable local minima. To exploit this geometry, we introduce a retrieval mechanism based on a Gibbs measure of the trajectory's spectral entropy. By sampling multiple reasoning paths and weighting them by their inverse energy (P propto e-β E), we approximate the equilibrium distribution of the associative memory, effectively ``relaxing'' the system into a robust solution. Empirically, this physics-inspired mechanism improves Microsoft Phi-3.5 performance on GSM8K by 5.38% (84.7% → 90.1%), demonstrating that inference is better modeled as a dynamic settling process into an attractor basin rather than greedy next-token prediction.
Key facts. Cited by 1 paper 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 7 of its 8 references that are in the map. First posted on arXiv 23 Jun 2026.
Builds on
7 of 8 references.
References · 7
- 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
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2018Loss Surfaces, Mode Connectivity, and Fast Ensembling of DNNscited by 588
- 2020Hopfield Networks is All You Needcited by 475
- 2016Dense Associative Memory for Pattern Recognitioncited by 236
- 2023Energy Transformercited by 71
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026Towards Better Exploration in Sequential Test-Time Scaling30 Sep 2026
Similar, not cited
Close in wording, no citation either way
- 2026Equilibrium Reasoners: Learning Attractors Enables Scalable Reasoning
- 2025Directional Attractors in LLM Reasoning: How Similarity Retrieval Steers Iterative Summarization Based Reasoning
- 2025A Statistical Physics of Language Model Reasoning
- 2026Solve the Loop: Attractor Models for Language and Reasoning
- 2026A3-Bench: Benchmarking Memory-Driven Scientific Reasoning via Anchor and Attractor Activation
- 2026Reasoning emerges from constrained inference manifolds in large language models
- 2026Unlocking the Working Memory of Large Language Models for Latent Reasoning
- 2026Looped Reasoning Finishes Earlier Than You Think