询问你的分布偏移:预训练是否适合你
Ask Your Distribution Shift if Pre-Training is Right for You
AI总结:
研究预训练对分布偏移的适用性,发现预训练能缓解外推能力差但无法解决数据集偏差,且与去偏差干预互补,小规模去偏差数据微调更鲁棒。
摘要:
预训练是一种广泛使用的方法,用于开发对分布偏移具有鲁棒性的模型。然而,在实践中,其有效性各不相同:在某些情况下,微调预训练模型能显著提高鲁棒性,但在其他情况下却毫无改善(与从零开始训练相比)。在这项工作中,我们试图表征预训练能够和无法解决的失败模式。具体而言,我们关注分布偏移下模型的两种可能失败模式:较差的外推能力(例如,它们无法泛化到不同的领域)和训练数据中的偏差(例如,它们依赖虚假特征)。我们的研究表明,作为经验法则,预训练有助于缓解较差的外推能力,但无法解决数据集偏差。在为这一发现提供理论动机和实证证据后,我们探讨了其对开发鲁棒模型的两个启示:(1)预训练与旨在防止利用偏差的干预措施具有互补的鲁棒性收益;(2)在(非常)小且缺乏多样性但去偏差的数据集上进行微调,可能比在大型、多样但有偏差的数据集上微调产生更鲁棒的模型。代码可在 https://github.com/MadryLab/pretraining-distribution-shift-robustness 获取。
英文摘要:
Pre-training is a widely used approach to develop models that are robust to distribution shifts. However, in practice, its effectiveness varies: fine-tuning a pre-trained model improves robustness significantly in some cases but not at all in others (compared to training from scratch). In this work, we seek to characterize the failure modes that pre-training can and cannot address. In particular, we focus on two possible failure modes of models under distribution shift: poor extrapolation (e.g., they cannot generalize to a different domain) and biases in the training data (e.g., they rely on spurious features). Our study suggests that, as a rule of thumb, pre-training can help mitigate poor extrapolation but not dataset biases. After providing theoretical motivation and empirical evidence for this finding, we explore two of its implications for developing robust models: (1) pre-training and interventions designed to prevent exploiting biases have complementary robustness benefits, and (2) fine-tuning on a (very) small, non-diverse but de-biased dataset can result in significantly more robust models than fine-tuning on a large and diverse but biased dataset. Code is available at https://github.com/MadryLab/pretraining-distribution-shift-robustness.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。