Energy-Based Transformers are Scalable Learners and Thinkers

Alexi Gladstone, Ganesh Nanduru, Md Mofijul Islam, Peixuan Han, Hyeonjeong Ha, Aman Chadha, Yilun Du, Heng Ji, Jundong Li, Tariq Iqbal

International Conference on Learning Representations 2026 · Oral

Overview

This talk introduces Energy-Based Transformers (EBTs), a novel architectural paradigm designed to address fundamental limitations of current large language and vision models, particularly their reliance on extensive supervision and domain-specific architectures for reasoning. Presented by Alexi Gladstone and a team of researchers, the work posits that the quest for human-level intelligence necessitates models capable of unsupervised, modality-agnostic, and problem-agnostic reasoning. The core thesis revolves around leveraging the principles of Energy-Based Models (EBMs), which learn to verify predictions and then optimize those predictions by descending a learned energy landscape. This approach aims to unlock capabilities like robust out-of-distribution generalization, self-improvement, and inherent uncertainty quantification, fundamentally shifting the focus from mere compute optimization to genuine intelligence.

Watch on SlidesLive

Visual summary for Energy-Based Transformers are Scalable Learners and Thinkers by Alexi Gladstone, Ganesh Nanduru, Md Mofijul Islam, Peixuan Han, Hyeonjeong Ha, Aman Chadha, Yilun Du, Heng Ji, Jundong Li, Tariq Iqbal
Visual summary for Energy-Based Transformers are Scalable Learners and Thinkers by Alexi Gladstone, Ganesh Nanduru, Md Mofijul Islam, Peixuan Han, Hyeonjeong Ha, Aman Chadha, Yilun Du, Heng Ji, Jundong Li, Tariq Iqbal

Key moments

  1. 0:00 Unsatisfactory truth about current reasoning models
  2. 1:00 Energy-Based Models: learn to verify and optimize predictions
  3. 2:00 How EBMs work: iterative optimization via gradient descent
  4. 4:00 Key results: scaling, generalization, self-improvement, uncertainty
  5. 6:00 Long-term vision: EBMs excel in generalization era
  6. 8:40 Q&A: Robustness of scaling law predictions
  7. 10:00 Q&A: Handling multiple modes in energy function

Energy-Based Transformers are Scalable Learners and Thinkers

Speakers: Alexi Gladstone, Ganesh Nanduru, Md Mofijul Islam, Peixuan Han, Hyeonjeong Ha, Aman Chadha, Yilun Du, Heng Ji, Jundong Li, Tariq Iqbal

Conference: ICLR 2026

YouTube: https://slideslive.com/39062241

Overview

This talk introduces Energy-Based Transformers (EBTs), a novel architectural paradigm designed to address fundamental limitations of current large language and vision models, particularly their reliance on extensive supervision and domain-specific architectures for reasoning. Presented by Alexi Gladstone and a team of researchers, the work posits that the quest for human-level intelligence necessitates models capable of unsupervised, modality-agnostic, and problem-agnostic reasoning. The core thesis revolves around leveraging the principles of Energy-Based Models (EBMs), which learn to verify predictions and then optimize those predictions by descending a learned energy landscape. This approach aims to unlock capabilities like robust out-of-distribution generalization, self-improvement, and inherent uncertainty quantification, fundamentally shifting the focus from mere compute optimization to genuine intelligence.

The significance of this research lies in its bold challenge to the prevailing supervised learning paradigm that dominates the AI landscape. By proposing a framework where models learn to "think" from unsupervised data, EBTs aim to mirror human cognitive processes more closely. The talk highlights that while traditional Transformer models have achieved remarkable success, they often fall short in complex reasoning tasks, especially when encountering novel or out-of-distribution data, and require significant external supervision. EBTs, by contrast, offer a path toward more autonomous and adaptable AI systems, demonstrating promising scaling properties and a capacity for self-verification, suggesting a potential future where AI can learn and reason with far less human intervention.

The presentation delves into the theoretical underpinnings of EBMs, making them accessible even to those unfamiliar with the concept, before showcasing compelling empirical results. These results suggest that EBTs not only scale more favorably than traditional Transformers in certain regimes but also exhibit superior generalization capabilities and an intrinsic understanding of uncertainty—qualities crucial for real-world AI deployment. The talk concludes with a philosophical outlook on the future of AI, arguing that as models approach near-zero loss, the paramount challenge will shift from compute efficiency to robust generalization, a domain where EBTs are particularly well-suited to excel.

