用向量量化压缩软标签,让数据蒸馏更省存储
Vector-Quantized Soft Label Compression for Dataset Distillation
- 用向量量化自编码器压缩软标签,降低存储开销
- 在ImageNet-1K上实现40倍压缩,性能保留90%以上
- 适合大规模数据蒸馏场景,尤其对存储敏感的应用
数据蒸馏是一种新兴技术,通过合成小型但信息丰富的数据子集来降低机器学习模型训练的计算和存储成本。近期方法将合成样本及其增强版本与教师模型产生的软标签结合,使学生模型即使在小规模蒸馏数据下也能有效泛化。然而,软标签在存储和通信上的开销常被忽视,尤其是考虑增强时,每个蒸馏样本对应多个软标签,成为存储的主要负担,尤其在大类别设置如ImageNet-1K中尤为显著。本文对各类数据蒸馏框架中的比特需求进行严格分析,量化了蒸馏样本及其软标签的存储需求。为解决该问题,我们提出一种向量量化自编码器(VQAE)用于压缩软标签,在保持蒸馏效果的同时实现大幅压缩。我们在视觉与语言蒸馏基准上验证了该方法的有效性。在ImageNet-1K上,相比RDED、LPLD、SRE2L和CDA基线,我们的VQAE实现了30–40倍的额外压缩,同时保留超过90%的原始性能。
原文摘要 · Abstract (English)
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 $90\%$ of their original performance.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。