arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2204.07596stat.MLcs.LG
收藏

完美平衡:提高监督对比学习的迁移和鲁棒性

Perfectly Balanced: Improving Transfer and Robustness of Supervised Contrastive Learning

Stanford University(斯坦福大学);Adobe Research(奥多比研究院)

Mayee F. Chen, Daniel Y. Fu, Avanika Narayan, Michael Zhang, Zhao Song, Kayvon Fatahalian, Christopher Ré

摘要:

一个理想的学习表示应该表现出可移植性和鲁棒性。监督对比学习(SupCon)是一种很有前途的训练精确模型的方法,但由于类崩溃,当类中的所有点映射到相同的表示时,会产生无法捕获这些属性的表示。最近的研究表明,“展开”这些表征可以改善它们,但确切的机制知之甚少。我们认为,单独创建传播是不够的更好的表示,因为传播是不变的类内的排列。相反,正确的扩散程度和打破这种不变性的机制都是必要的。我们首先证明,增加一个加权类条件InfoNCE损失SupCon控制的程度蔓延。接下来,我们研究了三种机制来打破排列不变性:使用约束编码器,添加类条件自动编码器和使用数据增强。我们发现,后两个鼓励聚类的潜在子类比前者更现实的条件下。使用这些见解,我们表明,将适当加权的类条件InfoNCE损失和类条件自动编码器添加到SupCon中,在5个标准数据集上的粗到细传输上实现了11.1个提升点,在3个数据集上的最差组鲁棒性上实现了4.7个提升点,在CelebA上设置了11.5个点。

英文摘要:

An ideal learned representation should display transferability and robustness. Supervised contrastive learning (SupCon) is a promising method for training accurate models, but produces representations that do not capture these properties due to class collapse -- when all points in a class map to the same representation. Recent work suggests that "spreading out" these representations improves them, but the precise mechanism is poorly understood. We argue that creating spread alone is insufficient for better representations, since spread is invariant to permutations within classes. Instead, both the correct degree of spread and a mechanism for breaking this invariance are necessary. We first prove that adding a weighted class-conditional InfoNCE loss to SupCon controls the degree of spread. Next, we study three mechanisms to break permutation invariance: using a constrained encoder, adding a class-conditional autoencoder, and using data augmentation. We show that the latter two encourage clustering of latent subclasses under more realistic conditions than the former. Using these insights, we show that adding a properly-weighted class-conditional InfoNCE loss and a class-conditional autoencoder to SupCon achieves 11.1 points of lift on coarse-to-fine transfer across 5 standard datasets and 4.7 points on worst-group robustness on 3 datasets, setting state-of-the-art on CelebA by 11.5 points.

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

↑