~/satyajit

Explorative Modeling: factor the training loop, not the generation loop

mdjsonmcp

2026-08-03 · 14 min · generative-models · diffusion · training-methods · robotics · explainer

Every generative model has to solve the same problem: a prompt like "generate a dog" has billions of valid answers, not one. Diffusion handles that by denoising in dozens of steps; autoregression handles it by predicting one token at a time. Both are the same trick wearing different clothes — break generation into enough small steps that no single prediction has to average across the billions of valid dogs. Explorative Modeling (Gladstone, Ji, and Du — UIUC and Harvard) asks a different question: what if you left generation alone and factored the training loop instead? Generate KK candidate outputs per example, score them all against the target, and only backpropagate through the winner. They call this exploration, argue it is a third axis for scaling generative models — next to parameters and data — and show it can substitute for step-factored generation entirely, which is what lets them train models that generate in a single forward pass and still match diffusion.

A 2x2 diagram with training factorization (exploration) on the y-axis and generation factorization on the x-axis. Bottom-left, no exploration and no generation factorization, is direct regression which blurs modes. Bottom-right, generation factorization only, is standard diffusion and autoregressive models. Top-left, exploration only with single-step sampling, is End-to-End Explorative Modeling, the paper's main contribution. Top-right, both axes, is exploration added on top of diffusion, autoregression, mean-flow, or jumpy models.
Two independent axes of generative modeling: whether training is factored (exploration, y-axis) and whether generation is factored (steps, x-axis). Existing models occupy the bottom-right; the paper argues the top row is available too (Gladstone, Ji & Du, 2026, Figure 1).

Why generation gets factored in the first place

Squared-error regression is maximum likelihood — under a fixed-variance Gaussian. That sounds like a technicality, but it has teeth: the maximum-likelihood-optimal output under a multimodal target is the mean of every valid answer, and the mean of "every plausible dog photo" is not a photo of a dog. It is a brown blur. Same failure in language: force a next-token model to average over "the cat sat on the _____" and you get a smear of probability mass spread across every plausible word, not a committed answer. The paper gives this capacity a name, generative expressivity: the number of distinct modes a training objective's loss minimizer is allowed to capture. A direct regressor has expressivity E=1E=1 — one output, always the average — and no amount of extra parameters or data raises it, because expressivity is a property of the objective, not the model.

That is the reason diffusion and autoregression look the way they do. Autoregression conditions each token on everything already generated, so by the time it predicts token ii, most of the multimodality is already resolved by the tokens before it — each individual prediction is closer to unimodal. Diffusion does the analogous thing over noise levels: each denoising step only has to move a slightly noisy sample a little cleaner, not solve the whole distribution at once. Factoring generation is a device for keeping generative expressivity high, one small step at a time. It is also why training and inference stop matching: a diffusion model trained on isolated denoising steps gets unrolled over hundreds of them at test time, and even single-step distillations still anchor their training targets to the multi-step trajectory. Sampling and training are never the same procedure, so exposure bias never fully goes away.

Forward XM: buying expressivity with candidates, not steps

If factoring generation is one way to raise expressivity, exploring more candidates is another. Fix a data target xx, draw KK generations y^1,,y^KGθ\hat y_1, \dots, \hat y_K \sim G_\theta from the model, and train only on the closest one:

LForward(θ)  =  mini{1,,K}J(y^i,x)(1)\mathcal{L}_{\text{Forward}}(\theta) \;=\; \min_{i \in \{1,\dots,K\}} J(\hat y_i, x) \tag{1}

This is the entire mechanism — no new architecture, no new loss family, just a for loop around generation and a min before .backward(). Explore KK candidates with a plain regressor and its expressivity rises to at least KK: with enough candidates, one of them lands near enough to any given mode that the model can commit to it instead of averaging.

forward xm · one training step, K candidates, one gradient
data target xŷ3 · err 30model
K = 4best-of-K error: 30gradient flows to 1 of 4compute this step: 4× a generation pass

Every candidate is scored against the same target; only the nearest one back-propagates, the rest are dead ends for this step. Pulling K up can only tighten the best-of-K error, never loosen it — but each extra candidate is a full generation, so the win is bought with training-time compute, once, not with a longer inference pipeline you pay for on every sample.

Play with KK above and the mechanics of equation (1) are exactly what's on screen: every candidate is scored against the same target, the closest one gets the gradient, and the rest are discarded for this step. Pulling KK up can only tighten the best-of-KK error — never loosen it, since you are taking a minimum over a strictly larger set — but each extra candidate is a full extra generation, so the compute for a training step scales linearly with KK. That is the whole cost of exploration, and it is paid once, during training.

The same de-blurring shows up in the model's actual outputs, not just the training loss:

