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

FacT:面向视觉Transformer轻量级适配的因子微调

FacT: Factor-Tuning for Lightweight Adaptation on Vision Transformer

School of Intelligence Science and Technology, Peking University(北京大学智能科学与技术学院)

Shibo Jie, Zhi-Hong Deng

AI总结:

本文提出因子微调(FacT)方法,通过张量化-分解框架存储ViT权重增量以提升参数效率,在VTAB-1K基准和少样本场景下均以更少参数实现优异性能。

摘要:

现有研究已探索仅更新少量参数来适配预训练视觉Transformer(ViT)以提升存储效率的潜力,这类方法被称为参数高效迁移学习(PETL)。当前PETL方法表明,仅微调0.5%的参数,就能让ViT适配下游任务,性能甚至优于全量微调。本文旨在进一步提升PETL的效率,以满足实际应用中的极端存储约束。为此,我们提出一种张量化-分解框架来存储权重增量:将每个ViT的权重张量化为单个3D张量,再将其增量分解为轻量级因子。在微调过程中,仅需更新和存储这些因子,该方法被称为因子微调(FacT)。在VTAB-1K基准上,我们的方法与当前最优PETL方法NOAH性能相当,但参数效率是其5倍。我们还提出了一个极小版本,仅使用8K(占ViT参数的0.01%)可训练参数,性能却优于全量微调以及VPT、BitFit等众多其他PETL方法。在少样本设置下,FacT也以最少的参数击败了所有PETL基线,证明了其在低数据场景下的强大能力。

英文摘要:

Recent work has explored the potential to adapt a pre-trained vision transformer (ViT) by updating only a few parameters so as to improve storage efficiency, called parameter-efficient transfer learning (PETL). Current PETL methods have shown that by tuning only 0.5% of the parameters, ViT can be adapted to downstream tasks with even better performance than full fine-tuning. In this paper, we aim to further promote the efficiency of PETL to meet the extreme storage constraint in real-world applications. To this end, we propose a tensorization-decomposition framework to store the weight increments, in which the weights of each ViT are tensorized into a single 3D tensor, and their increments are then decomposed into lightweight factors. In the fine-tuning process, only the factors need to be updated and stored, termed Factor-Tuning (FacT). On VTAB-1K benchmark, our method performs on par with NOAH, the state-of-the-art PETL method, while being 5x more parameter-efficient. We also present a tiny version that only uses 8K (0.01% of ViT's parameters) trainable parameters but outperforms full fine-tuning and many other PETL methods such as VPT and BitFit. In few-shot settings, FacT also beats all PETL baselines using the fewest parameters, demonstrating its strong capability in the low-data regime.

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

↑