Exploring the Impact of Dataset Bias on Dataset Distillation

Yao Lu, Jianyang Gu, Xuguang Chen, Saeed Vahidian, Qi Xuan · DOI

Abstract

Dataset Distillation (DD) has emerged as a critical technique for reducing the computational overhead of deep learning by synthesizing small, highly informative datasets from massive source data. However, the assumption that source data is unbiased rarely holds in real-world scenarios. This paper provides the first systematic investigation into how dataset bias—unintended correlations between labels and spurious attributes—affects the distillation process. By evaluating three representative DD methods (DC, DSA, and DM) across newly developed biased benchmarks, we reveal that while bias is faithfully distilled into synthetic sets, certain distillation methods exhibit a surprising "debiasing" potential under extreme conditions. Our findings suggest that DD can act as a natural noise filter, sometimes allowing models trained on distilled data to outperform those trained on the full, biased original dataset.

Introduction

As the scale of deep learning datasets continues to grow, Dataset Distillation (DD) has become an essential tool for creating compact, synthetic versions of data that retain the performance of their full-scale counterparts. While significant progress has been made in improving the efficiency and accuracy of DD, most research assumes the source data is "clean." In practice, datasets often contain biases—spurious correlations where a model might learn to identify a class based on a background attribute (e.g., associating "camels" with "deserts") rather than the object itself.

This study addresses a fundamental gap in the literature: Does the distillation process amplify, mitigate, or simply inherit the biases present in the source data? Understanding this relationship is vital for deploying DD in real-world applications where data integrity cannot be guaranteed.

Methodology

To evaluate the impact of bias, the researchers analyzed three foundational DD approaches:

  1. Dataset Condensation (DC): Focuses on matching the gradients of the synthetic data to those of the original data during training.
  2. Differentiable Siamese Augmentation (DSA): An extension of DC that incorporates data augmentation to improve the generalization of the distilled samples.
  3. Distribution Matching (DM): A method that aligns the feature distributions of synthetic and real datasets within a sampled embedding space.

The study introduces the Biased Rate metric, defined as the ratio of "bias-aligned" samples (where the label and spurious attribute correlate) to "bias-conflicting" samples. By varying this rate, the authors could precisely control the severity of the bias during the distillation process.

Experimental Setup

Since standard DD benchmarks lack controlled bias, the authors developed two new datasets:

  • CMNIST-DD: A modified MNIST dataset where specific digits are injected with specific colors (e.g., at high bias, the digit '0' is almost exclusively red).
  • CCIFAR10-DD: A variation of CIFAR-10 where specific corruptions (such as snow, fog, or pixelation) are correlated with specific classes (e.g., airplanes appearing only in snowy environments).

Six versions of each dataset were generated, with biased ratios ranging from 0% (perfectly balanced) to 100% (completely biased).

Key Insights

The Distillation of Bias

Visual analysis of the distilled images confirms that DD methods are highly effective at capturing bias. In 100% biased scenarios, the synthetic images for a class often share identical spurious attributes (like color or texture), indicating that the distillation algorithms identify these shortcuts as "core" features necessary for minimizing the training loss.

The Performance Cliff

As the biased ratio increases, particularly beyond the 50% mark, the performance of models trained on distilled data drops precipitously when tested on unbiased sets. The distillation process struggles to differentiate between essential semantic features (the shape of a digit) and the shortcut features (the background color).

The Extreme Bias Paradox

One of the most significant findings of the study is the "Extreme Bias Paradox." At very high bias levels (95%–100%), certain DD methods—specifically Distribution Matching (DM)—actually produced models that outperformed those trained on the full original dataset. For example, on CCIFAR10-DD at a 95% bias ratio, the full dataset achieved 37.34% accuracy on an unbiased test set, while the DM-distilled version reached 38.23%. This suggests that the distillation process, by seeking the most "representative" samples, may naturally filter out some of the noise introduced by extreme bias.

Results Summary

  • CMNIST-DD: At 100% bias, models trained on the full dataset achieved only 8.89% accuracy on unbiased tests (near random guessing). Distilled versions performed similarly, with DM reaching 6.45%.
  • CCIFAR10-DD: The resilience of DD was more apparent here. At 95% bias, the DM method's ability to outperform the full dataset highlights a potential use case for DD as a robust training pre-processor.
  • Sensitivity to Severity: The research also found that biased datasets are significantly more sensitive to the intensity of the bias (e.g., how vivid the color injection is), leading to faster performance degradation compared to unbiased sets.

Conclusion and Future Work

This research establishes that while DD generally inherits the flaws of its source data, it also possesses inherent properties that could be leveraged for debiasing. The authors propose a new mathematical objective for "Biased DD" that aims to minimize the impact of spurious attributes while maximizing the retention of semantic features.

Future research directions include:

  1. Implementing and testing specific "debiased" distillation algorithms based on the proposed framework.
  2. Scaling these investigations to larger datasets like ImageNet.
  3. Investigating the architectural reasons why Distribution Matching appears more resilient to bias than Gradient Matching methods.

Summary updated

BibTeX
@misc{lu2024exploring,
  author = {Yao Lu and Jianyang Gu and Xuguang Chen and Saeed Vahidian and Qi Xuan},
  title = {{Exploring the Impact of Dataset Bias on Dataset Distillation}},
  year = {2024},
  eprint = {2403.16028},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.16028},
}
Figure