English

NRGPT: An Energy-based Alternative for GPT

Machine Learning 2026-05-04 v3

Abstract

Generative Pre-trained Transformer (GPT) architectures are the most popular design for language modeling. Energy-based modeling is a different paradigm that views inference as a dynamical process operating on an energy landscape. We propose a minimal modification of the GPT setting to unify it with the EBM framework. The inference step of our model, which we call eNeRgy-GPT (NRGPT), is conceptualized as an exploration of the tokens on the energy landscape. We prove, and verify empirically, that under certain circumstances this exploration becomes gradient descent, although they don't necessarily lead to the best performing models. We demonstrate that our model performs well for simple language (Shakespeare dataset), algebraic ListOPS tasks, and richer settings such as OpenWebText language modeling. We also observe that our models may be more resistant to overfitting, doing so only during very long training.

Keywords

Cite

@article{arxiv.2512.16762,
  title  = {NRGPT: An Energy-based Alternative for GPT},
  author = {Nima Dehmamy and Benjamin Hoover and Bishwajit Saha and Leo Kozachkov and Jean-Jacques Slotine and Dmitry Krotov},
  journal= {arXiv preprint arXiv:2512.16762},
  year   = {2026}
}

Comments

Accepted to ICLR 2026 main conference

R2 v1 2026-07-01T08:31:53.889Z