Manuscript Offprint

arXiv:2609.01422

From Rollouts to Recipes: Self-Contained Post-Training for LLMs

Yifei Li, Lingling Zhang, Muye Huang, Zihan Ma, Jiashuai Liu, Jun Liu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Post-training large language models usually applies a single training recipe to all samples, even though the model's own rollouts reveal different sample-level learning states. We propose Self-Routing, a behavior-conditioned post-training framework that uses rollout correctness and confidence to decide how each sample should be optimized. Depending on its behavior state, a sample is routed to GRPO, on-policy self-distillation, regularization, or skipping, allowing training to adapt without external teachers, extra annotations, or additional sampling. Experiments on mathematical reasoning across Qwen3 and Qwen3.5 backbones show that Self-Routing consistently improves over uniform GRPO, uniform OPSD, fixed mixtures, and simpler routing baselines. Further analyses show that the routing distribution changes over training and reduces unnecessary updates on low-signal or already stable samples.

1 Introduction

Post-training is central to improving the reasoning ability of large language models (LLMs) on verifiable tasks such as mathematical reasoning, code generation, and program repair. In these settings, verifier-based reinforcement learning can use outcome rewards, such as answer correctness, test pass rates, or patch validity, without relying on large-scale chain-of-thought (CoT) annotations or human process supervision (Uesato et al., 2022; Le et al., 2022; Liu et al., 2023; Gehring et al., 2024; Wei et al., 2025). This makes naive RL / RLVR attractive when CoT data are scarce, noisy, or mismatched with the target model (DeepSeek-AI et al., 2025; Yu et al., 2026). Prior work has improved verifier-based post-training through reward design, advantage estimation, regularization, sampling, distillation, and hybrid objectives (Schulman et al., 2017; Shao et al., 2024; DeepSeek-AI et al., 2025;

Prior Behavior-Aware Post-Training

Current-policy rollout behavior is mainly used for selection-centric decisions.

Figure

Figure 1: Prior behavior-aware post-training mainly uses rollout signals for selection, such as filtering samples, scheduling curricula, mixing fixed recipes, or choosing inference-time answers.

Yu et al., 2026). Yet most methods still follow a global training recipe: they apply the same optimization mechanism, or a fixed objective mixture, to all samples in the dataset.

This global view overlooks the fact that rollouts already contain sample-level behavioral signals. Existing methods partially exploit this information: all-correct / all-wrong filtering skips samples whose rollouts provide no relative advantage signal (Yu et al., 2026; Shao et al., 2024), while entropy-, confidence-, or consistency-based voting and reranking can improve final answer quality without updating model parameters (Wang et al., 2022; Weng et al., 2022). These observations suggest that rollout behavior reflects the current learning state of each sample. Importantly, such signals are available during rollout generation itself, without extra annotation, external evaluators, or redundant inference.

A sample’s training value is therefore not a static

∗^{*}Corresponding author.

property such as quality or difficulty. It depends on the model's current rollout behavior and on the optimization signal applied to that sample. A sample with uniformly failed rollouts may provide little gradient for verifier-based RL, while on-policy distillation can still offer dense guidance on states visited by the current model. A sample with mixed correct and incorrect rollouts may be informative for RL, while a reliably solved sample may be better treated with a conservative objective. Samples that repeatedly fail with high confidence may be better skipped temporarily. We therefore view post-training as a process from rollouts to recipes: rollouts expose local learning states, and these states can be converted into sample-level training recipes that decide both whether and how each sample should be optimized.

Based on this view, we propose self-contained behavior-conditioned routing. Unlike global recipes that fix an optimization mechanism and apply it uniformly, our approach assigns training actions according to each sample's rollout behavior under the current model. Unlike distillation from external teachers, offline CoT traces, or fixed reference trajectories, our signals come from the model's own on-policy rollouts, reducing the risk of mode-distribution mismatch between the imitated trajectories and the states actually visited by the current policy (Agarwal et al., 2023; Zhao et al., 2026). This forms a self-contained loop: the model reveals its learning states through rollouts, and training uses those states to decide subsequent updates.

In summary, our contributions are as follows:

• We identify a structural limitation of verifier-based post-training: global recipes cannot adapt to heterogeneous sample-level learning states revealed by current-policy rollouts.

• We propose self-contained behavior-conditioned routing, which turns rollout signals naturally produced during training into sample-level recipes without extra annotation, external evaluators, or additional sampling.

• We empirically show that different rollout behavior states benefit from different optimization mechanisms, and that behavior-conditioned routing improves over uniform GRPO, uniform OPSD, fixed objective mixtures, and filtering- or curriculum-based baselines.

References (52)