vix.ing · top · new · best · stats

Autoregressive Language Models are Secretly Energy-Based Models: Insights into the Lookahead Capabilities of Next-Token Prediction

2025/12/17 by Mathieu Blondel, Blondel, Mathieu, Michael E. Sander +7 · 1 voice
Computer Science · Mathematics · Medicine · #Artificial Intelligence in Healthcare and Education #FOS: Computer and information sciences #Machine Learning (cs.LG) #Machine Learning (stat.ML) #Natural Language Processing Techniques #Topic Modeling #cs.LG #stat.ML

paper · pdf · doi:10.48550/arxiv.2512.15605

openalex publication_date 2025/12/17 · arxiv published 2025/12/17 · openalex created_date 2025/12/19 · arxiv updated 2026/05/25 · openalex updated_date 2026/07/28

Abstract

Autoregressive models (ARMs) currently constitute the dominant paradigm for large language models (LLMs). Energy-based models (EBMs) represent another class of models, which have historically been less prevalent in LLM development, yet naturally characterize the optimal policy in post-training alignment. In this paper, we provide a unified view of these two model classes. Taking the chain rule of probability as a starting point, we establish an explicit bijection between ARMs and EBMs in function space, which we show to correspond to a special case of the soft Bellman equation in maximum entropy reinforcement learning. Building upon this bijection, we derive the equivalence between supervised learning of ARMs and EBMs. Furthermore, we analyze the distillation of EBMs into ARMs by providing theoretical error bounds. Our results provide insights into the ability of ARMs to plan ahead, despite being based on the next-token prediction paradigm.

Citations

Discussions

Related