Robust and Resource-Efficient Data-Free Knowledge Distillation by Generative Pseudo Replay

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Binici, Kuluhan, Aggarwal, Shivam, Pham, Nam Trung, Leman, Karianto, Mitra, Tulika
Format: Preprint
Published: 2022
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916338257100800
author Binici, Kuluhan
Aggarwal, Shivam
Pham, Nam Trung
Leman, Karianto
Mitra, Tulika
author_facet Binici, Kuluhan
Aggarwal, Shivam
Pham, Nam Trung
Leman, Karianto
Mitra, Tulika
contents Data-Free Knowledge Distillation (KD) allows knowledge transfer from a trained neural network (teacher) to a more compact one (student) in the absence of original training data. Existing works use a validation set to monitor the accuracy of the student over real data and report the highest performance throughout the entire process. However, validation data may not be available at distillation time either, making it infeasible to record the student snapshot that achieved the peak accuracy. Therefore, a practical data-free KD method should be robust and ideally provide monotonically increasing student accuracy during distillation. This is challenging because the student experiences knowledge degradation due to the distribution shift of the synthetic data. A straightforward approach to overcome this issue is to store and rehearse the generated samples periodically, which increases the memory footprint and creates privacy concerns. We propose to model the distribution of the previously observed synthetic samples with a generative network. In particular, we design a Variational Autoencoder (VAE) with a training objective that is customized to learn the synthetic data representations optimally. The student is rehearsed by the generative pseudo replay technique, with samples produced by the VAE. Hence knowledge degradation can be prevented without storing any samples. Experiments on image classification benchmarks show that our method optimizes the expected value of the distilled model accuracy while eliminating the large memory overhead incurred by the sample-storing methods.
format Preprint
id arxiv_https___arxiv_org_abs_2201_03019
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle Robust and Resource-Efficient Data-Free Knowledge Distillation by Generative Pseudo Replay
Binici, Kuluhan
Aggarwal, Shivam
Pham, Nam Trung
Leman, Karianto
Mitra, Tulika
Machine Learning
Artificial Intelligence
Data-Free Knowledge Distillation (KD) allows knowledge transfer from a trained neural network (teacher) to a more compact one (student) in the absence of original training data. Existing works use a validation set to monitor the accuracy of the student over real data and report the highest performance throughout the entire process. However, validation data may not be available at distillation time either, making it infeasible to record the student snapshot that achieved the peak accuracy. Therefore, a practical data-free KD method should be robust and ideally provide monotonically increasing student accuracy during distillation. This is challenging because the student experiences knowledge degradation due to the distribution shift of the synthetic data. A straightforward approach to overcome this issue is to store and rehearse the generated samples periodically, which increases the memory footprint and creates privacy concerns. We propose to model the distribution of the previously observed synthetic samples with a generative network. In particular, we design a Variational Autoencoder (VAE) with a training objective that is customized to learn the synthetic data representations optimally. The student is rehearsed by the generative pseudo replay technique, with samples produced by the VAE. Hence knowledge degradation can be prevented without storing any samples. Experiments on image classification benchmarks show that our method optimizes the expected value of the distilled model accuracy while eliminating the large memory overhead incurred by the sample-storing methods.
title Robust and Resource-Efficient Data-Free Knowledge Distillation by Generative Pseudo Replay
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2201.03019