NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Dataset Quantization

Daquan Zhou, Kai Wang, Jianyang Gu, Xiangyu Peng, Dongze Lian, Yifan Zhang, Yang You, Jiashi Feng

Abstract

Modern deep learning relies on massive datasets, creating significant computational and storage bottlenecks. Dataset Quantization (DQ) is a novel framework that compresses large-scale datasets into small, representative subsets. By combining recursive binning for diversity and patch dropping for redundancy reduction, DQ achieves lossless performance on ImageNet with only 60% of the data and on Alpaca with 20%. Crucially, DQ is architecture-agnostic and orders of magnitude faster than traditional dataset distillation methods.

Introduction

The rapid advancement of state-of-the-art AI models is largely driven by the availability of massive datasets. However, training on millions of images or billions of tokens imposes a significant "compute tax," limiting research to entities with industrial-scale resources. Existing solutions like Dataset Distillation (DD) and Coreset Selection attempt to mitigate this, but they face critical trade-offs. DD is computationally expensive and often produces model-specific data that fails to generalize, while Coreset Selection often lacks the diversity required for high-performance training at low data ratios.

Researchers from Bytedance and the National University of Singapore propose Dataset Quantization (DQ), a framework designed to compress massive datasets into small, representative subsets. DQ aims to combine the high compression ratios of distillation with the speed and generalizability of coreset selection.

Methodology: Recursive Binning and Patch Dropping

The core innovation of DQ lies in its two-stage compression process: selecting the most informative samples and then reducing the redundancy within those samples.

Recursive Binning

Instead of selecting a single subset in one pass, DQ recursively divides the entire dataset into non-overlapping "bins" based on submodular gains. This mathematical approach ensures that each bin captures a distinct portion of the overall data distribution. By sampling uniformly across these diverse bins, the final subset maintains high coverage of the original feature space, avoiding the redundancy common in standard coreset methods.

Patch Dropping

Beyond image-level selection, DQ identifies redundancy within the images themselves. Using GradCAM++ to identify important regions and a Masked Auto-Encoder (MAE) to reconstruct missing parts, DQ drops non-informative image patches. This further reduces the storage and computational footprint of the subset without hurting training accuracy.

The Dataset Quantization framework: recursive selection of diverse subsets followed by patch-level redundancy reduction.

Experimental Results

The authors validated DQ across a wide variety of tasks, including vision classification (ImageNet-1K), object detection (COCO), and LLM instruction tuning (Alpaca).

Performance and Efficiency

DQ demonstrates remarkable efficiency. On ImageNet-1K, it achieves the same accuracy as the full dataset using only 60% of the data. For Large Language Models (LLMs), DQ found that only 20% of the Alpaca dataset is needed to reach the performance of the full 52k instruction set on benchmarks like BBH and DROP. Furthermore, DQ is nearly 400x faster than state-of-the-art distillation methods, quantizing ImageNet-1K in just 72 GPU hours compared to the 28,000 hours required by previous techniques.

Architecture Agnosticism and Generalization

A standout feature of DQ is its ability to generalize across different model architectures. Traditional distillation often produces "biased" data optimized for the specific model used during synthesis. In contrast, DQ selects real samples that retain their utility across architectures. As shown in the t-SNE visualizations, DQ maintains a more diverse and representative sample distribution compared to coreset selection and distillation, allowing a subset selected using a ResNet-18 to effectively train complex models like Swin Transformers or ConvNeXt.

Performance comparison and cross-architecture generalization of DQ versus baseline methods.

Conclusion

Dataset Quantization represents a significant step toward democratizing high-performance AI training. By prioritizing data diversity and minimizing intra-sample redundancy, DQ provides a scalable, architecture-agnostic solution for data efficiency. While the recursive selection process currently requires multiple passes over the data, future work aims to develop "one-pass" strategies to further enhance scalability for billion-scale datasets and multi-modal applications.

Summary updated

BibTeX
@inproceedings{zhou2023dataset,
  author = {Daquan Zhou and Kai Wang and Jianyang Gu and Xiangyu Peng and Dongze Lian and Yifan Zhang and Yang You and Jiashi Feng},
  title = {{Dataset Quantization}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
}
Figure