DiffGate: 난이도에 따라 교사 지침을 걸러 주는 온폴리시 증류
DiffGate: Difficulty-Gated Teacher Guidance for On-Policy Distillation
온폴리시 증류(OPD)는 토큰 단위 일치에 집중해 결과의 정답 여부를 반영하지 못하고, 검증 가능한 보상 기반 강화학습(RLVR)은 보상이 희박하다는 약점이 있다. 이 논문은 두 방식을 결합해, 실패한 풀이에만 그룹 난이도에 따라 조절된 제한적 교사 지침을 주는 DiffGate를 제안한다. Qwen3-0.6B와 1.7B 학생 모델에서 코드와 수학 모두 pass@8이 GRPO보다 향상되었다고 보고한다.
논문 초록을 바탕으로 정리했습니다. 논문 전체의 실험 조건과 한계까지 검토한 심층 리뷰는 아닙니다.
논문 원문 읽기 ↗연구 문제
온폴리시 증류(OPD)는 학생 모델이 직접 생성한 풀이 과정을 교사가 지도하는 방식으로, 기존 증류의 학습·시험 환경 불일치를 줄여 준다. 하지만 기존 OPD 목표는 각 토큰 위치에서 교사와 학생이 얼마나 일치하는지만 보며, 결과와 무관하게 작동한다. 추론의 품질은 풀이 전체 수준에서 결정되는데도 그렇다.
반대로 GRPO 같은 RLVR은 정답 여부라는 결과 수준의 신호를 주지만 보상이 희박하고 토큰별 기여도 배분이 거칠다. 한 묶음의 풀이가 모두 실패하면 신호가 사라지기도 한다. 저자들은 두 방식의 사각지대가 서로 보완적이라고 주장한다.
제안 방법
DiffGate는 GRPO에 선택적이고 제한된 교사 지침을 더한 결과 중심 목표다. 교사 지도는 실패한 풀이에만 적용하고, 그룹의 난이도에 따라 크기를 조절한다. 또한 교사와 학생의 차이가 지나치게 큰 경우가 학습을 지배하지 않도록 부드럽게 상한을 둔다.
결과적으로 어떤 풀이가 교사 지도를 받을지는 검증기가 정하고, 그 풀이 안에서 토큰 단위의 세밀한 수정 방향은 교사가 제공한다.
실험 결과
Qwen3-0.6B와 Qwen3-1.7B 학생 모델에서 비교했다. 코드에서는 동일 조건의 GRPO 대비 avg@8이 각각 +1.7, +1.8점, pass@8이 +1.6, +5.7점 올랐다.
수학에서는 avg@8이 GRPO와 0.5점 이내로 비슷했고, pass@8은 +1.1, +3.9점 향상되었다. 네 가지 모델·분야 조합 모두에서 pass@8이 개선되어, 저자들은 이 평가 방식 아래에서 정답 풀이의 범위가 넓어졌다고 해석한다. 초록에는 이 외의 세부 실험 설정이나 다른 기법과의 비교는 나와 있지 않다.
근거로 읽은 영문 초록
On-policy distillation (OPD) has emerged as a widely used paradigm for post-training large language models, reducing the train--test mismatch of conventional distillation by supervising the student on its own generated trajectories. However, existing OPD objectives remain largely token-local and outcome-agnostic, optimizing teacher--student agreement at each prefix despite reasoning quality being determined at the trajectory level. Reinforcement learning with verifiable rewards (RLVR), particularly Group Relative Policy Optimization (GRPO), provides complementary outcome-level supervision but suffers from sparse rewards and coarse credit assignment. We show that OPD and RLVR exhibit complementary blind spots: teacher signals provide dense local guidance but are weakly aligned with rollout correctness, whereas group-relative rewards capture task success but provide coarse token-level credit and vanish on all-failure groups. We introduce DiffGate, an outcome-gated objective that combines GRPO with selective, bounded teacher guidance. Teacher supervision is applied only to failed trajectories, scaled by group difficulty, and smoothly bounded to prevent extreme teacher--student discrepancies from dominating optimization. The verifier therefore determines which trajectories receive teacher guidance, while the teacher provides dense token-level update directions within those trajectories. Across Qwen3-0.6B and Qwen3-1.7B students, DiffGate improves code avg@8 over matched GRPO by +1.7 and +1.8 points and pass@8 by +1.6 and +5.7 points, respectively. On mathematics, avg@8 remains within 0.5 points of GRPO while pass@8 improves by +1.1 and +3.9 points. Overall, DiffGate improves pass@8 across all four model--domain settings, demonstrating improved solution coverage under our evaluation protocol.