无需分组标注即可提升模型对虚假相关性的鲁棒性。
Trained Models Tell Us How to Make Them Robust to Spurious Correlation without Group Annotation
- 用预训练模型的损失构建高低损失样本平衡集,缓解数据组不平衡。
- 后训练重训最后一层,实现近最优最差组准确率(91.7%)。
- 仅需环境推断即可验证,适合无分组标签场景,如公平性评估。
基于经验风险最小化(ERM)训练的分类器常依赖与目标变量存在高虚假相关性的属性,导致在缺乏这些属性的少数群体上性能下降,影响分布外泛化与公平性。现有方法多依赖分组标注进行训练或验证,限制了其在未知虚假相关性或无分组标签场景下的应用。为此,我们提出基于环境验证与损失采样的方法(EVaLS),利用ERM模型的损失构建高损失与低损失样本的平衡数据集,缓解组间不平衡。结合环境推断生成具有相关性偏移的多样化环境,通过最差环境准确率作为超参数调优和模型选择的可靠代理指标,无需验证集分组标注。实验表明,该方法仅通过简单后训练重训最后一层,即实现接近最优的最差组准确率(91.7%),显著提升对组转移的鲁棒性,证明分组标注并非必要,为虚假相关性鲁棒性提供了高效、简洁的新路径。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。