atlas

Research map / Large language models / Alignment and preferences

On Teacher Hacking in Language Model Distillation

ICML 2025 · Large language models › Alignment and preferences · approach: Reward modeling for diverse preferences · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces "teacher hacking" in LM distillation and tests it in a semi-synthetic setup with a Flan-T5-XL oracle, T5-1.1 teachers and students, finding that fixed offline data leads to hacking while online data or prompt diversity mitigates it.

Problem

Knowledge distillation treats the teacher as the target, but the teacher is only an imperfect proxy for the ground-truth distribution; the student may over-optimize toward the teacher's imperfections, analogous to reward hacking in RLHF.

Approach

Define teacher hacking and build a controlled oracle-teacher-student setup where the oracle provides golden metrics, so that the proxy (student-teacher distance) and golden (student-oracle distance) curves can be compared; show that offline distillation over many epochs hacks, detectable as deviation from polynomial convergence in the proxy metric, while online data sampling and data diversity mit

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train on a fixed offline teacher-generated dataset for extended distillationT5-large to T5-base distillation · XSumgolden metric (oracle-student distance)Hurt
Train on a fixed offline teacher-generated dataset for extended distillationT5-large to T5-base distillation · XSumproxy metric (teacher-student distance)Helped
Generate responses online from the teacher instead of using a fixed datasetT5-large to T5-base distillation · XSumgolden metric (oracle-student distance)Helped
Generate responses online from the student instead of using a fixed datasetT5-large to T5-base distillation · XSumgolden metric (oracle-student distance)Helped
Use fewer prompts and more generations per prompt at a fixed dataset size (ablation)Offline T5-large to T5-base distillation · XSumgolden metric (oracle-student distance)Hurt
Reduce prompt diversity at a fixed generation budget (ablation)Offline T5-large to T5-base distillation · Natural Instructionsgolden metric (oracle-student distance)Hurt
Reduce prompt diversity at a fixed generation budget (ablation)Offline T5-large to T5-base distillation · WMT-14 en-degolden metric (oracle-student distance)No clear effect
Increase the generation budget with multiple completions per prompt (ablation)Offline T5-large to T5-base distillation · XSumgolden metric (oracle-student distance)Helped
Add online student-generated data to offline data (ablation)T5-large to T5-base distillation · XSumgolden metric (oracle-student distance)Helped
Replace forward KL with reverse KL or Jensen-Shannon divergence (ablation)Offline T5-large to T5-base distillation · XSumgolden metric (oracle-student distance)Hurt
Use generalized Jensen-Shannon divergence with coefficient 0.1 or 0.9 (ablation)T5-large to T5-base distillation · XSumgolden metric (oracle-student distance)Mixed
Limit offline distillation to a few epochs (ablation)T5-large to T5-base distillation · XSumgolden metric (oracle-student distance)No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: XSum WMT-14 en-de Natural Instructions

Benchmarks: XSum WMT-14 en-de Natural Instructions

Metrics: sequence-level forward KL (golden, to oracle) sequence-level reverse KL sequence-level Jensen-Shannon distance proxy KL to teacher

Baselines: SFT online teacher data source online student data source reverse KL loss Jensen-Shannon divergence loss

Builds on: knowledge distillation sequence-level KD reward hacking analysis (gao et al. 2023 style setup) T5

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy