NEURON VISION← All reviews

About this review

Energy Based Fine Tuning samples completions and rewards them for matching the internal features of real data, calibrating whole sequences. It needs no verifier or reward model, though it relies on a rich frozen feature space.

Source: EBFT · arXiv 2603.12248

Transcript

Welcome. This review covers a paper called Escaping Teacher Forcing using Feature Matching. It proposes a way to train language models on whole completions, without needing a separate reward model.

Teacher forcing trains a model to predict the next token, and it does that well. But over long outputs, the model's own text can drift away from the training data. Reinforcement learning helps, but needs verifiers or reward models.

The new idea is to compare whole completions in feature space. The model samples several completions, and both those and the real one are turned into features. The squared distance between them becomes the training signal.

Here is how it works. A frozen copy of the base model computes features from three depths. Each sample earns a reward for matching the real completion, minus a penalty for being too similar to other samples. Whitening keeps any one feature from dominating.

Sampling many rollouts is expensive, so the authors cut a long sequence into segments. This builds nested prefixes, and a custom attention mask lets the model sample continuations from all of them at the same time.

Compared with the alternatives, supervised fine tuning looks only at tokens. Reinforcement learning squeezes quality into one number. Feature matching instead compares the statistics of the model's outputs with the data, using rich internal features.

The reviewer lists caveats. The frozen features must be rich enough, and the middle layers must carry real meaning. Short rollouts may overfit narrow local windows, and whitening can become unstable when there are few samples.

The review reports no benchmark numbers, and calls the paper interesting but math heavy. In one sentence, instead of predicting tokens or using a reward model, this method trains a model to produce completions whose internal features match real data.

Related reviews

Reinforcement learning · Training · Efficiency

All reviews

Paper review · arXiv 2603.12248

Escaping teacher forcing with feature matching

Next token training is accurate locally but can drift over long outputs. Energy Based Fine Tuning matches the features of whole generated completions to real ones, without a reward model.

Teacher forcingGenerated rolloutsFeature matching rewardFrozen feature model
01 · The problem

Right per token, off per sequence

Teacher forcing

Maximizes the next token likelihood given ground truth input. Local alignment is good.

Long rollouts

The model’s own outputs can differ in distribution from the training data.

Reinforcement learning fixes sequence level behavior but needs explicit verifiers or reward models. The paper asks: can we get sequence level calibration straight from data?
02 · The idea

Compare whole completions in feature space

Teacher forcingpredict next tokenGround truth prefixlocal alignment onlyEBFTmatch whole completionsOwn sampleson policy rolloutsFeature matchto ground truth completiontoken levelversus

The loss is a conditional feature matching loss: the squared distance between expected feature embeddings of generated and ground truth completions.

03 · The method

On policy, scored by features

Promptsample several completionsFrozen copyof the basemodel computes featuresLayersone quarter, half,three quartersRewardcloseness to groundtruthDiversitypenalty for similarcandidatesActivations are normalized and concatenated into one sequence level vector

Training resembles REINFORCE: each sampled completion gets a reward from its feature match with ground truth, minus a diversity term. Features are whitened with the inverse second moment matrix over a batch, and a cross entropy term keeps the model anchored to the data.

04 · Efficiency

Strided block parallel sampling

one long sequence, cut at regular stridessegment 1segment 2segment 3segment 4prefix 1, sample the restprefix 2, sample the restprefix 3, sample the restprefix 4, sample the restA customized causal attention mask samples from all nested prefixes at once

Several rollouts per sequence are expensive. Nested prefixes let one forward pass serve many sampled continuations.

05 · Versus the rest

Three ways to fine tune

SFT

Token likelihood only. No sequence level signal.

RLVR

A scalar reward from verifiers or test suites compresses quality into one number.

EBFT

Matches statistics of the rollout distribution to the data using rich internal features. Framed as energy based modeling.

The shift: replace scalar heuristic rewards with a semantic distance computed from the model’s own features.
06 · Caveats

What the method assumes

Feature quality

The frozen feature map must be rich. If it lacks capacity, moment matching does not guarantee distributional alignment.

Meaningful layers

Assumes intermediate activations carry enough semantics to act as a reward landscape.

Short horizons

Training uses short rollouts, so the signal could overfit narrow local windows.

Low rank whitening

With few candidates relative to feature size, the approximation may become unstable or drop key directions.