betaFeedback

WorksComputer Science

Function-Space Temporal Self-Distillation for Policy Optimization

Abstract

Reinforcement Learning with Verifiable Rewards (RLVR) improves reasoning in language models, but scalar outcomes provide coarse supervision over response trajectories. Self-distillation offers denser token-level guidance by comparing an unassisted policy with a feedback-informed self-teacher, yet the teacher evolves with the student, creating unstable targets and motivating additional regularization. We introduce Function-Space Policy Optimization (FSPO), a single-policy framework that combines current privileged adaptation with function-space temporal consolidation. FSPO stores sparse historical next-token distributions as fixed temporal targets, providing temporal separation without maintaining a persistent teacher model. It further introduces privileged disagreement correction to explicitly suppress locally overvalued actions, reliability-adaptive grounding that strengthens reference supervision when self-generated evidence repeatedly fails, and quality and coverage-aware temporal memory that retains verified behaviors and improves privileged demonstrations. Across reasoning and tool-use benchmarks, FSPO achieves the highest average accuracy under a 5-hour training budget, improving over the strongest baseline by approximately 4% points on average while reducing peak memory from about 70 GB to 56 GB on Olmo3-7B-Instruct.

Introduction

RLVR has become a paradigm for post-training Large Language Models (LLMs), driving substantial improvements in reasoning, problem solving, code generation, and tool use Shao et al. (2024); Team et al. (2025); Lambert et al. (2024). Most RLVR methods still reduce an entire response to a single scalar outcome, despite decisions of varying quality along the trajectory. This creates a difficult credit-assignment problem, particularly when rewards are sparse or when all sampled responses for a problem receive the same outcome Kazemnejad et al. (2024); Hubotter et al. (2026). Recent self-distillation methods offer a compelling alternative by extracting richer supervision from the model’s own behavior rather than relying solely on scalar advantages or a separate expert teacher Agarwal et al. [1]; Shenfeld et al. (2026); Zhao et al. (2026). In particular, Self-Distillation Policy Optimization (SDPO) Hubotter et al. (2026) shows that a single policy can serve as both student and self-teacher, first generating a response independently and then re-evaluating it using additional feedback. The difference between these views provides token-level supervision for finer credit assignment than outcome rewards.

SDPO has several limitations that arise from its reliance on a continuously evolving self-teacher. Because the student and self-teacher are instantiated from the same policy, the teacher distribution changes whenever the policy parameters are updated. Although stop-gradient prevents gradient flow through the teacher within an optimization step, it does not provide temporal separation across training iterations, creating a moving-target problem that can weaken the stability of the distillation signal. SDPO therefore relies on stabilization mechanisms such as EMA or trust-region regularization; the EMA variant requires an additional persistent parameter copy, introducing memory overhead that grows with model size. SDPO also treats student–teacher disagreement primarily through distribution matching and does not explicitly distinguish ordinary mismatch from cases where the student strongly overvalues a candidate rejected by the privileged view. Such severe local disagreements may require more targeted directional correction. In addition, SDPO lacks a mechanism for adapting supervision according to the reliability of the policy’s behavior on individual problems. Examples that the policy repeatedly fails to solve are therefore not explicitly differentiated, in supervision strength, from those for which reliable self-generated guidance is consistently available. Finally, SDPO primarily relies on the current feedback-conditioned policy and does not maintain an explicit temporal memory of useful privileged predictions discovered earlier in training. As a result, informative past behaviors are not systematically preserved and replayed, nor are historical experiences selected to balance solution quality with structural diversity. These limitations restrict stable temporal supervision, targeted local correction, reliability-aware learning, and preservation of complementary behaviors across training.

Can we achieve temporally stable and reliability-aware self-distillation without maintaining a separate teacher model, while preserving useful knowledge from earlier stages of training?

FSPO addresses these limitations through a unified self-distillation framework that improves temporal stability, strengthens local correction, adapts supervision to policy reliability, and preserves useful historical knowledge. To mitigate the moving-target problem, informative privileged predictions from earlier optimization steps are materialized as sparse next-token distributions and retained as fixed temporal targets. Because these historical function values remain unchanged while the current policy evolves, they provide temporal separation across training iterations without requiring a persistent EMA teacher or an additional resident parameter copy. FSPO also goes beyond distribution-level matching by identifying candidates that the unassisted policy strongly prefers but the privileged view rejects, and explicitly suppressing these locally overvalued decisions. This distinguishes severe privileged disagreement from ordinary distribution mismatch and provides a more targeted directional learning signal. Supervision is further adapted according to the reliability of the policy on each problem over time. A smoothed estimate of rollout performance distinguishes problems on which the policy repeatedly fails from those for which it consistently produces reliable solutions. When the policy repeatedly fails and its own evidence becomes unreliable, the reference loss is strengthened; as the policy improves and begins to solve the problem consistently, this supervision is progressively reduced. FSPO additionally maintains a temporal memory of useful privileged behaviors discovered earlier in training. This memory provides fixed historical targets for consolidation and stronger demonstrations when the current rollout group lacks a verified successful response. By retaining trajectories according to both solution quality and structural complementarity, FSPO preserves diverse, nonredundant solution strategies and enables the policy to benefit from complementary historical knowledge throughout optimization. As shown in Figure 1, these design choices translate into the highest average accuracy across the five tasks while requiring the fewest generated tokens. Our contributions are summarized as follows:

Average Generated Tokens vs. avg@16 Accuracy

Figure 1. Average Generated Tokens vs. avg@16 Accuracy (Olmo3-7B-Instruct, 5h) across five tasks. Ours reaches the highest accuracy with the fewest tokens.

  • Preserves temporal knowledge through sparse historical next-token distributions while combining current privileged adaptation with historical function-space consolidation, enabling temporally separated supervision with a single resident policy.

  • Introduces targeted privileged disagreement correction that suppresses candidates strongly overvalued by the unassisted policy but rejected by the privileged view, providing stronger directional correction beyond distribution matching.

  • Adapts reference supervision to the reliability of self-generated guidance, strengthening it when the policy repeatedly fails and reducing it as reliable solutions emerge. Quality- and coverage-aware temporal memory further preserves diverse, nonredundant behaviors.

  • Achieves approximately 4% points higher average accuracy than the strongest baseline across reasoning and tool-use benchmarks, while reducing peak memory from about 70 GB to 56 GB for Olmo3-7B-Instruct by eliminating the persistent EMA teacher.

Algorithm 1 FSPO Training

Require: πθ\pi_\theta, D\mathcal{D}, r^p←0\hat{r}_p \gets0, memory M←\mathcal{M} \gets reference seeds

  1. for s=1,…,Ts = 1, \ldots, T do

  2. Draw GG rollouts yp,jy_{p,j}, score rp,jr_{p,j}

  3. Demo dp,jd_{p,j}: sibling →y~p→gp\to\tilde{y}_p \to g_p

  4. Student pp,j,tp_{p,j,t}, teacher qp,j,tq_{p,j,t}

  5. Keep top-KcurK_{\mathrm{cur}} support Sp,j,t\mathcal{S}_{p,j,t}

  6. Overvalued set Np,j,t\mathcal{N}_{p,j,t} via margin γ\gamma

  7. Lcur←Ldistill+λnegLneg\mathcal{L}_{\mathrm{cur}} \gets\mathcal{L}_{\mathrm{distill}} + \lambda_{\mathrm{neg}}\mathcal{L}_{\mathrm{neg}}

  8. Update r^p(s)\hat{r}_p^{(s)}, ωp(s)\omega_p^{(s)}; get LCE\mathcal{L}_{\mathrm{CE}}

  9. Replay Rs⊂M\mathcal{R}_s \subset\mathcal{M} by group

  10. Ltemp\mathcal{L}_{\mathrm{temp}} vs. fixed targets q~p,t\tilde{q}_{p,t}

  11. Set ρs\rho_s by cyclic schedule

  12. Update θs\theta_s by minimizing L(θs)\mathcal{L}(\theta_s)

  13. Retain verified rollouts (quality/coverage)

  14. Store (S~p,t,q~p,t)(\tilde{\mathcal{S}}_{p,t}, \tilde{q}_{p,t}) in M\mathcal{M}

  15. if s mod F=0s \mathbin{\bmod} F = 0 then

  16. Refresh ζ\zeta of entries aged >H> H

  17. end if

  18. end for

