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

SynCo:用于对比视觉表征学习的合成难负例

SynCo: Synthetic Hard Negatives for Contrastive Visual Representation Learning

Imperial College London(伦敦帝国学院)

Nikos Giakoumoglou, Tania Stathaki

AI总结:

针对对比学习难负例获取成本高的问题,提出SynCo方法,直接在表征空间用缓存队列嵌入合成难负例,在MoCo框架下验证其能以极低计算成本提升表征效果和下游任务迁移性能,且长预训练周期下无性能下降。

摘要:

对比学习依赖有信息量的负例来塑造表征空间,但获取难负例的成本很高,通常需要大批次规模或庞大的记忆库。我们提出SynCo(对比学习中的合成负例),该方法直接在表征空间中从缓存的队列嵌入合成难负例,无需额外的前向传播或输入空间处理。我们发现,六种轻量级合成策略全面覆盖几何、随机和对抗扰动族,能以可忽略的计算成本持续提升学习到的表征。尽管该方法适用于任何基于InfoNCE的对比目标,我们在MoCo框架内展示了SynCo的效果。在ImageNet ILSVRC-2012的200轮线性评估中,SynCo相比MoCo-v2提升了+0.4%,相比MoCHi提升了+1.0%。与MoCHi在延长预训练周期时性能下降(800轮时比MoCo-v2低2.4%)不同,SynCo不会出现该问题:通过简单的合成负例调度策略,800轮时其性能相比MoCo-v2提升了+0.5%。SynCo还能很好地迁移到一系列下游任务中。

英文摘要:

Contrastive learning relies on informative negatives to shape the representation space, yet obtaining hard negatives is costly, often requiring large batch sizes or extensive memory banks. We propose SynCo (Synthetic negatives in Contrastive learning), an approach that synthesizes hard negatives directly in the representation space from cached queue embeddings, with no additional forward passes or input-space processing. We find that six lightweight synthesis strategies, exhaustively covering the geometric, stochastic, and adversarial perturbation families, consistently improve learned representations at negligible computational cost. Although applicable to any InfoNCE-based contrastive objective, we demonstrate SynCo within the MoCo framework. On ImageNet ILSVRC-2012 linear evaluation at 200 epochs, SynCo yields improvements of +0.4% over MoCo-v2 and +1.0% over MoCHi. Unlike MoCHi, which degrades at extended pretraining schedules (underperforming MoCo-v2 by 2.4% at 800 epochs), SynCo does not: with a simple synthetic negative schedule, performance improves by +0.5% over MoCo-v2 at 800 epochs. SynCo also transfers well to a range of downstream tasks.

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

↑