arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.03873cs.CVcs.AI
收藏

Mini but Mighty: 用微型适配器微调ViTs

Mini but Mighty: Finetuning ViTs with Mini Adapters

LTCI, Télécom-Paris, Institut Polytechnique de Paris(LTCI,巴黎电信,巴黎综合理工学院)

Imad Eddine Marouf, Enzo Tartaglione, Stéphane Lathuilière

AI总结:

针对小维度适配器性能差的问题,提出MiMi训练框架,通过迭代缩小大适配器尺寸并结合专用评分函数自动估算隐藏维度,在29个数据集上实现准确率与参数量的更优权衡。

摘要:

视觉Transformer(Vision Transformers, ViTs)已成为计算机视觉领域的主流架构之一,预训练ViT模型通常通过微调适配新任务。近期研究提出了适配器等多种参数高效迁移学习方法,以规避微调带来的高昂训练与存储成本。本研究发现适配器维度较小时性能不佳,为此提出MiMi训练框架解决该问题。我们从可实现高性能的大适配器出发,迭代缩小其尺寸。为自动估算每个适配器的隐藏维度,我们还设计了一种专为适配器打造的新型评分函数,用于跨层比较神经元重要性。在DomainNet、VTAB和Multi-task三个基准数据集(共29个数据集)上,我们的方法在准确率与训练参数量的最优权衡方面优于现有方法。

英文摘要:

Vision Transformers (ViTs) have become one of the dominant architectures in computer vision, and pre-trained ViT models are commonly adapted to new tasks via fine-tuning. Recent works proposed several parameter-efficient transfer learning methods, such as adapters, to avoid the prohibitive training and storage cost of finetuning. In this work, we observe that adapters perform poorly when the dimension of adapters is small, and we propose MiMi, a training framework that addresses this issue. We start with large adapters which can reach high performance, and iteratively reduce their size. To enable automatic estimation of the hidden dimension of every adapter, we also introduce a new scoring function, specifically designed for adapters, that compares the neuron importance across layers. Our method outperforms existing methods in finding the best trade-off between accuracy and trained parameters across the three dataset benchmarks DomainNet, VTAB, and Multi-task, for a total of 29 datasets.

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

↑