Energy-Based Reasoners: Your Recurrent Reasoner Should Be an Energy-Based Model

William Xingxu Chen, Alexi Gladstone, Zeyu Michael Li, Heng Ji, Yilun Du

Duke University · UIUC · Harvard University

Published November 6, 2026 · on the feed November 17, 2026 · ▲ 9 · arXiv 2611.08977

Reasoning & mathModel architecture Full code arXiv ↗Hugging Face ↗

The abstract

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.

The Brief

2:03

A short podcast summary of the paper. Written and voiced by AI.

Transcript

Energy-Based Reasoners. Your Recurrent Reasoner Should Be an Energy-Based Model. By William Xingxu Chen and four others, from Duke University, the University of Illinois Urbana-Champaign, and one other institution. Published on the sixth of November.

Looping is a powerful inductive bias for reasoning. A looped model iterates the same recurrent block again and again, which lets it scale its effective depth and carry out multi-step reasoning in latent space. What these models lack is an explicit measure of progress. Nothing inside them says how good the current latent state is, so it is hard to know when to stop looping, and hard to know which direction would improve the state they are in.

Energy-Based Reasoners, or EBRs, supply that measure. They learn an energy function over latent reasoning states, and they recast each looped update as a step of gradient descent on that energy. One learned quantity then does three jobs. The energy scores a latent state. Its gradient says how to refine the state. And the same gradient provides a signal for when to stop.

Training an energy landscape well means shaping it over more than the states a model happens to visit. For that, the authors add exploration-based training, which is meant to discover additional modes and to shape the energy over a broader set of states. The result is a looped reasoner whose iterations are descent on a learned surface rather than repeated application of a block with no notion of better or worse.

The evaluation covers four algorithmic reasoning benchmarks, where EBRs match or outperform prior recurrent reasoning models. On Sudoku-Extreme they reach ninety-nine point nine percent accuracy while using three hundred and forty-five times less inference compute than the next-best model, with training compute kept comparable. On every multi-solution benchmark, EBRs achieve state-of-the-art coverage of distinct valid solutions, and they keep single-sample accuracy near one hundred percent while doing it.

The authors read these results as a case that energy-based models are a promising route to strong reasoning performance. Their argument rests on one substitution: a loop that runs with no measure of progress is replaced by one that descends an energy, and that energy is what tells the loop both where to go and when it has arrived.

The deep dive

6:24

A longer episode, written from the whole paper. Written and voiced by AI.

Transcript

Energy-Based Reasoners. Your Recurrent Reasoner Should Be an Energy-Based Model. By William Xingxu Chen and four others, from Duke University, the University of Illinois Urbana-Champaign, and one other institution. Published on the sixth of November. This is the long version: the whole paper rather than the abstract.

Looped reasoners apply the same small block of layers again and again to a latent state, which buys depth without buying parameters. But a loop has no built-in sense of progress, so models like HRM and TRM bolt on separate machinery: a learned head to decide when to halt, or a convergence test, or extra criteria to choose among noisy runs. The authors point out that in every case the evaluation is used only to stop or to select. The update itself is never guided by any assessment of where it stands. Their question is whether one learned objective could do all three jobs at once: steer the refinement, decide when to stop, and pick the best candidate.

A looped reasoner learns a transition: given the current latent state and the problem, it outputs the next state. An energy-based model learns something different. It learns a single scalar score for a candidate given an input, trained so that better candidates get lower energy. Run gradient descent on that score and you get an iterative update for free, one whose resting points are exactly the places where the energy stops changing.

Energy-Based Reasoners put the two together. Instead of learning the transition directly, they learn an energy over latent reasoning states, and each loop step is a step downhill on it. The prediction is decoded from wherever the state currently sits.

The energy network reuses the recurrent transformer block from TRM, then adds a small head that turns each token's output into a number and sums them. Although the sum is per token, self-attention lets each token's term depend on the others, so the constraints of the puzzle live in the backbone and the gradient couples the updates. Noise is injected before each step, and the state is projected onto a sphere to keep it bounded.

