Vector-Quantized Soft Label Compression for Dataset Distillation
Organizations: Vanderbilt University · University of California, Davis
Abstract
Dataset distillation is an emerging technique for reducing the computational and storage costs of training machine learning models by synthesizing a small, informative subset of data that captures the essential characteristics of a much larger dataset. Recent methods pair synthetic samples and their augmentations with soft labels from a teacher model, enabling student models to generalize effectively despite the small size of the distilled dataset. While soft labels are critical for effective distillation, the storage and communication overhead they incur, especially when accounting for augmentations, is often overlooked. In practice, each distilled sample is associated with multiple soft labels, making them the dominant contributor to storage costs, particularly in large-class settings such as ImageNet-1K. In this paper, we present a rigorous analysis of bit requirements across dataset distillation frameworks, quantifying the storage demands of both distilled samples and their soft labels. To address the overhead, we introduce a vector-quantized autoencoder (VQAE) for compressing soft labels, achieving substantial compression while preserving the effectiveness of the distilled data. We validate our method on both vision and language distillation benchmarks. On ImageNet-1K, our proposed VQAE achieves 30--40x additional compression over RDED, LPLD, SRE2L, and CDA baselines while retaining over of their original performance.
Figures & tables
| Method | IPC 10 | IPC 20 | IPC 50 | IPC 100 | |
| Comp. 1× | RDED | 39.3{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\pm 0.5} | 48.3{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\pm 0.2} | 55.0{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\pm 0.1} | 58.6{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\pm 0.3} |
| LPLD | 36.6{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\pm 0.8} | 47.0{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\pm 0.1} | 54.8{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\pm 0.4} | 58.5{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\pm 0.2} | |
| SRE2L | 34.2{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\pm 0.5} | 42.8{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\pm 0.4} | 50.4{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\pm 0.1} | 54.9{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\pm 0.2} | |
| CDA | 33.7{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\pm 0.2} | 43.8{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\pm 0.3} | 52.1{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\pm 0.8} | 56.6{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\pm 0.2} | |
| Compression 10× | RDED + LPLD | 39.1{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\phantom{0.000}} | 48.1{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\phantom{0.000}} | 54.3{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\phantom{0.000}} | 57.8{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\phantom{0.000}} |
| RDED + Ours | 39.7{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\pm 0.4} | 48.5{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\pm 0.3} | 55.0{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\pm 0.2} | 58.6{\color[rgb]{0.5,0.5,0.5}\scriptscriptstyle\pm 0.2} |
| Model | #Params | Method | Dolly | SelfInst | Vicuna |
| GPT‑2 | 1.5B | Teacher | 27.6 | 14.3 | 16.3 |
| 120M | SFT w/o KD | 23.3 | 10.0 | 14.7 | |
| KD | 22.8 | 10.8 | 13.4 | ||
| SeqKD | 22.7 | 10.1 | 14.3 | ||
| Ours | 23.5 | 10.4 | 15.2 | ||
| 760M | SFT w/o KD | 25.4 | 12.4 | 16.1 |
| Comp. | Method | Value |
| 1× | No compression | 39.3 |
| 10× | Quant. (7.98×, 2 bits) | 34.1 |
| Quant. (5.36×, 3 bits) | 36.1 | |
| 40× | PCA (24 PCs) | 8.9 |
| RPCA (24 PCs) | 8.1 | |
| Topk (k=15) | 20.1 |
| Method | IPC | Image Size (GB) | Label Size (GB) | Total Size (GB) |
| RDED | 10 | 0.127 | 5.588 | 5.715 |
| 20 | 0.250 | 11.176 | 11.426 | |
| 50 | 0.610 | 27.940 | 28.550 | |
| 100 | 1.230 | 55.879 | 57.109 | |
| SRe2L | 10 | 0.150 | 5.588 | 5.738 |
| 20 | 0.300 | 11.176 | 11.476 |
| Rate | IPC | Ours (GB) | LPLD (GB) |
| 10x | 10 | 0.558 | 0.559 |
| 20 | 1.114 | 1.118 | |
| 50 | 2.779 | 2.794 | |
| 100 | 5.556 | 5.588 | |
| 20x | 10 | 0.257 | 0.279 |
| 20 | 0.511 | 0.559 |
| Comp. Rate | |||
| 10x | 795 | 5 | 1024 |
| 20x | 990 | 15 | 2048 |
| 30x | 1000 | 20 | 1024 |
| 40x | 1000 | 25 | 512 |
| 100x | 1000 | 50 | 128 |
| 200x | 1000 | 100 | 64 |
| Method | 100× | 200× | ||
| IPC 10 | IPC 20 | IPC 10 | IPC 20 | |
| RDED + LPLD | ||||
| RDED + Ours | 14.85 | 24.73 | ||
| LPLD + LPLD | ||||
| LPLD + Ours | 25.43 | 33.58 | ||
| SRE2L + LPLD | ||||
Dataset Distillation
Dataset distillation compresses training data into a small synthetic or selected set that retains the information needed to train useful models.
See all 65 papers