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

预调优:Vision任务的统一提示微调

Pro-tuning: Unified Prompt Tuning for Vision Tasks

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学);Huawei Cloud & AI(华为云与计算BG);CAS Centre for Artificial Intelligence and Robotics, HK Institute of Science and Innovation(中国科学院香港创新研究院人工智能与机器人创新中心)

Xing Nie, Bolin Ni, Jianlong Chang, Gaomeng Meng, Chunlei Huo, Zhaoxiang Zhang, Shiming Xiang, Qi Tian, Chunhong Pan

摘要:

在计算机视觉中,微调是利用预先训练的视觉模型执行下游任务的实际方法。然而,在实践中部署它是相当具有挑战性的,由于采用参数低效的全局更新和严重依赖于高质量的下游数据。最近,基于任务的学习,它增加了一个任务相关的提示,使下游任务适应预先训练的模型,大大提高了许多自然语言下游任务的性能。在这项工作中,我们将这种显著的转移能力扩展到视觉模型中,作为微调的替代方案。为此,我们提出了参数高效的提示微调(亲调整),以适应冻结的视觉模型,以各种下游的视觉任务。Pro调优的关键是基于参数的调优,即,在所述预训练模型冻结的情况下学习针对下游输入图像的任务特定视觉提示。通过只训练一些额外的参数,它可以在各种基于CNN和基于Transformer的架构上工作。大量的实验证明,Pro-tuning在广泛的视觉任务和场景中优于微调,包括图像分类(通用对象,类别不平衡,图像损坏,对抗鲁棒性和分布外泛化),以及密集预测任务,如目标检测和语义分割。

英文摘要:

In computer vision, fine-tuning is the de-facto approach to leverage pre-trained vision models to perform downstream tasks. However, deploying it in practice is quite challenging, due to adopting parameter inefficient global update and heavily relying on high-quality downstream data. Recently, prompt-based learning, which adds a task-relevant prompt to adapt the downstream tasks to pre-trained models, has drastically boosted the performance of many natural language downstream tasks. In this work, we extend this notable transfer ability benefited from prompt into vision models as an alternative to fine-tuning. To this end, we propose parameter-efficient Prompt tuning (Pro-tuning) to adapt frozen vision models to various downstream vision tasks. The key to Pro-tuning is prompt-based tuning, i.e., learning task-specific vision prompts for downstream input images with the pre-trained model frozen. By only training a few additional parameters, it can work on diverse CNN-based and Transformer-based architectures. Extensive experiments evidence that Pro-tuning outperforms fine-tuning in a broad range of vision tasks and scenarios, including image classification (generic objects, class imbalance, image corruption, adversarial robustness, and out-of-distribution generalization), and dense prediction tasks such as object detection and semantic segmentation.

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

↑