Training runs the model's own descent in segments, a scheme borrowed from HRM and TRM, and backpropagates only through the last seven steps of each one. Because every step already contains a gradient of the energy, training through it requires second-order derivatives. Each segment also samples its own number of steps and its own step size, so the energy cannot lean on one fixed schedule.

Then comes a piece the abstract never names. Convergence alone does not imply correctness: recurrent models are known to settle on wrong answers. So a convergence loss turns how much the state is still changing into a score, and trains that score against whether the decoded answer is right. Correct trajectories are pushed to come to rest. Wrong ones are discouraged from becoming stationary.

The last ingredient is state-based Explorative Modeling, or SXM. The model keeps several parallel descent trajectories per puzzle. The forward direction supervises only the trajectory that best matches the target, while the others keep evolving and stay eligible later. The reverse direction, for puzzles with many solutions, grades a trajectory against whichever valid solution it is closest to, and avoids reusing an already assigned solution, so the trajectories do not all collapse onto one answer.

On Sudoku-Extreme, with a single sample, the reasoner reaches ninety-nine point four percent exact accuracy, and on Maze-Hard eighty-seven point four, ahead of every compared method while using the fewest parameters. With a handful of samples and lowest-energy selection it reaches ninety-nine point nine percent on Sudoku. Stopping each trajectory once its gradient is small keeps that accuracy while cutting inference compute by ten point eight times, and against EqR at comparable accuracy the saving is up to three hundred and forty-five times. Lowest-energy selection comes close to an oracle, and beats choosing the most converged run.

The comparison that most directly tests the thesis is an ablation. Keep everything else fixed, including the single latent state, the noise and the convergence-based halting, and replace energy descent with a directly learned recurrent transition. Single-sample Sudoku accuracy falls from ninety-eight point nine six percent to sixty point zero five. Remove the convergence loss instead and it falls to forty-five point three two.

On the multi-solution puzzles, N-Queens and Graph Coloring, single samples stay near perfect, and coverage of distinct valid solutions on the larger queens board rises from fifty-seven point five percent for GRAM to ninety-two percent.

The paper has a limitations section, and it names four things. Training through energy descent needs second-order derivatives, and SXM adds cost by rolling out several trajectories, so on N-Queens and Graph Coloring training takes more total compute than GRAM. Energy training adds hyperparameters. SXM wants data. On Maze-Hard, with only a thousand training mazes, it brought no gain and was switched off. And every task is a structured puzzle, so whether this scales to language or planning is left open.

The appendix adds detail the abstract omits. Maze-Hard scores a prediction against one labeled shortest path, so an equally short alternative counts as wrong. Under any shortest path, accuracy is about ninety-four percent. On mazes the plain energy head learned to reward detours, and needed a softplus to fix it. And the ablations use a single seed, where the main results use three.

The idea to carry away is that a loop becomes far more useful once its update is the slope of something. Learn a score for reasoning states, walk downhill on it, and the same function tells you when you have arrived and which of several arrivals to trust. The ablation is the argument in one line: same model, same training, and swapping a learned step for a gradient step is the difference between sixty percent and ninety-nine.

Paper Quest · 7 chapters · about 39 min

Play this paper

Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.

Chapter 1 🧩 · The problem

Looping gives a small model depth. What it lacks is any sense of whether it is getting closer.

You are building a small model that solves Sudoku and mazes by applying the same block over and over to a hidden state, refining its guess with each pass.

The road ahead

  1. 1 · The problem ~6 min Models that loop one block over a hidden state have no built-in sense of progress, so they cannot tell when to stop or which way to improve.
  2. 2 · What came before ~3 min
  3. 3 · The key idea ~8 min Learn one energy that scores hidden states; each loop step goes downhill on it, a small gradient means stop, and the lowest energy picks the answer.
  4. 4 · Choose your own research ~3 min
  5. 5 · Build the method ~8 min Train a small transformer energy on the model's own descent paths, then at inference descend it, stop when the gradient is small, and keep the lowest-energy result.
  6. 6 · The experiment ~6 min You’ll guess: On Sudoku-Extreme, how many times less inference compute did Energy-Based Reasoners use than the next-best model?
  7. 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Join free to play the whole quest ›

Free, with Google or an email address. Your stars and progress are kept.

KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.