对比多种高效微调方法,发现它们在视觉任务中效果相近但各有侧重。
Lessons and Insights from a Unifying Study of Parameter-Efficient Fine-Tuning (PEFT) in Visual Recognition
- 系统性测试主流参数高效微调方法,统一调参以公平比较性能。
- 低样本场景下各方法精度接近,简单方法如仅调偏置项也表现不俗。
- 方法间错误模式不同,可互补用于集成,且高效微调在多样本场景仍有效。
参数高效微调(PEFT)因预训练模型规模增大而受到关注,旨在提升下游任务性能。尽管新方法层出不穷,但缺乏对各类方法性能及适用场景的系统研究,尤其在视觉识别领域。本文针对视觉变换器模型,开展统一的实证研究,系统调优代表性PEFT方法的超参数,公平比较其在下游任务上的准确率。研究发现:若调参得当,不同PEFT方法在低样本基准VTAB-1K上表现相近,包括曾被认为较差的仅调偏置项方法;尽管精度相似,各方法预测错误和高置信度判断存在差异,源于不同归纳偏置,提示可构建集成方法;此外,PEFT在多样本场景下仍具优势,精度与全量微调相当甚至更优,同时显著减少参数量;最后,探究了PEFT对分布外鲁棒性(如CLIP)的保持能力,结果显示其优于全量微调,但通过权重空间集成的全量微调可在目标分布与分布偏移间取得更好平衡,为未来鲁棒性增强提供方向。
原文摘要 · Abstract (English)
Parameter-efficient fine-tuning (PEFT) has attracted significant attention due to the growth of pre-trained model sizes and the need to fine-tune (FT) them for superior downstream performance. Despite a surge in new PEFT methods, a systematic study to understand their performance and suitable application scenarios is lacking, leaving questions like "when to apply PEFT" and "which method to use" largely unanswered, especially in visual recognition. In this paper, we conduct a unifying empirical study of representative PEFT methods with Vision Transformers. We systematically tune their hyperparameters to fairly compare their accuracy on downstream tasks. Our study offers a practical user guide and unveils several new insights. First, if tuned carefully, different PEFT methods achieve similar accuracy in the low-shot benchmark VTAB-1K. This includes simple approaches like FT the bias terms that were reported inferior. Second, despite similar accuracy, we find that PEFT methods make different mistakes and high-confidence predictions, likely due to their different inductive biases. Such an inconsistency (or complementarity) opens up the opportunity for ensemble methods, and we make preliminary attempts at this. Third, going beyond the commonly used low-shot tasks, we find that PEFT is also useful in many-shot regimes, achieving comparable or better accuracy than full FT while using significantly fewer parameters. Lastly, we investigate PEFT's ability to preserve a pre-trained model's robustness to distribution shifts (e.g., CLIP). Perhaps not surprisingly, PEFT approaches outperform full FT alone. However, with weight-space ensembles, full FT can better balance target distribution and distribution shift performance, suggesting a future research direction for robust PEFT.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。