Five 512 by 512 images of the same golden retriever puppy. Leftmost is the sharp ground-truth photo. XM-1, trained with no exploration, is a featureless brown-and-tan blur with no recognizable structure. XM-5 begins to show a faint outline of a head and paws. XM-20 shows a clearer, though still hazy, dog silhouette. XM-50 is nearly as sharp and recognizable as the ground truth.
Same training setup, only K varied: XM-1 (no exploration) collapses to a mode-averaged blur; by XM-50 the model recovers a photo close to the ground truth (panels f-j of Figure 2 in Gladstone, Ji & Du, 2026, arranged side by side and labelled here).

XM-1 is not a badly-trained model — it is the theoretical best a direct regressor can do, the blurred mean equation (1) predicts. XM-50 is the same architecture, same data, same loss, with one difference: 50 candidates scored per step instead of one.

Forward and Reverse XM, and what they actually optimize

Forward XM (fix the data, explore the model's generations) is one direction. Reverse XM flips it: fix one generated sample y^Gθ\hat y \sim G_\theta and explore over KK data targets x1,,xKDx_1, \dots, x_K \sim \mathcal D, training toward whichever is closest:

LReverse(θ)  =  mini{1,,K}J(y^,xi)(2)\mathcal{L}_{\text{Reverse}}(\theta) \;=\; \min_{i \in \{1,\dots,K\}} J(\hat y, x_i) \tag{2}
Two diagrams side by side. Left, Forward XM: five candidate latents feed a model that produces five candidate samples; the closest to the true target x is marked with a checkmark and only it trains the model. Right, Reverse XM: one latent feeds the model to produce one candidate; it is compared against five true data points and trained toward whichever is closest, also marked with a checkmark.
Forward XM minimizes over generated samples (mass-covering); Reverse XM minimizes over data points (mode-seeking) (Gladstone, Ji & Du, 2026, Figure 3).

These are not cosmetically different. The paper works out what each one minimizes in the limit. Write pθp_\theta for the model's output distribution blurred by the reconstruction kernel (Gaussian, for squared error) and pσp^*_\sigma for the data blurred the same way. Then, in their smooth relaxations:

KL(ppθ)+H(p)Forward XMandKL(gθpσ)+H(gθ)Reverse XM\underbrace{\mathrm{KL}(p^* \,\|\, p_\theta) + H(p^*)}_{\text{Forward XM}} \qquad\text{and}\qquad \underbrace{\mathrm{KL}(g_\theta \,\|\, p^*_\sigma) + H(g_\theta)}_{\text{Reverse XM}}

Forward XM's entropy term, H(p)H(p^*), belongs to the data — a constant the model can't touch — so Forward XM is just maximum likelihood over its KK-candidate mixture, for every KK. Mass-covering, never collapsing, but the recall comes at the price of running KK full generations per step, so it struggles to scale to very high-multimodality targets. Reverse XM's entropy term, H(gθ)H(g_\theta), belongs to the model — something it can shrink by narrowing its own spread — so Reverse XM drifts toward collapse on its own and needs an explicit entropy bonus to stay at the true reverse-KL optimum instead. The paper is candid that Reverse XM's fix is "largely left for future work"; Forward XM is what every downstream result in the paper actually runs.

Substitutable, not just additive

Here is the move that turns this from "a training trick" into "a scaling axis." Factoring generation exists only to supply expressivity. Exploration supplies the same quantity a different way. If that's right, the two should be interchangeable — you should be able to trade generation steps for exploration and land in the same place. The paper tests this directly with Jumpy models, a family that interpolates between direct regression (one jump) and full continuous-time flow (infinite jumps) by varying the number of steps. Take two Jumpy models, one with fewer jumps and one with more, and add exploration to both: the model with fewer jumps — the more end-to-end one — gains more from exploration than the one that already had step-factorization doing the work. That is the substitution effect, measured rather than asserted: the less a model already leans on factored generation, the more it has to gain from factoring training instead.

Push that trade all the way and you get XM's other headline: a model that samples exactly the way it trained, in one forward pass, with no separate multi-step inference procedure to keep in sync. The paper calls a model "end-to-end" when it never faces inputs at inference it wasn't trained on — no denoising schedule to unroll, no exposure bias from a mismatched sampling procedure. This is the same argument that ended hand-designed feature pipelines after AlexNet, aimed now at the one corner of deep learning that never fully got the memo: diffusion language models and autoregressive decoding both still train on one procedure and sample with another; exploration is what lets a model close that gap without giving up quality.

The trade is exactly compute, moved to a different place in the pipeline:

where the compute goes · 50 samples generated
break-even ≈ 1.2 stepgeneration steps per sample (NFE) →
NFE (drag)
100
step-factored total
5001
explorative total
59
XM is
85× cheaper

The explorative line is flat because its training paid a one-time premium (8× extra generations per step, spent once) so inference could drop to a single forward pass. The step-factored line keeps climbing because every one of its 50 samples pays the full step count again. Drag to 100 or 256 steps — the actual NFE gaps the paper measures on Diffusion Policy and Diffuser — and the ratio lands right around what it reports, even though these particular unit costs are illustrative.

MrFlow and Set Diffusion both attack the inference side of this same step-factorization: reshuffle where a fixed step budget gets spent, or change which tokens get decoded together, but the sample is still built from many forward passes. Explorative Modeling is a different lever entirely — it doesn't make the multi-step generator cheaper, it removes the requirement to be multi-step in the first place, by paying for expressivity up front instead of on every draw.

Results: three modalities, two robot benchmarks

Image generation. Added to RAE, a near-state-of-the-art ImageNet latent-diffusion recipe, exploration (XRAE, using XM-2) reaches a near-SOTA 1.43 FID without classifier-free guidance:

MethodFID (no CFG) ↓
DiT9.62
SiT8.61
VA-VAE2.17
REPA-E1.70
Latent Diffusion + RAE1.55
XRAE (RAE + XM-2)1.43
Explorative Modeling added to RAE — efficiency gains over the base recipe
Sample efficiency
6.2×
FLOP efficiency
4.1×
Parameter efficiency
1.47×
02468

That 47% parameter-efficiency figure is unrelated to the next number, which happens to share a digit: RAE itself converges 47x faster than SiT (a separate, prior result the paper is building on), and stacking XRAE's 6.2x sample efficiency on top of that puts the whole recipe at roughly 300x faster to converge than plain SiT — the paper's arithmetic, not an independent measurement. One negative result worth keeping: minibatch optimal-transport coupling, an alternative de-blurring trick, made FID worse (46.3 → 54.5 at the Small scale) — exploration wins here specifically, not "adding any anti-blur trick" generically.

Scale doesn't dilute the gain — it grows it. Going from XM-5 to no exploration, the improvement climbs from 13% to 23% as model size scales up, and from 7% to 36% as data scales up. That is the opposite of what you'd expect from a scaling axis that's about to run out of room — the paper's reading is that generative expressivity becomes a larger bottleneck as the other two axes get pushed harder, because parameters and data stop being the limiting factor first.

Video (Something-Something V2). FID/FVD improve monotonically with more explored modes. The more interesting number is generalization, not fit: best achievable FVD is 30.0 with exploration versus 37.5 without — less overfitting on a fixed dataset, which the paper frames as a compute-generalization tradeoff: extra training compute spent on exploration buys generalization the way more data usually does.

Robot policies (Behavior Cloning, Robomimic). This is where "single forward pass, matches diffusion" gets tested against a real baseline:

Robomimic behavior cloning — inference cost, forward passes per action (lower is cheaper)
Diffusion Policy
100 NFE
Explorative Policy
1 NFE
050100

Explorative Policy matches Diffusion Policy on Lift and Can (both 100%), and beats it on Square (96% vs. 94%), Transport (74% vs. 72%), and ties on Tool Hang (86%) — at 1 forward pass instead of 100.

Goal-conditioned world models (Maze2D), vs. Diffuser:

Maze2D goal-conditioned planning — average forward passes per plan (lower is cheaper)
Diffuser
192 NFE
Explorative World Model
2.3 NFE
050100150200

Average score edges up too (130.0 vs. 127.2), at 16-256x fewer denoising steps depending on the maze size (4 vs. 64 on U-Maze, 1 vs. 256 on Medium). This pairing — matching or slightly beating a strong multi-step baseline, at two orders of magnitude less inference compute per sample — is the article's headline for a reason: it is the plainest demonstration that the compute the paper claims you save at inference is compute it actually spent, once, at training.

What I make of it

The clean way to hold all of this: exploration is a training-time payment for a capability generation factorization normally buys at inference-time, over and over. That's a real trade, mechanically well argued, and it works on real benchmarks. Whether it holds at frontier model scale, on harder control tasks, or once other labs have run the numbers, is still open.


Built on Explorative Modeling: Unlocking a Third Pretraining Axis and End-to-End Generation (Gladstone, Ji & Du — UIUC and Harvard, 2026). Code: github.com/alexiglad/XM (Apache-2.0). Figures 1-3 are reproduced from the paper; all numbers are from its Tables 1-3 and Sections 4.1-4.2.

Cite this article

For attribution, please use the following reference or BibTeX:

Satyajit Ghana, "Explorative Modeling: factor the training loop, not the generation loop", ai.thesatyajit.com, August 2026.

bibtex
@misc{ghana2026explorativemodeling,
  author = {Satyajit Ghana},
  title  = {Explorative Modeling: factor the training loop, not the generation loop},
  url    = {https://ai.thesatyajit.com/articles/explorative-modeling},
  year   = {2026}
}
share