Abstract
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.
Introduction
Fine-tuning massive pre-trained vision models, such as ViT-H or ConvNeXt, for specific downstream tasks is often computationally prohibitive. While Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA (Low-Rank Adaptation) reduce the number of trainable parameters, they often suffer from limited expressivity because their updates are constrained to a low-rank space. This constraint leads to a "coupling" problem where weight updates are too interdependent.
Alternatively, Sparse Tuning—which updates only the most relevant individual weights—offers better performance but typically relies on a cumbersome two-stage "locate-then-tune" process. This process is memory-intensive, requiring the storage of full-sized gradient masks and weight matrices in the optimizer, creating a "memory wall" that prevents scaling to truly large models. SNELLA (Sparse tuning with kerNELized LoRA and Adaptive bi-level sparsity allocation) addresses these challenges by introducing a one-stage, memory-efficient framework.
Methodology
SNELLA introduces two major innovations to bridge the gap between low-rank efficiency and sparse expressivity:
- Kernelized LoRA: Standard LoRA merges two low-rank matrices via a simple linear product. SNELLA replaces this with a non-linear kernel function (specifically a Mix-K kernel, combining piecewise linear and normalized RBF kernels). This "kernel trick" effectively projects low-rank matrices into a higher-dimensional space, allowing for a high-rank update matrix that provides the flexibility of sparse tuning without increasing the number of stored parameters.
- Adaptive Bi-level Sparsity Allocation: Instead of manual weight selection, SNELLA treats weight selection as a competition. At the layer-level, layers compete for a "budget" of tunable weights based on sensitivity and uncertainty scores. At the weight-level, individual weights within each layer compete to stay "active" based on update magnitude.
Unlike previous methods that find important weights first and then train them, SNELLA operates in a single stage. It dynamically adjusts which weights are important as training progresses, allowing for end-to-end sparsification.
Experiments and Results
The researchers evaluated SNELLA across a diverse array of tasks, including classification (FGVC and VTAB-1k benchmarks), dense prediction (polyp segmentation), and generation (DreamBooth with Stable Diffusion 3). The method was tested on architectures ranging from ViT (Base to Huge) to ConvNeXt and the Segment Anything Model (SAM).
Key Performance Metrics
SNELLA-8 achieved a 91.9% Top-1 accuracy on the FGVC benchmark, outperforming the previous state-of-the-art (SPT-LoRA) by 1.8%. In DreamBooth experiments, SNELLA demonstrated significantly higher "concept fidelity" compared to standard LoRA, maintaining accurate details like the specific color of a backpack.
Memory Efficiency
Compared to traditional sparse tuning, SNELLA reduced memory usage by 31.1% to 39.9%. On the massive ViT-H/14 model, SNELLA required only about 50% of the memory used for full fine-tuning. This efficiency stems from the kernelized approach, which decouples updates and allows the model to adjust specific task-relevant weights independently without storing full gradient masks.
Conclusion
SNELLA represents a significant step forward in PEFT by combining the expressivity of sparse tuning with the efficiency of low-rank methods. By utilizing non-linear kernels and a dynamic budgeting system, it achieves state-of-the-art performance while slashing memory overhead. Future work may involve extending this framework to Large Language Models (LLMs) and Vision-Language Models (VLMs), where memory constraints are even more critical.
Summary updated