Generative Dataset Distillation: Balancing Global Structure and Local Details

Longzhen Li, Guang Li, Ren Togo, Keisuke Maeda, Takahiro Ogawa, Miki Haseyama

Introduction

Deep learning's reliance on massive datasets presents significant computational challenges. Dataset Distillation (DD) addresses this by synthesizing a compact dataset that retains the performance of the original. However, traditional DD methods often suffer from rigidity (fixed image counts), poor cross-architecture generalization, and a focus on high-level semantics at the expense of crucial local details like texture and shape. This paper proposes a generative approach that distills knowledge into a conditional GAN (cGAN), enabling flexible data generation while balancing global and local feature matching.

Methodology: Global-Local Balanced Distillation

The proposed framework moves beyond distilling static pixels, instead optimizing the parameters of a generator $G$. The process involves three key stages:

  1. cGAN Initialization: A conditional GAN is pre-trained on the original dataset $\mathcal{T}$ to establish a baseline for visual realism.
  2. Balanced Optimization: The generator is refined using a multi-faceted loss function designed to capture both broad categories and fine-grained structures.
  3. Global Loss ($L_{global}$): Matches the final-layer logits of generated images to those of the original data, ensuring correct classification.
  4. Local Loss ($L_{local}$): Matches intermediate layer activations, forcing the generator to learn specific textures and shapes.
  5. Model Pool: To prevent overfitting to a single architecture, a pool of diverse models (e.g., ConvNet, ResNet) is used during the matching process.
  6. Flexible Deployment: The optimized generator can produce any number of synthetic images (Images Per Class, or IPC) on demand, offering superior efficiency over static image-based methods.
Overview of the proposed generative dataset distillation framework, highlighting the use of a model pool and the balance between global and local losses.

Experimental Evaluation

The method was benchmarked on MNIST, Fashion MNIST, and CIFAR-10. By distilling into a model rather than a fixed set of images, the authors achieve "redeployment efficiency," allowing for seamless scaling of the distilled dataset size without retraining the distillation pipeline.

Quantitative Results

The proposed method achieves state-of-the-art (SOTA) performance across multiple benchmarks. Notably, on CIFAR-10 with IPC=1, it reaches an accuracy of 52.3%, significantly outperforming previous generative and distribution-matching baselines.

Comparison of the proposed method against various state-of-the-art dataset distillation techniques across three datasets and different IPC settings.

Generalization and Visual Quality

Beyond raw accuracy, the inclusion of local feature matching significantly improves cross-architecture generalization. When a generator is optimized using one set of models and tested on unseen architectures like AlexNet or VGG11, it maintains higher performance than methods focusing solely on global logits. Qualitatively, the generated images are diverse and visually representative of their respective classes, maintaining the "look and feel" of the source data.

Conclusion and Future Work

By balancing global semantic structure with local geometric details, this generative distillation framework overcomes the limitations of static image sets. While the initial training of the cGAN and model pool optimization introduces some overhead, the resulting generator provides a highly flexible and robust tool for dataset compression. Future research may explore adaptive weighting for the loss components and scaling the approach to higher-resolution datasets.

Summary updated

BibTeX
@inproceedings{li2024generative,
  author = {Longzhen Li and Guang Li and Ren Togo and Keisuke Maeda and Takahiro Ogawa and Miki Haseyama},
  title = {{Generative Dataset Distillation: Balancing Global Structure and Local Details}},
  booktitle = {Workshops @ CVPR},
  year = {2024},
}
Figure