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

通过内插权重修补开放词汇表模型

Patching open-vocabulary models by interpolating weights

University of Washington(华盛顿大学);Columbia University(哥伦比亚大学);Google Research(谷歌研究院)

Gabriel Ilharco, Mitchell Wortsman, Samir Yitzhak Gadre, Shuran Song, Hannaneh Hajishirzi, Simon Kornblith, Ali Farhadi, Ludwig Schmidt

摘要:

像CLIP这样的开放词汇表模型在许多图像分类任务中实现了高精度。然而,仍然存在其zero-shot性能远未达到最佳的设置。我们研究模型修补,其目标是提高特定任务的准确性,而不会降低性能已经足够的任务的准确性。为了实现这一目标,我们引入PAINT,修补方法,使用微调前的模型的权重和微调后的权重之间的插值任务修补。在zero-shot CLIP表现不佳的九个任务中,PAINT将准确率提高了15到60个百分点,同时将ImageNet上的准确率保持在zero-shot模型的一个百分点以内。PAINT还允许单个模型在多个任务上打补丁,并随着模型规模的提高而提高。此外,我们确定的情况下,广泛的转移,修补一个任务增加其他任务的准确性,即使任务有不相交的类。最后,我们调查的应用程序超出了常见的基准,如计数或减少对CLIP的排版攻击的影响。我们的研究结果表明,可以扩展开放词汇模型实现高准确性的任务集,而无需从头开始重新训练它们。

英文摘要:

Open-vocabulary models like CLIP achieve high accuracy across many image classification tasks. However, there are still settings where their zero-shot performance is far from optimal. We study model patching, where the goal is to improve accuracy on specific tasks without degrading accuracy on tasks where performance is already adequate. Towards this goal, we introduce PAINT, a patching method that uses interpolations between the weights of a model before fine-tuning and the weights after fine-tuning on a task to be patched. On nine tasks where zero-shot CLIP performs poorly, PAINT increases accuracy by 15 to 60 percentage points while preserving accuracy on ImageNet within one percentage point of the zero-shot model. PAINT also allows a single model to be patched on multiple tasks and improves with model scale. Furthermore, we identify cases of broad transfer, where patching on one task increases accuracy on other tasks even when the tasks have disjoint classes. Finally, we investigate applications beyond common benchmarks such as counting or reducing the impact of typographic attacks on CLIP. Our findings demonstrate that it is possible to expand the set of tasks on which open-vocabulary models achieve high accuracy without re-training them from scratch.

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

↑