冻结后再训练:在伪相关和特征噪声下的可证明表示学习
Freeze then Train: Towards Provable Representation Learning under Spurious Correlations and Feature Noise
AI总结:
本文提出冻结后再训练(FTT)算法,通过冻结显著特征并训练其余特征,有效应对伪相关和特征噪声,提升测试环境下的表示学习性能。
摘要:
训练环境中存在的伪相关(如图像背景)的存在会使经验风险最小化(ERM)在测试环境中表现不佳。为了解决这个问题,Kirichenko等人(2022)实证发现,即使存在伪相关,与结果相关的核心特征仍能被良好学习。这开启了一个有前景的策略:首先训练一个特征学习器而不是分类器,然后在测试环境中进行线性探测(最后一层重新训练)。然而,对这种策略何时以及为何有效缺乏理论理解。在本文中,我们发现核心特征只有在其相关非可实现噪声小于伪特征的噪声时才能被良好学习,这在实践中未必成立。我们提供了理论和实验来支持这一发现,并说明非可实现噪声的重要性。此外,我们提出了一种称为冻结后再训练(FTT)的算法,首先冻结某些显著特征,然后使用ERM训练其余特征。我们理论证明FTT保留了对测试时间探测更有利的特征。在两个常用的伪相关数据集上,FTT在ERM、IRM、JTT和CVaR-DRO上均表现更优,当特征噪声较大时,准确率提高了4.5%。FTT在一般分布偏移基准测试中也表现更好。
英文摘要:
The existence of spurious correlations such as image backgrounds in the training environment can make empirical risk minimization (ERM) perform badly in the test environment. To address this problem, Kirichenko et al. (2022) empirically found that the core features that are related to the outcome can still be learned well even with the presence of spurious correlations. This opens a promising strategy to first train a feature learner rather than a classifier, and then perform linear probing (last layer retraining) in the test environment. However, a theoretical understanding of when and why this approach works is lacking. In this paper, we find that core features are only learned well when their associated non-realizable noise is smaller than that of spurious features, which is not necessarily true in practice. We provide both theories and experiments to support this finding and to illustrate the importance of non-realizable noise. Moreover, we propose an algorithm called Freeze then Train (FTT), that first freezes certain salient features and then trains the rest of the features using ERM. We theoretically show that FTT preserves features that are more beneficial to test time probing. Across two commonly used spurious correlation datasets, FTT outperforms ERM, IRM, JTT and CVaR-DRO, with substantial improvement in accuracy (by 4.5%) when the feature noise is large. FTT also performs better on general distribution shift benchmarks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。