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

更深入地审视基于图像分类的自监督预训练基准测试

A Closer Look at Benchmarking Self-Supervised Pre-training with Image Classification

California Institute of Technology(加州理工学院);ETH Zurich(苏黎世联邦理工学院);Swiss Data Science Center(瑞士数据科学中心);Empa, Swiss Federal Laboratories for Materials Science and Technology(瑞士联邦材料科学与技术实验室);Altos Labs(阿尔托斯实验室);Bank for International Settlements (BIS)(国际清算银行)

Markus Marks, Manuel Knott, Neehar Kondapaneni, Elijah Cole, Thijs Defraeye, Fernando Perez-Cruz, Pietro Perona

AI总结:

本研究系统评估了自监督预训练的分类评估协议,发现线性/kNN探测是域外性能的最佳预测器,并揭示模型骨干变化解释了判别式与生成式SSL方法的主要性能差异。

摘要:

自监督学习(SSL)是一种机器学习方法,其中数据本身提供监督,从而消除了对外部标签的需求。模型被迫通过解决前置任务来学习数据结构或上下文。借助SSL,模型可以从丰富且廉价的无标签数据中学习,显著降低在标签昂贵或难以获取时训练模型的成本。在计算机视觉中,SSL被广泛用作预训练,随后应用于下游任务,如监督迁移、在较小标注数据集上的少样本学习,以及/或无监督聚类。遗憾的是,在所有可能的下游任务上评估SSL方法并客观衡量学习表示的质量是不可行的。相反,SSL方法使用域内评估协议进行评估,如微调、线性探测和k近邻(kNN)。然而,这些评估协议在不同条件下(如数据集、度量和模型架构)如何估计预训练模型对不同下游任务的表示质量,目前尚不十分清楚。我们研究了基于分类的SSL评估协议之间的相关性,以及它们在不同数据集类型上预测下游性能的能力。我们的研究包括11个常见图像数据集和26个使用不同SSL方法或具有不同模型骨干进行预训练的模型。我们发现,域内线性/kNN探测协议平均而言是域外性能的最佳通用预测器。我们进一步研究了批归一化的重要性,并评估了不同数据集域偏移下相关性的稳健性。我们对判别式和生成式自监督方法之间关系的假设提出了挑战,发现它们的大部分性能差异可以通过模型骨干的变化来解释。

英文摘要:

Self-supervised learning (SSL) is a machine learning approach where the data itself provides supervision, eliminating the need for external labels. The model is forced to learn about the data structure or context by solving a pretext task. With SSL, models can learn from abundant and cheap unlabeled data, significantly reducing the cost of training models where labels are expensive or inaccessible. In Computer Vision, SSL is widely used as pre-training followed by a downstream task, such as supervised transfer, few-shot learning on smaller labeled data sets, and/or unsupervised clustering. Unfortunately, it is infeasible to evaluate SSL methods on all possible downstream tasks and objectively measure the quality of the learned representation. Instead, SSL methods are evaluated using in-domain evaluation protocols, such as fine-tuning, linear probing, and k-nearest neighbors (kNN). However, it is not well understood how well these evaluation protocols estimate the representation quality of a pre-trained model for different downstream tasks under different conditions, such as dataset, metric, and model architecture. We study how classification-based evaluation protocols for SSL correlate and how well they predict downstream performance on different dataset types. Our study includes eleven common image datasets and 26 models that were pre-trained with different SSL methods or have different model backbones. We find that in-domain linear/kNN probing protocols are, on average, the best general predictors for out-of-domain performance. We further investigate the importance of batch normalization and evaluate how robust correlations are for different kinds of dataset domain shifts. We challenge assumptions about the relationship between discriminative and generative self-supervised methods, finding that most of their performance differences can be explained by changes to model backbones.

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

↑