Diversity-Driven Synthesis: Enhancing Dataset Distillation through Directed Weight Adjustment

Jiawei Du, Xin Zhang, Juncheng Hu, Wenxin Huang, Joey Tianyi Zhou

Abstract

Dataset distillation (DD) aims to compress large-scale datasets into small, highly informative synthetic sets that can effectively train neural networks. While recent efficient distillation methods have scaled to large benchmarks like ImageNet-1K, they often suffer from information redundancy because synthetic images are generated in isolation. This paper introduces Directed Weight Adjustment (DWA), a novel framework designed to enhance the diversity of synthetic samples. By strategically perturbing the teacher model's weights and decoupling Batch Normalization loss, DWA ensures that each synthetic image captures distinct features of the original data distribution. Our method achieves state-of-the-art performance on ImageNet-1K with minimal computational overhead, demonstrating significant improvements in both accuracy and cross-architecture generalization.

Introduction

Training modern deep learning models requires massive datasets, posing significant challenges for storage, transmission, and processing. Dataset Distillation (DD) addresses this by creating a tiny "synthetic" dataset (e.g., 10 or 50 images per class) that retains the essential information of the original. Ideally, a model trained on this condensed set should achieve performance comparable to one trained on the full dataset.

Recent advancements in "efficient" distillation, such as SRe2L, have enabled scaling to large-scale benchmarks by synthesizing images individually to save memory. However, this isolated synthesis creates a "diversity gap." Because each image is generated without knowledge of the others, the process often converges on similar, redundant features, wasting the limited synthetic budget. This paper identifies the lack of a diversity mechanism as a primary bottleneck and proposes Directed Weight Adjustment (DWA) to force the generator to explore a broader feature space.

Methodology

The authors propose a two-pronged approach to inject diversity into the synthesis process: Decoupling Batch Normalization (BN) loss and implementing Directed Weight Adjustment.

Decoupling Batch Normalization Loss

Standard distillation often utilizes a BN loss to match the statistics of synthetic data to the original dataset. This loss typically consists of a "mean" term (matching average features) and a "variance" term (matching the spread of features). The authors' analysis reveals that the mean term acts as a "diversity killer," forcing synthetic images toward a central centroid and leading to homogeneity. By decoupling these terms and specifically strengthening the variance regularizer ($\lambda_{var}$), the method encourages synthetic samples to spread out more widely within the feature space.

Directed Weight Adjustment (DWA)

The core innovation of this work is Directed Weight Adjustment (DWA). Rather than using a static teacher model to guide the synthesis of every image, the authors perturb the teacher's weights ($\theta_T$) for each batch of synthetic data. This is not random noise; instead, the authors solve a small maximization problem to move the weights in a "directed" way that reflects the characteristics of a random subset of the original data.

In essence, DWA ensures that the synthesis process "sees" different facets of the original dataset for every new synthetic image created. This prevents the generator from getting stuck in repetitive patterns and ensures that the final synthetic set captures the full distribution of the data rather than just its most prominent features.

Experimental Evaluation

The researchers evaluated DWA across several standard computer vision benchmarks, including CIFAR-10/100, Tiny-ImageNet, and ImageNet-1K.

Large-Scale Performance

The most significant gains were observed on ImageNet-1K (224x224 resolution). At a budget of 10 images per class (ipc), DWA achieved 37.9% top-1 accuracy, a substantial improvement over the previous state-of-the-art (SRe2L) at 21.3%. At 100 ipc, the performance reached 59.2%. On CIFAR-100, DWA improved accuracy by over 8% compared to SRe2L when using a ResNet-18 backbone.

Cross-Architecture Generalization

A critical test for synthetic data is its ability to train models different from the one used during distillation. Synthetic datasets created with a ResNet-18 backbone using DWA performed significantly better when used to train MobileNetV2 or ShuffleNetV2. This suggests that the diversity injected by DWA results in robust, generalizable features rather than features overfitted to a specific teacher architecture.

Discussion and Efficiency

One of the primary advantages of DWA is its efficiency. Unlike "trajectory matching" methods that require massive GPU resources and long training times, DWA adds less than 8% to the synthesis time. This makes it a viable solution for massive datasets where computational budgets are a concern.

However, the method does have limitations. The theoretical framework relies heavily on Batch Normalization layers. While it can be adapted to Vision Transformers (ViTs) by adding BN layers, it is not yet a native "plug-and-play" solution for architectures that strictly use Layer Normalization. Additionally, the method introduces two hyperparameters—the number of adjustment steps ($K$) and the perturbation magnitude ($\rho$)—which may require tuning for new domains.

Conclusion

Directed Weight Adjustment represents a significant step forward in dataset distillation by prioritizing diversity alongside fidelity. By treating informative randomness as a feature rather than a bug, DWA allows efficient distillation methods to capture the complex distributions of large-scale datasets like ImageNet-1K. Future work may explore sequential logic in synthesis, where later images are explicitly forced to be different from previously generated ones, further pushing the boundaries of data compression in deep learning.

Summary updated

BibTeX
@inproceedings{du2024diversity,
  author = {Jiawei Du and Xin Zhang and Juncheng Hu and Wenxin Huang and Joey Tianyi Zhou},
  title = {{Diversity-Driven Synthesis: Enhancing Dataset Distillation through Directed Weight Adjustment}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=uwSaDHLlYc},
}
Figure