In Good GRACEs: Principled Teacher Selection for Knowledge Distillation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Panigrahi, Abhishek, Liu, Bingbin, Malladi, Sadhika, Kakade, Sham, Goel, Surbhi
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912778584850432
author Panigrahi, Abhishek
Liu, Bingbin
Malladi, Sadhika
Kakade, Sham
Goel, Surbhi
author_facet Panigrahi, Abhishek
Liu, Bingbin
Malladi, Sadhika
Kakade, Sham
Goel, Surbhi
contents Knowledge distillation is an efficient strategy to use data generated by large "teacher" language models to train smaller capable "student" models, but selecting the optimal teacher for a specific student-task combination requires expensive trial-and-error. We propose a lightweight score called GRACE to quantify how effective a teacher will be for post-training a student model. GRACE measures distributional properties of the student's gradients without access to a verifier, teacher logits, teacher internals, or test data. From an information-theoretic perspective, GRACE connects to leave-one-out stability of gradient-based algorithms, which controls the generalization performance of the distilled students. On GSM8K and MATH, GRACE correlates strongly (up to 86% Spearman correlation) with the performance of the distilled LLaMA and OLMo students. In particular, training a student using the GRACE-selected teacher can improve the performance by up to 7.4% over naively using the best-performing teacher. Further, GRACE can provide guidance on crucial design choices in distillation, including (1) the best temperature to use when generating from the teacher, (2) the best teacher to use given a size constraint, and (3) the best teacher to use within a specific model family. Altogether, our findings demonstrate that GRACE can efficiently and effectively identify a strongly compatible teacher for a given student and provide fine-grained guidance on how to perform distillation.
format Preprint
id arxiv_https___arxiv_org_abs_2511_02833
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle In Good GRACEs: Principled Teacher Selection for Knowledge Distillation
Panigrahi, Abhishek
Liu, Bingbin
Malladi, Sadhika
Kakade, Sham
Goel, Surbhi
Machine Learning
Computation and Language
Knowledge distillation is an efficient strategy to use data generated by large "teacher" language models to train smaller capable "student" models, but selecting the optimal teacher for a specific student-task combination requires expensive trial-and-error. We propose a lightweight score called GRACE to quantify how effective a teacher will be for post-training a student model. GRACE measures distributional properties of the student's gradients without access to a verifier, teacher logits, teacher internals, or test data. From an information-theoretic perspective, GRACE connects to leave-one-out stability of gradient-based algorithms, which controls the generalization performance of the distilled students. On GSM8K and MATH, GRACE correlates strongly (up to 86% Spearman correlation) with the performance of the distilled LLaMA and OLMo students. In particular, training a student using the GRACE-selected teacher can improve the performance by up to 7.4% over naively using the best-performing teacher. Further, GRACE can provide guidance on crucial design choices in distillation, including (1) the best temperature to use when generating from the teacher, (2) the best teacher to use given a size constraint, and (3) the best teacher to use within a specific model family. Altogether, our findings demonstrate that GRACE can efficiently and effectively identify a strongly compatible teacher for a given student and provide fine-grained guidance on how to perform distillation.
title In Good GRACEs: Principled Teacher Selection for Knowledge Distillation
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2511.02833