논문 해설
On-Policy or Off-Policy Learning? A Systematic Study of Distillation Dynamics
온-폴리시 학습인가 오프-폴리시 학습인가? 증류 동역학에 대한 체계적 연구
- 연구 문제 온폴리시(on-policy) 학습이 망각을 줄이고 업데이트를 희소하게 만들며 일반화를 높인다는 주장은 많지만, SFT와 RLVR을 비교한 기존 연구는 롤아웃 정책 외에도 목적함수, 보상, 학습률 등을 함께 바꿉니다. 이 논문은 강한 교사에서 약한 학생으로 지식을 옮기는 증류 설정에서 롤아웃 정책, 토큰 수준 KL 방향, 학습률을 독립적으로 바꿔 롤아웃 정책의 실제 역할을 분리합니다.
- 연구 방법 학생 모델이 생성한 궤적으로 학습하는 OnPD와 교사 모델이 생성한 궤적으로 학습하는 OffPD를 같은 학습 파이프라인에서 비교합니다. 여기에 forward KL과 reverse KL 중 어느 방향을 쓰는지, 그리고 학습률을 1×10−5 또는 5×10−5 중 무엇으로 두는지를 함께 조작합니다. 연속적인 롤아웃 정책 스펙트럼을 추가로 도입해 두 KL 방향이 롤아웃 분포 변화에 어떻게 반응하는지 확인합니다.
- 주요 결과 목표 과제의 최고 정확도는 OnPD와 OffPD 사이에서 거의 차이가 없었습니다. 정확도는 KL 방향이 더 뚜렷하게 가르고, 망각과 업데이트 희소성은 학습률이 주로 결정합니다. Forward KL은 롤아웃 정책 변화에 안정적이었고, reverse KL은 학생이 생성한 롤아웃을 선호하며 더 민감했습니다. 더 어려운 Countdown 변형으로의 일반화에서는 온폴리시 데이터의 이점이 두 KL 방향 모두에서 관찰되었지만, 이후 RLVR 단계에서는 그 이점이 안정적으로 유지되지 않았습니다.
온폴리시 학습의 효과는 무엇과 섞여 있는가
post-training에서 SFT와 RLVR은 자주 비교되지만, 두 방법은 목적함수, 감독 신호의 밀도, 최적화 절차까지 함께 다릅니다. 따라서 망각이 적거나 업데이트가 희소한 현상이 롤아웃 정책 때문인지 확인하기 어렵습니다.
이 논문은 강한 교사에서 약한 학생으로 지식을 옮기는 증류 설정을 통제된 실험장으로 사용합니다. 교사와 학생이 같은 모델 계열의 토크나이저를 공유하므로 두 모델의 다음 토큰 분포를 전체 어휘에 대해 직접 비교할 수 있습니다. 그 결과 학습 파이프라인을 고정한 채 데이터를 생성하는 정책만 바꿀 수 있습니다.

