potentialpaper

How to Train Your Energy-Based Transformer: Understanding Stability in EBMs

Soran Ghaderi, Alexi Gladstone, Francesco Innocenti

ICLR 2027

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We explain why training energy-based transformers is unstable, derive a curvature score that predicts collapse, and show which backprop truncation works best per model size.

Abstract. Diffusion and autoregressive models generate images, video, and text at scale. Energy-based models (EBMs) cast generation as energy minimization. They learn a scalar energy that scores how well a candidate output matches the data, and energy-based transformers (EBTs) scale this approach by implementing the energy with a transformer. An EBT generates by refining a prediction through a sequence of gradient descent updates on the energy, starting from a noisy or corrupted input. Training differentiates through this refinement sequence, the same computation as backpropagation through time (BPTT) in recurrent networks, and it is often unstable. We analyze this instability. Each backward step multiplies the gradient by a factor set by the step size and by the curvature of the energy with respect to the prediction. We bound the resulting growth and convert the bound into a curvature score computed during training. We compare full BPTT with two lower-cost gradient estimators, truncated BPTT, which differentiates only the last few updates, and Anticipated Reweighted Truncated Backpropagation (ARTBP), which cuts the sequence at random points and reweights the surviving terms to remove the bias introduced by the cut. In image denoising with three model sizes, we find that the best estimator changes with scale. ARTBP gives the highest final training reconstruction quality with the small model, while truncation to the last three updates is best for the base and large models. With the objective and forward trajectory fixed, we find that the truncated gradient changes from closely aligned with the full gradient early in training to pointing in the opposite direction later. The curvature score separates failed from successful completed runs and predicts training stability over a horizon that shrinks with model size.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
19 Sep 2026ICLR 2027submittedICLR 2027Withdrawnreviews ↓[1]PDF[1]
Missing a version?

ICLR 2027

Withdrawn · 3 reviews · OpenReview

Updated 24 Nov 2026, 16:49 UTC.

Reviewer qgTjOpenReview ↗
Rating
3/4
Confidence
2/4
Soundness
2/3
Presentation
1/3
Informativeness
2/3
Read review
Summary

This paper analyzed the instability of EBTs by comparing the optimization quality of random truncation across model sizes and the changes in the retained gradient after truncation in existing algorithms. They utilized curvature score (defined using largest positive Hessian eigenvalue and learning factor) calculated during training and used it to monitor the correlation with instability and predict training failure and estimate performance. Their experiments involved using small, base, and large energy-based transformers for denoising.

Strengths

It is interesting that the paper consider using a curvature score during training to predict instability and training training failure to estimate performance.

Weaknesses

Although the analysis sounds interesting, however, I don't know what is the benefit from doing this. Gradient clipping has been commonly used to avoid instability, the paper did not discuss how clipping will affect their analysis, and I wonder if the maximum eigenvalue provided too generous bound here for the curvature score.

Meanwhile, the paper has many ambiguous statements, and imprecise terminologies. For example: "a gradient component along an eigenvector with curvature x"

Questions for the authors

Is the maximum eigenvalue provided too generous bound here for the curvature score?

Ethics concerns

None

Reviewer o47GOpenReview ↗
Rating
1/4
Confidence
2/4
Soundness
1/3
Presentation
2/3
Informativeness
2/3
Read review
Summary

This paper studies the training instability of image denoising EBTs and the performance of different BPTT algorithms. The authors propose that the high curvature of the energy function and gradient amplification during the backward pass explain the instability. To validate this explanation, the authors define a new metric, the curvature score, and demonstrate that the metric can be used to diagnose and predict training instability in image denoising EBTs. The authors also compare the performance of different BPTT algorithms (full BPTT, TBPTT-3, and ARTBP) and observe that truncated gradients can point in the opposite direction to the full gradients during training.

Strengths

This paper analyzes the training instability of image denoising EBTs from the perspective of gradient amplification during BPTT, which is new. The authors propose the curvature score as a diagnostic and predictive tool which can be useful for reliably training EBTs.

Weaknesses
  • The paper lacks a clear central idea. Is it about evaluating the performance of different BPTT algorithms, or diagnosing/predicting/mitigating training instability, or the phenomenon of truncated gradients having the opposite direction to full gradients after a certain point in training? How are they connected and what is the main takeaway?
  • The authors argue that the training instability of EBTs stems from the high curvature of the energy landscape and repeated backward steps amplifying the gradient. The main evidence is that the curvature score metric can be used to predict training instability. However, the prediction is not reliable, and the curvature score also does not directly measure gradient amplification, so the claim about the cause of instability is insufficiently substantiated. In addition, the claim is about EBTs in general, but the experiments are limited to image denoising EBTs.
Questions for the authors

None

Reviewer yQETOpenReview ↗
Rating
1/4
Confidence
2/4
Soundness
1/3
Presentation
1/3
Informativeness
1/3
Read review
Summary

This paper studies how to train models that generate outputs by iteratively optimizing predictions while balancing stability, computational cost, and performance. It analyzes gradient amplification and compares different backpropagation horizons. Experiments show that truncation not only changes computational cost but can also substantially alter the direction of learning.

Strengths
  1. The research question is practically relevant. The paper links EBT training instability to repeated curvature-dependent factors when differentiating through optimization, providing a testable mechanism.
  2. The gradient comparison is well controlled. Fixing the loss and forward trajectory at each checkpoint helps isolate the effects of truncation from changes in the model state or objective.
Weaknesses
  1. I have concerns about the paper’s assumptions. The claim that “no reweighting can recover the lost information” is strong. A negative overall cosine similarity alone does not establish that all reweighting strategies are ineffective.
  2. The experimental scope is also limited. Image denoising with three model sizes supports conclusions about training stability in that setting, but not broad generalizations to text, video, or all EBTs.
Questions for the authors
  1. Does the curvature score provide better warnings than simpler indicators? Its loose growth bound may produce high scores even when gradients contract. Are false-positive rates reported, with comparisons against gradient norms, loss changes, and internal step sizes over the same prediction horizon? Does the additional cost of curvature estimation yield earlier or more accurate warnings?

  2. Is the “99% prediction horizon” statistically reliable? How many independent training runs support this result, rather than just how many windows? Given the strong correlation between overlapping windows, are data splits and confidence intervals handled at the run level? Is the horizon selected on validation runs and then tested on independent runs to verify that its success rate remains at least 99%?

Comments on the paper

1 comment
Authors · CommentOpenReview ↗

Response to All

We sincerely thank the reviewers for their time and their constructive feedback. We are glad that the reviewers find the research question practically relevant and the gradient comparison well controlled (yQET), and that they find the gradient-amplification analysis and the curvature score new and potentially useful for training EBTs reliably (o47G, qgTj).

After careful consideration, we have decided to withdraw the submission. The reviews raise points that we agree with and that require more work than the rebuttal period allows.

  • Central message (o47G). The paper needs one main claim, with a clear connection between the estimator comparison, the curvature score and the change in direction of the truncated gradient.
  • Evidence for the curvature score (yQET, o47G, qgTj). We plan to compare it with simpler indicators such as gradient norms, loss changes and step sizes, to report false-positive rates, to compute the statistics over independent runs, and to study how loose the bound from the largest eigenvalue is.
  • Gradient clipping (qgTj). We plan to study how clipping interacts with our analysis.
  • Scope and precision (yQET, o47G, qgTj). We plan to extend the experiments beyond image denoising, to limit our claims to what the evidence supports, including the statement on reweighting, and to make the terminology precise.

We will continue to work on the paper along these lines and submit it again once it is ready. Thank you again for your suggestions, which will make the next version stronger.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…