参数高效微调(PEFT)在视觉识别中的统一研究:经验教训与见解
Lessons and Insights from a Unifying Study of Parameter-Efficient Fine-Tuning (PEFT) in Visual Recognition
AI总结:
本文对视觉识别中基于Vision Transformers的代表性PEFT方法进行统一实证研究,系统调参公平比较,揭示不同方法在低样本下精度相似但错误模式不同,在多样本下优于或媲美全量微调且参数更少,并探讨了鲁棒性与集成方向。
摘要:
参数高效微调(PEFT)由于预训练模型规模的增大以及为获得优越下游性能而对其进行微调(FT)的需求,已引起广泛关注。尽管新的PEFT方法层出不穷,但缺乏对其性能和适用场景的系统性研究,导致诸如“何时应用PEFT”和“使用哪种方法”等问题在很大程度上仍未得到解答,尤其是在视觉识别领域。在本文中,我们对基于Vision Transformers的代表性PEFT方法进行了统一的实证研究。我们系统地调整其超参数,以公平比较它们在下游任务上的准确性。我们的研究提供了实用的用户指南,并揭示了若干新见解。首先,如果仔细调整,不同的PEFT方法在低样本基准VTAB-1K上能达到相似的准确性。这包括简单的方法,如微调偏置项,此前这些方法被认为性能较差。其次,尽管准确性相似,我们发现PEFT方法会犯不同的错误并产生不同的高置信度预测,这可能是由于它们不同的归纳偏置。这种不一致性(或互补性)为集成方法提供了机会,我们对此进行了初步尝试。第三,超越常用的低样本任务,我们发现PEFT在多样本场景下同样有用,在显著使用更少参数的同时,能达到与全量微调相当或更好的准确性。最后,我们研究了PEFT保持预训练模型对分布偏移(如CLIP)鲁棒性的能力。也许并不令人惊讶,PEFT方法单独优于全量微调。然而,通过权重空间集成,全量微调能更好地平衡目标分布和分布偏移性能,这为鲁棒PEFT的未来研究指明了方向。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。