arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.08534cs.LG
收藏

面向组鲁棒性的最后一层重训练:更少标注

Towards Last-layer Retraining for Group Robustness with Fewer Annotations

Georgia Institute of Technology(佐治亚理工学院);Google DeepMind(谷歌DeepMind)

Tyler LaBonte, Vidya Muthukumar, Abhishek Kumar

AI总结:

本研究提出选择性最后一层微调(SELF)方法,利用误分类或分歧构建重加权数据集,在无组标注和少量类别标注下,通过最后一层重训练显著提升最差组准确率,几乎达到DFR水平。

摘要:

神经网络的经验风险最小化(ERM)容易过度依赖虚假相关性,并在少数群体上泛化能力差。最近的深度特征重加权(DFR)技术通过简单的最后一层重训练实现了最先进的组鲁棒性,但它需要留出的组和类别标注来构建组平衡的重加权数据集。在这项工作中,我们审视了这一不切实际的要求,并发现最后一层重训练在没有组标注(除了用于模型选择)且仅有少量类别标注的情况下可以出奇地有效。我们首先表明,即使重加权数据集中只有一小部分最差组数据,最后一层重训练也能大幅提高最差组准确率。这暗示了一种“免费午餐”:留出一部分训练数据来重训练最后一层,可以在没有额外数据或标注的情况下,显著优于在整个数据集上的ERM。为了进一步提高组鲁棒性,我们引入了一种轻量级方法,称为选择性最后一层微调(SELF),该方法利用误分类或分歧来构建重加权数据集。我们的实证和理论结果首次证明,模型分歧会对最差组数据进行上采样,使得SELF在四个跨视觉和语言任务的成熟基准上,在没有组标注且少于3%的留出类别标注的情况下,几乎与DFR相当。我们的代码可在 https://github.com/tmlabonte/last-layer-retraining 获取。

英文摘要:

Empirical risk minimization (ERM) of neural networks is prone to over-reliance on spurious correlations and poor generalization on minority groups. The recent deep feature reweighting (DFR) technique achieves state-of-the-art group robustness via simple last-layer retraining, but it requires held-out group and class annotations to construct a group-balanced reweighting dataset. In this work, we examine this impractical requirement and find that last-layer retraining can be surprisingly effective with no group annotations (other than for model selection) and only a handful of class annotations. We first show that last-layer retraining can greatly improve worst-group accuracy even when the reweighting dataset has only a small proportion of worst-group data. This implies a "free lunch" where holding out a subset of training data to retrain the last layer can substantially outperform ERM on the entire dataset with no additional data or annotations. To further improve group robustness, we introduce a lightweight method called selective last-layer finetuning (SELF), which constructs the reweighting dataset using misclassifications or disagreements. Our empirical and theoretical results present the first evidence that model disagreement upsamples worst-group data, enabling SELF to nearly match DFR on four well-established benchmarks across vision and language tasks with no group annotations and less than 3% of the held-out class annotations. Our code is available at https://github.com/tmlabonte/last-layer-retraining.

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

↑