Should an AI's reasoning get cut short mid-thought, or should it finish every attempt before picking the best one?
How does online in-trajectory filtering differ from best-of-N reranking?
This explores the difference between pruning a reasoning attempt while it is still being generated (online, in-trajectory filtering) and generating many complete answers first, then picking the best one afterward (best-of-N reranking).
This explores the difference between cutting off a reasoning attempt while it is still being written and letting many attempts finish before choosing the best. The corpus covers the first approach most directly. It has little material on classic best-of-N reranking itself, so this answer comes at it from the side.
The clearest doorway is Does step-level confidence outperform global averaging for trace filtering?. Best-of-N and majority voting judge each trace as a finished whole, often by averaging a confidence score across the entire trace. That average hides problems. A trace can look confident overall while one step in the middle falls apart. Checking confidence step by step catches that breakdown where it happens, and you can stop generating the trace right there. The two approaches differ in more than timing. In-trajectory filtering changes what gets measured (local failure points instead of an overall score) and what it costs (abandoned traces stop using compute early). The paper reports accuracy gains comparable to majority voting with far fewer generated traces. Its point is that the quality of each trace matters more than how many you generate.
A second difference shows up in Can diverse mediocre traces outperform redundant expert traces?. Best-of-N assumes one winning trace exists and that your job is to find it. SPIRAL starts from the opposite assumption: when a final aggregator weighs several traces, a varied set of mediocre traces beats a stack of near-identical strong ones, because the aggregator needs different views to arbitrate between. This is a caution for any filtering strategy. Aggressive pruning can save compute but also throw away the variety that later selection or aggregation depends on.
The same filter-early versus judge-late tension also appears during training. Can one statistical measure serve dual purposes in RL training? shows that one measure, how much a model's sampled answers to the same prompt disagree, can drop useless training prompts before they cost an update and also weight individual tokens inside the surviving answers. Why does RL generalize better than SFT to new domains? argues that part of RL's advantage over SFT comes from filtering it does without being told to: it down-weights very hard examples, while SFT lets them dominate. Taken together, the timing and granularity of a filter shape what a model learns, not just what it outputs at inference time.
What's missing: the corpus has no head-to-head paper comparing reward-model reranking of complete answers against in-flight pruning. The contrast above is assembled from neighboring work rather than measured directly. The most useful lesson from that work is that filtering mid-trajectory catches failures a final score averages away, and that pruning too hard can remove the variety a final selector needs.
Sources 4 notes
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.
SPIRAL shifts RL reward from individual traces to sampled sets, optimizing for complementarity rather than per-trace accuracy. Diverse mediocre traces outperform redundant strong ones because aggregators need raw material to arbitrate, not confirmation.
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.
RL achieves better OOD generalization not through algorithmic superiority but by implicitly down-weighting hard samples that drive gradient dominance and overfitting in SFT. Hard samples alone account for most of SFT's OOD degradation.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- Why Does RL Generalize Better Than SFT? A Data-Centric Perspective on VLM Post-Training
- Local Coherence or Global Validity? Investigating RLVR Traces in Math Domains
- Echo Chamber: RL Post-training Amplifies Behaviors Learned in Pretraining
- The Art of Scaling Reinforcement Learning Compute for LLMs
- Sharpening Tax in Post-Training
- Rethinking "RL Generalizes, SFT Memorizes": The Role of SFT Data
- Deep Think with Confidence
- SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-training