TL;DR
Dataset distillation (DD) aims to shrink massive training sets into tiny, highly efficient synthetic surrogates, but understanding what makes a distilled dataset truly effective has long been a black box. This paper flips the script by analyzing distilled data through the lens of discrete visual tokenizers, introducing a training-free "structural score" that evaluates how semantic concepts are composed. By leveraging this score to select optimal guidance anchors, their proposed Token-Guided Dataset Distillation (TGDD) framework consistently outperforms state-of-the-art diffusion-based distillation methods.
What Problem Does This Paper Address?
While dataset distillation has made rapid empirical progress, the underlying factors governing a surrogate dataset's quality remain poorly understood. Traditional approaches focus heavily on matching continuous global data distributions (e.g., aligning features, gradients, or optimal transport statistics between real and synthetic data).
However, the authors point out a critical flaw: simply being close to real data in a continuous embedding space doesn't guarantee that a surrogate dataset captures essential semantic structures. It can still collapse rare concepts, overrepresent trivial features, or fail to span the diverse variations necessary for robust model training. To solve this, the paper investigates a fundamental question: What properties of a surrogate dataset, beyond basic distributional similarity, actually govern its training effectiveness?
Methods
Instead of working in high-dimensional, heavily entangled continuous feature spaces, the authors map images into a discrete token space using a visual tokenizer (like VQ-VAE). This turns each image into a sequence of indices from a finite vocabulary, making direct statistical analysis possible.
The authors propose a Structural Score composed of three token-level metrics:
- Contextual Fit (via Jensen–Shannon Divergence, JSD): Measures how much an individual image's token distribution diverges from its class average. Lower JSD means the sample has more typical, representative compositional patterns.
- Compositional Richness (via the Herfindahl–Hirschman Index, HHI): Evaluates the balance of token usage. A lower HHI indicates that an image combines a broad set of distinct visual primitives rather than repeating just a few.
- Categorical Presence (via Coverage Rate, COV): Uses TF-IDF to identify class-discriminative tokens from the real dataset and measures how well the surrogate image covers them.
By fitting a linear regression model mapping these metrics to downstream validation accuracy, they establish a reliable predictor of dataset quality.
Building on this diagnostic tool, they introduce Token-Guided Dataset Distillation (TGDD). TGDD clusters real data within the discrete token space (using PCA and $L_2$-normalized $k$-means) and ranks the samples using the structural score to select the best "anchors." These high-quality anchors are then averaged and injected as guidance signals into a diffusion model (like DiT or LDM) to generate superior synthetic training images.
Datasets
The method was thoroughly evaluated on several standard and high-resolution computer vision benchmarks:
- ImageWoof & ImageNette: Subsets of ImageNet; ImageWoof is particularly challenging due to its fine-grained classes (10 different dog breeds).
- ImageIDC
- ImageNet-100 & ImageNet-1k: Scaled benchmarks to test the framework's capability on complex, diverse data.
- EuroSAT: A remote sensing dataset used specifically to test how well the structural score generalizes to entirely different visual domains without retraining.
Key Insights and Ideas
- Balance Over Proximity: The linear regression coefficients revealed that Compositional Richness (low HHI) is the single most dominant predictor of validation accuracy. Intriguingly, merely minimizing token-level divergence from the original dataset (JSD) does not reliably correlate with better performance. A distilled dataset can diverge from the original data distribution and still perform exceptionally well, provided its token composition remains rich and balanced.
- Discrete Spaces Clarify Semantics: Discrete visual tokenizers provide a finite vocabulary that acts like "words" in an image. As shown in Figure 1, even when two domains (like standard ImageNet images and satellite remote sensing imagery) look completely different, they share high-frequency tokens for shared primitives (like airplanes), allowing researchers to bypass domain-specific artifacts and isolate core semantic structures.
Key Results
- High Accuracy Correlation: The structural score demonstrated a powerful correlation with ground-truth validation accuracy across multiple distinct distillation paradigms (optimization-based, selection-based, and generative methods), achieving a remarkably low Mean Squared Error (MSE = 7.504) on ImageWoof.
- State-of-the-Art Performance: TGDD consistently outperformed competitive baselines. On the challenging fine-grained ImageWoof dataset (at 50 images-per-class using a ResNet-18), TGDD achieved 61.5% accuracy, outperforming the previous state-of-the-art generative method, $\text{MGD}^3$ (58.3%).
- Cross-Domain Generalization: When applied directly to the EuroSAT remote sensing dataset using the exact coefficients derived from ImageWoof, the structural score tracked perfectly with downstream validation accuracy as the distillation iterations progressed (moving from a score of -76.7 at 11.5% accuracy to a score of 2.2 at 61.1% accuracy).
Limitations and Future Work
While highly effective, the framework relies on a pre-trained discrete visual tokenizer. The performance and granularity of the structural score are inherently bound to the vocabulary and codebook quality of the underlying tokenizer (e.g., VQ-VAE or VQGAN). Additionally, while the relative importance of the metrics (HHI being the most critical) remains stable across datasets, the absolute linear regression coefficients can vary slightly depending on the target dataset. Future work could explore non-linear combinations of these token statistics or investigate adaptive tokenizers tailored specifically for dataset distillation tasks.
Summary updated