arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2109.01903cs.CVcs.LG
收藏

zero-shot模型的鲁棒微调

Robust fine-tuning of zero-shot models

University of Washington(华盛顿大学);OpenAI;Columbia University(哥伦比亚大学);Google Research(谷歌研究院);Allen Institute for Artificial Intelligence(艾伦人工智能研究所);Toyota Research Institute(丰田研究院)
Mitchell Wortsman, Gabriel Ilharco, Jong Wook Kim, Mike Li, Simon Kornblith, Rebecca Roelofs, Raphael Gontijo-Lopes, Hannaneh Hajishirzi, Ali Farhadi, Hongseok … 展开作者

Mitchell Wortsman, Gabriel Ilharco, Jong Wook Kim, Mike Li, Simon Kornblith, Rebecca Roelofs, Raphael Gontijo-Lopes, Hannaneh Hajishirzi, Ali Farhadi, Hongseok Namkoong, Ludwig Schmidt

摘要:

当执行zero-shot推断(即,而不对特定数据集进行微调)。虽然现有的微调方法大大提高了给定目标分布的准确性,但它们通常降低了对分布偏移的鲁棒性。我们通过引入一种简单有效的方法来解决这种紧张局势,以提高鲁棒性,同时微调:集成的权重的zero-shot和微调模型(WiSE-FT)。与标准微调相比,WiSE-FT在分布偏移下提供了大的精度改进,同时保持了目标分布的高精度。在ImageNet和五个衍生的分布偏移上,WiSE-FT将分布偏移下的准确性提高了4到6个百分点(pp),同时将ImageNet的准确性提高了1.6个pp。WiSE-FT在另外六个分布偏移的不同集合上实现了类似的大鲁棒性增益(2到23 pp),并且与七个常用的迁移学习数据集上的标准微调相比,精确度增益为0.8到3.3 pp。这些改进在微调或推断期间没有额外的计算成本。

英文摘要:

Large pre-trained models such as CLIP or ALIGN offer consistent accuracy across a range of data distributions when performing zero-shot inference (i.e., without fine-tuning on a specific dataset). Although existing fine-tuning methods substantially improve accuracy on a given target distribution, they often reduce robustness to distribution shifts. We address this tension by introducing a simple and effective method for improving robustness while fine-tuning: ensembling the weights of the zero-shot and fine-tuned models (WiSE-FT). Compared to standard fine-tuning, WiSE-FT provides large accuracy improvements under distribution shift, while preserving high accuracy on the target distribution. On ImageNet and five derived distribution shifts, WiSE-FT improves accuracy under distribution shift by 4 to 6 percentage points (pp) over prior work while increasing ImageNet accuracy by 1.6 pp. WiSE-FT achieves similarly large robustness gains (2 to 23 pp) on a diverse set of six further distribution shifts, and accuracy gains of 0.8 to 3.3 pp compared to standard fine-tuning on seven commonly used transfer learning datasets. These improvements come at no additional computational cost during fine-tuning or inference.

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

↑