Structural Assessment for Understanding and Guiding Dataset Distillation in Discrete Token Space

Yue Cao, Jianyang Gu, Vyacheslav Kungurtsev, Yu Hu, Jozsef Hamari, Zheng Liu, Mohsen ZardadiarXiv 2026

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:

  1. 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.
  2. 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.
  3. 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.
Fig. 4: Qualitative comparison of images with high and low values of JSD, COV, and HHI metrics. Each row corresponds to one metric, with images on the left exhibiting high values and those on the right showing low values.

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.
Fig. 1: The discrete token distribution of airplane images in standard and remote sensing imagery. (a) The airplanes frequently use similar top tokens across datasets. (b) At the same time, they exhibit a large divergence (JSD=0.47) in their overall token distribution due to structural differences.

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.
Fig. 2: Structural score versus ground-truth validation accuracy on ImageWoof across dis- tilled datasets generated by multiple methods. We report the mean-squared error (MSE) over all data points. Note that TGDD (Ours) is only used for test but not for linear regression.
  • 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

Abstract

Dataset distillation (DD) has proven to reduce training cost while preserving accuracy. While promising, the factors that make one distilled dataset more effective than another remain poorly understood. In this work, we investigate this question through the lens of discrete visual tokenizers. Whereas many prior DD efforts emphasize matching global data distributions, we suggest that the effectiveness depends on which semantic concepts are captured and how they are composed. Discrete visual tokenizers provide a finite vocabulary that enables direct statistical analysis of such compositional structure. Through quantitative analysis of token-level statistics, we introduce the structural score to measure the adequacy of token compositions. We observe that distilled datasets with balanced token composition yield higher validation performance. On the other hand, divergence from the original data does not necessarily harm performance. We further show that samples with high structural scores in the discrete token space can effectively guide diffusion-based DD. Our findings highlight the importance of token composition in dataset effectiveness, offering a principled complement to distributional similarity considerations in DD.
BibTeX
@misc{cao2026structural,
  author = {Yue Cao and Jianyang Gu and Vyacheslav Kungurtsev and Yu Hu and Jozsef Hamari and Zheng Liu and Mohsen Zardadi},
  title = {{Structural Assessment for Understanding and Guiding Dataset Distillation in Discrete Token Space}},
  year = {2026},
  eprint = {2606.21705},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.21705},
}
Figure