Muhammad J. Alahmadi1,2 📧, Peng Gao1, Feiyi Wang3, Dongkuan (DK) Xu1
1North Carolina State University · 2King Abdulaziz University · 3Oak Ridge National Laboratory
🧠 TL;DR
E²D delivers 4–18× faster dataset distillation by removing redundancy in initialization and optimization through full‑image initialization and a novel targeted‑optimization strategy that eliminates redundant computation.
- 2026-02: Initial public release of the E²D codebase.
Dataset distillation compresses the original data into compact synthetic datasets, reducing training time and storage while retaining model performance, enabling deployment under limited resources. Although recent decoupling-based distillation methods enable dataset distillation at large-scale, they continue to face an efficiency gap: optimization‑based decoupling methods achieve higher accuracy but demand intensive computation, whereas optimization‑free decoupling methods are efficient but sacrifice accuracy. To overcome this trade‑off, we propose Exploration–Exploitation Distillation (E²D), a simple, practical method that minimizes redundant computation through an efficient pipeline that begins with full-image initialization to preserve semantic integrity and feature diversity. It then uses a two‑phase optimization strategy: an exploration phase that performs uniform updates and identifies high‑loss regions, and an exploitation phase that focuses updates on these regions to accelerate convergence. We evaluate E²D on large-scale benchmarks, surpassing the state-of-the-art on ImageNet‑1K while being 18× faster, and on ImageNet‑21K, our method substantially improves accuracy while remaining 4.3× faster. These results demonstrate that targeted, redundancy-reducing updates, rather than brute-force optimization, bridge the gap between accuracy and efficiency in large-scale dataset distillation.
This repository contains the official implementation of
“Accelerating Large-Scale Dataset Distillation via Exploration–Exploitation Optimization.”
Branch_ImageNet_1K— ImageNet-1K experimentsBranch_ImageNet_21K— ImageNet-21K experiments
Each branch provides a run.sh script that executes the full pipeline, from data synthesis to student training. Script hyperparameters match the paper; IPC and dataset paths are configurable at the top of each script.
E²D follows a decoupled dataset distillation framework with three stages:
- Recover — synthesize distilled images
- Relabel — generate soft labels
- Train — train student models using distilled data and its soft labels.
For ImageNet-21K, IPC is specified as a range to support progressive synthesis.
For ImageNet-1K, IPC denotes the total number of distilled images per class and supports multi-GPU execution.
Baseline procedures follow EDC (ImageNet-1K) and CDA (ImageNet-21K).
- Python 3.9+
- Dependencies listed in
requirements.txt
- ImageNet-1K
- ImageNet-21K (Winter 2021 release, preprocessed)
Datasets can be obtained from the official ImageNet website, and they must follow the directory structure required by the ImageFolder. For additional guidance, refer to RDED repository.
- ImageNet-1K: Official pretrained model (no download required)
- ImageNet-21K: Pretrained teacher model (from CDA). Download it from this link and place it at
Branch_ImageNet_21K/model/imagenet-21k_resnet18.pth.
For faster setup, ImageNet-1K statistics can be downloaded from the EDC repository and also on this link.
- Our distilled datasets can be downloaded from this link
E2D Repo/
├─ Branch_ImageNet_1K/
│ ├─ recover/ # Data synthesis
│ │ └─ statistic # Statistics collected from squeeze stage
│ │ ├─ BNFeatureHook
│ │ └─ ConvFeatureHook
│ ├─ relabel/ # Soft label generation
│ ├─ train/ # Student model training and evaluation
│ └─ run.sh # Full experiment script
├─ Branch_ImageNet_21K/
│ ├─ recover.py # Data synthesis
│ ├─ relabel/ # Soft label generation (not used directly)
│ ├─ validate/ # Soft labeling + model training and evaluation
│ ├─ model/ # Pretrained teacher model
│ │ └─ imagenet-21k_resnet18.pth
│ └─ run.sh # Full experiment script
├─ requirements.txt
└─ README.md
- EDC — Elucidating the Design Space of Dataset Condensation
- SRe2L — Squeeze, Recover and Relabel
- CDA — Dataset Condensation via Curriculum Data Synthesis
- RDED — On the Diversity and Realism of Distilled Dataset
- G-VBSM — Generalized Large-Scale Data Condensation
If you find this work useful, please cite:
@article{alahmadi2026e2d,
title = {Accelerating Large-Scale Dataset Distillation via Exploration--Exploitation Optimization},
author = {Muhammad J. Alahmadi and Peng Gao and Feiyi Wang and Dongkuan Xu},
journal = {arXiv preprint arXiv:2602.15277},
year = {2026}
}