Energy-Based Reasoners: 345x Cheaper Inference for Looped Reasoning Models
Energy-Based Reasoners (EBRs) are looped reasoning models that learn a scalar energy function over latent reasoning states and treat each recurrent update as a gradient-descent step on that energy. In the paper "Energy-Based Reasoners: Your Recurrent Reasoner Should Be an Energy-Based Model" (arXiv 2611.08977, from Duke University, UIUC, and Harvard University), a 1.8M-parameter EBR reaches 99.4% single-sample accuracy on Sudoku-Extreme - and 99.9% with five samples - while the paper reports 345x less inference compute than the next-best model, which uses 5-7M or 10M parameters.
The practical significance is that an energy function gives a looped model three things it normally has to obtain from outside: a way to score a candidate answer without an external verifier, a gradient direction for refining that answer, and a principled signal for when to stop looping.
The problem EBRs address: looped models have no measure of progress
Existing looped models iterate a recurrent block to scale effective depth and reason in latent space, but their latent updates are not guided by an explicit measure of progress. Because of that, a looped model has no inherent way to determine when to stop looping or how to improve on its current state.
EBRs make progress explicit by learning an energy function over latent reasoning states and formulating the looped updates as gradient descent on that energy. The authors state that across four algorithmic reasoning benchmarks, EBRs match or outperform prior recurrent reasoning models while maintaining comparable training compute.
How an EBR works: score, refine, stop, select
An EBR uses a single learned energy function for four distinct jobs.
- Score. The energy rates the compatibility between the reasoning state and the initial board. Lower energy means better compatibility.
- Refine. The gradient of the energy turns the score into an improvement direction, so the recurrent update becomes a descent step rather than an unguided iteration.
- Stop. A state becomes stationary once its gradient is small, so gradient magnitude acts as a per-trajectory stopping criterion.
- Select. When multiple candidate solutions exist, the model picks the candidate with the lowest energy.
The project page reports energy, gradient norm, and step size during descent on Sudoku-Extreme: correct trajectories settle at low energy with small gradients, while wrong trajectories keep moving.
Exploration-based training shapes the energy landscape
To train EBRs effectively, the authors introduce exploration-based training, which is designed to discover additional modes and to better shape the energy landscape over a broader set of states. This is presented as a training-side contribution: the efficiency claims are about inference compute, and the abstract states that training compute is comparable to prior recurrent reasoning models.
Results: EBR leads single-sample accuracy on Sudoku-Extreme and Maze-Hard
EBRs give the best single-sample accuracy among the reasoning models compared on the project page, with an order of magnitude fewer parameters on the Sudoku task.
| Method | # Params | Sudoku-Extreme (single sample, %) | Maze-Hard (single sample, %) |
|---|---|---|---|
| TRM | 5-7M | 87.4 | 85.3 |
| EqR | 5-7M | 93.0 | - |
| FPRM | 7M | 94.2 | 87.0 |
| GRAM | 10M | 86.6 | - |
| Looped flows | 5-7M | 97.9 | 86.7 |
| EBR (ours) | 1.8M | 99.4 | 87.4 |
| Method | Sudoku-Extreme (multi-sample, %) | Maze-Hard (multi-sample, %) |
|---|---|---|
| PTRM | 98.8 (100 samples) | 86.7 (100) |
| EqR | 99.8 (128) | - |
| GRAM | 96.1 (20) | - |
| Looped flows | 99.3 (5) | 86.9 (5) |
| EBR (ours) | 99.9 (5) | 88.3 (5) |
With five passes, EBR reaches 99.9% on Sudoku-Extreme, ahead of EqR's 99.8% with 128 samples, and 88.3% on Maze-Hard, ahead of PTRM's 86.7% with 100 samples.
Adaptive stopping accounts for most of the compute saving
Each trajectory stops once its energy gradient falls below a threshold, so easy puzzles finish in a few steps and hard puzzles keep going. The paper reports that this threshold-based stopping keeps 99.9% Sudoku-Extreme accuracy while using 10.9x fewer FLOPs than a fixed-depth EBR, and that it allows EBR to surpass EqR with 345x fewer FLOPs.
Test-time scaling: 7x fewer iterations and 43x fewer samples
Running more descent steps refines each answer further, and running more trajectories gives the energy function more candidates to choose the lowest-energy one from. EBRs reach EqR's best accuracy with 7x fewer iterations and 43x fewer samples, measured as mean and standard deviation over three seeds. The GRAM and TRM baselines are taken from GRAM's paper, and the EqR baseline uses its released checkpoint.
Multiple solutions: state-of-the-art coverage on N-Queens and Graph Coloring
EBR behaves like stochastic gradient descent and can capture many distinct valid solutions rather than collapsing to one. Coverage (Cov@20) is the share of each input's distinct valid solutions that 20 samples find.
| Method | N-Queens 8x8 Pass@1 (%) | N-Queens 10x10 Pass@1 (%) | Graph Coloring 8-vertex Conflicts | Graph Coloring 10-vertex Conflicts |
|---|---|---|---|---|
| TRM | 66.8 | 17.5 | 109.3 | 170.7 |
| GRAM | 99.5 | 89.7 | 8.3 | 31.3 |
| EBR (ours) | 100 | 99.5 | 0 | 0 |
| Method | N-Queens 8x8 Cov@20 (%) | N-Queens 10x10 Cov@20 (%) | Graph Coloring 8-vertex Cov@20 (%) | Graph Coloring 10-vertex Cov@20 (%) |
|---|---|---|---|---|
| TRM | 22.6 | 2.0 | 22.3 | 6.8 |
| GRAM | 89.7 | 57.5 | 85.8 | 51.3 |
| EBR (ours) | 98.1 | 92.0 | 88.6 | 54.5 |
EBR reaches 100% single-sample accuracy on 8x8 N-Queens, 99.5% on 10x10, and zero summed edge conflicts on both graph-coloring sizes, while also finding the highest share of distinct valid solutions at 20 samples. Baselines are taken from GRAM's paper, and conflicts are edges summed over the test graphs.
The headline number is 345x in the paper and 385x in the submission title
The Hacker News submission is titled with a 385x inference-efficiency figure, while the project page and abstract report 345x. A commenter flagged the mismatch directly:
"title says 385x and the page says 345x, I guess the compression is lossy?" - @cobychapple
The paper page consistently uses 345x. Both figures describe the same comparison: EBR versus EqR on Sudoku-Extreme.
What the discussion questioned
Is "energy" just an unconstrained real number?
A commenter noted that the paper's definition of energy-based modeling is thin on specifics:
"The paper does not seem to define what Energy-Based means. The paper says: 'EBMs learn a scalar function that assigns an energy to a candidate prediction given an input.' What codomain do those learned scalar function have? I guess real numbers? But is 'Energy' just a synonym for the reals?" - @xgk
In the material available from the project page, the learned scalar function is described only as assigning an energy to a candidate prediction conditioned on an input, with lower energy indicating better compatibility; no codomain is stated explicitly.
Training EBMs is hard, and the results may be domain-specific
A commenter who reports a year of work on energy-based models warned about both the difficulty and the narrowness of the approach:
"EBMs while ... how to say it, they are impressive validators, it's insanely hard to train them. They are very niche specific. While LLMs, being not right all the time and clumsy and so on, they help the people to get the job done at the end. EBM sudoku is not that hard in a small scale, and Logical Intelligence sudoku solver doesn't scale, if I'm wrong, I want to see them offering as big of a sudoku as you want." - @mocmoc
The benchmarks are discrete, fixed-size, and rule-constrained
Multiple commenters framed the results as strong but narrow. One described the work as effective only for a very specific logic-puzzle problem set, and another asked for evidence beyond constraint games:
"This is basic and similar to recurrent reasoning papers, it works only on sudoku and basic games, with constrained rules, unique or low number of solutions. It would be interesting to see how these reasoners do in games like Chess or Go. Efficient inference is useful when it comes with something useful." - @scurnus
All four benchmarks in the paper - Sudoku-Extreme, Maze-Hard, N-Queens, and Graph Coloring - are discrete constraint problems with programmatically checkable solutions.
A mechanical reading: energy-guided local search with learned guesses
One commenter interpreted the method as a learned version of conflict-scored local search. In their Sudoku framing, conflicting cells get high energy, empty cells get a small energy, and filled cells with no conflicts get zero, and the digit sampled for a chosen cell is weighted down by how often that digit already appears in the row or column - an approach they described as a form of wave function collapse with random exploration driven by energy.
They also gave a weight-level reading and listed several limitations:
"It works by training a weight matrix (N-to-N) on different solutions. For example, in sudoku you're training a weight matrix for every space to every other space (81 c 2), with 9x9 numbers (~240K weights). So then the 'energy' for every number in a space is W_ij(a, b) where ij is a pair of spaces, and (a, b) is a pair numbers you want to swap (e.g. 4->2 in the space). Pick the lowest energy move each time (argmin of this whole space), and iterate." - @program_whiz
That commenter argued the approach is discrete and needs a fixed space definition, requires the ruleset and validity checker to be defined in advance, uses task-specific search, and does not easily support the fuzzy, continuous representations needed for language or image-based reasoning. They also noted that training needs strongly labeled correct solutions and counter-examples, that a conventional CPU Sudoku solver would likely be 10-100x faster, and that on the H200 hardware used in the paper the whole Sudoku dataset could likely be solved in under a second. Their conclusion was that the approach remains interesting because the learned energy encodes likely guesses, which may help in very large search spaces where dynamic programming degrades.
Broader context raised in the discussion
- EBM advocacy outside the paper. A commenter pointed to Logical Intelligence, chaired by Yann LeCun among others, as a source of EBM context and examples in areas where LLMs underperform, such as primary-school-level arithmetic and counting, while also producing Lean proofs. The same commenter raised the counterpoint that it may not matter whether an LLM can count accurately when it can instead write code that computes the answer reliably.
- Energy landscapes as a general framing. One commenter proposed reading machine learning through an information-theoretic lens, treating data as an observable artifact of underlying structure and constraints, and reasoning as navigation of an energy landscape.
- Hardware analogy. Another commenter observed that the approach "seems sort of like Ising machines."
- Adjacent literature. A commenter pointed to the title "Autoregressive Language Models are Secretly Energy-Based Models" as related reading, without further elaboration.
Open questions
The paper answers a narrow question well: for discrete constraint satisfaction, an explicit energy function makes a small looped model both more accurate and dramatically cheaper at inference. It does not answer whether the same construction extends to open-ended reasoning.
- Whether EBR-style energy guidance scales to games with larger branching and less constrained rule sets, such as Chess or Go, is untested in this work.
- Whether an energy over latent states removes the need to compress large knowledge corpora into model weights - or merely complements it - is unresolved; a commenter framed the tradeoff as externalizing knowledge into queryable discrete stores versus running smaller local models on lower-energy hardware.
- Whether the method generalizes past fixed-size, rule-defined problems to representations where validity is not programmatically checkable, which the weight-level reading in the comments identifies as the hardest obstacle.
Resources
- Project page: https://energy-based-reasoners.github.io/
- Paper: arXiv 2611.08977, "Energy-Based Reasoners: Your Recurrent Reasoner Should Be an Energy-Based Model"
- Code: https://github.com/wwillchen/ebr
- Authors: William Xingxu Chen, Alexi Gladstone, Zeyu Michael Li, Heng Ji, Yilun Du (2026)
- Hacker News discussion: https://news.ycombinator.com/item?id=50543989
Sources
Related
- Project
- Dispatch
- Dispatch
- Project
- Dispatch