AdapterTune: 零初始化低秩适配器用于冻结的视觉变换器
AdapterTune: Zero-Initialized Low-Rank Adapters for Frozen Vision Transformers
AI总结:
AdapterTune通过零初始化低秩适配器解决冻结视觉变换器中的优化不稳定和适配器容量设置指导缺失问题,提升跨任务性能。
摘要:
冻结背骨的视觉变换器面临两个未解决的问题:在固定特征提取器中插入适配器时的优化不稳定,以及缺乏设定适配器容量的原理性指导。我们引入AdapterTune,通过在每个变换器块中添加残差低秩瓶颈,其上投影零初始化,确保适应网络从预训练函数开始,并消除早期epoch表示漂移。在分析方面,我们将适配器秩作为近似下游任务转移在特征空间中的容量预算。所得到的超额风险分解预测随着秩增加而单调但递减的准确性提升,我们通过受控扫描确认了这种“肘部”行为。我们在9个数据集和3种背骨规模上进行了评估,通过多种子报告。在核心5数据集转移套件上,AdapterTune在仅训练0.92个参数(全微调所需参数的92%)的情况下,平均提高了14.9个百分点的top-1准确率,并在15个数据集-背骨对中的10个中优于全微调。在完整基准测试中,AdapterTune在所有测试的数据集-背骨对上均优于头-only转移。对秩、位置和初始化的消融实验隔离了每个设计选择。代码可在:https://github.com/salimkhazem/adaptertune
英文摘要:
Frozen-backbone transfer with Vision Transformers faces two under-addressed issues: optimization instability when adapters are naively inserted into a fixed feature extractor, and the absence of principled guidance for setting adapter capacity. We introduce AdapterTune, which augments each transformer block with a residual low-rank bottleneck whose up-projection is zero-initialized, guaranteeing that the adapted network starts exactly at the pretrained function and eliminates early-epoch representation drift. On the analytical side, we formalize adapter rank as a capacity budget for approximating downstream task shifts in feature space. The resulting excess-risk decomposition predicts monotonic but diminishing accuracy gains with increasing rank, an ``elbow'' behavior we confirm through controlled sweeps. We evaluate on 9 datasets and 3 backbone scales with multi-seed reporting throughout. On a core 5 dataset transfer suite, AdapterTune improves top-1 accuracy over head-only transfer by +14.9 points on average while training only 0.92 of the parameters required by full fine-tuning, and outperforms full fine-tuning on 10 of 15 dataset-backbone pairs. Across the full benchmark, AdapterTune improves over head-only transfer on every dataset-backbone pair tested. Ablations on rank, placement, and initialization isolate each design choice. The code is available at: https://github.com/salimkhazem/adaptertune
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。