Distributional Dataset Distillation with Subtask Decomposition

Tian Qin, Zhiwei Deng, David Alvarez-Melis

TL;DR

Dataset distillation typically compresses large datasets into synthetic "prototypes," but standard benchmarks often ignore the massive hidden storage costs of soft labels and augmentation parameters. Distributional Dataset Distillation ($D^3$) solves this by encoding classes into compact latent Gaussian distributions paired with a learned decoder, while using a Federated Distillation strategy to scale to large datasets via parallel subtask decomposition. This approach achieves state-of-the-art performance on ImageNet-1K and TinyImageNet under strict storage constraints (e.g., outperforming prior art by 6.9% on ImageNet-1K under a ~2 images-per-class budget).

What Problem Does This Paper Address?

Dataset distillation aims to synthesize a tiny proxy dataset such that a model trained on it matches the performance of a model trained on the full dataset. Traditionally, progress is measured in Images Per Class (IPC).

However, the authors point out a major blind spot: IPC is a misleading proxy for actual compression. Modern state-of-the-art methods frequently require storing hundreds of high-dimensional soft labels and data augmentation parameters for every prototype image. When accounting for actual disk space, these "distilled" sets often balloon to gigabytes, erasing the promised storage savings. Furthermore, complex decoding or augmentation pipelines significantly increase downstream training time.

To address this, the authors introduce a realistic three-dimensional evaluation framework:

  1. Total Storage Cost (MB): Measuring the real memory footprint of all distilled artifacts (images, decoders, soft labels, and metadata).
  2. Downstream Training Cost: Wall-clock time required to train models on the distilled data.
  3. Recovery Accuracy: Downstream test accuracy achieved by models trained on the proxy data.

Methods

Full Dataset (e.g., ImageNet-1K)
   │
   ├── Divide into disjoint class subtasks (e.g., 5 subsets of 200 classes)
   │
   ├── Local Distillation in Latent Space
   │     ├─ Latent Gaussian Priors: p(z|c) ~ N(μ_c, Σ_c)
   │     ├─ Shared Decoder: x = g_θ(z)
   │     └─ Dual Loss: Trajectory Matching (MTT) + MMD Feature Matching
   │
   └── Aggregate Distributions & Decoders ──> On-the-fly sampling during downstream training

1. Distilling into Distributions ($D^3$)

Instead of storing fixed image prototypes or deterministic latent vectors, $D^3$ models each class as a continuous probability distribution in a low-dimensional latent space: $$p(z \mid c) \sim \mathcal{N}(\mu_c, \Sigma_c)$$ A shared neural decoder $g_\theta$ maps sampled latent vectors back into pixel space. This allows downstream models to sample an unlimited variety of synthetic training examples "online" during training while storing only minimal statistics ($\mu, \Sigma$) and the decoder parameters $\theta$.

2. Dual Distillation Objective

The authors train the distributions and decoders using two complementary objectives:

  • Matching Training Trajectories (MTT): Aligns the student network's multi-step gradient descent trajectory with pre-computed expert trajectories trained on real data.
  • Maximum Mean Discrepancy (MMD): Minimizes the distribution discrepancy between real and generated feature representations using a mixture of five Radial Basis Function (RBF) kernels.

3. Federated Distillation

Distilling 1,000-class datasets directly with trajectory matching is memory-prohibitive. $D^3$ divides the full classification task into $k$ class-disjoint subtasks, trains local experts, and distills each subtask independently in parallel. The resulting subtask distributions and decoders are then aggregated for full-task training.

Datasets

The authors evaluated their method across several standard computer vision benchmarks:

  • ImageNet-1K: Resized to $64 \times 64 \times 3$ (1,000 classes, 1.2M images).
  • TinyImageNet: $64 \times 64 \times 3$ (200 classes, 100k images).
  • CIFAR-10 & CIFAR-100: $32 \times 32 \times 3$ (10 and 100 classes).
  • ImageNette & ImageWoof: Resized to $128 \times 128 \times 3$ (10 classes each).

No new datasets were introduced.

Key Insights and Ideas

  • Distributions beat discrete prototypes under low budgets: Sampling on-the-fly from latent Gaussian distributions acts as regularized, continuous data augmentation. This yields higher downstream accuracy and more visually interpretable prototype means than distilling fixed pixel arrays.
  • Subtask knowledge transfers across the full task: Counterintuitively, distributions distilled on small class subsets generalize well when aggregated back into the full classification task, enabling scalable, parallel dataset distillation.
  • Robustness to hard labels: While baseline methods experience catastrophic accuracy drops when soft labels are omitted, $D^3$ maintains high performance using standard hard labels, reducing storage overhead even further.

Key Results

  • ImageNet-1K:
  • At a 100MB budget (equivalent to ~2 IPC in raw images), $D^3$ achieves 17.4% accuracy on ConvNetD4 (vs. TESLA's 10.5%) and 16.0% on ResNet18 (vs. TESLA's 9.1% — an absolute +6.9% gain).
  • At an extreme 25MB budget (~0.5 IPC), $D^3$ reaches 11.5% on ConvNetD4 and 9.7% on ResNet18, regimes where prior methods cannot operate.
  • TinyImageNet: At 10MB (~1 IPC), $D^3$ achieves 26.0% accuracy, outperforming KFS (22.7%) and LinBa (16.0%). At 100MB (~10 IPC), it achieves 30.5% accuracy.
  • Cross-Architecture Transfer: Distributions learned via ConvNet transfer effectively to unseen architectures, achieving 25.7% on ResNet18 and 27.0% on VGG11 on TinyImageNet.

Limitations and Future Work

  • Increased Downstream Training Time: Because samples are generated on-the-fly from a continuous distribution, downstream models require more iterations and epochs to converge compared to small static prototype sets (e.g., 40 minutes on ResNet18 vs. 17 minutes for TESLA at the 100MB budget).
  • Subtask Partitioning Penalty: Distilling over more subtasks degrades accuracy compared to fewer subtasks (e.g., 10 subtasks achieved 9.7% on ImageNet-1K vs. 14.7% for 2 subtasks), meaning users must balance parallelism against distillation quality.
  • Scaling to High Resolutions: Experiments were primarily conducted on $32 \times 32$ and $64 \times 64$ images; validating performance at native ImageNet resolution ($224 \times 224$) remains future work.

Summary updated

BibTeX
@inproceedings{qin2024distributional,
  author = {Tian Qin and Zhiwei Deng and David Alvarez-Melis},
  title = {{Distributional Dataset Distillation with Subtask Decomposition}},
  booktitle = {DPFM @ ICLR},
  year = {2024},
  url = {https://openreview.net/forum?id=topXs3WXax},
}

Loading related content...

Figure