分布偏移下的伪特征检测与抑制
Examining and Combating Spurious Features under Distribution Shift
摘要:
机器学习的一个中心目标是学习鲁棒的表示,这些表示捕获输入特征和输出标签之间的因果关系。然而,最小化有限或有偏数据集的经验风险通常会导致模型锁定在训练输入/输出对之间的虚假相关性上,而这些相关性对手头的问题并不重要。在本文中,我们定义和分析强大的和虚假的表示使用信息论的概念,最小的充分统计。我们证明了即使只有输入分布的偏差(即协变量偏移),模型仍然可以从其训练数据中提取虚假特征。组分布鲁棒优化(DRO)通过最小化一组预定义组上的最坏情况训练损失,提供了一种有效的工具来减轻协变量偏移。我们的分析的启发,我们表明,组DRO可以失败时,组不直接占各种虚假的相关性,发生在数据中。为了解决这个问题,我们进一步建议在一组更灵活的分布上最小化最坏情况下的损失,这些分布是在组和实例的联合分布上定义的,而不是在优化时将每个组作为一个整体来处理。通过对一个图像和两种语言任务的广泛实验,我们表明,我们的模型在各种分区下比可比基线更鲁棒。我们的代码可在https://github.com/violet-zct/group-conditional-DRO上获得。
英文摘要:
A central goal of machine learning is to learn robust representations that capture the causal relationship between inputs features and output labels. However, minimizing empirical risk over finite or biased datasets often results in models latching on to spurious correlations between the training input/output pairs that are not fundamental to the problem at hand. In this paper, we define and analyze robust and spurious representations using the information-theoretic concept of minimal sufficient statistics. We prove that even when there is only bias of the input distribution (i.e. covariate shift), models can still pick up spurious features from their training data. Group distributionally robust optimization (DRO) provides an effective tool to alleviate covariate shift by minimizing the worst-case training loss over a set of pre-defined groups. Inspired by our analysis, we demonstrate that group DRO can fail when groups do not directly account for various spurious correlations that occur in the data. To address this, we further propose to minimize the worst-case losses over a more flexible set of distributions that are defined on the joint distribution of groups and instances, instead of treating each group as a whole at optimization time. Through extensive experiments on one image and two language tasks, we show that our model is significantly more robust than comparable baselines under various partitions. Our code is available at https://github.com/violet-zct/group-conditional-DRO.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。