Function-Space Policy Optimization

Self-distillation provides dense supervision by comparing an unassisted policy with a privileged self-teacher conditioned on stronger evidence. However, because both views evolve with the same policy, the teacher remains a moving target across optimization steps. FTSD addresses this by preserving informative historical policy outputs directly in function space rather than maintaining a persistent parameter-space teacher. Let πθs\pi_{\theta_s} denote the policy at step ss, with

Fθs(c)=πθs(⋅∣x,y<t)(1)F_{\theta_s}(c) = \pi_{\theta_s}(\cdot\mid x, y_{<t}) \tag*{(1)}

for prefix c=(x,y<t)c = (x, y_{<t}). Selected privileged predictions are materialized as sparse next-token distributions and retained as temporal targets, providing temporal separation as the policy evolves. FTSD further combines current privileged adaptation with targeted disagreement correction for strongly overvalued actions, quality- and coverage-aware temporal consolidation of complementary historical behaviors, and reliability-adaptive reference grounding. Reference supervision is strengthened when self-generated evidence fails and progressively reduced as reliable behavior emerges, yielding stable, selective, and adaptive self-distillation within a single-policy framework. Figure 2 illustrates the overall framework, while Algorithm 1 summarizes the complete training procedure.

Figure 2. FSPO Overview. For each query, the policy samples rollouts in Agent mode; a successful verified rollout is used as a demo. The Student mode predicts from the query alone, while the Teacher mode conditions on the query with a demo, producing token-level supervision. Verified solutions are then stored as sparse function-space targets in a cache and later replayed for temporal consolidation, preserving useful past behavior without maintaining a separate parameter-space teacher.

Privileged Adaptation and Disagreement Correction

We first construct dense supervision by comparing the current policy under an unassisted view and a privileged view with access to stronger evidence. Let D={(xp,gp)}p=1N\mathcal{D} = \{(x_p,g_p)\}_{p=1}^{N} denote the training set, where gpg_p is the verified reference solution. For each problem, the policy samples GG responses,

yp,j∼πθs(⋅∣xp),rp,j=R(xp,yp,j,gp)∈[0,1].(2)y_{p,j} \sim\pi_{\theta_s}(\cdot\mid x_p), \qquad r_{p,j} = R(x_p,y_{p,j},g_p) \in[0,1]. \tag*{(2)}

An unsuccessful rollout reveals where the policy fails, but not how its local token decisions should change. We therefore construct a privileged demonstration using the strongest reliable evidence available:

