Introduction
CoDA (Core Distribution Alignment) is a training-free dataset distillation framework that leverages off-the-shelf text-to-image models to synthesize highly representative, compact datasets. By identifying the "intrinsic core distribution" of a target dataset and steering a foundation model to align with it, CoDA achieves state-of-the-art performance on benchmarks like ImageNet-1K without the massive computational overhead of training generative models from scratch.
The Challenge of Dataset Distillation
Dataset Distillation (DD) aims to condense massive datasets into a few synthetic images that retain enough information to train high-performing models. Recently, researchers have turned to Diffusion Models to generate these synthetic sets. However, this approach faces a "cart before the horse" paradox: most current methods require training a diffusion model on the entire target dataset first. For a dataset like ImageNet, this can cost upwards of 3,000 TPU-days—defeating the primary goal of DD, which is computational efficiency.
Alternatively, using "off-the-shelf" models like Stable Diffusion leads to a distributional mismatch. These foundation models have "web-scale priors" that might not match the specific semantics of a target dataset. For example, a model might generate a car part when prompted for a "bonnet," while the target dataset contains images of hats. CoDA aims to bridge this gap without any target-specific model training.
The CoDA Methodology
CoDA introduces a two-stage, training-free pipeline to overcome these limitations:
1. Distribution Discovery
The goal is to find the most representative real samples from the target dataset. Instead of using K-Means, which struggles with the non-convex nature of latent spaces, the authors use a density-based approach.
- Images are mapped into a VAE latent space, then dimensionality-reduced using UMAP to "unfold" the manifold.
- HDBSCAN (a density-based clustering algorithm) identifies high-density "core" regions.
- A novel SplitCluster and ForcedSplit mechanism ensures the number of discovered samples exactly matches the desired "Images Per Class" (IPC) budget.
2. Distribution Alignment
This stage steers an off-the-shelf model (like SDXL) to generate images that match the "core" samples found in Stage 1. The authors modify the diffusion sampling process by adding a dynamic guidance term. At each denoising step, the model calculates a guidance vector between the current predicted image and the target "core" sample. This vector is translated into a correction in the noise space, effectively "nudging" the foundation model to produce images that align with the target dataset's specific semantics while retaining the high visual quality of the foundation model.
Key Insights and Performance
CoDA was evaluated across a wide range of benchmarks, including ImageNet-1K, ImageNet Subsets (ImageNette, ImageIDC, ImageWoof), Robustness Benchmarks (ImageNet-A through E), and new domains like Places365 and DRIVE (medical imaging).
- The "Intrinsic Core" Hypothesis: The authors argue that a dataset's most representative information lives in high-density regions of its data manifold. By targeting these "cores" rather than cluster centroids, they capture more stable and discriminative features.
- UMAP is Essential: Raw VAE latent spaces are often too diffuse for effective clustering. UMAP is critical for disentangling these features into distinct "islands" that HDBSCAN can then accurately cluster.
- State-of-the-Art on ImageNet-1K: CoDA established a new SOTA accuracy of 60.4% at the 50-IPC setup, outperforming even the most expensive training-heavy methods.
- Massive Efficiency Gains: While prior methods required thousands of TPU-days for pre-training, CoDA’s "Discovery" stage on ImageNet-1K takes only 2.2 hours on standard CPUs.
- Domain Versatility: On the DRIVE medical dataset, CoDA successfully synthesized retinal images that were visually consistent with the real data, proving it can handle specialized domains without any manual intervention or fine-tuning.
Limitations and Future Work
While highly effective, CoDA has some limitations. The authors noted that the optimal settings for UMAP and HDBSCAN (like min_cluster_size) can drift slightly depending on the dataset. They suggest developing a meta-learning model that can automatically analyze a dataset's intrinsic variance and density to select these hyperparameters without human tuning. Furthermore, while training-free, the method's upper bound is still influenced by the quality and breadth of the underlying foundation model. Expanding this to even larger or more specialized foundation models could yield further gains.
Summary updated