Skip to main content
QUICK REVIEW

[Paper Review] Dataset Distillation

Tongzhou Wang, Jun-Yan Zhu|arXiv (Cornell University)|Nov 27, 2018
Domain Adaptation and Few-Shot LearningComputer Science50 references21 citations
TL;DR

This paper introduces dataset distillation, a method to compress large training datasets into a small set of synthetic images that, when used to train a fixed model, achieve performance close to that of full-data training. By optimizing synthetic image pixels to mimic the generalization behavior of real data, the approach enables high accuracy (e.g., 94% on MNIST) with only 10 synthetic images and a few gradient steps, even under fixed or random weight initialization.

ABSTRACT

Model distillation aims to distill the knowledge of a complex model into a simpler one. In this paper, we consider an alternative formulation called dataset distillation: we keep the model fixed and instead attempt to distill the knowledge from a large training dataset into a small one. The idea is to synthesize a small number of data points that do not need to come from the correct data distribution, but will, when given to the learning algorithm as training data, approximate the model trained on the original data. For example, we show that it is possible to compress 60,000 MNIST training images into just 10 synthetic distilled images (one per class) and achieve close to original performance with only a few gradient descent steps, given a fixed network initialization. We evaluate our method in various initialization settings and with different learning objectives. Experiments on multiple datasets show the advantage of our approach compared to alternative methods.

Motivation & Objective

  • To explore whether the knowledge of a large training dataset can be distilled into a small set of synthetic data points.
  • To enable fast model training—achieving high performance in just a few gradient descent steps—using only a handful of synthetic images.
  • To develop a method that works under various initialization settings, including fixed, random, and pre-trained weights.
  • To demonstrate applications in few-shot domain adaptation and data-poisoning attacks.
  • To investigate the theoretical limits of data compression in deep learning through a linear model analysis.

Proposed method

  • Formulate the model weights as a differentiable function of the synthetic training data, enabling end-to-end optimization of image pixels.
  • Optimize the pixel values of synthetic images to minimize the generalization gap between training on them and on the full dataset.
  • Use a two-stage optimization: first train on synthetic data, then fine-tune with real data to improve alignment.
  • Introduce an iterative refinement process to generate sequences of distilled images for multi-epoch training.
  • Develop a method to generate distilled images without requiring access to the model’s exact initial weights, enabling use with randomly initialized networks.
  • Adapt the framework for malicious objectives, such as creating data-poisoning attacks that misclassify a target class after one gradient step.

Experimental results

Research questions

  • RQ1Can a small set of synthetic images capture the generalization capacity of a large real dataset?
  • RQ2To what extent can model performance be preserved when training on only a few synthetic images compared to full datasets?
  • RQ3How effective is dataset distillation across different model initialization strategies, including fixed, random, and pre-trained weights?
  • RQ4Can distilled images enable fast, few-shot domain adaptation between datasets like SVHN and MNIST?
  • RQ5Can the method be used to create effective data-poisoning attacks with minimal training steps?

Key findings

  • On MNIST, 10 distilled images trained for a few gradient steps achieved 94% test accuracy, compared to 99% with the full dataset.
  • On CIFAR10, 100 distilled images achieved 54% accuracy with fixed initialization, compared to 80% with the full dataset.
  • With random initialization, 100 distilled images achieved 80% accuracy after a few gradient steps, demonstrating robustness to weight variance.
  • For domain adaptation, 100 distilled images enabled fast fine-tuning of pre-trained SVHN models to achieve high accuracy on MNIST, outperforming few-shot adaptation baselines.
  • In data-poisoning attacks, the method successfully caused misclassification of a target class with only one gradient step, significantly outperforming baselines on CIFAR10.
  • On PASCAL-VOC and CUB-200, one distilled image per class achieved 70.75% and 38.76% accuracy respectively, approaching performance of full fine-tuning.

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.