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

脱离虚假相关性:在没有组注释的情况下提高对虚假相关性的鲁棒性

Out of Spuriousity: Improving Robustness to Spurious Correlations without Group Annotations

Marburg University(马堡大学);University of Mannheim(曼海姆大学)

Phuong Quynh Le, Jörg Schlötterer, Christin Seifert

AI总结:

本文提出了一种方法,通过提取子网络来提高机器学习模型对虚假相关性的鲁棒性,利用监督对比损失迫使模型去除虚假关联,从而提升最差组的性能。

摘要:

机器学习模型已知会学习虚假相关性,即与类别标签有强相关但无因果关系的特征。依赖这些相关性会导致在没有这些相关性的数据组中表现不佳,并且泛化能力差。为提高机器学习模型对虚假相关性的鲁棒性,我们提出了一种方法,从完全训练的网络中提取一个子网络,该子网络不依赖于虚假相关性。子网络通过假设在使用经验风险最小化(ERM)训练时,具有相同虚假属性的数据点在表示空间中会彼此接近,然后以新方式使用监督对比损失迫使模型去除虚假连接。我们的方法在最差组性能上的提升支持了假设:在完全训练的密集网络中存在一个子网络,仅使用不变特征进行分类任务,因此即使在多虚假属性和无属性标签先验知识的设置下,也能消除虚假特征的影响。

英文摘要:

Machine learning models are known to learn spurious correlations, i.e., features having strong relations with class labels but no causal relation. Relying on those correlations leads to poor performance in the data groups without these correlations and poor generalization ability. To improve the robustness of machine learning models to spurious correlations, we propose an approach to extract a subnetwork from a fully trained network that does not rely on spurious correlations. The subnetwork is found by the assumption that data points with the same spurious attribute will be close to each other in the representation space when training with ERM, then we employ supervised contrastive loss in a novel way to force models to unlearn the spurious connections. The increase in the worst-group performance of our approach contributes to strengthening the hypothesis that there exists a subnetwork in a fully trained dense network that is responsible for using only invariant features in classification tasks, therefore erasing the influence of spurious features even in the setup of multi spurious attributes and no prior knowledge of attributes labels.

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

↑