Trip-ROMA:基于三元组与随机映射的自监督学习
Trip-ROMA: Self-Supervised Learning with Triplets and Random Mappings
AI总结:
针对小数据场景下自监督学习负样本不足或无负样本易过拟合的问题,提出仅需单负样本的三元组损失结合即插即用随机映射的Trip-ROMA方法,在多个数据集上验证了其有效性及对其他SSL方法的提升作用。
摘要:
对比式自监督学习(SSL)方法,如MoCo和SimCLR,已在无监督视觉表征学习中取得巨大成功。这类方法依赖大量负样本对,因此需要大容量记忆库或大批次训练。近期一些非对比式SSL方法,如BYOL和SimSiam,尝试舍弃负样本对,也展现出了优异性能。为避免不使用负样本对导致的解坍缩,这些方法需要复杂的非对称设计。然而在小数据场景下,我们既无法获得足够数量的负样本对,在完全不使用负样本时也无法有效避免过拟合问题。针对这一情况,我们认为负样本对仍然重要,但每个正样本对通常只需一个负样本对即可。我们证明,一种简单的基于三元组的损失(Trip)无需大批次或非对称设计,就能取得出人意料的良好性能。此外,为缓解小数据场景下的过拟合问题并进一步增强Trip的效果,我们提出了一种简单的即插即用随机映射(RandOm MApping, ROMA)策略:将样本随机映射到其他空间,并要求这些随机投影后的样本满足三元组所指示的相同关系。将基于三元组的损失与随机映射相结合,我们得到了所提出的Trip-ROMA方法。我们在ImageNet-1K和七个小型数据集上开展了大量实验,涵盖无监督表征学习和无监督小样本学习任务。实验成功验证了Trip-ROMA的有效性,且一致表明ROMA能够进一步有效提升其他SSL方法的性能。代码可在https://github.com/WenbinLee/Trip-ROMA获取。
英文摘要:
Contrastive self-supervised learning (SSL) methods, such as MoCo and SimCLR, have achieved great success in unsupervised visual representation learning. They rely on a large number of negative pairs and thus require either large memory banks or large batches. Some recent non-contrastive SSL methods, such as BYOL and SimSiam, attempt to discard negative pairs and have also shown remarkable performance. To avoid collapsed solutions caused by not using negative pairs, these methods require non-trivial asymmetry designs. However, in small data regimes, we can not obtain a sufficient number of negative pairs or effectively avoid the over-fitting problem when negatives are not used at all. To address this situation, we argue that negative pairs are still important but one is generally sufficient for each positive pair. We show that a simple Triplet-based loss (Trip) can achieve surprisingly good performance without requiring large batches or asymmetry designs. Moreover, to alleviate the over-fitting problem in small data regimes and further enhance the effect of Trip, we propose a simple plug-and-play RandOm MApping (ROMA) strategy by randomly mapping samples into other spaces and requiring these randomly projected samples to satisfy the same relationship indicated by the triplets. Integrating the triplet-based loss with random mapping, we obtain the proposed method Trip-ROMA. Extensive experiments, including unsupervised representation learning and unsupervised few-shot learning, have been conducted on ImageNet-1K and seven small datasets. They successfully demonstrate the effectiveness of Trip-ROMA and consistently show that ROMA can further effectively boost other SSL methods. Code is available at https://github.com/WenbinLee/Trip-ROMA.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。