Table 2 : In-distribution performance of the trained teachers. Results use 200 test examples per dataset, temperature 0.5, one sampled response per prompt, and a 2,048-token completion limit. Response lengths are reported as mean±standard deviation.
원문 · CC BY 4.0 · Julianna Piskorz, Antonin Berthon, Mihaela van der Schaar · On-Policy or Off-Policy Learning? A Systematic Study of Distillation Dynamics · 원문 그림 인용 · 원본 PDF 41쪽에서 그림 영역을 추출했습니다.롤아웃 정책과 KL 방향을 분리한 학습 설정
OffPD는 교사 정책으로 롤아웃을 만들고, OnPD는 학생 정책으로 롤아웃을 만듭니다. 두 경우 모두 학습 손실은 샘플링된 각 프리픽스에서 학생과 교사의 다음 토큰 분포를 비교합니다. 그래서 롤아웃 정책은 어떤 프리픽스를 방문할지를, KL 방향은 그 프리픽스에서 두 분포를 어떻게 비교할지를 결정합니다.
Forward KL은 교사 분포를 가중치로 삼아 교사가 확률을 주는 토큰을 학생이 놓치지 않도록 벌점을 줍니다. Reverse KL은 학생 분포를 가중치로 삼아 학생이 교사에게 낮은 확률을 주는 토큰에 확률을 두는 것을 벌합니다. 논문은 두 방향을 롤아웃 정책과 독립된 설계 선택으로 다루며, 기존의 교사 롤아웃-forward KL, 학생 롤아웃-reverse KL 짝이 필수적이지 않다고 설명합니다.
두 KL 방향의 기울기가 롤아웃 변화에 반응하는 방식
Forward KL의 학생 로짓에 대한 기울기는 학생 확률에서 교사 확률을 뺀 값입니다. 각 좌표는 −1과 1 사이에 있으므로, 롤아웃 분포가 조금 바뀔 때 기울기 변화는 두 롤아웃 정책이 만드는 프리픽스 분포의 전체 변동 거리에 선형으로 묶입니다. 이는 학생 로짓 야코비안이 균일하게 제한될 때 성립하는 안정성 결과입니다.
Reverse KL의 기울기는 학생 확률을 가중치로 곱한 로그 가능도 비율에 의존합니다. 학생이 거의 배제한 교사 모드는 기울기가 작아 복구가 느릴 수 있고, 반대로 학생이 확률을 두지만 교사가 매우 낮게 보는 토큰에서는 로그 비율이 커져 큰 기울기가 생깁니다. 이 때문에 reverse KL은 분포 독립적인 안정성 상한을 갖지 않으며, 롤아웃 변화에 더 민감하다고 해석됩니다.

Figure 21 :Teacher and student likelihoods on the trajectories generated during OnPD and OffPD training.Both the teacher and student likelihoods were computed at temperature 1.0.
원문 · CC BY 4.0 · Julianna Piskorz, Antonin Berthon, Mihaela van der Schaar · On-Policy or Off-Policy Learning? A Systematic Study of Distillation Dynamics · 원문 그림 인용 · 원본 PDF 26쪽에서 그림 영역을 추출했습니다.롤아웃 정책 스펙트럼에서의 민감도 비교
롤아웃 정책 πλ는 학생과 교사의 로그 확률을 λ로 혼합한 뒤 정규화하여 만듭니다. λ가 음수이면 교사가 선호하는 토큰이, 양수이면 학생이 선호하는 토큰이 많이 샘플링됩니다. λ=−1은 OffPD, λ=1은 OnPD에 해당합니다. 외삽 범위에서는 로그 비율 클리핑과 그럴듯함 마스크를 적용해 둘 다 낮은 확률인 토큰이 과도하게 증폭되지 않게 했습니다.
Countdown-3에서 학습률 1×10−5로 150 step 학습한 결과, forward KL은 λ 전 범위에서 검증 정확도가 80%를 넘었고 변화폭은 5.2 퍼센트포인트였습니다. Reverse KL은 낮은 학습률에서 학생 선호 롤아웃(λ>0)에서 성능이 좋아졌고, 교사 선호 롤아웃에서는 나빠졌습니다. 높은 학습률에서는 불안정하여 간헐적으로 붕괴했습니다. 망각과 희소성은 롤아웃 정책보다 학습률의 영향을 훨씬 크게 받았습니다.