Background

▶ Watch: Unsatisfactory truth about current reasoning models (0:00)

The current landscape of AI, particularly in natural language processing and computer vision, is dominated by models that exhibit impressive capabilities but often rely heavily on vast amounts of labeled data and task-specific architectures. While models like Transformers and diffusion models have pushed the boundaries of performance, they are frequently characterized as "reasoning models" or "thinking models" despite fundamental limitations. The speaker, Alexi Gladstone, makes a provocative claim: these existing approaches are ultimately "unsatisfactory" in the long quest for human-level intelligence. The core problem lies in their lack of modality agnosticism, problem agnosticism, and, crucially, their dependence on external supervision. Humans, by contrast, can learn to think and adapt in novel environments, across modalities, and without explicit instruction or reward signals.

This observation led the researchers to a central question: How can we achieve unsupervised reasoning and thinking in AI models? The proposed solution lies in the elegant framework of Energy-Based Models (EBMs). Unlike traditional feed-forward models that directly output predictions, EBMs operate on a different principle. An EBM is trained to learn a "verifier" function that scores the compatibility or "goodness" of a given prediction (Y-hat) with respect to an input context (X). This score is represented as an "energy" value; good predictions correspond to low energy, while poor predictions correspond to high energy. Essentially, the model learns an energy landscape where minima represent optimal solutions.

During inference, instead of directly generating an output, an EBM iteratively optimizes a candidate prediction (Y-hat) by performing gradient descent on this learned energy landscape. If the input context X is "the dog caught the" and a candidate prediction Y-hat is "random noise," the EBM would assign a very high energy score, indicating incompatibility. Conversely, for a plausible completion like "mouse," the energy would be low. The beauty of this approach is that the process of "thinking" or "reasoning" becomes an iterative optimization problem over this high-dimensional, learned energy landscape. Just as model parameters can be updated via gradient descent on a loss function, predictions themselves can be refined by computing the gradient of the scalar energy with respect to the prediction. This dynamic computation mirrors human thought processes, where an individual might spend time "thinking" about a difficult problem, iteratively refining their understanding and potential solutions until a satisfactory answer is found, and then verifying its correctness by checking its "energy" or likelihood. This unsupervised learning paradigm, where the model learns to verify and improve its own predictions, forms the foundation for Energy-Based Transformers.

Key Findings

▶ Watch: How EBMs work: iterative optimization via gradient descent (2:00)

The research on Energy-Based Transformers (EBTs) uncovered several compelling findings that challenge conventional wisdom in deep learning and point towards a new direction for AI development:

  1. Favorable Scaling Laws: While EBTs currently lag behind traditional Transformers in terms of absolute performance at the current scale, the critical finding is that they exhibit a faster scaling slope. This suggests that as computational resources and model sizes continue to increase, EBTs have the potential to eventually surpass Transformer baselines. The scaling laws imply a more efficient utilization of increasing compute, promising greater returns on investment in future large-scale training runs. However, the robustness of these predictions, particularly beyond billion-parameter scales, is an ongoing area of research, with initial re-evaluations indicating the trend might not hold past 1 billion parameters but the higher scaling slope remains consistent.
  1. Superior Out-of-Distribution (OOD) Generalization: A significant advantage of EBTs is their remarkable ability to generalize to unseen or OOD data. Experiments demonstrated that EBTs improve their performance on OOD tasks without any external supervision, reinforcement learning, or additional verifiers. This improvement is achieved simply by running the dynamic computation (iterative energy descent) for longer during inference or by generating multiple samples and selecting the one with the lowest energy. This intrinsic capacity for self-improvement and robust generalization from unsupervised pre-training is a fundamental departure from traditional models that often struggle outside their training distribution.
  1. Self-Improvement During Training: EBTs exhibit a unique meta-learning characteristic: their ability to self-improve or self-verify improves during training. This means that as the model learns, it not only gets better at its primary task but also becomes more proficient at refining its own predictions and correcting errors. This recursive self-enhancement is a powerful property, indicating that the "thinking" capabilities of EBTs evolve and strengthen throughout their learning process, leading to more robust and intelligent behavior.
  1. Enhanced Data Efficiency: EBTs demonstrate significant data efficiency compared to feed-forward or recurrent Transformers. Across various synthetic tasks like Sudoku, as well as denoising tasks and problems involving out-of-distribution data, EBTs consistently generalized very well. This suggests that EBTs can achieve comparable or superior performance with less training data, making them particularly attractive for domains where labeled data is scarce or expensive to acquire.
  1. Natural Uncertainty Learning: Without any explicit tricks or complex mechanisms, EBTs intrinsically learn to quantify uncertainty. The energy assigned by the model naturally correlates with the difficulty of predicting specific tokens or data points. For instance, in language modeling, common tokens like "period" or "is" have lower energy, reflecting higher certainty, while more complex or ambiguous tokens such as "research problem" or "jumps" exhibit much higher energy, indicating greater uncertainty. This capability extends across both discrete and continuous spaces, providing a powerful, inherent mechanism for models to express their confidence in predictions, which is crucial for reliable AI systems.

