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

MLAE:面向视觉参数高效微调的掩码LoRA专家

MLAE: Masked LoRA Experts for Visual Parameter-Efficient Fine-Tuning

Beijing University of Posts and Telecommunications(北京邮电大学);Peking University(北京大学);Shanghai Jiao Tong University(上海交通大学);West China Hospital, Sichuan University(四川大学华西医院);Shanghai AI Laboratory(上海人工智能实验室)

Junjie Wang, Guangjing Yang, Wentao Chen, Huahui Yi, Xiaohu Wu, Zhouchen Lin, Qicheng Lao

AI总结:

针对LoRA类视觉参数高效微调方法的低秩矩阵冗余、提秩效果有限问题,提出MLAE方法,通过元胞分解和二值掩码选择性激活秩1专家,以更少参数量在VTAB-1k、FGVC基准上刷新SOTA。

摘要:

针对大规模预训练模型全微调需要更新大量参数带来的挑战,以低秩适配(Low-Rank Adaptation, LoRA)为代表的参数高效微调(parameter-efficient fine-tuning, PEFT)方法应运而生。LoRA简化了微调流程,但低秩矩阵仍存在一定程度的冗余,且仅提升秩的效果有限。为解决这些问题,一个自然的思路是增强低秩矩阵学习过程的独立性与多样性。因此,我们提出掩码LoRA专家(Masked LoRA Experts, MLAE),这是一种将掩码概念应用于视觉PEFT的创新方法。我们的方法采用元胞分解策略,将低秩矩阵转化为独立的秩1子矩阵(即“专家”),从而增强独立性。此外,我们引入二值掩码矩阵,基于专家级dropout策略,在训练过程中选择性激活这些专家,以促进更多样化、各向异性的学习。研究表明,这种选择性激活不仅提升了性能,还能促进知识获取的多样性,使MLAE的参数相似度显著降低,大幅提升模型质量。值得注意的是,MLAE取得了新的 state-of-the-art(SOTA,当前最优)性能:在VTAB-1k基准上平均准确率达78.8%,在FGVC基准上达90.9%,在两个基准上均以约一半的参数量,较此前的SOTA结果平均提升0.8%。我们的代码可在https://github.com/jie040109/MLAE获取。

英文摘要:

In response to the challenges posed by the extensive parameter updates required for full fine-tuning of large-scale pre-trained models, parameter-efficient fine-tuning (PEFT) methods, exemplified by Low-Rank Adaptation (LoRA), have emerged. LoRA simplifies the fine-tuning process but may still struggle with a certain level of redundancy in low-rank matrices and limited effectiveness from merely increasing their rank. To address these issues, a natural idea is to enhance the independence and diversity of the learning process for the low-rank matrices. Therefore, we propose Masked LoRA Experts (MLAE), an innovative approach that applies the concept of masking to visual PEFT. Our method incorporates a cellular decomposition strategy that transforms a low-rank matrix into independent rank-1 submatrices, or "experts", thus enhancing independence. Additionally, we introduce a binary mask matrix that selectively activates these experts during training to promote more diverse and anisotropic learning, based on expert-level dropout strategies. Our investigations reveal that this selective activation not only enhances performance but also fosters a more diverse acquisition of knowledge with a marked decrease in parameter similarity among MLAE, significantly boosting the quality of the model. Remarkably, MLAE achieves new state-of-the-art (SOTA) performance with an average accuracy score of 78.8% on the VTAB-1k benchmark and 90.9% on the FGVC benchmark, surpassing the previous SOTA result by an average of 0.8% on both benchmarks with approximately half parameters. Our code is available at https://github.com/jie040109/MLAE.

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

↑