mathematical-reasoning self-distillation qwen3 on-policy token-level multi-teacher adaptive-training teacher-selection
Abstract
On-policy Self-distillation (OPSD) has proven effective for post-training large language models by constructing a teacher conditioned on privileged references. However, existing approaches keep the teacher fixed either throughout training by consistently exposing it to the full reference, or within each response by adaptively varying partial reference exposure only across responses. In this paper, we argue that neither of them is sufficient. Instead, every token needs its own teacher, as the teacher preference can vary token by token within the same response. Through a teacher-intervention pilot study, we validate that the teacher preference differs across tokens, and reveal that a preferred teacher can be identified for each token through majority voting and KL-based selection. Motivated by these findings, we propose Multi-teacher Adaptive On-policy Self-Distillation (MTA-OPSD), the first token-level adaptive OPSD method. Our method constructs a multi-teacher pool consisting of candidate teachers, and enables every token to adaptively select its preferred teacher during training. Experiments with Qwen3 models on mathematical reasoning tasks show that MTA-OPSD consistently outperforms existing OPSD approaches with an average gain of up to +5.9 over the base model, highlighting the importance of adapting teacher supervision at the token level. The code is available at https://github.com/xingzhejun/MTA-OPSD.
한국어 요약
한 줄 요약
각 토큰에 최적의 교사 모델을 할당하는 MTA-OPSD를 제안하여 수학적 추론 성능을 평균 +5.9 향상시킴.
핵심 기여도
- 토큰 단위로 교사 선호도가 달라진다는 사실을 teacher-intervention 실험으로 입증.
- 다중 교사 풀(Multi-teacher Pool)을 구성하고, 토큰마다 KL 기반 선택과 다수결 투표로 선호 교사를 동적으로 할당하는 MTA-OPSD를 제안.
- Qwen3-1.7B, Qwen3-4B, Qwen3-8B 모델에서 수학 문제 해결 성능 평균 +5.9 향상.
핵심 아이디어
기존의 on-policy self-distillation(OPSD)은 하나의 교사 모델을 사용하거나, 응답 단위로 교사 노출을 조절하는 방식이었으나, 이는 토큰 단위의 교사 선호도를 고려하지 못한다는 한계가 있다. 본 연구는 토큰마다 다른 교사가 필요하다는 통찰을 바탕으로, 각 토큰이 자신에게 최적의 교사를 선택할 수 있도록 하는 MTA-OPSD를 제안한다. 이는 기존의 응답 단위에서 토큰 단위로 교사 노출을 확장한 새로운 접근법이다.
기술적 접근법
- **Multi-teacher Pool**: 교사 풀은 다양한 truncation 전략과 노출 비율을 적용한 후보 교사들로 구성.
- **선호 교사 선택 알고리즘**:
1. **다수결 투표 (Majority Voting)**: 교사가 학습 토큰 $ y_i $에 대한 학생의 선택을 지지하는지 여부를 판단.
2. **KL 기반 선택 (KL-based Selection)**: 다수결 집합 내에서 KL divergence가 가장 큰 교사를 선호 교사로 선택.
- **KL divergence**: 학생-교사 분포 간 차이를 측정하여, 정보량이 높은 교사를 선정.
주요 결과
- Qwen3-1.7B, Qwen3-4B, Qwen3-8B 모델에서 MTA-OPSD는 기존 OPSD 방법 대비 평균 +5.9의 성능 향상 기록.
- **AMC23**, **AIME24**, **AIME25** 데이터셋에서 평균적으로 토큰별 교사 선호도가 50% 미만으로 일치함을 확인 (교사 선호도가 토큰마다 달라짐).
- 다수결 집합 내에서 선호 교사가 80~90%의 경우 포함됨.
- KL divergence가 큰 교사가 평균적으로 더 높은 개선 효과를 보임.
의의 및 한계
- **의의**: 토큰 단위로 교사 노출을 조절함으로써 학생-교사 불일치를 완화하고, 더 균형 잡힌 학습 신호를 제공. 기존의 단일 교사 기반 OPSD보다 수학적 추론 성능이 훨씬 높음.
- **한계**: 교사 풀 구성 전략이 특정 truncation 및 노출 비율에 의존하며, 모든 토큰에서 KL 기반 선택이 항상 최적의 결과를 보장하지는 않음.
실용적 활용
- 대규모 언어 모델의 post-training 과정에서 수학, 논리 추론 등 정밀한 토큰 기반 학습이 필요한 분야에 적용 가능.
- 교사-학생 불일치를 줄이고, 학습 신호의 다양성을 유지해야 하는 연구 및 산업적 상황에서 유용.