arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.24037cs.CVcs.LG
收藏

面向视觉模型的带双层参数竞争的核化稀疏微调

Kernelized Sparse Fine-Tuning with Bi-level Parameter Competition for Vision Models

Key Laboratory of Intelligent Information Processing, Institute of Computing Technology, Chinese Academy of Sciences(智能信息处理重点实验室,计算技术研究所,中国科学院);School of Computer Science and Technology, University of Chinese Academy of Sciences(计算机科学与技术学院,中国科学院大学)

Shufan Shen, Junshu Sun, Shuhui Wang, Qingming Huang

AI总结:

针对现有视觉模型稀疏微调两阶段范式的性能局限与高内存问题,提出单阶段方法SNELLA,通过核化低秩稀疏更新与双层稀疏竞争机制,在多任务上以更低内存实现SOTA性能。

摘要:

参数高效微调(PEFT)旨在使预训练视觉模型适配下游任务。在各类PEFT范式中,稀疏微调通过仅调整与下游任务最相关的权重而非对整个权重矩阵进行密集微调,取得了显著性能。现有方法遵循两阶段范式:第一阶段通过梯度信息定位任务相关权重,该方式忽略了微调过程中的参数调整,限制了性能上限;第二阶段通过对权重矩阵的梯度施加稀疏掩码,仅更新定位到的权重,由于优化器中需要存储所有权重矩阵,会导致高内存占用。本文提出一种名为SNELLA的单阶段方法以克服上述局限。在内存占用方面,SNELLA通过将权重矩阵与另一个由两个低秩可学习矩阵融合得到的稀疏矩阵相加,实现权重矩阵的选择性更新。我们通过引入非线性核函数扩展低秩分解,从而提升最终融合矩阵的秩,避免权重更新之间的相互依赖,使其能更好地适配下游任务。在任务相关权重定位方面,我们提出一种自适应双层稀疏分配机制,该机制以端到端的方式,基于权重的重要性得分鼓励权重在层间和层内展开竞争。我们使用不同的预训练视觉模型,在分类、分割和生成任务上开展了大量实验。结果表明,SNELLA以低内存占用实现了SOTA(当前最优)性能。值得注意的是,在FGVC基准上,SNELLA的Top-1准确率比SPT-LoRA高出1.8%(91.9% 对比 90.1%)。与现有方法相比,在参数规模从86M到632M的各模型上,SNELLA的内存占用降低了31.1%-39.9%。我们的源代码可在https://github.com/ssfgunner/SNELL获取。

英文摘要:

Parameter-efficient fine-tuning (PEFT) aims to adapt pre-trained vision models to downstream tasks. Among PEFT paradigms, sparse tuning achieves remarkable performance by adjusting only the weights most relevant to downstream tasks, rather than densely tuning the entire weight matrix. Current methods follow a two-stage paradigm. First, it locates task-relevant weights by gradient information, which overlooks the parameter adjustments during fine-tuning and limits the performance. Second, it updates only the located weights by applying a sparse mask to the gradient of the weight matrix, which results in high memory usage due to the storage of all weight matrices in the optimizer. In this paper, we propose a one-stage method named SNELLA to overcome the above limitations. For memory usage, SNELLA selectively updates the weight matrix by adding it to another sparse matrix that is merged by two low-rank learnable matrices. We extend the low-rank decomposition by introducing nonlinear kernel functions, thereby increasing the rank of the resulting merged matrix to prevent the interdependency among weight updates, enabling better adaptation to downstream tasks. For locating task-relevant weights, we propose an adaptive bi-level sparsity allocation mechanism that encourages weights to compete across and inside layers based on their importance scores in an end-to-end manner. Extensive experiments are conducted on classification, segmentation, and generation tasks using different pre-trained vision models. The results show that SNELLA achieves SOTA performance with low memory usage. Notably, SNELLA obtains 1.8% (91.9% v.s. 90.1%) higher Top-1 accuracy on the FGVC benchmark compared to SPT-LoRA. Compared to previous methods, SNELLA achieves a memory reduction of 31.1%-39.9% across models with parameter scales from 86M to 632M. Our source codes are available at https://github.com/ssfgunner/SNELL.

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

↑