Technical Deep Dive

▶ Watch: Key results: scaling, generalization, self-improvement, uncertainty (4:00)

The technical foundation of Energy-Based Transformers (EBTs) lies in a departure from the traditional feed-forward paradigm that characterizes most modern deep learning architectures. At its core, an EBT is an Energy-Based Model (EBM) that utilizes a Transformer architecture to learn an energy function. This energy function, denoted as E(X, Y-hat), quantifies the compatibility between an input context X and a proposed prediction Y-hat. Unlike discriminative models that predict Y-hat given X, or generative models that directly produce Y-hat, an EBM learns to score Y-hat's compatibility with X.

The mechanism is twofold:

  1. Learning a Verifier: The EBT is trained to act as a verifier. Given an input X (e.g., a sequence of text like "the dog caught the") and a candidate prediction Y-hat (e.g., "mouse" or "random noise"), the model outputs a scalar energy value. This energy is trained to be low for "good" or compatible (X, Y-hat) pairs and high for "bad" or incompatible pairs. This process implicitly defines a high-dimensional energy landscape where valid and coherent predictions reside in low-energy basins. The training objective typically involves pushing down the energy of positive samples and pushing up the energy of negative samples, often through contrastive learning or noise-contrastive estimation.
  1. Optimizing Predictions: The crucial distinction arises during inference. Instead of a single forward pass to generate Y-hat, EBTs employ a dynamic computation process. Given an input X, an initial candidate Y-hat (which could be random noise or a rough guess) is iteratively refined. This refinement is achieved through gradient descent on the learned energy landscape. Specifically, the gradient of the energy function with respect to the prediction Y-hat (∂E/∂Y-hat) is computed. This gradient indicates the direction in which Y-hat should be adjusted to lower its energy, thus making it a more compatible prediction.
  • For example, if the initial Y-hat for "312 times 52" is incorrect, the EBT's energy function would assign it a high energy. By computing the gradient, the model iteratively adjusts Y-hat, descending the energy landscape until it converges to a low-energy state corresponding to the correct answer. This iterative process mirrors human "thinking" or problem-solving, where an initial state of uncertainty (high energy) is gradually reduced through mental effort until a confident solution (low energy) is reached.

The Transformer architecture within the EBT serves as the backbone for learning this complex energy function. It processes both X and Y-hat as inputs, leveraging its attention mechanisms to capture dependencies and relationships between the context and the prediction. The output of the Transformer is then mapped to a scalar energy value. The key innovation is using the Transformer not just for representation learning, but for defining a verifiable compatibility function that enables iterative optimization of the prediction itself, rather than just optimizing model parameters. This allows for unsupervised learning of reasoning capabilities, as the model primarily learns from the consistency and compatibility of data distributions, rather than explicit labels or reward signals. The "verification" step after thinking corresponds to evaluating the final energy height, confirming the quality of the optimized prediction.

Furthermore, EBTs naturally handle uncertainty estimation. The energy value itself serves as a proxy for uncertainty. Predictions in areas of the energy landscape with steep gradients or multiple modes might indicate higher uncertainty or ambiguity. This inherent property, without requiring additional mechanisms like Bayesian inference or ensemble methods, simplifies the deployment of robust AI systems that can communicate their confidence levels. The ability to operate across discrete and continuous spaces for both learning and optimization further broadens the applicability of this paradigm.

