Manuscript Offprint

arXiv:2610.34272

DoubleFree:Exploiting Exploration History for Rollout-Free Multi-Task LLMs Training

Yingping Wang, Min Cai, Chenyu Yuan, Xi Ye, Zhijiang Guo, Jiayi Huang

ABSTRACT

Multi-task post-training can develop domain specialists through independent reinforcement learning (RL) and consolidate their capabilities through multi-teacher on-policy distillation (MOPD). However, standard MOPD generates on-policy student responses and keeps multiple teachers online throughout consolidation, introducing substantial system costs. We view this pipeline as domain-wise exploration followed by cross-domain exploitation. Domain RL produces not only the final specialists, but also the trajectories collected throughout their training. Existing methods primarily use the former while leaving the latter underutilized. We introduce DoubleFree, which reuses these historical trajectories for rollout-free consolidation and precomputes teacher supervision for online-teacher-free student training. To understand why this works, we analyze when updates from historical trajectories can approximate on-policy distillation updates and how combining trajectories across exploration stages can better support an evolving student. DoubleFree requires only minimal changes to existing post-training frameworks. Across math, code, and instruction following on Qwen3-4B, Qwen3-8B, and SmolLM3-3B, DoubleFree achieves 2.99−5.75×2.99-5.75\times consolidation speedups and reduces GPU-hours by 80.9-90.1%, while maintaining comparable multi-domain performance.

1 INTRODUCTION

Multi-task LLM post-training seeks to combine capabilities such as mathematical reasoning, code generation, and instruction following in a single model (Lambert et al., 2025; Qwen Team, 2025). An increasingly studied approach first develops domain specialists through independent reinforcement learning (RL), then consolidates their capabilities through multi-teacher on-policy distillation (MOPD) (Ma et al., 2026; Bai et al., 2026).

This RL-then-MOPD pipeline incurs two major system costs (Figure 1). First, rollout is a major cost in both stages Gao et al. (2026b), and accounts for about 70% of per-batch time during consolidation. Yet consolidation generates new student responses despite the domain-specific experience already captured in RL trajectories. Second, student updates depend on online teacher scoring, typically requiring dedicated teacher GPUs throughout training. Specifically, teachers reserve 42.9% of GPUs, while remaining idle for over 90% of their allocated time (Section 2).

Figure

Figure 1: Two system costs in RL-then-MOPD: repeated response generation and GPU resources reserved for online multi-teacher serving.

We revisit this pipeline through an exploration-exploitation view (Section 3.1): domain-wise exploration develops specialist capabilities, while shared exploitation transfers these capabilities into

∗^{*}Corresponding author

Figure

(a) Rollout time

(b) Teacher GPUs

(c) Teacher idle time

(d) Teacher residency scaling (3 domains)

Figure 2: MOPD system costs. (a-c) Rollout time, teacher GPU allocation, and teacher idle time under two settings. (d) Minimum GPU demand for three resident domain teachers (BF16 weights).

a single policy. This view reveals two outputs of domain-wise exploration available for shared exploitation: final specialist policies and historical response trajectories. Existing distillation methods exploit the former for supervision but largely discard the latter, instead generating additional responses from the current student, initial student, or final specialists (Ma et al., 2026; Wu et al., 2026; Kim & Rush, 2016). This presents the opportunity to exploit both outputs to improve the consolidation efficiency.

We introduce DoubleFree, which exploits both outputs of domain-wise exploration: it reuses historical trajectories for rollout-free consolidation and pre-scores them with final specialists for online-teacher-free student training. For policy distillation, the student learns from cached responses and teacher scores while recomputing its own log-probabilities. Together, trajectory reuse and teacher pre-scoring eliminate additional response generation and release teacher GPUs before student training. A key question is whether exploration trajectories can support an evolving shared student. Collected across different RL substages, these trajectories may jointly provide broader coverage of student behavior than responses from either the initial policy or final specialists alone. In Section 4, we bound the discrepancy between on-policy and reuse distillation updates in terms of distribution mismatch and characterize potential coverage benefits of historical policy mixtures.

Our experiments are conducted on NVIDIA H100-80GB GPUs, with DoubleFree implemented in verl (Sheng et al., 2024). Across math, code, and instruction following on Qwen3-4B, Qwen3-8B, and SmolLM3-3B, DoubleFree reduces consolidation GPU-hours by 80.9-90.1% and achieves 2.99-5.75× speedups over Standard MOPD across DoubleFree's SFT and MPD variants, while retaining comparable multi-domain performance. Our contributions are as follows:

• We formulate RL-then-MOPD as an explore-exploit framework and identify redundant response generation and persistent teacher GPU allocation as two system bottlenecks.

  • DoubleFree combines exploration trajectory reuse with teacher pre-scoring for rollout-free consolidation and online-teacher-free student training. Our analysis further characterizes when such reuse can approximate on-policy updates and how trajectories across exploration stages can complement each other.

• Experiments across three models of different scales and families cover nine benchmarks in math, code, and instruction following. DoubleFree substantially reduces consolidation time and GPU-hours while maintaining comparable multi-domain accuracy.

References (46)