# An Energy-Based Perspective on Machine Learning

DevFeed: [An Energy-Based Perspective on Machine Learning](<https://devfeed.tech/articles/an-energy-based-perspective-on-machine-learning-128426.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.14383>)

Author: Bo Dai, Yilun Du

Published: 2026-11-11T05:00:00Z

Content type: tutorial

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Training AI Models](<https://devfeed.tech/topics/training-ai-models.md>), [VAE](<https://devfeed.tech/topics/vae.md>), [Reinforcement learning](<https://devfeed.tech/topics/reinforcement-learning.md>), [Representation learning](<https://devfeed.tech/topics/representation-learning.md>)

Tags: [adversarial](<https://devfeed.tech/tags/adversarial.md>), [autoregressive](<https://devfeed.tech/tags/autoregressive.md>), [bert](<https://devfeed.tech/tags/bert.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [diffusion](<https://devfeed.tech/tags/diffusion.md>), [energy](<https://devfeed.tech/tags/energy.md>), [gans](<https://devfeed.tech/tags/gans.md>), [generative](<https://devfeed.tech/tags/generative.md>), [inference](<https://devfeed.tech/tags/inference.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [planning](<https://devfeed.tech/tags/planning.md>), [reinforcement-learning](<https://devfeed.tech/tags/reinforcement-learning.md>), [sampling](<https://devfeed.tech/tags/sampling.md>), [score](<https://devfeed.tech/tags/score.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [word2vec](<https://devfeed.tech/tags/word2vec.md>), [world-models](<https://devfeed.tech/tags/world-models.md>)

## AI overview

The tutorial frames machine learning methods as energy-based models defined by three choices: the energy that represents the model, the inference procedure that samples from or optimizes it, and the learning method that fits it to data. It covers sampling, variational inference, and learning methods including maximum likelihood, noise contrastive estimation, pseudolikelihood, score matching, and adversarial training, arguing that these methods share a contrastive structure. It presents discriminative and generative models, representation learning, reinforcement learning, planning, and verifier-based inference-time computation as differing mainly in how they handle the partition function and sampling. The framework is intended to organize existing methods and suggest algorithms by replacing components or composing energies at inference time.

## Source excerpt

arXiv:2611.14383v1 Announce Type: new Abstract: Energy-based models (EBMs) define a distribution through a scalar energy, $p_\theta(x)\propto\exp(-E_\theta(x))$, and are usually presented as one model family among many. This tutorial has a broader goal: beyond introducing EBMs, it uses them as a single lens that connects the different aspects of machine learning. Any EBM is specified by three choices, the energy, which determines what the model represents; the inference procedure, which samples from or optimizes the energy; and the learning method, which fits the energy to data. We first develop these components, including sampling, variational inference, and learning by maximum likelihood, noise contrastive estimation, pseudolikelihood, score matching, and adversarial training, and show that the learning methods share one contrastive structure. We then show that discriminative models, generative models such as GANs, normalizing flows, diffusion and autoregressive models, representation learning methods such as contrastive learning, word2vec, BERT, denoising auto-encoders, and diffusion representations, reinforcement learning with EBM policies and world models, inverse reinforcement learning, and planning, as well as inference-time computation with verifiers, are all EBMs that differ in these three choices, mostly in how they handle the partition function and sampling. This view explains existing methods, organizes them into a common framework, and suggests new algorithms by replacing one component while keeping the others, with composition of energies as a principled way to combine learned models at inference time.