TL;DR
Traditional dataset distillation methods compress large datasets to train models from scratch, but modern vision pipelines increasingly rely on frozen, pretrained self-supervised learning (SSL) encoders. This paper introduces SRG (Self-Supervised Representation-Guided Generative Dataset Distillation), a framework that uses the geometric structure of SSL feature spaces to guide a diffusion model, generating highly effective, compact synthetic datasets tailored for downstream encoder adaptation.
What Problem Does This Paper Address?
Dataset distillation (DD) aims to shrink a massive dataset down to a tiny fraction of its size (e.g., 1 to 5 images per class) while preserving its training utility. However, a major paradigm shift has occurred in computer vision: instead of training networks from scratch, researchers and engineers typically freeze a massive pretrained encoder (like CLIP or DINOv2) and train a lightweight adaptation module (like a linear probe) on top.
Existing dataset distillation methods fall short in this new landscape:
- Non-generative methods optimize pixels directly to match gradients or trajectories. While effective at ultra-low budgets, they are computationally expensive, don't scale well to large datasets, and heavily overfit to one specific encoder.
- Generative methods use pretrained generative models (like diffusion models) to synthesize data on demand. However, their guidance strategies focus on the generator's internal latent space rather than the discriminative geometry of the downstream SSL encoder.
SRG bridges this gap by directly translating the geometric relationships of an SSL representation space into guidance signals for a generative diffusion pipeline.
Methods
SRG builds upon a pretrained Diffusion Transformer (DiT) and introduces a two-stage, representation-aware generation process:
1. Prototype Construction
Before generation, real images from the dataset are passed through the frozen target SSL encoder. Their $\ell_2$-normalized features are clustered using spherical K-means to create $K$ distinct class-wise prototypes (where $K$ is the desired number of images per class, or IPC). Each generation trajectory is then assigned to one specific prototype.
2. Stage-Wise Diffusion Guidance
During the iterative denoising process of the diffusion model, SRG applies a clever split-schedule guidance strategy:
- Early Denoising (Structure Formation): When the image is mostly noise, abstract semantic guidance is unreliable. Instead, SRG uses Latent-Space Anchoring, pulling the noisy latent toward the VAE latent space of the real image closest to the target prototype. This ensures a stable, realistic layout.
- Later Denoising (Semantic Refinement): Once coarse structures emerge, the framework switches to SSL-Space Guidance. The predicted clean latent is decoded and mapped into the SSL feature space, where three distinct differentiable objectives are applied:
- Prototype Alignment: Pulls the generated sample's representation toward its assigned class prototype.
- Inter-Class Discrimination: Pushes the sample away from the prototypes of other classes to preserve clear decision boundaries.
- Intra-Class Assignment: Prevents multiple generation trajectories within the same class from collapsing into the same visual mode.
Datasets
The authors evaluated their method on standard dataset distillation benchmarks derived from ImageNet-1K:
- ImageNet-IDC: A 10-class subset.
- ImageNet-100: A 100-class subset.
- ImageNet-1K: The full 1,000-class dataset.
- Fine-Grained Subsets: Woof (canine breeds), Fruits, and Instruments to test performance on visually similar classes.
- ImageNet-R: Used to evaluate out-of-distribution generalization across artistic styles (cartoons, sculptures, etc.).
Key Insights and Ideas
-
The Division of Labor in Denoising: Abstract self-supervised representations are only meaningful once an image has semantic content. Trying to enforce SSL guidance too early destroys image quality. Latent anchoring acts as a crucial bridge, letting the generator do what it does best early on, before steering it semantically later.
Figure 3: Comparison of intermediate images at different denoising timesteps for DiT, MGD3, and SRG. The denoising timesteps are arranged from 49 to 0. -
Generative Priors as Regularizers: Direct pixel optimization methods often create adversarial-looking noise patterns that work perfectly for one encoder but fail on others. Because SRG constrains its data to the natural image manifold of a pretrained generator, the distilled images generalize remarkably well across entirely different SSL architectures.
- Pushing to the Periphery: UMAP visualizations reveal that SRG doesn't just place synthetic samples at the exact center of a class cluster. For overlapping classes, the inter-class discrimination loss pushes generated samples toward the outer edges, effectively outlining and reinforcing the downstream decision boundaries.
Key Results
- State-of-the-Art Generative Performance: On ImageNet-100 (using DINOv2, IPC=5), SRG achieved 93.2% accuracy, significantly outperforming other generative distillation methods like MGD3 (90.2%) and IGD (89.6%).
- Favorable Scalability: While non-generative optimization methods like LGM and CLP-DD ran out of memory (OOM) on the full ImageNet-1K dataset due to tracking massive computation graphs, SRG scaled effortlessly, achieving 77.6% accuracy at IPC=5.
- Cross-Encoder Generalization: Datasets distilled using DINOv2 guidance retained high accuracy when evaluated on CLIP, EVA-02, or MoCov3. This proves that the distilled images capture fundamental semantic properties rather than encoder-specific artifacts.
Limitations and Future Work
- Dependence on Pretrained Generators: SRG relies heavily on a high-quality, pretrained generative model (like DiT trained on ImageNet). Its performance is fundamentally bounded by the generator's image manifold, making it difficult to apply to highly specialized domains (e.g., medical imaging or satellite data) where such generators don't exist.
- The IPC=1 Gap: At a strict budget of 1 image per class, direct pixel-optimization methods still hold an advantage. They have the freedom to pack dense, non-natural, multi-modal features into a single pixel grid, whereas SRG is constrained to generating a single, visually realistic object.
Summary updated