Figure 15 :Sensitivity of Qwen2.5-1.5B to the rollout policy.Results at checkpoint 150 across the contrastive-decoding spectrum, using seed 42. The performance of forward-KL is robust to the rollout policy, while the performance of reverse-KL degrades sharply under teacher-favoured rollouts. Consistent with previous findings, larger learning rates amplify forgetting, particularly for student-favoured rollouts, while also producing denser parameter updates.
원문 · CC BY 4.0 · Julianna Piskorz, Antonin Berthon, Mihaela van der Schaar · On-Policy or Off-Policy Learning? A Systematic Study of Distillation Dynamics · 원문 그림 인용 · 원본 PDF 23쪽에서 그림 영역을 추출했습니다.주요 비교 결과: 정확도, 망각, 희소성
세 과제(MedReason, Science, Countdown-3)에서 최고 평균 정확도는 OnPD 72%, OffPD 73%로 거의 같았습니다. KL 방향에 따른 차이가 더 뚜렷했는데, forward KL은 모든 롤아웃 정책과 학습률에서 71–73%를 기록했고, reverse KL은 35%에서 72% 사이로 흩어졌으며 학습률에 더 민감했습니다.

Figure 13 :Comparison of the effectiveness of OnPD and OffPD training for Qwen2.5-1.5B. Dataset panels report mean held-out accuracy overN= 3 repeats; error bars show SEM. The right- most panel shows the average across the nine runs. Across the evaluated settings, KL direction appears to have a larger effect on final performance than rollout policy, with forward KL outperforming reverse KL on average.
원문 · CC BY 4.0 · Julianna Piskorz, Antonin Berthon, Mihaela van der Schaar · On-Policy or Off-Policy Learning? A Systematic Study of Distillation Dynamics · 원문 그림 인용 · 원본 PDF 22쪽에서 그림 영역을 추출했습니다.
Figure 20 :Breakdown of the final performance obtained on each dataset.We demonstrate a breakdown of the final performance after 150 steps of training, across the three datasets. Error bars denote SEM computed overN= 3seeds.
원문 · CC BY 4.0 · Julianna Piskorz, Antonin Berthon, Mihaela van der Schaar · On-Policy or Off-Policy Learning? A Systematic Study of Distillation Dynamics · 원문 그림 인용 · 원본 PDF 25쪽에서 그림 영역을 추출했습니다.학습률이 5×10−5일 때 평균 OOD 정확도는 11.2–14.0 퍼센트포인트 떨어졌습니다. 반면 1×10−5에서는 최대 1.3 퍼센트포인트 변했습니다. 업데이트 희소성도 같은 경향을 보여 낮은 학습률에서 85.3–89.6%, 높은 학습률에서 51.9–60.0%였습니다. 롤아웃 정책 차이는 이보다 작았고, 학습률 스윕에서도 학습률이 높아질수록 망각이 커지고 희소성은 감소했습니다.

Figure 2 :The effect of learning rate on Countdown-3.Forgetting increases and update sparsity decreases with the learning rate under both rollout policies. Points report means overN= 3 seeds; error bars show SEM.
원문 · CC BY 4.0 · Julianna Piskorz, Antonin Berthon, Mihaela van der Schaar · On-Policy or Off-Policy Learning? A Systematic Study of Distillation Dynamics · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.
Figure 17 :Per-benchmark changes in out-of-distribution performance.Each panel reports the change from the untrained student baseline to the final distilled checkpoint on one OOD benchmark. Bars average repeated runs within each training task and then weight MedReason, Science, and Countdown-3 equally. White markers show the corresponding training-task means.
원문 · CC BY 4.0 · Julianna Piskorz, Antonin Berthon, Mihaela van der Schaar · On-Policy or Off-Policy Learning? A Systematic Study of Distillation Dynamics · 원문 그림 인용 · 원본 PDF 24쪽에서 그림 영역을 추출했습니다.
Table 6 : Learning rates used to produce the checkpoints in the main RL comparison and the explicit SFT comparison of Mukherjee et al. (2025). “From” denotes the checkpoint against which parameter- update sparsity is measured. Rates refer to the language model or policy actor, using the peak rate where a schedule is reported.
원문 · CC BY 4.0 · Julianna Piskorz, Antonin Berthon, Mihaela van der Schaar · On-Policy or Off-Policy Learning? A Systematic Study of Distillation Dynamics · 원문 그림 인용 · 원본 PDF 47쪽에서 그림 영역을 추출했습니다.더 어려운 과제 일반화와 후속 RLVR
Countdown-3에서 학습한 체크포인트를 추가 학습 없이 더 어려운 Countdown-4E에 평가하면, 더 많은 온폴리시 롤아웃(λ>0)이 두 KL 방향 모두에서 pass@k 정확도를 10–15% 더 높였습니다. 같은 실험에서 forward KL은 같은 ID 과제에서 pass@10 측면의 출력 다양성이 더 컸습니다. 이 일반화 이점은 온폴리시 데이터가 교사 모드를 넘어 더 넓은 탐색을 돕는 경우로 해석됩니다.

