基于能量的推理器:你的循环推理器应当是一个基于能量的模型

·

研究论文 · 2026/11/18

循环模型通过重复迭代循环块来扩展有效深度,实现潜在空间中的多步推理,但缺乏显式的进展度量,难以确定何时停止循环以及如何改进当前状态。为此,本文提出基于能量的推理器(EBRs),它学习潜在推理状态上的能量函数,并将循环更新表述为在该能量上的梯度下降。能量对潜在状态进行评分,其梯度引导细化并提供停止信号。为了有效训练EBRs,进一步引入基于探索的训练,以发现额外模式并在更广泛的状态集上更好地塑造能量景观。在四个算法推理基准上,EBRs匹配或优于先前的循环推理模型,在Sudoku-Extreme上达到99.9%的准确率,同时推理计算量比次优模型少345倍,训练计算量相当。在所有多解基准上,EBRs在保持接近100%单样本准确率的同时,实现了对 distinct 有效解的最先进覆盖。这些结果表明,基于能量的模型是实现强推理性能的有前景的方法。

该论文将能量模型与循环推理相结合,显著提升了推理的效率和性能,在极端数独任务上以极低的推理计算量达到近乎完美的准确率,为强推理模型的设计提供了新思路。

Looping is a powerful inductive bias for reasoning. By repeatedly iterating a recurrent block, looped models can scale their effective depth and enable multi-step reasoning in latent space. However, existing looped models are not inherently guided by an explicit measure of progress, making it difficult to determine when to stop looping and how to improve upon the current state. To enable this, we introduce Energy-Based Reasoners (EBRs), which learn an energy function over latent reasoning states and formulate looped updates as gradient descent on this energy. The energy scores latent states, while its gradient guides refinement and provides a signal for stopping. To train EBRs effectively, we further introduce exploration-based training to discover additional modes and to better shape the energy landscape over a broader set of states. Across four algorithmic reasoning benchmarks, EBRs match or outperform prior recurrent reasoning models, achieving 99.9% accuracy on Sudoku-Extreme while using 345times less inference compute than the next-best model and maintaining comparable training compute. On all multi-solution benchmarks, EBRs achieve state-of-the-art coverage of distinct valid solutions while maintaining near-100% single-sample accuracy. These results suggest that energy-based models are a promising approach for strong reasoning performance.

阅读原文

参与讨论