arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.05345cs.LGcs.AIcs.CV
收藏

经训练的模型告诉我们如何在无分组标注的情况下使其对虚假相关具有鲁棒性

Trained Models Tell Us How to Make Them Robust to Spurious Correlation without Group Annotation

Sharif University of Technology(谢里夫理工大学)

Mahdi Ghaznavi, Hesam Asadollahzadeh, Fahimeh Hosseini Noohdani, Soroush Vafaie Tabar, Hosein Hasani, Taha Akbari Alvanagh, Mohammad Hossein Rohban, Mahdieh Soleymani Baghshah

AI总结:

针对依赖虚假相关的ERM分类器在少数分组性能差、现有鲁棒性方法依赖分组标注的问题,提出EVaLS方法,通过损失采样平衡数据、环境推断替代分组标注,实现无分组标注下接近最优的最差分组鲁棒性。

摘要:

采用经验风险最小化(Empirical Risk Minimization, ERM)训练的分类器往往依赖与目标存在高度虚假相关的属性,这会降低在缺乏这些属性的代表性不足(即“少数”)分组上的性能,给分布外泛化和公平性目标都带来重大挑战。许多研究旨在提升对虚假相关的鲁棒性,但部分研究依赖分组标注进行训练。此外,既往研究的一个普遍局限是依赖带分组标注的验证数据集进行模型选择,这限制了其在虚假相关性质未知、或某些虚假属性的分组标签不可用场景下的适用性。\n为在最少的分组标注假设下提升模型鲁棒性,我们提出了基于环境的验证与基于损失的采样(Environment-based Validation and Loss-based Sampling, EVaLS)方法。该方法利用ERM训练模型的损失构建由高损失和低损失样本组成的平衡数据集,缓解数据中的分组不平衡问题;搭配简单的训练后最后一层重训练策略,可显著提升对分组偏移的鲁棒性。通过使用环境推断方法创建存在相关偏移的多样化环境,EVaLS有望消除验证数据对分组标注的需求。在此框架下,最差环境准确率可在整个重训练过程中作为可靠的替代指标,用于调优超参数并找到在多种分组偏移下均表现良好的模型。\nEVaLS有效实现了分组鲁棒性,表明即便验证阶段也无需分组标注。它是一种快速、直接且有效的方法,无需分组标注即可达到接近最优的最差分组准确率,开启了训练模型抵御虚假相关鲁棒性研究的新篇章。

英文摘要:

Classifiers trained with Empirical Risk Minimization (ERM) tend to rely on attributes that have high spurious correlation with the target. This can degrade the performance on underrepresented (or 'minority') groups that lack these attributes, posing significant challenges for both out-of-distribution generalization and fairness objectives. Many studies aim to enhance robustness to spurious correlation, but they sometimes depend on group annotations for training. Additionally, a common limitation in previous research is the reliance on group-annotated validation datasets for model selection. This constrains their applicability in situations where the nature of the spurious correlation is not known, or when group labels for certain spurious attributes are not available. To enhance model robustness with minimal group annotation assumptions, we propose Environment-based Validation and Loss-based Sampling (EVaLS). It uses the losses from an ERM-trained model to construct a balanced dataset of high-loss and low-loss samples, mitigating group imbalance in data. This significantly enhances robustness to group shifts when equipped with a simple post-training last layer retraining. By using environment inference methods to create diverse environments with correlation shifts, EVaLS can potentially eliminate the need for group annotation in validation data. In this context, the worst environment accuracy acts as a reliable surrogate throughout the retraining process for tuning hyperparameters and finding a model that performs well across diverse group shifts. EVaLS effectively achieves group robustness, showing that group annotation is not necessary even for validation. It is a fast, straightforward, and effective approach that reaches near-optimal worst group accuracy without needing group annotations, marking a new chapter in the robustness of trained models against spurious correlation.

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

↑