Experimental Setup & Results

▶ Watch: Q&A: Robustness of scaling law predictions (8:40)

The experimental evaluation of Energy-Based Transformers (EBTs) focused on demonstrating their unique capabilities in scaling, generalization, data efficiency, and uncertainty quantification, often in comparison to traditional Transformer baselines. While the specific datasets, exact model sizes, and hardware details were not exhaustively enumerated in the talk, the results presented paint a clear picture of EBTs' potential.

Scaling Laws:

A central experiment involved comparing the scaling behavior of EBTs against conventional Transformers. The results, visualized in a log-log plot (presumably showing performance metrics like perplexity or loss against compute/model size), indicated that EBTs exhibit a higher scaling slope than Transformers. This implies that while EBTs might currently "lag behind Transformers" at smaller scales, their performance improves at a faster rate as computational resources increase. The prediction is that "if these scaling laws continue," EBTs could eventually "beat the Transformer baseline." However, a crucial point raised in the Q&A section acknowledged that re-evaluations with more robust methods (e.g., more random seeds) have shown that this superior scaling trend might not hold "past a billion parameters" or "maybe 4B parameters" in all scenarios, though the general trend of a higher scaling slope for EBTs has been observed across various experiments. This suggests that while EBTs demonstrate promising scaling characteristics, there are still open questions regarding their ultimate performance limits compared to the largest existing models.

Out-of-Distribution (OOD) Generalization:

EBTs' OOD generalization capabilities were a key highlight. Experiments showed that the model's performance on OOD data "continues to improve" when inference involves "running dynamic compute for longer" or generating "many samples and then choosing the lowest energy sample." Crucially, this improvement occurs "with no reinforcement learning" and "no external verifiers or rewards," relying purely on the model's ability to self-verify and refine predictions learned from unsupervised pre-training. This was presented with a plot illustrating performance improvement over longer computation times, underscoring the intrinsic reasoning capacity of EBTs.

Data Efficiency:

To demonstrate data efficiency, EBTs were compared to feed-forward and recurrent Transformers on various tasks. Specific examples included:

  • Sudoku: A synthetic reasoning task where EBTs showed strong generalization.
  • Denoising tasks: EBTs performed well on different denoising problems.
  • Out-of-distribution data: General performance on OOD data was consistently better for EBTs.

These results collectively indicated that EBTs require less data to achieve robust performance and generalize effectively, particularly in scenarios involving novel or noisy inputs.

Uncertainty Learning:

The natural learning of uncertainty was illustrated with language modeling examples. The energy assigned by the EBT to different tokens directly correlated with their predictability:

  • Low Energy Tokens: "period" and "is" were shown to have lower energy, indicating high certainty.
  • High Energy Tokens: "research problem" or "jumps" had much higher energy, reflecting greater difficulty in prediction and thus higher uncertainty.

The ability to quantify uncertainty was noted to be effective "across discrete or continuous spaces," although it is typically "a little bit easier to get uncertainty estimates" in discrete spaces, EBTs perform "really well" in continuous spaces too.

Overall, the experimental results position EBTs as a promising alternative, particularly for tasks requiring robust generalization and inherent reasoning, even if their raw performance at the largest scales is still an active area of development.

Practical Implications

▶ Watch: Q&A: Handling multiple modes in energy function (10:00)