dp,j={yp,k,∃k≠j:rp,k≥τsucc,y~p,if a verified temporal trajectory is available,gp,otherwise.(3)d_{p,j} = \begin{cases} y_{p,k}, & \exists k \ne j : r_{p,k} \ge\tau_{\mathrm{succ}},\\ \tilde{y}_p, & \text{if a verified temporal trajectory is available},\\ g_p, & \text{otherwise}. \end{cases} \tag*{(3)}

This hierarchy, with success threshold τsucc>0\tau_{\mathrm{succ}} > 0, prioritizes a verified sibling response, followed by previously retained policy behavior, while using the reference solution as a reliable fallback. At each response position tt, the unassisted student and privileged self-teacher evaluate the same response prefix,

pp,j,t=πθs(⋅∣xp,yp,j,<t),qp,j,t=stopgrad⁡[πθs(⋅∣xp⊕dp,j,yp,j,<t)].(4)p_{p,j,t} = \pi_{\theta_s}(\cdot\mid x_p,y_{p,j,<t}), \qquad q_{p,j,t} = \operatorname{stopgrad}\left[\pi_{\theta_s}(\cdot\mid x_p \oplus d_{p,j},y_{p,j,<t})\right]. \tag*{(4)}

Since both views share the same policy and response history, their disagreement reflects how privileged evidence changes the next-token prediction at the same response state.

To avoid matching the full vocabulary distribution, we retain the KcurK_{\mathrm{cur}} highest-probability student tokens and aggregate the remaining probability mass into a tail category:

ΦS(a)=({a(v)}v∈S,1−∑v∈Sa(v)).(5)\Phi_S(a)=\left(\{a(v)\}_{v\in S},1-\sum_{v\in S}a(v)\right). \tag*{(5)}

where aa is a probability distribution over the vocabulary, a(v)a(v) is the probability that distribution assigns to token vv and SS is a fixed subset of the vocabulary. Specifically it’s the top-KK highest-probability tokens under the student’s distribution. ΦS(a)\Phi_S(a) reduces the full distribution aa down to: its values on that subset {a(v)}v∈S\{a(v)\}_{v\in S}, plus one extra "tail" bucket holding all the leftover mass 1−∑v∈Sa(v)1-\sum_{v\in S}a(v).

Let Sp,j,tS_{p,j,t} denote the student support and Mp,j,tM_{p,j,t} indicate valid response positions. We transfer privileged information using generalized Jensen-Shannon divergence (JSD),

Ldistill=1Zcur∑p,j,tMp,j,t×JSD⁡(ΦSp,j,t(pp,j,t),ΦSp,j,t(qp,j,t)),Zcur=∑p,j,tMp,j,t.(6)\mathcal{L}_{\mathrm{distill}}=\frac{1}{Z_{\mathrm{cur}}}\sum_{p,j,t}M_{p,j,t}\times\operatorname{JSD}\left(\Phi_{S_{p,j,t}}(p_{p,j,t}),\Phi_{S_{p,j,t}}(q_{p,j,t})\right),\qquad Z_{\mathrm{cur}}=\sum_{p,j,t}M_{p,j,t}. \tag*{(6)}

This provides a distinct privileged target at every response position, yielding dense local supervision rather than a single outcome-level signal.

Some disagreements, however, provide a stronger directional signal. When the student assigns substantially more probability to a token than the privileged view, that candidate is locally overvalued. We identify such tokens as

Np,j,t={v∈Sp,j,t:log⁡pp,j,t(v)−log⁡qp,j,t(v)>γ},(7)\mathcal{N}_{p,j,t}=\{v\in S_{p,j,t}:\log p_{p,j,t}(v)-\log q_{p,j,t}(v)>\gamma\}, \tag*{(7)}

and penalize them using

ℓneg(p,j,t)=1max⁡(1,∣Np,j,t∣)∑v∈Np,j,t[log⁡pp,j,t(v)−stopgrad⁡(log⁡qp,j,t(v))−γ]+,(8)\ell_{\mathrm{neg}}(p,j,t)=\frac{1}{\max(1,|\mathcal{N}_{p,j,t}|)}\sum_{v\in\mathcal{N}_{p,j,t}}\left[\log p_{p,j,t}(v)-\operatorname{stopgrad}(\log q_{p,j,t}(v))-\gamma\right]_+, \tag*{(8)}
Lneg=1Zcur∑p,j,tMp,j,tℓneg(p,j,t).(9)\mathcal{L}_{\mathrm{neg}}=\frac{1}{Z_{\mathrm{cur}}}\sum_{p,j,t}M_{p,j,t}\ell_{\mathrm{neg}}(p,j,t). \tag*{(9)}

The privileged adaptation objective is therefore

Lcur=Ldistill+λnegLneg.(10)\mathcal{L}_{\mathrm{cur}}=\mathcal{L}_{\mathrm{distill}}+\lambda_{\mathrm{neg}}\mathcal{L}_{\mathrm{neg}}. \tag*{(10)}

This provides dense token-level supervision while explicitly correcting local decisions that are strongly contradicted by privileged evidence.

Function-Space Temporal Consolidation

Privileged adaptation provides supervision at the current optimization step, but its target evolves together with the policy. Thus, stop-gradient separates the student and self-teacher within an update, but does not provide temporal separation across updates. We address this by preserving selected privileged predictions from earlier stages as fixed function-space targets rather than maintaining a persistent historical teacher.

For each problem pp, the temporal memory stores a retained trajectory y~p\tilde{y}_p, its verifier score r~p\tilde{r}_p, structural signature σp\sigma_p, and sparse privileged predictions {S~p,t,q~p,t}t\{\tilde{S}_{p,t},\tilde{q}_{p,t}\}_t. To improve the usefulness of this memory, trajectories are retained based on both verifier quality and structural complementarity rather than reward alone. This discourages repeatedly storing similar solution patterns and promotes broader coverage of distinct behaviors. A candidate replaces the stored trajectory when its retention score, which combines verifier quality with the coverage of its structural signature, exceeds that of the stored entry. During consolidation, memories are also sampled evenly across structural groups, preventing dominant signatures from overwhelming replay.

Let θpsrc\theta_p^{\mathrm{src}} denote the policy state from which a temporal target is materialized. We use d~p=y~p\tilde{d}_p=\tilde{y}_p when r~p≥τsucc\tilde{r}_p\ge\tau_{\mathrm{succ}} and d~p=gp\tilde{d}_p=g_p otherwise. The source policy produces

qˉp,t=stopgrad⁡[πθpsrc(⋅∣xp⊕d~p,y~p,<t)].(11)\bar{q}_{p,t}=\operatorname{stopgrad}\left[\pi_{\theta_p^{\mathrm{src}}}(\cdot\mid x_p\oplus\tilde{d}_p,\tilde{y}_{p,<t})\right]. \tag*{(11)}

Rather than retaining the source parameters, we store only its dominant predictions,

S~p,t=TopK⁡(qˉp,t,Ktemp),q~p,t=ΦS~p,t(qˉp,t),(12)\tilde{S}_{p,t}=\operatorname{TopK}(\bar{q}_{p,t},K_{\mathrm{temp}}),\qquad\tilde{q}_{p,t}=\Phi_{\tilde{S}_{p,t}}(\bar{q}_{p,t}), \tag*{(12)}

which remain fixed while the current policy evolves.

At optimization step ss, let Rs\mathcal{R}_s denote the temporal memories selected for consolidation. The current policy evaluates each retained trajectory under the original problem context and is matched against its fixed historical privileged target:

Ltemp=1Ztemp∑p∈Rs∑tM~p,tDα(ΦS~p,t[πθs(⋅∣xp,y~p,<t)],q~p,t),Ztemp=∑p∈Rs,tM~p,t.(13)\mathcal{L}_{\mathrm{temp}}=\frac{1}{Z_{\mathrm{temp}}}\sum_{p\in\mathcal{R}_s}\sum_t\tilde{M}_{p,t}D_\alpha\left(\Phi_{\tilde{S}_{p,t}}\left[\pi_{\theta_s}(\cdot\mid x_p,\tilde{y}_{p,<t})\right],\tilde{q}_{p,t}\right),\qquad Z_{\mathrm{temp}}=\sum_{p\in\mathcal{R}_s,t}\tilde{M}_{p,t}. \tag*{(13)}

Unlike the current privileged target, q~p,t\tilde{q}_{p,t} remains fixed while the policy evolves. Privileged adaptation therefore captures what should be learned from current evidence, whereas temporal consolidation preserves behavior that was informative at earlier stages of training.

To avoid stale targets without collapsing temporal separation, we use delayed and staggered refresh. A stored target becomes eligible for refresh after HH optimization steps, and a fraction ζ\zeta of eligible entries is updated every FF steps. This maintains temporal targets of different ages while allowing the memory to gradually track policy improvement.

Reliability-Adaptive Reference Grounding

Privileged adaptation and temporal consolidation primarily rely on supervision generated by the policy itself. However, this signal can be unreliable for problems that the policy repeatedly fails to solve. We therefore use the reference solution as an adaptive grounding signal whose strength depends on the reliability of self-generated behavior.

For problem pp, we measure the current rollout reliability and its smoothed estimate as

rp(s)=1G∑j=1Grp,j,r^p(s)=(1−ν)r^p(s−1)+νrp(s),(14)r_p^{(s)}=\frac{1}{G}\sum_{j=1}^{G}r_{p,j},\qquad\hat{r}_p^{(s)}=(1-\nu)\hat{r}_p^{(s-1)}+\nu r_p^{(s)}, \tag*{(14)}

where ν\nu controls the influence of recent outcomes. Given a target reliability τ\tau, the reference weight is

wp(s)=clip⁡(τ−r^p(s)τ,0,1).(15)w_p^{(s)}=\operatorname{clip}\left(\frac{\tau-\hat{r}_p^{(s)}}{\tau},0,1\right). \tag*{(15)}

Thus, reference supervision is strongest when the policy repeatedly fails and its own evidence remains unreliable, and gradually decreases as the policy begins to solve the problem consistently.

Let gp=(gp,1,…,gp,Lp)g_p=(g_{p,1},\ldots,g_{p,L_p}) be the tokenized reference solution, BsCE={p∈Bs:wp(s)>0}\mathcal{B}_s^{\mathrm{CE}}=\{p\in\mathcal{B}_s:w_p^{(s)}>0\} the grounded problems, and Ap,t∈{0,1}A_{p,t}\in\{0,1\} a mask over valid reference tokens excluding prompt and padding positions. The grounding objective is

LCE=−1ZCE∑p∈BsCE∑twp(s)Ap,tlog⁡πθs(gp,t∣xp,gp,<t),ZCE=∑p∈BsCE,tAp,t.(16)\mathcal{L}_{\mathrm{CE}}=-\frac{1}{Z_{\mathrm{CE}}}\sum_{p\in\mathcal{B}_s^{\mathrm{CE}}}\sum_t w_p^{(s)}A_{p,t}\log\pi_{\theta_s}(g_{p,t}\mid x_p,g_{p,<t}),\qquad Z_{\mathrm{CE}}=\sum_{p\in\mathcal{B}_s^{\mathrm{CE}},t}A_{p,t}. \tag*{(16)}

The reference therefore acts as a reliability-dependent grounding signal rather than uniform supervised training: it supports problems for which self-generated evidence is weak and progressively vanishes as reliable self-supervision emerges.

Unified Adaptation and Consolidation Objective

The complete objective combines current privileged adaptation, historical consolidation, and reliability-adaptive grounding:

L(θs)=(1−ρs)Lcur+ρsLtemp+λCELCE,(17)\mathcal{L}(\theta_s)=(1-\rho_s)\mathcal{L}_{\mathrm{cur}}+\rho_s\mathcal{L}_{\mathrm{temp}}+\lambda_{\mathrm{CE}}\mathcal{L}_{\mathrm{CE}}, \tag*{(17)}

Here, ρs∈[0,1]\rho_s \in[0, 1] controls the balance between acquiring current privileged information and consolidating useful historical behavior, while λneg\lambda_{\mathrm{neg}} and λCE\lambda_{\mathrm{CE}} determine the strengths of disagreement correction and reference grounding.

Rather than fixing this balance throughout training, we periodically shift emphasis from adaptation toward consolidation:

ρs=ρmin⁡+(ρmax⁡−ρmin⁡)(s−1) mod Cmax⁡(1,C−1),(18)\rho_s = \rho_{\min} + (\rho_{\max} - \rho_{\min}) \frac{(s - 1) \bmod C}{\max(1, C - 1)}, \tag*{(18)}

where CC is the cycle length. Since memory is pre-seeded with reference trajectories, temporal consolidation starts immediately. Each cycle initially favors current privileged supervision and progressively increases the weight of historical targets, balancing adaptation with retention.

Experiments

We evaluate FSPO across scientific reasoning and tool-use tasks to determine whether solution-conditioned self-distillation improves learning while eliminating the persistent teacher used by EMA-stabilized on-policy distillation. We compare against verifier-based policy optimization and teacher-based dense supervision under matched wall-clock training budgets.

Experimental Setting

We evaluate four level-3 reasoning subsets of SciKnowEval Feng et al. (2024): Chemistry, Physics, Biology, and Materials science, together with ToolAlpaca (Tool use) Tang et al. (2023) for structured tool use. We use Qwen3-8B Yang et al. (2025) and Olmo3-7B-Instruct Ettinger et al. (2025) as initial checkpoints and construct disjoint train–test splits for each task. Performance is measured using avg@16 on the held-out split. We use a single hyperparameter setting across all models and datasets (Appendix A.4), without dataset specific tuning.

We compare FSPO against GRPO Shao et al. (2024), on-policy GRPO, and on-policy SDPO Hubotter et al. (2026), with baseline results taken from SDPO. All methods use the same initialization and hardware budget. Each run is performed on four NVIDIA GH200 GPUs, and we report the highest accuracy obtained within 1-hour and 5-hour wall-clock training budgets. On-policy GRPO, SDPO, and FSPO perform one gradient update per generation batch, whereas GRPO performs four off-policy mini-batch updates.

Main Results

We first examine whether the proposed temporal self-distillation strategy translates into consistent improvements across tasks, model backbones, and training budgets. Table 1 shows that FSPO achieves the highest Avg@5h for both Qwen3-8B and Olmo3-7B-Instruct, with the best 5-hour performance on every scientific reasoning task. The improvements remain consistent across Chemistry, Physics, Biology, and Materials, suggesting that the gains are not tied to a particular domain or backbone. The margin is smaller on Tool use, where the baselines already reach performance close to ours within the same budget. Even in this setting, FSPO remains competitive at the 5-hour budget, matching the strongest Qwen3-8B result and improving over the baselines on Olmo3-7B-Instruct, although SDPO is stronger at the 1-hour budget on both backbones.

Table 1: Comparison of FSPO with GRPO and SDPO across benchmarks. We report the highest avg@16 achieved within 1-hour and 5-hour wall-clock training budgets for Qwen3-8B and Olmo3-7B-Instruct, with baseline results for GRPO, on-policy GRPO, and SDPO taken from SDPO Hubotter et al. (2026). The final column reports the average performance across all five benchmarks at the 5-hour budget. FSPO follows the SDPO training and evaluation setting on 4 NVIDIA GH200 GPUs.

ChemistryPhysicsBiologyMaterialsTool useAvg@5h
1h5h1h5h1h5h1h5h1h5h
Qwen3-8B41.259.230.858.957.549.5
+ GRPO65.974.563.872.735.159.974.377.164.967.770.4
+ GRPO (on-policy)63.363.463.663.649.849.873.974.160.265.763.3
+ SDPO (on-policy)73.280.966.675.650.656.872.178.468.068.572.0
+ FSPO (on-policy)81.883.466.776.071.271.281.781.766.668.576.2
Olmo3-7B-Instruct22.837.716.236.739.330.5
+ GRPO39.756.755.363.335.655.870.975.056.465.063.2
+ GRPO (on-policy)51.457.562.762.749.849.873.373.556.860.660.8
+ SDPO (on-policy)68.080.059.966.148.052.873.779.160.862.168.0
+ FSPO (on-policy)81.083.366.470.162.362.376.379.957.666.672.4

Table 1.

The same behavior becomes clearer when considering optimization over time. As shown in Figure 3, FSPO obtains a large fraction of its final improvement early in training and approaches its peak substantially faster than the baselines across most tasks. Figure 4 further shows that this faster learning is accompanied by a rapid reduction in per-step cost. Privileged supervision and disagreement correction provide stronger local guidance by suppressing overvalued token choices, while temporal consolidation reinforces previously successful solution patterns. As these signals accumulate, the policy increasingly produces shorter responses, which contributes to its lower generation cost. In contrast, GRPO and SDPO tend to generate longer trajectories as training progresses, causing their generation-dominated step time to gradually increase.

Figure 3. Convergence of best-within-window avg@16 accuracy over wall-clock training time for Qwen3-8B (top row) and Olmo3-7B-Instruct (bottom row) across five tasks.

Figure 4. Average time per training step over wall-clock time for Olmo3-7B-Instruct across five tasks.

Learning without Forgetting

Improving performance on a target task can degrade behaviors acquired from other domains, making cross-task retention an important measure of stable post-training. Figure 5 examines this trade-off by comparing new-task gains with performance retained on five prior-capability benchmarks. FSPO improves the trained task while exhibiting consistently higher retention than the baselines. We attribute this to function-space temporal consolidation, which replays fixed historical predictions. This mechanism regularizes updates toward previously useful behavior and reduces catastrophic forgetting during continued adaptation. Detailed cross-task scores are provided in Appendix § 6.§ 2.

Catastrophic-forgetting trade-off on Olmo3-7B-Instruct

Figure 5. Catastrophic-forgetting trade-off on Olmo3-7B-Instruct. Each panel corresponds to training on one task, with the horizontal axis showing the best avg@16 achieved on that task within 5 h and the vertical axis showing the mean score on the 5 prior-capability benchmarks.

Memory and Computational Properties

Temporal regularization stabilizes self-distillation, but additional model copies become increasingly costly at scale. FSPO addresses this by storing temporal information as sparse function-space targets rather than as a persistent network. Historical response tokens, selected token probabilities, and pooled tail mass are retained in host memory, while only the current policy remains resident during optimization. Figure 6 illustrates the resulting difference. For Olmo3-7B-Instruct, the common training state occupies approximately 56 GB, whereas GRPO and SDPO reach 70 GB because of an additional rollout copy and EMA teacher, respectively. Since FSPO reuses the current policy for generation and privileged evaluation, it avoids these persistent model-sized copies, at the cost of additional activations for temporal replay. Under the same accounting, eliminating one bf16 parameter copy corresponds to roughly 12 TB of aggregate memory at 6T parameters. It is also worth noting that although the cache grows during training, its peak memory overhead remains negligible at about 5 MB (Appendix § 6.§ 5).

Figure 6. Comparison of Memory Footprint. (a) Breakdown for Olmo3-7B-Instruct: policy weights, gradients, AdamW state, and activations plus KV cache are common to all methods. GRPO adds a synced colocated rollout copy, and SDPO adds a persistent EMA teacher copy. FSPO needs no extra model copy, since on-policy rollouts reuse the model being trained. (b) Projecting the same accounting to larger models, the absolute gap grows with parameter count.

Ablation Study

We ablate the main components of FSPO on Olmo3-7B-Instruct across Biology and Tool Use to assess their contributions. As shown in Table 2, we ablate the objective, privileged demonstrations, temporal supervision, memory retention, and adaptive grounding while keeping all other settings fixed. Together, these components raise average accuracy from 27.8% for the zero-shot base model to 64.5%, reflecting their complementary contributions. Additional analyses of the choices are provided in Appendix § 6.§ 3.

CasesSettingBiologyTool UseAvg.
Case 1Full objective (ours)62.366.664.5
LdistillL_{\mathrm{distill}} only54.957.256.0
w/o LnegL_{\mathrm{neg}}61.965.863.8
w/o LtempL_{\mathrm{temp}}59.960.360.1
w/o LCEL_{\mathrm{CE}}59.164.361.7
w/o LtempL_{\mathrm{temp}} & LCEL_{\mathrm{CE}}54.453.854.1
Case 2Sibling →y~p→\to\tilde{y}_p \to reference (ours)62.366.664.5
Reference only41.839.140.5
Verified sibling only57.960.259.0
w/o y~p\tilde{y}_p58.862.660.7
Case 3Function-space cache (ours)62.366.664.5
Parameter snapshot (every HH steps)59.458.158.8
EMA teacher (μ=0.99\mu= 0.99)62.364.263.2
EMA teacher (μ=0.999\mu= 0.999)61.361.361.3
Frozen initial policy56.856.156.5
CE replay of y~p\tilde{y}_p58.758.358.5
Case 4Quality + coverage retention (ours)62.366.664.5
Reward-only retention59.864.161.9
Coverage-only retention56.357.857.0
Uniform sampling58.962.460.6
Random retention + uniform sampling54.859.457.1
Case 5Reliability-adaptive wp(s)w_p^{(s)} (ours)62.366.664.5
Constant wp=1w_p = 160.265.162.6
Binary wpw_p60.665.463.0
Case 6Cyclic, adaptation →\to consolidation (ours)62.366.664.5
Fixed ρp=0.4\rho_p = 0.460.665.162.8
Monotonic ramp60.864.262.5
Reverse cyclic, consolidation →\to adaptation57.661.759.7
BaseOlmo3-7B-Instruct (zero-shot)16.239.327.8
FSPOComplete Method62.366.664.5

Table 2. Ablation study of FSPO on Olmo3-7B-Instruct across Biology and Tool Use. Shaded rows marked (ours) denote the setting used in the full model; unless stated otherwise.

Effective supervision. Case 1 first reveals that FSPO benefits from combining complementary forms of supervision rather than relying solely on privileged distillation. Temporal consolidation and reference grounding account for the largest gains, particularly on Tool Use, while disagreement correction provides a smaller but consistent improvement. Importantly, these signals depend on one another: retaining disagreement correction after removing both temporal and reference anchors performs worse than distillation alone, suggesting that aggressive local correction is useful only when the evolving self-teacher is sufficiently stabilized. The source of privileged evidence is equally important. Reference-only supervision leads to a substantial drop, whereas verified siblings and retained trajectories remain closer to the policy’s response distribution. Their combination in the full hierarchy therefore provides the strongest current supervision (Case 2).

Temporal stability. The remaining ablations show that temporal stability depends not simply on retaining past information, but on what is preserved and how it is reused. Sparse function-space targets outperform parameter snapshots, EMA teachers, frozen policies, and trajectory-level CE replay; several of these alternatives even fall below removing temporal consolidation altogether (Case 3). Within the memory itself, retaining trajectories by both quality and coverage performs better than either criterion alone, while uniform or random replay further weakens the historical signal (Case 4). This selective preservation is complemented by reliability-adaptive grounding, which improves over constant or binary reference weighting by adjusting supervision as the policy becomes more reliable (Case 5). Finally, cyclic adaptation followed by consolidation performs best, whereas reversing this order causes a marked degradation, supporting the intended progression from acquiring new privileged information to stabilizing it over time (Case 6).

Related Work

Policy-gradient methods (Williams, 2004; Schulman et al., 2017) underpin modern RLVR, with GRPO (Shao et al., 2024) and its variants (Yu et al., 2025; Liu et al., 2025) improving reasoning, coding, tool use, and visual grounding (Team et al., 2025; Lambert et al., 2024; El-Kishky et al., 2025; Khatri et al., 2025; Karim & Verma, 2026). However, trajectory-level rewards provide coarse credit when feedback is sparse or uniform across rollouts (Kazemnejad et al., 2024; Chen et al., 2025b). Prior work addresses this through step-level verifiers (Lightman et al., 2023; Wang et al., 2024; Setlur et al., 2024), dense reward redistribution [10, 9] (Cui et al. 2025), and selective updates at high-entropy decisions (Wang et al., 2025). Richer supervision has also emerged through critiques (Scheurer et al., 2023; Luo et al., 2025; Song et al., 2026), self-reflection (Shinn et al., 2023; Madaan et al., 2023; Lee et al., 2024), hindsight [3] (Liu et al. 2023; Zhang et al. 2023), context distillation (Snell et al., 2022; Choi et al., 2022; Kujanpää et al., 2024), and verified self-training (Zelikman et al., 2022; Yang et al., 2024). On-policy self-distillation brings these ideas together by conditioning the same policy on references (Zhao et al., 2026), demonstrations (Shenfeld et al., 2026), or feedback and successful siblings (Hubotter et al., 2026), and SALD (Das et al., 2026c) extends a similar self-referenced objective, akin to SDPO and SDFT, to text-to-image diffusion models (Das et al., 2026a;b; 2025); yet the resulting teacher evolves with the student and can suppress useful uncertainty (Kim et al., 2026; Das et al., 2026d). FTSD retains this single-policy setting while introducing temporally fixed historical supervision.

Knowledge distillation transfers teacher distributions to a student (Hinton et al., 2015; Romero et al., 2014), with sequence-level and on-policy variants extending it to language models [1] (Kim & Rush 2016; Gu et al. 2023). Student-generated trajectories reduce train–inference mismatch (Ross et al., 2010), while divergence choice governs how teacher behavior is matched [2]. Evolving targets are commonly stabilized through target networks (Mnih et al., 2015), EMA teachers (Grill et al., 2020; Tarvainen & Valpola, 2017), trust regions (Schulman et al., 2015), or expert iteration [4]. In parallel, on-policy adaptation can reduce forgetting (Shenfeld et al., 2025; Chen et al., 2025a), while continual learning relies on parameter regularization (Kirkpatrick et al., 2017), output distillation (Li & Hoiem, 2016), and experience replay (Rolnick et al., 2018). Closest to FTSD are function-space approaches that preserve previous outputs [6] (Pan et al. 2020), including stored-logit replay [7]. FTSD adapts this principle to LLM self-distillation through sparse privileged distributions used only during training, rather than memory-augmented inference [5, 8], learned context representations (Eyuboglu et al., 2025), or persistent model copies common in RL systems (Sheng et al., 2024).

Conclusion

We introduced FSPO, a single-policy self-distillation framework that preserves historical behavior via sparse function-space targets rather than a persistent teacher model. By combining privileged adaptation with disagreement correction, reliability-adaptive grounding, and quality- and coverage-aware temporal memory, FSPO provides stable supervision while retaining verified behaviors across training. Across scientific reasoning and tool-use tasks on two model backbones, FSPO achieves the highest average accuracy under a 5-hour wall-clock budget, converges faster, and better preserves prior capabilities, while reducing estimated peak memory from about 70 GB to 56 GB on Olmo3-7B-Instruct. The ablations further show that these gains arise from the interaction between current adaptation, temporal consolidation, and adaptive grounding rather than any single component. Overall, the results suggest that temporal knowledge can be preserved effectively in function space, enabling more memory-efficient and stable self-distillation for continual post-training.

Appendix

Complete Training Procedure

Algorithm 2 expands Algorithm 1 into the complete training loop of FSPO, using the notation of § 2. Each step follows six stages: the policy explores the problem, learns from current privileged evidence, is grounded on the reference solution when it remains unreliable, consolidates fixed historical targets, updates its parameters, and finally refreshes its temporal memory. For readability, mean denotes the average over valid response positions, matching the normalizers ZcurZ_{\mathrm{cur}}, ZtempZ_{\mathrm{temp}}, and ZCEZ_{\mathrm{CE}}, and DαD_{\alpha} denotes the same generalized JSD (α=0.5\alpha= 0.5) used in Ldistill\mathcal{L}_{\mathrm{distill}}.

Each memory entry holds a retained trajectory y~p\tilde{y}_{p}, its verifier score r~p\tilde{r}_{p}, its structural signature σp\sigma_{p} (the invoked action sequence for Tool Use, the predicted option for multiple-choice tasks), and its sparse targets {S~p,t,q~p,t}t\{\tilde{S}_{p,t},\tilde{q}_{p,t}\}_{t}. Memory is seeded with reference solutions for the problems in the initial batches, marked with r~p=0\tilde{r}_{p}=0 so that they serve only as fallback targets and are not used as verified demonstrations. Verified rollouts are added for problems not yet in memory and replace an existing entry when their retention score, which combines verifier quality with signature coverage using a coverage weight of 0.5, exceeds that of the stored trajectory.

Algorithm 2 FSPO: Complete Training Procedure

Require: Training set $\mathcal{D}=\{(x_p,g_p)\}_{p=1}^{N}$, policy $\pi_{\theta_1}$, verifier $R$, hyperparameters in Table 5
1: Initialize memory $\mathcal{M}$ with reference solutions for the initial batches and STORE their targets
2: for $s=1,\ldots,T$ do
3:     Sample a question batch $\mathcal{B}_s\subset\mathcal{D}$
// 1. Explore
4:     Sample $y_{p,j}\sim\pi_{\theta_s}(\cdot\mid x_p)$ and score $r_{p,j}=R(x_p,y_{p,j},g_p)$ for $j=1,\ldots,G$
// 2. Learn from current privileged evidence
5:     Choose demonstration $d_{p,j}$: verified sibling $\to$ retained $\tilde{y}_p\to$ reference $g_p$
6:     Student $p_{p,j,t}=\pi_{\theta_s}(\cdot\mid x_p,y_{p,j,<t})$, teacher $q_{p,j,t}=\operatorname{stopgrad}[\pi_{\theta_s}(\cdot\mid x_p\oplus d_{p,j},y_{p,j,<t})]$
7:     $\mathcal{L}_{\mathrm{distill}}\leftarrow\operatorname{mean}\operatorname{JSD}(\Phi_S(p_{p,j,t}),\Phi_S(q_{p,j,t}))$, $S=\operatorname{TopK}(p_{p,j,t},K_{\mathrm{cur}})$
8:     $\mathcal{L}_{\mathrm{neg}}\leftarrow\operatorname{mean}[\log p_{p,j,t}(v)-\log q_{p,j,t}(v)-\gamma]_+$ over overvalued tokens $v\in\mathcal{N}_{p,j,t}$
9:     $\mathcal{L}_{\mathrm{cur}}\leftarrow\mathcal{L}_{\mathrm{distill}}+\lambda_{\mathrm{neg}}\mathcal{L}_{\mathrm{neg}}$
// 3. Ground on the reference when the policy is unreliable
10:     $\hat{r}_p\leftarrow(1-\nu)\hat{r}_p+\nu\cdot\frac{1}{G}\sum_j r_{p,j}$, $w_p\leftarrow\operatorname{clip}((\tau-\hat{r}_p)/\tau,0,1)$
11:     $\mathcal{L}_{\mathrm{CE}}\leftarrow-\operatorname{mean}w_p\log\pi_{\theta_s}(g_{p,t}\mid x_p,g_{p,<t})$
// 4. Consolidate fixed historical targets
12:     Sample $\mathcal{R}_s\subset\mathcal{M}$ evenly across signature groups
13:     $\mathcal{L}_{\mathrm{temp}}\leftarrow\operatorname{mean}D_{\alpha}(\Phi_{\tilde{S}_{p,t}}[\pi_{\theta_s}(\cdot\mid x_p,\tilde{y}_{p,<t})],\tilde{q}_{p,t})$ for $p\in\mathcal{R}_s$
14:     $\rho_s\leftarrow\rho_{\min}+(\rho_{\max}-\rho_{\min})\frac{(s-1)\bmod C}{\max(1,C-1)}$
// 5. Update the policy
15:     $\mathcal{L}(\theta_s)\leftarrow(1-\rho_s)\mathcal{L}_{\mathrm{cur}}+\rho_s\mathcal{L}_{\mathrm{temp}}+\lambda\mathcal{L}_{\mathrm{CE}}\mathcal{L}_{\mathrm{CE}}$
16:     $\theta_{s+1}\leftarrow\operatorname{AdamW}(\theta_s,\nabla_{\theta}\mathcal{L}(\theta_s))
// 6. Update the temporal memory
17:     for each $p\in\mathcal{B}_s$ with a verified rollout $y_{p,j^*}$ ($r_{p,j^*}\ge\tau_{\mathrm{suc}}$) do
18:         if $p\notin\mathcal{M}$ or $y_{p,j^*}$ has a higher retention score than $\tilde{y}_p$ then
19:             $(\tilde{y}_p,\tilde{r}_p,\sigma_p)\leftarrow(y_{p,j^*},r_{p,j^*},\sigma(y_{p,j^*}))$ and STORE($p$)
20:         end if
21:     end for
22:     if $s\bmod F=0$ then
23:         STORE($p$) again for a fraction $\zeta$ of entries older than $H$ steps                                      ▷ staggered refresh
24:     end if
25: end for

26: procedure STORE($p$)                                                                                                  ▷ materialize fixed targets with the current policy $\theta_p^{\mathrm{src}}$
27:     $\tilde{d}_p\leftarrow\tilde{y}_p$ if $\tilde{r}_p\ge\tau_{\mathrm{suc}}$, else $g_p$
28:     $\tilde{q}_{p,t}\leftarrow\operatorname{stopgrad}[\pi_{\theta_p^{\mathrm{src}}}(\cdot\mid x_p\oplus\tilde{d}_p,\tilde{y}_{p,<t})]$
29:     $\tilde{S}_{p,t}\leftarrow\operatorname{TopK}(\tilde{q}_{p,t},K_{\mathrm{temp}})$, $\tilde{q}_{p,t}\leftarrow\Phi_{\tilde{S}_{p,t}}(\tilde{q}_{p,t})$                                  ▷ kept fixed in host memory
30: end procedure

Additional Details on Catastrophic Forgetting

Table 3 provides a broader view of how task-specific adaptation affects capabilities already present in the base model. Across all five adaptation datasets, standard GRPO produces the largest degradation on the retained benchmarks, indicating substantial drift toward the newly optimized task. On-policy GRPO reduces this degradation, while SDPO further improves retention through dense self-distillation. FSPO consistently provides the strongest overall retention among the adapted models, achieving the highest average score for every training dataset. On the scientific tasks, its average performance remains close to or exceeds the original Olmo3-7B-Instruct checkpoint: Chemistry and Biology reach 60.95 and 60.94 compared with the base score of 61.26, while Physics and Materials improve to 62.61 and 62.32, respectively. These results indicate that preserving historical behavior in function space can limit catastrophic forgetting without preventing beneficial transfer from the newly learned task.

MethodDatasetHumanEvalMMLUHellaSwagWinograndeTruthfulQAAvg.
Olmo3-7B-Instruct–47.5658.7776.0466.1457.7961.26
GRPOChemistry43.9054.1871.4262.5153.3757.08
GRPOPhysics44.5153.9570.8863.1453.9257.28
GRPOBiology42.6854.5871.9563.6953.1457.21
GRPOMaterials43.2953.8270.6162.7553.8556.86
GRPOTool use38.4152.9469.9560.7751.8854.79
GRPO (on-policy)Chemistry45.7356.2874.3164.2556.0859.33
GRPO (on-policy)Physics44.5156.7574.6264.3356.4159.32
GRPO (on-policy)Biology45.1255.9873.8563.7755.7258.89
GRPO (on-policy)Materials46.3456.5274.2464.1756.3359.52
GRPO (on-policy)Tool use40.8555.3773.4263.3054.9557.58
SDPO (on-policy)Chemistry46.9557.4873.8265.1956.4259.97
SDPO (on-policy)Physics45.7357.9274.3564.8856.8559.95
SDPO (on-policy)Biology46.3457.1573.5864.6456.5159.64
SDPO (on-policy)Materials46.9557.6874.1265.2756.9260.19
SDPO (on-policy)Tool use43.2956.8273.6564.0155.8858.73
FSPO (on-policy)Chemistry51.8358.2374.5964.8055.3260.95
FSPO (on-policy)Physics58.5457.9374.4764.8057.3162.61
FSPO (on-policy)Biology51.8356.9074.7964.9656.2260.94
FSPO (on-policy)Materials56.1058.9774.6464.8057.0762.32
FSPO (on-policy)Tool use42.6858.8775.6364.9655.1159.45

Table 3. Prior-capability retention on Olmo3-7B-Instruct. Performance for each method on 5 prior-capability benchmarks after training on each task dataset.

The benchmark-wise results further reveal how this behavior varies across prior capabilities. HumanEval shows the clearest positive transfer under scientific adaptation with FSPO, increasing from 47.56 in the base model to 51.83–58.54 across Chemistry, Physics, Biology, and Materials, with the largest improvement observed after Physics training. MMLU is comparatively stable, remaining close to the original 58.77 and slightly exceeding it after Materials and Tool-use adaptation. In contrast, HellaSwag, Winogrande, and TruthfulQA generally remain below their respective base-model scores, indicating that these capabilities are more susceptible to task-specific adaptation. Tool-use training represents the most challenging setting, where FSPO attains an average retention score of 59.45 compared with 61.26 for the base model. Nevertheless, it still outperforms GRPO (54.79), on-policy GRPO (57.58), and SDPO (58.73) in overall retention. Taken together, these results show that function-space temporal consolidation substantially reduces destructive behavioral drift while still allowing improvements learned during adaptation to transfer to compatible prior capabilities.

Additional Ablation Study

Table 4 continues the ablation study of Section 3.5 with sensitivity analyses over the rollout group size, matching objective, disagreement correction, target refresh, reference grounding, and schedule

CasesSettingBiologyTool UseAvg.
Case 7G=4G = 459.663.961.8
G=8G = 8 (ours)62.366.664.5
G=16G = 1661.466.764.0
Case 8Forward KL59.464.261.8
JSD, α=0.25\alpha= 0.2560.865.363.0
JSD, α=0.5\alpha= 0.5 (ours)62.366.664.5
JSD, α=0.75\alpha= 0.7561.165.963.5
Reverse KL60.262.761.5
Case 9γ=0.0\gamma= 0.060.964.162.5
γ=0.3\gamma= 0.361.666.263.9
γ=0.5\gamma= 0.5 (ours)62.366.664.5
γ=1.0\gamma= 1.061.364.863.0
λneg=0.05\lambda_{\mathrm{neg}} = 0.0561.766.364.0
λneg=0.1\lambda_{\mathrm{neg}} = 0.1 (ours)62.366.664.5
λneg=0.5\lambda_{\mathrm{neg}} = 0.562.365.363.8
λneg=1.0\lambda_{\mathrm{neg}} = 1.059.462.260.8
Case 10Immediate refresh (H=1H = 1)56.657.357.0
H=2H = 260.363.962.1
H=4H = 4 (ours)62.366.664.5
H=8H = 858.863.361.0
No refresh (H=∞H = \infty)58.461.860.1
ζ=0.1\zeta= 0.160.364.662.4
ζ=0.25\zeta= 0.2560.863.862.3
ζ=0.5\zeta= 0.5 (ours)62.366.664.5
Synchronous refresh (ζ=1\zeta= 1)60.263.261.7
Case 11ν=0.1\nu= 0.160.464.662.5
ν=0.3\nu= 0.3 (ours)62.366.664.5
ν=0.5\nu= 0.561.364.662.9
No smoothing (ν=1\nu= 1)58.863.461.1
τ=0.25\tau= 0.2561.365.963.6
τ=0.6\tau= 0.6 (ours)62.366.664.5
τ=0.75\tau= 0.7561.364.863.0
τ=1.0\tau= 1.059.363.461.3
λCE=0.05\lambda_{\mathrm{CE}} = 0.0560.264.162.1
λCE=0.1\lambda_{\mathrm{CE}} = 0.1 (ours)62.366.664.5
λCE=0.5\lambda_{\mathrm{CE}} = 0.558.460.459.4
λCE=1.0\lambda_{\mathrm{CE}} = 1.054.855.855.3
Case 12C=2C = 260.263.762.0
C=5C = 5 (ours)62.366.664.5
C=10C = 1061.965.963.9
(ρmin⁡,ρmax⁡)=(0.1,0.3)(\rho_{\min}, \rho_{\max}) = (0.1, 0.3)60.164.262.2
(ρmin⁡,ρmax⁡)=(0.3,0.5)(\rho_{\min}, \rho_{\max}) = (0.3, 0.5) (ours)62.366.664.5
(ρmin⁡,ρmax⁡)=(0.5,0.7)(\rho_{\min}, \rho_{\max}) = (0.5, 0.7)60.863.462.1
(ρmin⁡,ρmax⁡)=(0.1,0.7)(\rho_{\min}, \rho_{\max}) = (0.1, 0.7)61.865.463.6

Table 4. Additional ablations of FSPO on Olmo3-7B-Instruct across Biology and Tool Use. Shaded rows marked (ours) denote the setting used in the full model; unless stated otherwise, all other settings follow the full model. As in Table 2, each case modifies a single factor while keeping all other settings identical to the full model.

Rollout size and matching objective. A group size of G=8G = 8 provides enough rollouts to find verified siblings for most problems, while G=16G = 16 yields no further gain under the fixed wall-clock budget (Case 7). The matching objective consistently favors intermediate choices: symmetric JSD outperforms both forward and reverse KL (Case 8), and a moderate correction margin and weight help, whereas aggressive correction (λneg=1.0\lambda_{\mathrm{neg}} = 1.0) falls below removing Lneg\mathcal{L}_{\mathrm{neg}} entirely (Case 9).

ParametersValue
General
ModelQwen/Qwen3-8B<br>allenai/Olmo3-7B-Instruct
ThinkingFalse
Data
Max. prompt length2048
Max. reprompt (teacher) length10240
Max. response length8192
Batching
Question batch size32
Mini batch size32
Number of rollouts8
Rollout
Inference engineHF Transformers (resident policy)
Temperature1.0
Top-pp1.0
Validation
Inference enginevLLM
Number of rollouts16
Temperature0.6
Top-pp0.95
Distillation loss
Top-KK distillation (KcurK_{\mathrm{cur}})100
Distillation divergenceJensen–Shannon (α=0.5\alpha= 0.5)
Training
OptimizerAdamW (β1=0.9\beta_1 = 0.9, β2=0.999\beta_2 = 0.999)
Learning rate1×10−51 \times10^{-5}
Warmup steps10
Weight decay0.01
Gradient clip norm1.0
Precisionbf16
FSPO-specific
Temporal cache top-KK (KtempK_{\mathrm{temp}})32
Success threshold τsucc\tau_{\mathrm{succ}}0.5
Refresh delay HH4
Staggered refresh period FF / fraction ζ\zeta10 / 0.5
Coverage weight in memory retention0.5
Replayed trajectories per step1×1\times local batch
Disagreement margin γ\gamma / weight λneg\lambda_{\mathrm{neg}}0.5 / 0.1
Grounding weight λCE\lambda_{\mathrm{CE}}0.1
Target reliability τ\tau / smoothing ν\nu0.6 / 0.3
Schedule range (ρmin⁡,ρmax⁡)(\rho_{\min}, \rho_{\max}) / cycle CC(0.3, 0.5) / 5

Table 5. Training configuration of FSPO.

Target refresh. Refresh exhibits a trade-off between freshness and temporal separation. Refreshing targets too early (H=1H = 1) weakens temporal separation, absent refresh leaves targets stale, and a delayed, staggered update (H=4H = 4, ζ=0.5\zeta= 0.5) performs best (Case 10).

Grounding and schedule parameters. Smoothing the reliability estimate is important, as reacting to single-step outcomes (ν=1\nu= 1) degrades performance, and an overly strict target reliability (τ=1.0\tau= 1.0) keeps grounding active on problems the policy already solves. Strong grounding sharply degrades performance by overriding useful self-generated behavior, with λCE=1.0\lambda_{\mathrm{CE}} = 1.0 falling close to the Ldistill\mathcal{L}_{\mathrm{distill}}-only variant (Case 11). For the schedule, a moderate cycle length and consolidation range work best, while the wide range (0.1, 0.7) remains competitive (Case 12).

Training Configuration

Table 5 lists the training configuration of FSPO. We follow the SDPO setting without environment feedback (Hubotter et al., 2026), from which our baseline results are taken, for the backbones, data limits, batching, rollout sampling, validation protocol, distillation objective, and optimizer, so that the comparison isolates the effect of the proposed objective. Because FSPO performs rollouts and privileged evaluation with the single resident policy, it requires neither an EMA teacher nor rollout importance-sampling correction. Hyperparameters specific to FSPO are listed in the lower block and follow the full-model settings of Table 2.

Training Dynamics

Final performance alone does not reveal how the components of FSPO interact during optimization. We therefore examine the training dynamics in Figure 7, following how supervision evolves as the policy moves from unreliable early rollouts toward stable self-generated guidance. The analysis tracks how the strength and source of supervision change over time, how temporal disagreement is preserved, how the cache matures, and how these mechanisms translate into improved rollout quality and more stable generations. Figure 8 then complements this view by showing that the historical memory supporting temporal consolidation remains negligible in cost even as the cache grows.

Figure 7. Training dynamics of FSPO averaged across five tasks on Olmo3-7B-Instruct. Metrics are reported as mean ±1σ\pm1\sigma over Biology, Chemistry, Materials, Physics, and Tool Use. When a task’s training completes before the longest run, its final values are held constant so that all five tasks contribute to the average at every step. (a) Weighted contributions of the current, temporal, and reference-grounding objectives under the cyclic ρ\rho schedule. (b) Number of guidance-tier assignments per training step. (c) Per-token JSD divergence for the current and temporal components, with cache signature entropy HsigH_{\mathrm{sig}} (right axis; science tasks only). (d) Growth of the temporal cache, showing total and ready entries. (e) Mean rollout reward and per-problem solve rate. (f) Mean cache reward and active-token length normalized to its steady-state baseline.

Figure 8. Memory footprint of the temporal cache during training. CPU memory of ready cache entries plotted against cache size, averaged across the same five tasks as in Figure 7(d). The black marker denotes the seeded cache at step 1, and the red marker denotes the largest observed cache. Each individual task cache is non-decreasing; completed runs are held at their final value so that the cross-task average grows monotonically.

Figure 7(a) first shows how the effective loss budget changes over this transition. Reference grounding contributes strongly at the beginning, when rollout quality is still low and the adaptive weight wp(s)w_{p}^{(s)} therefore places greater emphasis on LCEL_{\mathrm{CE}}. Its contribution then falls rapidly as the policy begins to produce reliable evidence on its own. The current privileged objective follows a similar decline as the student aligns with its contemporaneous self-teacher. Temporal consolidation, in contrast, remains active for longer because cached targets were produced by earlier policy states and therefore continue to disagree with the evolving student. The smaller recurrent fluctuations later in training reflect the cyclic ρs\rho_{s} schedule, which repeatedly rebalances adaptation and consolidation rather than fixing their relative importance throughout optimization.

The source of this privileged guidance evolves accordingly in Figure 7(b). Verified siblings already account for a substantial portion of guidance early in training and soon become dominant as successful rollouts become more frequent. Reference answers serve mainly as a fallback during the least reliable stage, but their use quickly declines once the policy can generate sufficiently good evidence itself. Retained temporal trajectories occupy the intermediate tier of the hierarchy: they are selected when the current rollout group lacks a verified sibling but useful historical behavior is available in memory. Their contribution therefore remains smaller and gradually becomes rare. The occasional later spikes in the fallback tiers correspond to isolated batches in which verified siblings are unavailable, rather than a reversal of the broader movement toward self-supported supervision.

Figure 7(c) clarifies why temporal supervision remains useful after current adaptation has mostly converged. The current JSD falls rapidly toward zero as the unassisted and privileged predictions become aligned at the same policy state. Temporal JSD starts substantially higher and decays more slowly, preserving a nontrivial gap long after the current divergence becomes small. This sustained mismatch is precisely what temporal consolidation is meant to preserve: cached distributions remain fixed while the policy continues to evolve, so the student continues to receive a historical correction signal until those targets are refreshed. At the same time, the cache signature entropy HsigH_{\mathrm{sig}} rises during early memory formation and then stabilizes. Since the signature on these tasks is the predicted option, the plateau near ln⁡4\ln4 indicates that the memory remains balanced across answer options rather than collapsing toward a single one.

The memory underlying this process is shown directly in Figure 7(d). The cache does not start empty: before the first update it is seeded with reference trajectories and sparse teacher targets, so temporal consolidation is active from the beginning of training. From this initial pool, the cache grows steadily within each task as new verified behaviors are admitted or existing entries are replaced, while the number of ready entries closely tracks the total count. This close coupling indicates that most retained experiences quickly become usable temporal targets. The gradual flattening of the averaged curve as tasks complete simply reflects that finished runs hold their final cache size while the remaining tasks continue to grow. The narrowing variance band likewise reflects the convergence of cache sizes across tasks as each run reaches its dataset limit.

Figure 8 translates this expansion into actual memory cost. As the number of retained entries increases, the footprint grows gradually from the seeded cache at step 1 to 942 mean entries and 4.8 MB across five tasks. The growth remains small because each entry stores only sparse function-space information, including trajectory tokens, a top-KK teacher distribution, and pooled tail mass, rather than any model-sized state. Each task’s cache size is non-decreasing; completed runs are held at their final value so the averaged curve reflects cumulative growth across all five tasks. Even at its peak, the cache occupies only about 5 MB of CPU memory, confirming that the temporal memory remains negligible relative to the resident model state.

The effect of these mechanisms on policy quality becomes visible in Figure 7(e). Both mean rollout reward and solve rate improve sharply during the early phase, but the solve rate rises faster and saturates sooner. This separation follows from how the two quantities are defined: a problem is counted as solved once one successful rollout appears within its group, whereas mean reward averages performance across all GG sampled trajectories. Early in training, the policy can therefore discover one correct trajectory while still producing several unsuccessful alternatives, yielding a high solve rate but a lower average reward. As training progresses, successful behavior becomes more consistent across the rollout group, narrowing this gap and reducing the variance across tasks. The resulting plateau indicates that rapid early improvement gives way to a stable regime rather than continued oscillation.

Finally, Figure 7(f) shows how the quality of retained behavior and generation structure evolve together. Mean cache reward rises rapidly as stronger verified trajectories replace weaker initial memories and then approaches a stable high-quality regime. Active-token length follows a different pattern: it exhibits a brief spike at the very beginning, when the unadapted policy can generate substantially longer trajectories, but then quickly contracts toward its steady-state level and remains stable thereafter. This sharp early correction suggests that the policy is learning to produce more task-sufficient responses rather than simply generating longer ones. Together with the rise in cache reward, this indicates that improved solution quality emerges alongside increasingly compact and stable generations, rather than being driven by uncontrolled expansion of trajectory length.

References

  1. [1]Rishabh Agarwal, Nino Vieillard, Yongchao Zhou, P. Stanczyk, Sabela Ramos, Matthieu Geist, and Olivier Bachem. On-policy distillation of language models: Learning from self-generated mistakes. In International Conference on Learning Representations, 2023. URL https://www.semanticscholar.org/paper/a57ef1f5c3af185af79751855b8033b7fc6d89b3.arxiv.org/abs/2306.13649
  2. [2]Afra Amini, Tim Vieira, and Ryan Cotterell. Better estimation of the kullback–leibler divergence between language models. In Advances in Neural Information Processing Systems 38, 2025. doi: 10.52202/085713-3745. URL https://doi.org/10.52202/085713-3745.
  3. [3]Marcin Andrychowicz, Dwight Crow, Alex Ray, Jonas Schneider, Rachel Fong, Peter Welinder, Bob McGrew, Joshua Tobin, P. Abbeel, and Wojciech Zaremba. Hindsight experience replay. In Neural Information Processing Systems, 2017. URL https://www.semanticscholar.org/paper/429ed4c9845d0abd1f8204e1d7705919559bc2a2.arxiv.org/abs/1707.01495
  4. [4]Thomas W. Anthony, Zheng Tian, and D. Barber. Thinking fast and slow with deep learning and tree search. In Neural Information Processing Systems, 2017. URL https://www.semanticscholar.org/paper/745c614dbd23bc1e3def79f600680b8b8cee28700.arxiv.org/abs/1705.08439
  5. [5]Ali Behrouz, Peilin Zhong, and V. Mirrokni. Titans: Learning to memorize at test time. In Neural Information Processing Systems, 2024. URL https://www.semanticscholar.org/paper/5e7a795d89910634f001cc3a631023f1dd4e2e23.arxiv.org/abs/2501.00663
  6. [6]Ari S. Benjamin and Konrad Paul Kording. Improving generalization by regularizing in l² function space. 2018. URL https://www.semanticscholar.org/paper/cc6dfb0b9a1c7ff877fba5be80c139b4d4de42e4.
  7. [7]Pietro Buzzega, Matteo Boschini, A. Porrello, Davide Abati, and S. Calderara. Dark experience for general continual learning: a strong, simple baseline. In Neural Information Processing Systems, 2020. URL https://www.semanticscholar.org/paper/e10b7cb072737b1fbdcba7948e573268b3573ae9.arxiv.org/abs/2004.07211
  8. [8]Bowen Cao, Deng Cai, and Wai Lam. Infiniteic: Breaking the limit of context window size via long short-term memory transformation. In Findings of the Association for Computational Linguistics: ACL 2025, 2025a. doi: 10.18653/v1/2025.findings-acl.595. URL https://doi.org/10.18653/v1/2025.findings-acl.595.
  9. [9]Meng Cao, Shuyuan Zhang, Xiao-Jun Chang, and D. Precup. Scar: Shapley credit assignment for more efficient rlhf. arXiv.org, 2025b. URL https://www.semanticscholar.org/paper/2109255b50868c453d397bc732fc44d8e83a164f.arxiv.org/abs/2505.20417
  10. [10]Alex J. Chan, Hao Sun, Samuel Holt, and M. Schaar. Dense reward for free in reinforcement learning from human feedback. In International Conference on Machine Learning, 2024. URL https://www.semanticscholar.org/paper/9732c864d1461fcb106f2961d9a80dd4ffc69a.arxiv.org/abs/2402.00782

Paper details

vlnc:W_emwwa33m
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 9

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents