INQUIRING LINE

Regenerating an AI's training data once per lesson, instead of every single step, keeps most of the benefit for a fraction of the cost — why?

What compute savings does per-epoch resampling achieve compared to per-step RL rollouts?

This explores how much training compute you save by regenerating a model's own training data once per pass through the dataset (per epoch), instead of generating fresh samples at every training step as full on-policy RL does, and whether you give anything up by doing so.


This explores the cost gap between two ways of keeping training data 'on-policy', meaning made by the model being trained. Full RL generates new rollouts at every step. Iterative-SFT regenerates its data only once per epoch. The honest answer first: the notes here don't give an exact savings figure such as '5× cheaper' or 'X GPU-hours'. What they do show is more useful. Resampling once per epoch matches RL's resistance to forgetting while using substantially less compute, and the benefit of on-policy data levels off well before you reach the cost of generating fresh samples at every step Can cheaper data resampling match reinforcement learning's forgetting resistance?. Most of the per-step generation budget buys you almost nothing extra.

Why does 'approximately on-policy' work so well? It helps to know why RL forgets less than ordinary fine-tuning to begin with. Training on its own samples makes the model's updates 'mode-seeking': they sharpen behaviors the model already has, rather than pulling it toward an outside data distribution that wears down everything it knew Why does reinforcement learning forget less than supervised fine-tuning?. That protection comes from the data staying close to the model's current behavior, not from the data being perfectly fresh. A model's behavior doesn't drift much within one epoch, so samples from the start of the epoch are still close enough. That is why the extra freshness of per-step generation stops paying off.

The same lesson shows up elsewhere in the collection: a lot of RL compute is spent on rollouts that carry little signal. Prompts where every rollout gets roughly the same reward produce weak learning gradients. Filtering for high-variance prompts before each update restores performance and avoids wasted generation Why do language models collapse into generic templates?. DRO reuses one statistic, how much rollouts for the same prompt disagree, both to weight tokens and to throw out degenerate queries, and trains 2–3× faster as a result Can one statistical measure serve dual purposes in RL training?. At inference time, dropping weak reasoning traces early by watching confidence step by step matches majority-voting accuracy with far fewer traces Does step-level confidence outperform global averaging for trace filtering?.

A third route to savings changes what each rollout can do rather than how often you generate them. Giving the model a code interpreter during RL reached 67% accuracy in 400 steps. Text-only RL took 1080 steps to reach just 40% Can tool use make reinforcement learning more sample efficient?.

The takeaway you might not expect: 'on-policy' is less a strict requirement than a dial. Turning it all the way up (fresh data every step) is where most of RL's cost comes from, yet much of the benefit, at least for avoiding forgetting, arrives well before the maximum setting. If you want exact compute ratios, start with the Iterative-SFT note. The other notes show that cutting how often you sample, which samples you keep, and how capable each sample is are separate levers you can combine.


Sources 6 notes

Can cheaper data resampling match reinforcement learning's forgetting resistance?

Iterative-SFT, which resamples data once per epoch rather than per training step, reaches comparable forgetting resistance to full on-policy RL while requiring substantially less computation. The benefit of on-policy data saturates before reaching maximum per-step generation cost.

Why does reinforcement learning forget less than supervised fine-tuning?

RL fine-tuning forgets significantly less than SFT across multiple LM families and tasks. The protective mechanism is on-policy sampling, which produces mode-seeking updates that preserve prior knowledge in multi-modal policies, whereas SFT's mode-covering updates erode all modes indiscriminately.

Why do language models collapse into generic templates?

When within-prompt reward variance is low, task gradients weaken and regularization dominates, pushing policies toward generic outputs. SNR-Aware Filtering—selecting high-variance prompts before updates—recovers performance across tasks and scales.

Can one statistical measure serve dual purposes in RL training?

DRO reuses a single self-supervised statistic at two aggregation levels: token-level weighting in dense rewards and query-level filtering to discard degenerate comparisons. This dual use achieves 2–3× faster training with better stability on unverifiable tasks.

Does step-level confidence outperform global averaging for trace filtering?

Local step-level confidence catches reasoning breakdowns that global averaging masks and enables early stopping before traces complete. This approach achieves comparable accuracy gains to naive majority voting with far fewer generated traces, proving trace quality matters more than quantity.

Show all 6 sources
Can tool use make reinforcement learning more sample efficient?

ReTool achieves 67% accuracy in 400 RL steps with code-interpreter access, while text-only RL needs 1080 steps for 40% on the same model. The gap arises because tools reduce ambiguity and enable programmable search, letting RL find correct solutions faster.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.