Newshot

Energy-Based Reasoners: 385x more efficient inference

Original text(via Hacker News)

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 345× 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.

Why Energy?

Existing looped reasoners update their latent state without any explicit assessment of it. An EBR learns an energy function that guides refinement, stopping and selection.

Score. The energy rates the compatibility between the reasoning state z and the initial board x. Lower means better compatibility.

Refine. The gradient turns the score into an improvement direction.

Stop. The state becomes stationary once the gradient is small, so the gradient acts as a stopping criterion.

Select. Among multiple candidate solutions, we pick the one with the lowest energy.

Energy, gradient norm and residual during descent, solved vs wrong
Energy, gradient norm and residual during descent, solved vs wrong

Correct solutions settle at low-energy stationary states. Energy, gradient norm and step size during descent on Sudoku-Extreme. Correct trajectories settle at low energy with small gradients, while wrong ones keep moving.

Test-Time Scaling

Running more descent steps refines each answer further, and running more trajectories gives the energy more candidates to choose the lowest-energy one from.

Sudoku-Extreme accuracy vs iterations with one sample (left), and vs number of samples (right)
Sudoku-Extreme accuracy vs iterations with one sample (left), and vs number of samples (right)

EBRs reach EqR's best accuracy with 7× fewer iterations (left) and 43× fewer samples (right).

GRAM and TRM from GRAM's paper; EqR from its released checkpoint. Mean ± SD over three seeds.

Adaptive Stopping

Each trajectory stops once its energy gradient falls below a threshold, so easy puzzles finish in a few steps and hard ones keep going.

Sudoku-Extreme exact accuracy vs inference FLOPs per puzzle
Sudoku-Extreme exact accuracy vs inference FLOPs per puzzle
Method# ParamsSudoku-Extreme ↑Maze-Hard ↑
Single sample (%)
TRM5–7M87.485.3
EqR5–7M93.0–
FPRM7M94.287.0
GRAM10M86.6–
Looped flows5–7M97.986.7
EBR Ours1.8M99.487.4
Multiple samples (%), number of samples N in parentheses
PTRM5–7M98.8 (100)86.7 (100)
EqR5–7M99.8 (128)–
GRAM10M96.1 (20)–
Looped flows5–7M99.3 (5)86.9 (5)
EBR Ours1.8M99.9 (5)88.3 (5)

EBRs give the best single-sample accuracy among reasoning models. Within only 5 passes, they reach 99.9% and 88.3%, ahead of methods that draw up to 128. Stopping each trajectory once its energy gradient falls below a threshold keeps 99.9% accuracy with 10.9× fewer FLOPs than a fixed-depth EBR, allowing us to surpass EqR with 345× fewer FLOPs.

Multiple Solutions

EBR acts like stochastic gradient descent and can capture many different solutions. Coverage captures the share of each input's distinct valid solutions that 20 samples find.

MethodN-QueensGraph Coloring
8×810×108-vertex10-vertex
Single samplePass@1 (%) ↑Conflicts ↓
TRM66.817.5109.3170.7
GRAM99.589.78.331.3
EBR Ours10099.500
20 samplesCov@20 (%) ↑Cov@20 (%) ↑
TRM22.62.022.36.8
GRAM89.757.585.851.3
EBR Ours98.192.088.654.5

Pass@1 (%) and Conflicts (edges summed over the test graphs) use one sample. Cov@20 is the share of distinct valid solutions found by 20 samples (%). Baselines from GRAM's paper.

N-Queens 10×10

Graph Coloring, 10 vertices

BibTeX


        @misc{chen2026energybasedreasoners,
  title         = {Energy-Based Reasoners: Your Recurrent Reasoner Should Be an Energy-Based Model},
  author        = {Chen, William Xingxu and Gladstone, Alexi and Li, Zeyu Michael and Ji, Heng and Du, Yilun},
  year          = {2026},
  eprint        = {2611.08977},
  archivePrefix = {arXiv},
  primaryClass  = {cs.LG},
  url           = {https://arxiv.org/abs/2611.08977}
}
      

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by Hacker News
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