[论文解读] A Bag-of-Prototypes Representation for Dataset-Level Applications
本文提出了一种视觉数据集的原型袋(BoP)表征方法,通过将图像特征聚类为原型并构建直方图来编码数据集级别的语义分布。利用BoP向量之间的Jensen-Shannon散度,该方法在两项任务中实现了优越的性能:训练集适用性与测试集难度的度量,其在不同基准上的相关性与准确度预测方面均优于现有方法。
This work investigates dataset vectorization for two dataset-level tasks: assessing training set suitability and test set difficulty. The former measures how suitable a training set is for a target domain, while the latter studies how challenging a test set is for a learned model. Central to the two tasks is measuring the underlying relationship between datasets. This needs a desirable dataset vectorization scheme, which should preserve as much discriminative dataset information as possible so that the distance between the resulting dataset vectors can reflect dataset-to-dataset similarity. To this end, we propose a bag-of-prototypes (BoP) dataset representation that extends the image-level bag consisting of patch descriptors to dataset-level bag consisting of semantic prototypes. Specifically, we develop a codebook consisting of K prototypes clustered from a reference dataset. Given a dataset to be encoded, we quantize each of its image features to a certain prototype in the codebook and obtain a K-dimensional histogram. Without assuming access to dataset labels, the BoP representation provides a rich characterization of the dataset semantic distribution. Furthermore, BoP representations cooperate well with Jensen-Shannon divergence for measuring dataset-to-dataset similarity. Although very simple, BoP consistently shows its advantage over existing representations on a series of benchmarks for two dataset-level tasks.
研究动机与目标
- 为解决缺乏有效工具对大规模数据集进行数据集级别分析的问题,特别是评估训练集适用性与测试集难度。
- 开发一种无需标签或任务特定训练即可保留判别性语义信息的数据集向量化方案。
- 实现无监督、低维且语义丰富的数据集表征,用于度量数据集间的相似性。
- 通过量化测试集相对于训练集的挑战程度,提高模型评估的可靠性。
- 建立一个简单但有效的数据集级别分析基线,其性能优于现有的统计方法与任务特定表征。
提出的方法
- 通过K-means或类似聚类方法,从参考数据集的图像特征中构建K个语义原型的词典。
- 对于任意目标数据集,将每张图像的特征向量量化为词典中最接近的原型,形成K维直方图。
- 对直方图进行归一化,生成最终的BoP表征,以捕捉数据集的语义分布。
- 使用两个数据集BoP向量之间的Jensen-Shannon(JS)散度作为数据集级别任务的相似性度量。
- 将BoP + JS框架应用于无需标签或微调即可评估训练集适用性与测试集难度。
- 在BoP特征上训练神经网络回归器,以预测模型在未见测试集上的准确率。
实验结果
研究问题
- RQ1一种简单且无监督的数据集表征能否有效捕捉语义分布以支持数据集级别分析?
- RQ2与现有度量方法相比,BoP表征结合JS散度在度量数据集间相似性方面表现如何?
- RQ3BoP在预测未见测试集上的模型准确率方面表现如何,尤其是在分布偏移情况下?
- RQ4BoP性能对词典大小的敏感程度如何?最优词典大小是多少?
- RQ5在评估训练集适用性与测试集难度方面,BoP是否优于任务特定或统计基线方法?
主要发现
- 在CIFAR-10.2-\bar{C}测试集上,BoP表征在预测分类准确率方面实现了最低的RMSE(4.551),优于第二好的方法1.051。
- BoP向量JS散度与模型准确率之间的Spearman等级相关系数|ρ| > 0.99,表明其具有极强的预测能力。
- 当词典大小超过20时,相关性得分趋于稳定,且在所有四种模型架构上均保持一致的高性能。
- 与“预测得分”方法相比,BoP更稳定且更有效,后者在不同阈值下表现出高方差与较差性能。
- 在大多数测试场景中,BoP优于DoC与网络回归基线,尤其在真实世界数据集与更高严重程度的合成数据集上表现更优。
- BoP + JS框架为数据集级别分析任务提供了一种鲁棒、无需标签且计算高效的解决方案。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。