[LLM] ATESD: Self-Distillation에서 Teacher가 얼마나 ‘엿보게’ 할지를 학습하기
[LLM] Adaptive Teacher Exposure for Self-Distillation in LLM Reasoning
- paper: https://arxiv.org/pdf/2605.11458
- arXiv preprint (인용수:
회, '26-11-29 기준) - 저자: ByteDance Douyin (Zihao Han, Tiangang Zhang$^$, Huaibin Wang, Yilun Sun) — $^$ 교신저자
- downstream task: LLM 수학 추론 (competition-level math) 을 위한 On-Policy Self-Distillation
- 주요 용어
- OPSD (On-Policy Self-Distillation): 하나의 모델 $p_\theta$ 가 teacher/student 역할을 동시에 맡는 self-distillation. student는 자기 rollout $\hat{y}\sim p_S(\cdot\mid x)$ 위에서, reference solution $y^\star$ 를 조건으로 받은 teacher $p_T(\cdot\mid x, y^\star)$ 의 dense token-level 분포를 따라감. student-side distribution mismatch를 제거한 것이 핵심
- teacher-side exposure mismatch: 본 논문이 지적하는 문제. 기존 OPSD는 teacher가 항상 완전한 reference solution($\alpha=1$)을 봄. 쉬운 문제는 괜찮지만, 어려운 문제에서는 privileged CoT가 student의 현재 능력을 크게 초과 $\to$ token target이 “너무 강해서” 흡수 불가능해짐
- exposure fraction $\alpha \in [0,1]$: teacher가 reference reasoning을 얼마나 보게 할지를 조절하는 연속 변수. reasoning prefix를 $\alpha$ 비율만큼만 truncate하고, 최종 boxed answer는 항상 보존. $\alpha=1$ 이면 기존 OPSD, $\alpha=0$ 이면 answer만 노출
- Beta exposure controller $\pi_\phi$: training-state 통계를 입력받아 exposure 분포를 Beta$(a_t, b_t)$ 로 뱉는 경량 MLP. $\alpha$ 를 고정 하이퍼파라미터가 아닌 학습 가능한 training-time control variable 로 다룸
- closed-loop delayed credit: exposure 결정의 효과는 이후 student update 뒤에야 보이므로, one-step loss가 아닌 미래 학습 진전(learning-progress) 에 대한 discounted reward로 controller를 REINFORCE 학습
1. Motivation
- 배경: OPSD는 post-training 추론 강화의 강력한 레시피로 자리잡음
- off-policy SFT/offline distillation의 student-side distribution mismatch를 제거 $\to$ student가 자기 rollout 위에서 reference solution을 조건으로 받은 teacher의 dense supervision을 받음
- 작은 open-weight 모델을 훨씬 큰 proprietary teacher와 같은 정확도 frontier로 끌어올리는 주력 경로가 됨
-
그런데 거의 모든 방법이 당연시한 설계 하나: teacher는 항상 full reference solution을 본다
- 저자 주장: 이 default 자체가 문제의 일부임. teacher-side exposure mismatch 로 정의
figure1 첨부 (Figure 1: ATESD 개요 — (A) easy/hard 문제에서의 exposure mismatch, (B) Beta controller로 absorbable한 exposure $\alpha$ 선택)
-
두 시나리오로 설명 (Figure 1A)
- Easy Problem (ex. $2+3$): teacher의 privileged CoT가 student 능력 범위 안 $\to$ distillation 성공
- Hard Problem (ex. $2x^2+5x-3=0$): full privileged CoT가 student 수준을 크게 초과 $\to$ target이 너무 강해 student가 흡수 못 함
-
이는 OPSD가 student 쪽에서 제거하려 했던 rollout mismatch의 supervision-side 버전임
$\to$ (Research Question) teacher exposure를 고정 가정이 아니라 학습 중 조절 가능한 변수 로 만들면 어떨까?
2. Contribution
- ① teacher-side exposure mismatch 규명: controlled 실험으로 두 패턴을 보임
- Suboptimality of Full Exposure: 중간 exposure($\alpha^*=0.5$)가 full exposure보다 일관되게 우수
- Monotonic Mismatch Growth: teacher가 더 많은 privileged reasoning을 볼수록 teacher-student mismatch가 단조 증가
- $\to$ full exposure는 최선도 아니고 $\alpha$ 에 대해 안정적이지도 않음
- ② ATESD 제안: teacher exposure를 training-state-conditioned Beta controller로 학습. two-timescale hold/lookahead 스케줄 + discounted learning-progress reward로 delayed credit assignment
- ③ 실증: AIME 2024 / AIME 2025 / HMMT 2025 에서 Qwen3-{1.7B, 4B, 8B} 모두 OPSD 및 RL baseline을 상회. Qwen3-4B 기준 65.65 Average@12 달성, adaptive teacher exposure를 self-distillation의 새로운 축으로 확립
3. Related Works
- On-Policy Self-Distillation: off-policy를 on-policy로 바꿔 student-side mismatch 제거. scheduled sampling / DAgger / importance reweighting 등 기존 mismatch 해법은 전부 student 쪽 training distribution만 손대고 teacher conditioning은 그대로 둠
- Adaptive Distillation Curricula: curriculum learning, dynamic-temperature, adversarial signal, logit correlation 등은 고정된 teacher에 대한 student의 view 를 조절. 본 논문은 반대로 teacher 자신의 정보량 을 조절하고, delayed effect를 위해 discounted reward로 그 exposure를 학습
4. Preliminaries: OPSD와 Teacher Exposure 진단
4.1 On-Policy Self-Distillation
- student policy $p_S(\cdot\mid x)\triangleq p_\theta(\cdot\mid x)$, teacher policy $p_T(\cdot\mid x, y^\star)\triangleq p_\theta(\cdot\mid x, y^\star)$
- on-policy rollout $\hat{y}\sim p_S(\cdot\mid x)$ 위에서 token-level forward KL 최소화:
- gradient는 $p_S$ 로만 흐르고 teacher는 frozen dense target. 핵심 가정: teacher가 complete $y^\star$ 를 본다는 것 — 근거 없이 상속된 default
4.2 Teacher Exposure를 연속 변수로
- exposure fraction $\alpha$ 로 reference reasoning prefix를 truncate (final answer는 항상 보존):
- exposure-modulated teacher $p_T^\alpha(\cdot\mid x, y^\star) \triangleq p_\theta(\cdot\mid x, \text{truncate}(y^\star, \alpha))$
- exposure $\alpha$ 에서의 기대 teacher-student mismatch:
4.3 실증 진단 (Figure 2)
figure2 첨부 (Figure 2: AIME 2024 / Qwen3-1.7B, 3 seeds — (A) 정확도 vs 고정 $\alpha$, (B) mismatch가 $\alpha$ 와 함께 증가, (C) 최적 $\alpha$ 는 난이도에 의존)
- $\alpha \in {0, 0.25, 0.5, 0.75, 1.0}$ sweep, 3 seeds
- Suboptimality of Full Exposure: 최적 고정값은 중간($\alpha^*=0.5$), full($\alpha=1$)이 아님
- Monotonic Mismatch Growth: on-policy KD loss tail, top-1 disagreement 모두 $\alpha$ 와 함께 증가
- Exposure Depends on Learning Regime: easy는 $\alpha=1.0$, medium은 $0.5$, hard는 가장 낮은 exposure 선호 $\to$ 단일 고정값으로 모든 regime을 만족 못 함
5. Method: ATESD
figure3 첨부 (Figure 3: ATESD 전체 구조 — OPSD backbone + exposure-modulated teacher + Beta exposure controller + closed-loop training control)
- Section 4의 진단을 3가지 설계 요구로 전환: ① full exposure가 최선이 아니므로 exposure는 연속·non-binary, ② mismatch가 exposure와 함께 커지므로 exposure는 수작업이 아닌 학습 피드백으로 선택, ③ 효과가 이후 update 뒤에야 보이므로 one-step이 아닌 delayed credit 필요
5.1 Exposure-Modulated Teacher
- OPSD의 full-reference teacher context를 $\alpha_t$-controlled context로 교체:
- $\tau$ 는 고정 transition instruction. truncation은 reasoning prefix에만 작용, boxed answer는 유지
- 목적함수는 OPSD의 KL에서 teacher를 exposure-modulated teacher로 바꾼 형태 (gradient는 student로만):
- student rollout은 그대로 — 바뀌는 건 teacher가 scoring 시 보는 privileged 정보량뿐 (공정 비교)
5.2 Beta Exposure Controller
- discrete curriculum label이 아니라 정보 강도(information intensity) 를 고름. training-state $s_t$ (global training progress, 최근 exposure, loss/mismatch EMA, probe-NLL EMA, batch-aggregated student self-confidence) 를 Beta policy로 매핑:
- $a_t, b_t > 1$ 로 unimodal 보장: mean = 선호 exposure, concentration = 확신도
- 샘플한 $\alpha_t$ 를 다음 $H$ student update 동안 고정(hold) 후 resample $\to$ 하나의 exposure 결정이 짧은 global episode를 지배
5.3 Closed-Loop Training Control (Delayed Credit)
- exposure 효과는 지연되므로 $t_0$ 에서 샘플한 action을 $H$ step hold, $L$-step lookahead 뒤 scoring. reward = discounted learning progress + teacher-grounded credit:
- $\ell_t$: step $t$ 이후 distillation loss (감소 = 긍정 진전만 보상)
- $g_t$: exposure-modulated teacher가 verified reference token에 준 평균 log-prob $\to$ high-exposure지만 정답을 잘 예측하는 action 유지
- student는 매 step update (Eq. 6), controller는 hold window 완료 후에만 REINFORCE로 update:
- entropy term은 지속적 over-exploration만 억제 (수렴기에는 좁은 exposure로 집중 허용)
6. Experiments
6.1 Setup
- base: instruct-tuned Qwen3-1.7B / 4B / 8B. OPSD를 따라 OpenThoughts corpus + 동일한 100-step on-policy distillation budget
- ATESD는 student rollout / optimizer / LoRA recipe / problem-only prompting 전부 그대로 두고 teacher context만 learned exposure policy로 교체
- 평가: AIME 2024, AIME 2025, HMMT 2025 / Average@12 (12 sample 평균 정확도). controller = 2-layer MLP (6개 training-state 통계 $\to$ Beta over $\alpha$), lookahead $L=20$
6.2 Main Results
table1 첨부 (Table 1: competition-level math 메인 결과, Average@12 — Qwen3-{1.7B, 4B, 8B} × {Base, SFT, GRPO, OPSD, Ours})
| Method | AIME 24 | AIME 25 | HMMT 25 | Average |
|---|---|---|---|---|
| Qwen3-1.7B Base | 51.5 | 36.7 | 23.1 | 37.1 |
| + SFT | 48.4 | 36.3 | 22.7 | 35.8 |
| + GRPO | 51.1 | 38.3 | 23.7 | 37.7 |
| + OPSD | 57.2 | 43.9 | 29.2 | 43.4 |
| + Ours (ATESD) | 59.17 | 44.72 | 29.17 | 44.35 |
| Qwen3-4B Base | 74.9 | 66.4 | 42.2 | 61.2 |
| + SFT | 70.2 | 62.3 | 43.4 | 58.6 |
| + GRPO | 75.6 | 68.1 | 44.4 | 62.7 |
| + OPSD | 76.4 | 68.3 | 46.1 | 63.6 |
| + Ours (ATESD) | 78.06 | 71.39 | 47.50 | 65.65 |
| Qwen3-8B Base | 75.8 | 65.6 | 43.9 | 61.8 |
| + SFT | 72.3 | 64.2 | 42.9 | 59.8 |
| + GRPO | 76.4 | 68.9 | 46.7 | 64.0 |
| + OPSD | 77.8 | 70.8 | 45.8 | 64.8 |
| + Ours (ATESD) | 80.56 | 72.50 | 48.33 | 67.13 |
- OPSD 대비 Average@12 +0.95 / +2.05 / +2.33 pp (1.7B / 4B / 8B)
- gain이 4B·8B에서 1.7B보다 큼 $\to$ student가 privileged context를 활용할 capacity가 있을 때 exposure control의 가치가 커짐. 가장 작은 1.7B는 usable headroom이 적어 개선 폭이 작지만 여전히 positive
6.3 Ablation
figure4 첨부 (Figure 4: (A) 고정 positive rollout에서의 mismatch 감소, (B) 학습된 Beta exposure policy의 진화)
- Mismatch reduction (Figure 4A): 문제·student rollout·scoring position 고정, exposure만 full($\alpha=1.0$) $\to$ 재현된 ATESD exposure($\alpha=0.3$) 로 변경 시 — mean KL $0.0136 \to 0.0061$, max KL $0.2432 \to 0.0645$, position 26의 최대 spike $0.2432 \to 0.0098$. student 분포·rollout이 동일하므로 감소는 순전히 teacher exposure 변화 때문
- Beta policy 진화 (Figure 4B): 넓은 exploration에서 시작 $\to$ no-reference/full-exposure 양극단에서 벗어나 중간 regime 으로 집중. 학습된 정책이 trivial한 always-low/always-full로 붕괴하지 않음을 확인
table2 첨부 (Table 2: controller ablation on AIME 2024 Average@12 — (A) credit signal, (B) exposure policy)
- (A) delayed credit이 필요한가?
| Credit signal | Avg@12 |
|---|---|
| Immediate one-step | 52.22 |
| Short-horizon delayed | 56.11 |
| Discounted lookahead | 58.06 |
| Full delayed reward (ATESD) | 59.17 |
-
one-step 피드백(52.22)에서 delayed credit 구조를 점증적으로 더하면 59.17까지 상승 $\to$ delayed credit은 부수적 구현 디테일이 아니라 exposure 학습을 가능케 하는 핵심 메커니즘
-
(B) learned exposure가 고정/비제어 대비 우수한가?
| Exposure policy | Avg@12 |
|---|---|
| OPSD full exposure $\alpha=1.0$ | 57.20 |
| Best fixed $\alpha=0.5$ | 57.44 |
| Stochastic exposure (uncontrolled) | 54.94 |
| Learned policy (ATESD) | 59.17 |
- full exposure 회피(57.44)나 단순 stochasticity 주입(54.94) 만으로는 안 됨. training-state에 반응하는 feedback-driven $\alpha$ 적응 이 유효 신호
7. Conclusion & Limitations
-
결론: on-policy self-distillation에서 간과돼온 teacher-side exposure mismatch 를 규명. full exposure는 suboptimal하고 mismatch는 exposure와 함께 단조 증가함을 체계적 실험으로 확립. 이를 training-state-conditioned Beta controller + discounted learning-progress reward + hold-and-lookahead delayed credit 으로 해결한 ATESD 제안. Qwen3-{1.7B,4B,8B} / AIME·HMMT에서 OPSD 일관 상회
-
Limitations (저자 명시)
- controller가 global level 에서 동작 — hold period 내 모든 sample에 단일 $\alpha$. per-sample / difficulty-aware exposure control은 미래 과제
- discounted learning-progress reward가 고정 lookahead window 에 의존. counterfactual/model-based reward estimation으로 credit assignment 개선 여지
- 더 큰 모델·code generation·scientific reasoning 등으로의 검증은 미완 (exposure control이 math contest를 넘어 일반화되는지)
- code 미공개 (arXiv comment 기준)
Takeaways
- self-distillation의 “teacher는 정답을 전부 본다”는 당연한 전제를 조절 가능한 변수 로 바꾼 것이 핵심 기여. student-side mismatch(OPSD)와 대칭되는 teacher-side mismatch를 지적한 프레이밍이 깔끔함
- 어려운 문제일수록 낮은 exposure를 선호한다는 진단(Figure 2C)은 “강한 supervision이 항상 좋은 건 아니다”는 distillation의 오래된 직관을 on-policy 세팅에서 정량화
- exposure 효과의 지연성 때문에 one-step reward가 아닌 delayed credit(REINFORCE) 이 필요하다는 점이 ablation(Table 2A)으로 분명히 드러남 — 52.22 $\to$ 59.17
- 추가 데이터·budget 없이 teacher context 조절만으로 OPSD 대비 수 pp를 얻는, 저비용·plug-in 형태의 개선