arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.05025cs.LGcs.CVstat.ML
收藏

自监督学习对数据集不平衡的鲁棒性

Self-supervised Learning is More Robust to Dataset Imbalance

Stanford University(斯坦福大学);Toyota Research Institute(丰田研究所)

Hong Liu, Jeff Z. HaoChen, Adrien Gaidon, Tengyu Ma

摘要:

自监督学习(SSL)是一种学习一般视觉表示的可扩展方式,因为它在没有标签的情况下学习。然而,大规模的未标记数据集通常具有长尾标签分布,我们对SSL的行为知之甚少。在这项工作中,我们系统地研究了数据集不平衡下的自监督学习。首先,我们通过大量的实验发现,现成的自监督表示已经比监督表示对类不平衡更鲁棒。在不同样本量下,使用SSL的平衡和不平衡预训练之间的性能差距明显小于使用监督学习的差距,无论是域内还是域外评估。其次,为了理解SSL的鲁棒性,我们假设SSL从频繁数据中学习更丰富的特征:它可以学习与标签无关但可转移的特征,这些特征有助于对稀有类和下游任务进行分类。相反,监督学习没有动机从频繁的例子中学习与标签无关的特征。我们验证了这一假设与半合成实验和理论分析的简化设置。第三,受理论见解的启发,我们设计了一种重新加权的正则化技术,该技术通过几个评估标准不断提高不平衡数据集上的SSL表示质量,用相同数量的例子缩小平衡和不平衡数据集之间的差距。

英文摘要:

Self-supervised learning (SSL) is a scalable way to learn general visual representations since it learns without labels. However, large-scale unlabeled datasets in the wild often have long-tailed label distributions, where we know little about the behavior of SSL. In this work, we systematically investigate self-supervised learning under dataset imbalance. First, we find out via extensive experiments that off-the-shelf self-supervised representations are already more robust to class imbalance than supervised representations. The performance gap between balanced and imbalanced pre-training with SSL is significantly smaller than the gap with supervised learning, across sample sizes, for both in-domain and, especially, out-of-domain evaluation. Second, towards understanding the robustness of SSL, we hypothesize that SSL learns richer features from frequent data: it may learn label-irrelevant-but-transferable features that help classify the rare classes and downstream tasks. In contrast, supervised learning has no incentive to learn features irrelevant to the labels from frequent examples. We validate this hypothesis with semi-synthetic experiments and theoretical analyses on a simplified setting. Third, inspired by the theoretical insights, we devise a re-weighted regularization technique that consistently improves the SSL representation quality on imbalanced datasets with several evaluation criteria, closing the small gap between balanced and imbalanced datasets with the same number of examples.

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

↑