Saved in:
Bibliographic Details
Main Authors: Panigrahi, Abhishek, Liu, Bingbin, Malladi, Sadhika, Risteski, Andrej, Goel, Surbhi
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.05464
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912062773395456
author Panigrahi, Abhishek
Liu, Bingbin
Malladi, Sadhika
Risteski, Andrej
Goel, Surbhi
author_facet Panigrahi, Abhishek
Liu, Bingbin
Malladi, Sadhika
Risteski, Andrej
Goel, Surbhi
contents Knowledge distillation leverages a teacher model to improve the training of a student model. A persistent challenge is that a better teacher does not always yield a better student, to which a common mitigation is to use additional supervision from several ``intermediate'' teachers. One empirically validated variant of this principle is progressive distillation, where the student learns from successive intermediate checkpoints of the teacher. Using sparse parity as a sandbox, we identify an implicit curriculum as one mechanism through which progressive distillation accelerates the student's learning. This curriculum is available only through the intermediate checkpoints but not the final converged one, and imparts both empirical acceleration and a provable sample complexity benefit to the student. We then extend our investigation to Transformers trained on probabilistic context-free grammars (PCFGs) and real-world pre-training datasets (Wikipedia and Books). Through probing the teacher model, we identify an analogous implicit curriculum where the model progressively learns features that capture longer context. Our theoretical and empirical findings on sparse parity, complemented by empirical observations on more complex tasks, highlight the benefit of progressive distillation via implicit curriculum across setups.
format Preprint
id arxiv_https___arxiv_org_abs_2410_05464
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Progressive distillation induces an implicit curriculum
Panigrahi, Abhishek
Liu, Bingbin
Malladi, Sadhika
Risteski, Andrej
Goel, Surbhi
Machine Learning
Knowledge distillation leverages a teacher model to improve the training of a student model. A persistent challenge is that a better teacher does not always yield a better student, to which a common mitigation is to use additional supervision from several ``intermediate'' teachers. One empirically validated variant of this principle is progressive distillation, where the student learns from successive intermediate checkpoints of the teacher. Using sparse parity as a sandbox, we identify an implicit curriculum as one mechanism through which progressive distillation accelerates the student's learning. This curriculum is available only through the intermediate checkpoints but not the final converged one, and imparts both empirical acceleration and a provable sample complexity benefit to the student. We then extend our investigation to Transformers trained on probabilistic context-free grammars (PCFGs) and real-world pre-training datasets (Wikipedia and Books). Through probing the teacher model, we identify an analogous implicit curriculum where the model progressively learns features that capture longer context. Our theoretical and empirical findings on sparse parity, complemented by empirical observations on more complex tasks, highlight the benefit of progressive distillation via implicit curriculum across setups.
title Progressive distillation induces an implicit curriculum
topic Machine Learning
url https://arxiv.org/abs/2410.05464