on-policy-distillation teacher-student aime24 aime25 order-only token-ranking probability-matching temperature-invariance
Abstract
On-policy distillation (OPD) trains a student on its own generations by matching the teacher's token probabilities. These probabilities entangle two kinds of information: which tokens the teacher prefers, and how confident it is. The latter reflects the teacher's own capacity and calibration, which a smaller student may be unable to reproduce. Because the teacher temperature changes these values without changing the ordering, OPD is also sensitive to the temperature choice. We ask whether the teacher's ordering of candidate tokens is enough, and propose Order-Only On-Policy Distillation (O^{3}PD). At each student-generated prefix, O^{3}PD trains the student to reproduce the order of the teacher's top-K tokens, without fitting their probability values. The objective is therefore invariant to the teacher temperature and needs no temperature tuning. Across six teacher--student pairs, O^{3}PD outperforms OPD on the average over HMMT25, AIME24, and AIME25 in every pair, by up to 2.9 points, with gains of up to 5.6 points on AIME25. Other ranking losses yield similar gains, so the benefit comes from ordinal supervision itself. Analysis shows that O^{3}PD departs further from the teacher's probabilities than OPD, yet reproduces its ranking more faithfully and yields a stronger student. The ranking, not the probability values, thus carries the knowledge that on-policy distillation needs to transfer.
한국어 요약
한 줄 요약
O³PD는 교사 모델의 토큰 순위만 학습해 온-파일리 디스틸레이션 성능을 향상시킨다.
핵심 기여도
- O³PD는 교사의 토큰 순위만 재현하며 확률 값은 학습하지 않는다.
- 기존 OPD 대비 HMMT25, AIME24, AIME25 평균 성능에서 최대 2.9점 개선.
- AIME25 데이터셋에서 최대 5.6점의 성능 향상 보임.
- 교사 온도에 민감한 OPD의 문제를 해결하며 온도 튜닝 불필요.
핵심 아이디어
기존 OPD는 교사의 토큰 확률을 학습하지만, 이는 교사의 신뢰도와 모델 용량을 반영하는 정보를 포함한다. 이는 학습자 모델이 재현하기 어려운 요소이다. O³PD는 이 문제를 해결하기 위해 교사의 토큰 순위만 학습하는 방식을 제안한다. 학습자는 교사의 top-K 토큰 순서를 재현하며, 확률 값은 무시한다. 이는 교사 온도에 영향을 받지 않으며, 순위 정보만으로 지식 전달이 가능하다는 통찰에 기반한다.
기술적 접근법
- O³PD는 학습자가 생성한 prefix에 대해, 교사의 top-K 토큰 순서를 재현하도록 학습.
- 확률 값은 학습 대상에서 제외.
- K는 top-K 토큰 수로, 구체적 값은 명시되지 않음.
- 목적 함수는 교사 온도에 불변하며, 온도 조정이 필요 없음.
- 사용된 데이터셋: HMMT25, AIME24, AIME25.
주요 결과
- 6개의 교사-학생 모델 쌍에서 O³PD가 OPD를 평균적으로 2.9점 개선.
- AIME25 데이터셋에서 최대 5.6점의 성능 향상.
- 순위 기반 손실 함수를 사용한 다른 방법들도 유사한 개선 효과 보임.
의의 및 한계
O³PD는 순위 정보만으로 지식 전달이 가능하다는 점에서 기존 디스틸레이션 접근법과 구별된다. 이는 학습자 모델이 교사의 확률 분포를 정확히 재현하지 않아도 성능을 유지할 수 있음을 시사한다. 그러나 top-K의 K 값이나 순위 기반 손실 함수의 구체적 설계는 명시되지 않아 추가 연구가 필요하다. 또한, 특정 데이터셋에서만의 성능 향상이 일반화되는지에 대한 검증도 필요하다.
실용적 활용
O³PD는 온-파일리 디스틸레이션을 활용한 소형 모델 최적화에 유용할 수 있다. 특히, 온도 조정이 어려운 환경이나, 확률 분포 재현이 어려운 경우에 효과적이다. 자연어 생성, 코드 생성 등 순서 정보가 중요한 분야에서 활용 가능하다.