[Paper Review] Model Compression with Generative Adversarial Networks
This paper proposes GAN-MC, a model compression framework that uses generative adversarial networks to synthesize high-quality training data, improving student model accuracy when distilling from large teacher models. By augmenting real data with GAN-generated samples, the method enhances data diversity and discriminability, leading to superior compression performance compared to baseline distillation with real data alone.
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. Model compression (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 model compression (GAN-MC) significantly improves student accuracy for expensive models such as deep neural networks and large random forests on both image and tabular datasets. Building on these results, we propose a comprehensive metric—the Compression Score—to evaluate the quality of synthetic datasets based on their induced model compression performance. The Compression Score captures both data diversity and discriminability, and we illustrate its benefits over the popular Inception Score in the context of image classification.
Motivation & Objective
- Address the challenge of suboptimal model compression when real training data is reused without augmentation.
- Improve student model accuracy in knowledge distillation by generating synthetic data that better captures the underlying data distribution.
- Develop a comprehensive evaluation metric—Compression Score—that quantifies the quality of synthetic datasets for model compression.
- Demonstrate the effectiveness of GAN-augmented data across diverse model architectures (deep neural networks and large random forests) and data types (image and tabular).
Proposed method
- Train a GAN to model the distribution of the teacher model’s training data, generating synthetic samples that mimic real data patterns.
- Augment the original training dataset with synthetic samples from the trained GAN to form an expanded compression dataset.
- Train the student model using the combined real and synthetic data to distill knowledge from the teacher model.
- Introduce the Compression Score as a metric that evaluates synthetic datasets based on their ability to improve student model accuracy.
- Use the Compression Score to compare synthetic data quality against traditional metrics like Inception Score, emphasizing discriminability and diversity.
- Optimize the GAN training process to ensure generated samples are both diverse and semantically meaningful for effective distillation.
Experimental results
Research questions
- RQ1Can GAN-generated synthetic data improve the performance of student models in knowledge distillation when real data is limited or reused?
- RQ2How does the quality of synthetic data, as measured by the Compression Score, correlate with actual model compression performance?
- RQ3Does GAN-augmented data outperform standard distillation using only real data across different model architectures and data modalities?
- RQ4How does the Compression Score compare to existing metrics like Inception Score in evaluating synthetic data for model compression tasks?
Key findings
- GAN-MC significantly improves student model accuracy on both image and tabular datasets compared to standard distillation using only real data.
- The proposed Compression Score effectively captures data quality by measuring both diversity and discriminability, outperforming the Inception Score in evaluating synthetic data for compression.
- Synthetic data generated via GANs enhances model compression performance even for large and complex models such as deep neural networks and large random forests.
- The method achieves measurable gains in student accuracy without requiring access to fresh real data, making it suitable for resource-constrained deployment scenarios.
- Experiments show that the Compression Score correlates strongly with actual distillation performance, validating its use as a reliable proxy metric for synthetic data quality.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.