Skip to main content
QUICK REVIEW

[Paper Review] Data-Free Learning of Student Networks

Hanting Chen, Yunhe Wang|arXiv (Cornell University)|Apr 2, 2019
Advanced Neural Network ApplicationsComputer Science30 references6 citations
TL;DR

This paper proposes Data-Free Learning (DAFL), a novel framework that trains compact student neural networks without access to real training data by using a generative adversarial network (GAN) to synthesize data from a pre-trained teacher network. The teacher acts as a fixed discriminator, and the generator produces synthetic images that maximize the teacher's activation, enabling knowledge distillation and achieving 92.22% accuracy on CIFAR-10 and 74.47% on CIFAR-100 using only generated data.

ABSTRACT

Learning portable neural networks is very essential for computer vision for the purpose that pre-trained heavy deep models can be well applied on edge devices such as mobile phones and micro sensors. Most existing deep neural network compression and speed-up methods are very effective for training compact deep models, when we can directly access the training dataset. However, training data for the given deep network are often unavailable due to some practice problems (e.g. privacy, legal issue, and transmission), and the architecture of the given network are also unknown except some interfaces. To this end, we propose a novel framework for training efficient deep neural networks by exploiting generative adversarial networks (GANs). To be specific, the pre-trained teacher networks are regarded as a fixed discriminator and the generator is utilized for derivating training samples which can obtain the maximum response on the discriminator. Then, an efficient network with smaller model size and computational complexity is trained using the generated data and the teacher network, simultaneously. Efficient student networks learned using the proposed Data-Free Learning (DAFL) method achieve 92.22% and 74.47% accuracies using ResNet-18 without any training data on the CIFAR-10 and CIFAR-100 datasets, respectively. Meanwhile, our student network obtains an 80.56% accuracy on the CelebA benchmark.

Motivation & Objective

  • To address the challenge of training compact, efficient neural networks when real training data is unavailable due to privacy, legal, or transmission constraints.
  • To enable knowledge distillation in scenarios where neither the training data nor the architecture of the pre-trained teacher network is accessible.
  • To develop a method that synthesizes realistic training data from the pre-trained model’s internal representations to train smaller, portable student networks.
  • To achieve high accuracy on benchmark datasets using only synthetic data generated from the teacher network’s feature responses.

Proposed method

  • The pre-trained teacher network is treated as a fixed discriminator, and a generator network is trained to produce synthetic images that maximize the teacher’s output activation.
  • The generator is trained via an adversarial process where it learns to produce images that the teacher network classifies confidently, mimicking real data distribution.
  • A student network is trained using the generated synthetic images and knowledge distillation from the teacher network, with loss functions based on soft labels and intermediate features.
  • The method uses a modified GAN setup, specifically an alternative DCGAN architecture, to generate high-fidelity images matching the input distribution of the original dataset.
  • Hyperparameters such as latent vector dimension and learning rates are tuned per dataset, with the generator trained end-to-end to approximate the original data manifold.
  • The approach does not require access to original training data, model architecture, or parameters—only input/output interfaces of the teacher network.

Experimental results

Research questions

  • RQ1Can a student neural network be effectively trained without any real training data by leveraging only the inference behavior of a pre-trained teacher network?
  • RQ2How well can a GAN-based generator approximate the original data distribution when only the teacher network’s outputs are accessible?
  • RQ3To what extent can knowledge distillation from a teacher network, combined with synthetic data, achieve performance comparable to training with real data?
  • RQ4How does the proposed method perform across diverse datasets with varying complexity, such as MNIST, CIFAR-10, CIFAR-100, and CelebA?

Key findings

  • The proposed DAFL method achieves 92.22% top-1 accuracy on CIFAR-10 using only synthetic data generated from the teacher network, without any real training examples.
  • On CIFAR-100, the student network reaches 74.47% accuracy, significantly outperforming baselines that rely on meta-data or random noise.
  • On the CelebA dataset, the student network achieves 80.56% accuracy using only generated images, approaching the 81.59% accuracy of the teacher network.
  • When training student networks with the same architecture as the teacher, the method achieves 98.91% accuracy on MNIST with LeNet-5 and 98.39% with HintonNet, closely matching the teacher's performance.
  • The method generalizes well across datasets: on CIFAR-10 and CIFAR-100, student networks trained with DAFL achieve 93.21% and 75.32% accuracy, respectively, when using the same architecture as the teacher.
  • Extensive ablation shows that using real data, normal noise, or MNIST data for training yields significantly worse results than the proposed GAN-based synthetic data, confirming the effectiveness of the data generation strategy.

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.