Skip to main content
QUICK REVIEW

[Paper Review] Teacher-Student Compression with Generative Adversarial Networks

Ruishan Liu, Nicolò Fusi|arXiv (Cornell University)|Dec 5, 2018
Advanced Image Processing TechniquesComputer Science37 references13 citations
TL;DR

This paper proposes GAN-TSC, a teacher-student compression framework that enhances model distillation by generating synthetic training data via a GAN to augment limited or reused real data. By improving data diversity and class affinity, GAN-TSC significantly boosts student model accuracy on large models like deep neural networks and random forests across tabular and image datasets, with a novel TSC Score metric outperforming Inception Score in evaluation.

ABSTRACT

More accurate machine learning models often demand more computation and memory at test time, making them difficult to deploy on CPU- or memory-constrained devices. Teacher-student compression (TSC), also known as distillation, alleviates this burden by training a less expensive student model to mimic the expensive teacher model while maintaining most of the original accuracy. However, when fresh data is unavailable for the compression task, the teacher's training data is typically reused, leading to suboptimal compression. In this work, we propose to augment the compression dataset with synthetic data from a generative adversarial network (GAN) designed to approximate the training data distribution. Our GAN-assisted TSC (GAN-TSC) significantly improves student accuracy for expensive models such as large random forests and deep neural networks on both tabular and image datasets. Building on these results, we propose a comprehensive metric---the TSC Score---to evaluate the quality of synthetic datasets based on their induced TSC performance. The TSC Score captures both data diversity and class affinity, and we illustrate its benefits over the popular Inception Score in the context of image classification.

Motivation & Objective

  • To address the limitation of teacher-student compression (TSC) when real training data is scarce or reused, leading to suboptimal student performance.
  • To improve the generalization and accuracy of student models by augmenting the compression dataset with synthetic data that better captures the underlying data distribution.
  • To develop a comprehensive evaluation metric—TSC Score—that quantitatively measures the quality of synthetic datasets in the context of TSC, capturing both data diversity and class affinity.
  • To demonstrate the superiority of the proposed GAN-TSC framework over baseline distillation methods on diverse datasets, including tabular and image data.

Proposed method

  • Train a generative adversarial network (GAN) to model the true data distribution of the teacher model’s training data, generating synthetic samples for compression.
  • Use the synthetic data in conjunction with real data to train the student model, enabling it to learn from a more diverse and representative dataset.
  • Optimize the GAN using adversarial training to ensure generated samples are realistic and preserve class structure, improving the student’s ability to generalize.
  • Introduce the TSC Score as a metric that evaluates synthetic datasets based on their induced performance in TSC, combining data diversity and class affinity.
  • Apply the TSC Score to compare synthetic data quality against standard metrics like Inception Score, showing improved correlation with actual distillation performance.
  • Train large student models (e.g., deep neural networks, random forests) using the augmented dataset and evaluate their accuracy relative to the teacher model.

Experimental results

Research questions

  • RQ1Can synthetic data generated by a GAN improve the performance of student models in teacher-student compression when real data is limited or reused?
  • RQ2How does the quality of synthetic data, as measured by the TSC Score, correlate with actual distillation accuracy across different model architectures and datasets?
  • RQ3Does the TSC Score outperform established metrics like Inception Score in evaluating synthetic data for knowledge distillation tasks?
  • RQ4To what extent does GAN-augmented data improve student accuracy on complex models such as deep neural networks and large random forests?
  • RQ5How do data diversity and class affinity in synthetic data influence the generalization capability of distilled student models?

Key findings

  • GAN-TSC significantly improves student model accuracy on both image and tabular datasets by generating high-quality synthetic data that better represents the underlying data distribution.
  • The TSC Score effectively captures the quality of synthetic datasets in the context of knowledge distillation, outperforming the Inception Score in predicting actual TSC performance.
  • Synthetic data generated via GANs enhances data diversity and preserves class structure, leading to better generalization and higher accuracy in distilled models.
  • The method achieves notable performance gains on large and complex models, including deep neural networks and large random forests, even when real data is reused or scarce.
  • The TSC Score demonstrates strong correlation with actual distillation accuracy, validating its use as a reliable metric for synthetic data evaluation in TSC.
  • Experiments show that GAN-augmented compression outperforms standard distillation with real-only data, especially in low-data regimes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.