arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.15919cs.CV
收藏

大规模数据集蒸馏是否需要大规模软标签?

Are Large-scale Soft Labels Necessary for Large-scale Dataset Distillation?

CFAR, Agency for Science, Technology and Research, Singapore(新加坡科技研究局CFAR);National University of Singapore(新加坡国立大学);IHPC, Agency for Science, Technology and Research, Singapore(新加坡科技研究局IHPC)

Lingao Xiao, Yang He

AI总结:

针对大规模数据集蒸馏中软标签存储量过大的问题,提出类内组批的类内监督方法提升浓缩图像类内多样性,仅用随机剪枝即可实现40倍软标签压缩且性能提升2.6%。

摘要:

在ImageNet-condensation任务中,辅助软标签的存储量是浓缩数据集的30倍以上。然而,大规模数据集蒸馏是否真的需要大规模软标签?本文首先发现,浓缩数据集中的高类内相似性是使用大规模软标签的必要原因,而这种高类内相似性源于以往方法用不同类别的样本构建单一批次以进行批量归一化(BN)匹配。为降低类内相似性,我们在图像合成过程中引入类内监督,采用类内样本组批而非跨类组批的方式,从而提升类内多样性,缩减所需软标签的规模。图像多样性提升的一个关键优势是,仅通过简单的随机剪枝就能实现软标签压缩,无需复杂的基于规则的策略。实验验证了我们的发现:例如将ImageNet-1K浓缩至每类200张图像时,我们的方法将所需软标签从113GB压缩至2.8GB(压缩比40倍),同时性能提升2.6%。代码可在https://github.com/he-y/soft-label-pruning-for-dataset-distillation获取。

英文摘要:

In ImageNet-condensation, the storage for auxiliary soft labels exceeds that of the condensed dataset by over 30 times. However, are large-scale soft labels necessary for large-scale dataset distillation? In this paper, we first discover that the high within-class similarity in condensed datasets necessitates the use of large-scale soft labels. This high within-class similarity can be attributed to the fact that previous methods use samples from different classes to construct a single batch for batch normalization (BN) matching. To reduce the within-class similarity, we introduce class-wise supervision during the image synthesizing process by batching the samples within classes, instead of across classes. As a result, we can increase within-class diversity and reduce the size of required soft labels. A key benefit of improved image diversity is that soft label compression can be achieved through simple random pruning, eliminating the need for complex rule-based strategies. Experiments validate our discoveries. For example, when condensing ImageNet-1K to 200 images per class, our approach compresses the required soft labels from 113 GB to 2.8 GB (40x compression) with a 2.6% performance gain. Code is available at: https://github.com/he-y/soft-label-pruning-for-dataset-distillation

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