arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.04848cs.CVcs.AI
收藏

训练用于无监督视觉表示学习的百万路实例分类器

Train a One-Million-Way Instance Classifier for Unsupervised Visual Representation Learning

Machine Intelligence Technology Lab, Alibaba Group(阿里巴巴集团机器智能技术实验室)

Yu Liu, Lianghua Huang, Pan Pan, Bin Wang, Yinghui Xu, Rong Jin

摘要:

本文提出了一种简单的无监督的视觉表示学习方法,其借口任务是使用参数化的实例级分类器来区分数据集中的所有图像。整个框架是监督分类模型的复制品,其中语义类(例如,dog、bird和ship)被实例ID替换。然而,将分类任务从数千个语义标签扩展到数百万个实例标签带来了特定的挑战,包括1)大规模softmax计算; 2)由于实例样本的访问不频繁而导致的缓慢收敛;以及3)大量可能有噪声的负类。这项工作提出了一些新的技术来处理这些困难。首先,我们引入了一个混合并行训练框架,使大规模训练变得可行。其次,我们提出了一个原始特征初始化机制的分类权重,我们假设提供了一个对比的例子歧视,可以明显加快收敛在我们的实验。最后,我们建议平滑一些最难的类的标签,以避免优化非常相似的负对。虽然在概念上很简单,但与最先进的无监督方法相比,我们的框架实现了具有竞争力或优越的性能,即,ImageNet线性评估协议下的Simplified、MoCoV 2和PIC以及几个下游视觉任务,验证了完整实例分类是许多语义视觉任务的强大预训练技术。

英文摘要:

This paper presents a simple unsupervised visual representation learning method with a pretext task of discriminating all images in a dataset using a parametric, instance-level classifier. The overall framework is a replica of a supervised classification model, where semantic classes (e.g., dog, bird, and ship) are replaced by instance IDs. However, scaling up the classification task from thousands of semantic labels to millions of instance labels brings specific challenges including 1) the large-scale softmax computation; 2) the slow convergence due to the infrequent visiting of instance samples; and 3) the massive number of negative classes that can be noisy. This work presents several novel techniques to handle these difficulties. First, we introduce a hybrid parallel training framework to make large-scale training feasible. Second, we present a raw-feature initialization mechanism for classification weights, which we assume offers a contrastive prior for instance discrimination and can clearly speed up converge in our experiments. Finally, we propose to smooth the labels of a few hardest classes to avoid optimizing over very similar negative pairs. While being conceptually simple, our framework achieves competitive or superior performance compared to state-of-the-art unsupervised approaches, i.e., SimCLR, MoCoV2, and PIC under ImageNet linear evaluation protocol and on several downstream visual tasks, verifying that full instance classification is a strong pretraining technique for many semantic visual tasks.

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

↑