The introduction of Energy-Based Transformers (EBTs) carries profound practical implications for practitioners, infrastructure teams, model builders, and deployers, particularly as the AI landscape evolves. The core message is a philosophical shift in priorities: as models approach a "zero-loss regime," where irreducible loss becomes negligible due to sufficient data and compute, the focus must transition from compute optimality to generalization.

  1. Shift Towards Generalization: For years, the AI community has optimized for flop efficiency and scaling laws, striving to achieve the best performance with the least computational cost. However, the talk argues that with compute growing exponentially (Moore's Law), and models achieving near-perfect performance on in-distribution data, the bottleneck shifts to how well models perform on out-of-distribution (OOD) data—data they have never seen before. EBTs are inherently designed for this "era of generalization." Practitioners building models for real-world applications, where OOD data is an inevitability, will find EBTs highly appealing for their robust performance beyond the training set.
  1. Autonomous Learning and Self-Improvement: EBTs' capacity for unsupervised learning and self-improvement during training means less reliance on meticulously curated, labeled datasets and extensive human supervision. This can significantly reduce the cost and effort associated with data annotation and fine-tuning, accelerating development cycles. Model builders can focus more on architecture design and less on data engineering for specific tasks, allowing models to learn more autonomously.
  1. Inherent Uncertainty Quantification: The natural ability of EBTs to learn and express uncertainty is a critical feature for deploying reliable and trustworthy AI systems. For applications in sensitive domains like healthcare, finance, or autonomous driving, knowing when a model is unsure about its prediction is as important as the prediction itself. Deployers can build more robust decision-making systems that factor in the model's confidence, enabling human oversight or fallback mechanisms when uncertainty is high. This eliminates the need for complex post-hoc uncertainty estimation techniques.
  1. Trade-offs and Limitations: The core trade-off for EBTs, as articulated in the talk, is a willingness to "invest more compute during training to really get much better out-of-distribution generalization." This implies that while EBTs promise superior OOD performance, they might require more computational resources during their initial training phase compared to traditional feed-forward models. Infrastructure teams need to be prepared for potentially higher training costs, balancing these against the long-term benefits of enhanced generalization and reduced operational risks from OOD failures. The current scaling limitations, where EBTs might not yet surpass Transformers at the very largest parameter counts, also suggest that for problems where absolute peak performance on in-distribution data is paramount, traditional Transformers might still be preferred in the immediate term.
  1. Multimodal Capabilities: While not extensively detailed, the EBM framework's ability to score compatibility across different modalities (e.g., video and language as shown in diagrams) hints at a path towards truly modality-agnostic AI. This could lead to model builders creating unified architectures capable of understanding and reasoning across diverse data types, simplifying the development of multimodal AI systems. However, the challenge of capturing multiple modes in the energy function (e.g., for diverse image generation) is acknowledged, requiring specific training approaches beyond what was detailed in this paper.

In summary, EBTs represent a strategic investment in future AI capabilities, prioritizing genuine intelligence and adaptability over raw speed or narrow task-specific performance. Their practical implications are most relevant for those building AI systems that must operate reliably and intelligently in complex, unpredictable, and data-sparse real-world environments.

Key Takeaways

  • Unsupervised Reasoning: Energy-Based Transformers (EBTs) enable models to learn reasoning and thinking capabilities from unsupervised data, mirroring human cognitive processes.
  • Generalization-Focused Paradigm: EBTs shift the AI paradigm from optimizing for compute efficiency to prioritizing robust out-of-distribution (OOD) generalization, crucial as models approach near-zero loss on in-distribution data.
  • Self-Improvement and Data Efficiency: EBTs demonstrate the ability to self-improve during training and exhibit high data efficiency across various tasks, reducing reliance on extensive labeled datasets.
  • Inherent Uncertainty Quantification: The energy function in EBTs naturally quantifies prediction uncertainty, providing a built-in mechanism for models to express confidence without additional complex components.
  • Promising Scaling Trends: While currently lagging, EBTs show a faster scaling slope than traditional Transformers, suggesting they could eventually surpass existing baselines with increased compute.
  • Iterative Prediction Optimization: EBTs utilize gradient descent on a learned energy landscape to iteratively refine and optimize predictions, a dynamic computation process analogous to human thought.

About the Speaker(s)

The talk was primarily delivered by Alexi Gladstone, who introduced the core concepts and findings of the research. The paper, "Energy-Based Transformers are Scalable Learners and Thinkers," is a collaborative effort involving a team of distinguished researchers: Ganesh Nanduru, Md Mofijul Islam, Peixuan Han, Hyeonjeong Ha, Aman Chadha, Yilun Du, Heng Ji, Jundong Li, and Tariq Iqbal. While specific titles and affiliations were not detailed in the transcript, the collective expertise of this group spans various domains within AI and machine learning, contributing to the development and rigorous evaluation of Energy-Based Transformers. Their work aims to push the boundaries of unsupervised learning and generalization in AI.

Reviews

→ Top-rated talks at International Conference on Learning Representations 2026

All talks from International Conference on Learning Representations 2026