Skip to main content
QUICK REVIEW

[论文解读] 5%>100%: Breaking Performance Shackles of Full Fine-Tuning on Visual Recognition Tasks

Dongshuo Yin, Leiyi Hu|arXiv (Cornell University)|Aug 15, 2024
Industrial Vision Systems and Defect DetectionEngineering被引用 3
一句话总结

本文提出Mona-tuning,一种新型的基于适配器的微调方法,通过在多认知适配器中使用视觉友好的卷积滤波器和缩放归一化,超越了视觉识别任务中的全参数微调。Mona在COCO实例分割任务上相比全参数微调实现了1%的mAP提升,是首个在包括分割、检测和分类在内的多样化任务中超越全参数微调的delta-tuning方法。

ABSTRACT

Pre-training & fine-tuning can enhance the transferring efficiency and performance in visual tasks. Recent delta-tuning methods provide more options for visual classification tasks. Despite their success, existing visual delta-tuning art fails to exceed the upper limit of full fine-tuning on challenging tasks like object detection and segmentation. To find a competitive alternative to full fine-tuning, we propose the Multi-cognitive Visual Adapter (Mona) tuning, a novel adapter-based tuning method. First, we introduce multiple vision-friendly filters into the adapter to enhance its ability to process visual signals, while previous methods mainly rely on language-friendly linear filters. Second, we add the scaled normalization layer in the adapter to regulate the distribution of input features for visual filters. To fully demonstrate the practicality and generality of Mona, we conduct experiments on multiple representative visual tasks, including instance segmentation on COCO, semantic segmentation on ADE20K, object detection on Pascal VOC, oriented object detection on DOTA/STAR, and image classification on three common datasets. Exciting results illustrate that Mona surpasses full fine-tuning on all these tasks, and is the only delta-tuning method outperforming full fine-tuning on the above various tasks. For example, Mona achieves 1% performance gain on the COCO dataset compared to full fine-tuning. Comprehensive results suggest that Mona-tuning is more suitable for retaining and utilizing the capabilities of pre-trained models than full fine-tuning. The code will be released at https://github.com/Leiyi-Hu/mona.

研究动机与目标

  • 为克服现有delta-tuning方法在复杂视觉任务(如实例分割和语义分割)中难以超越全参数微调的性能瓶颈。
  • 设计一种更高效的基于适配器的微调方法,以更好地保留和利用预训练的视觉表征。
  • 探究基于适配器的微调是否能在多样化的视觉识别任务中同时实现更高的效率和性能。
  • 证明适配器中引入的视觉专用架构组件可显著提升视觉任务中的知识迁移效果。

提出的方法

  • 提出多认知视觉适配器(Mona),采用多个视觉友好的卷积滤波器替代语言导向的线性滤波器,以更有效地处理视觉信号。
  • 在适配器中引入缩放归一化层,以稳定和调节输入特征的分布,从而提升特征表示能力。
  • 采用降维层后接多个并行卷积滤波器的结构,增强适配器对视觉特征的多尺度认知能力。
  • 固定大部分预训练主干网络的参数,仅微调轻量级的Mona适配器,实现参数高效的迁移学习。
  • 所有实验均采用在ImageNet-22k上预训练的SwinTransformer主干网络作为基础模型。
  • 在图像分类、目标检测和分割等多样化任务中采用相同的适配器配置,以确保方法的通用性。

实验结果

研究问题

  • RQ1基于适配器的微调方法是否能在具有挑战性的视觉识别任务(如实例分割和语义分割)中超越全参数微调?
  • RQ2视觉专用组件(如卷积滤波器和归一化层)如何提升适配器在视觉迁移学习中的性能?
  • RQ3Mona-tuning的性能增益是否随模型规模增大而提升?其在大规模模型上是否能超越全参数微调?
  • RQ4所提出的方法是否在多样化视觉任务(包括分类、检测和分割)中具备良好的泛化能力?

主要发现

  • 在COCO实例分割基准上,Mona-tuning相比全参数微调实现了1%的mAP提升,证明其在复杂密集预测任务中的优越性能。
  • Mona是首个在语义分割(ADE20K)、实例分割(COCO)和定向目标检测(DOTA/STAR)任务中均超越全参数微调的基于适配器的方法。
  • 在Pascal VOC数据集上,Mona在Swin-L主干下达到87.3%的AP_box,相比全参数微调提升3.6个百分点,同时仅使用适配器中2.56%的参数。
  • 适配器中64维的中间特征空间表现最佳,表明性能并非随适配器规模线性增长。
  • 随着模型规模从Swin-T扩展到Swin-L,Mona相对于全参数微调的性能增益从3.4%提升至3.8%,显示出在大模型中更强的可扩展性和能力。
  • Mona-tuning在Swin-T上将参数效率成本降低至主干参数的4.87%,在更大的模型(如Swin-L和Swin-G)中节省的参数比例更高。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。