Figure 16 :Output coverage and generalisation for Qwen2.5-1.5B.LR 1×10−5 (top) and 5×10−5 (bottom). Same plotting conventions as Figure 5.
원문 · CC BY 4.0 · Julianna Piskorz, Antonin Berthon, Mihaela van der Schaar · On-Policy or Off-Policy Learning? A Systematic Study of Distillation Dynamics · 원문 그림 인용 · 원본 PDF 23쪽에서 그림 영역을 추출했습니다.그러나 Countdown-4에서 300 RLVR step을 수행하면 결과가 달라집니다. Reverse KL 체크포인트는 초기에 빠르게 향상되었지만 나중에 보상 붕괴가 나타났습니다. 가장 강한 지속 성능은 forward KL 또는 학습률 5×10−5의 reverse KL로 증류된 오프폴리시 체크포인트에서 나왔습니다. 따라서 초기 일반화 이점이 RLVR 이후 신뢰할 수 있는 이점으로 남지 않습니다.

Figure 26 : Countdown-4 RLVR rewards after distillation at LR 5×10 −5; each curve is a distillation seed.
원문 · CC BY 4.0 · Julianna Piskorz, Antonin Berthon, Mihaela van der Schaar · On-Policy or Off-Policy Learning? A Systematic Study of Distillation Dynamics · 원문 그림 인용 · 원본 PDF 44쪽에서 그림 영역을 추출했습니다.
Table 4 : Training settings for RLVR on Countdown-4 after Countdown-3 distillation. These settings are identical across rollout policies, KL objectives, and learning rates used in the preceding distillation stage.
원문 · CC BY 4.0 · Julianna Piskorz, Antonin Berthon, Mihaela van der Schaar · On-Policy or Off-Policy Learning? A Systematic Study of Distillation Dynamics · 원문 그림 인용 · 원본 PDF 45쪽에서 그림 영역을 추출했습니다.한계와 남은 질문
실험은 학생 모델 1.5B 이하와 최대 2,000 토큰 추론 궤적이라는 범위에서 수행되었습니다. 긴 롤아웃 실험으로 Numina–MATH를 사용한 결과에서는 낮은 학습률의 OnPD reverse KL이 가장 높은 MATH-500 정확도를 보였지만, 조건당 실행이 1회이므로 저자들은 이를 시사적인 결과로 다룹니다. 교사 모델은 모든 실험에서 고정되어 있어 다른 학생-교사 조합의 효과는 확인되지 않았습니다.

Figure 11 :MATH-500 performance throughout training.Accuracy is evaluated every 100 optimization steps using ten generations per problem. Performance generally improves beyond the untrained baseline, although the optimal checkpoint varies considerably across conditions. The lower learning rate produces more stable learning trajectories, while the larger learning rate is particularly unstable with reverse KL. Looking at catastrophic forgetting and parameter-update sparsity, differences between OnPD and OffPD remain comparatively modest relative to the effects of learning rate and KL direction.
원문 · CC BY 4.0 · Julianna Piskorz, Antonin Berthon, Mihaela van der Schaar · On-Policy or Off-Policy Learning? A Systematic Study of Distillation Dynamics · 원문 그림 인용 · 원본 PDF 20쪽에서 그림 영역을 추출했습니다.또한 그래디언트 클리핑을 제거하면 reverse KL의 최종 성능이 크게 나빠졌지만, 망각과 희소성은 여전히 학습률이 주로 결정했습니다. 이는 클리핑이 reverse KL의 안정성에 중요하다는 점을 보여 주지만, 롤아웃 정책의 제한된 효과를 설명하는 원인이라고 단정하기는 어렵습니다.

Figure 7 :Gradient clipping is active throughout Countdown-3 training.We show the global gradient norm before clipping for the Countdown-3 runs which use gradient clipping, with thin lines denoting individual seeds and thick lines their mean across three seeds. The horizontal line marks the clipping threshold of 1.0. Every recorded norm exceeds this threshold, demonstrating that clipping rescales the gradients at every logged optimization step. Reverse KL produces substantially larger and more variable gradient norms than forward KL, including pronounced early spikes, supporting the role of clipping in stabilising reverse-KL training.
원문 · CC BY 4.0 · Julianna Piskorz, Antonin Berthon, Mihaela van der Schaar · On-Policy or Off-Policy Learning? A Systematic Study of Distillation Dynamics · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.
Figure 8 :The effect of learning-ratewithoutgradient clipping.Removing clipping reveals a substantial difference in final performance between forward and reverse KL, with reverse KL suffering from unstable training, while learning rate remains the dominant determinant of forgetting and parameter-update sparsity.
원문 · CC BY 4.0 · Julianna Piskorz, Antonin Berthon, Mihaela van der Schaar · On-Policy or Off-Policy Learning? A Systematic Study of Distillation Dynamics · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.논문 정보
- 저자
- Julianna Piskorz, Antonin Berthon, Mihaela van der Schaar
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2026년 9월 28일
- 등록일
- 2026년 10월 20일
- 수정일
- 2026년 9월 28일
- 버전
- v1
- arXiv
- 2609.35259
- 분류
- cs.LG
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
On-policy learning has been argued to reduce catastrophic forgetting, produce sparser parameter updates, and improve generalisation. However, existing comparisons between supervised fine-tuning and reinforcement learning vary many factors simultaneously, making the contribution of rollout policy difficult to isolate. We study the effect of rollout policy in a controlled strong-to-weak distillation setting, by independently varying rollout policy, token-level KL direction, and learning rate across the Llama3 and Qwen2.5 model families and reasoning tasks spanning scientific, medical, and arithmetic domains. Our analysis reveals a nuanced picture of distillation dynamics in which rollout policy does not necessarily play a central role. Instead, token-level KL direction more clearly shapes task performance and output coverage, while learning rate governs forgetting and update sparsity. Analysis of KL gradients and experiments along a continuous student-teacher rollout-policy spectrum explain this pattern: forward KL is remarkably robust to rollout policy, with its performance stable and strong despite changes to the rollout policy, whereas reverse KL is substantially more sensitive and favours student-generated rollouts. On-policy data nevertheless improves generalisation to harder variants of the Countdown arithmetic task under both KL directions, although this advantage does not reliably persist after subsequent RLVR. Our broader conclusions remain robust to removing gradient clipping, using sampled KL estimators, and training on tasks requiring longer reasoning chains. Overall, our results challenge the view that on-policy rollouts are inherently preferable and show that their value depends critically on the objective, evaluation setting, and optimisation hyperparameters.
원문 인용
Julianna Piskorz, Antonin Berthon, Mihaela van der Schaar (2026). On-Policy or Off-Policy Learning? A Systematic Study of Distillation Dynamics. arXiv:2609.35259v1. https://arxiv.org/abs/2609.35259v1
BibTeX
@misc{piskorz2026policy,
title = {{On-Policy or Off-Policy Learning? A Systematic Study of Distillation Dynamics}},
author = {Julianna Piskorz and Antonin Berthon and Mihaela van der Schaar},
year = {2026},
eprint = {2609.35259},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2609.35259v1}
}