MoSA: Mixture of Sparse Adapters for Visual Efficient Tuning

Qizhe Zhang, Bocheng Zou, Ruichuan An, Jiaming Liu, Shanghang Zhang
12/5/2023
cs.CV

No official code found. Best implementation: Theia-4869/MoSA (13 stars, last commit 2023-12-14).

Abstract

With the rapid growth in the scale of pre-trained foundation models, parameter-efficient fine-tuning techniques have gained significant attention, among which Adapter Tuning is the most widely used. Despite achieving efficiency, it still underperforms full fine-tuning, and the performance improves at the cost of an increase in parameters. Recent efforts have either focused on training multiple adapter experts to increase model capacity or on pruning adapters to achieve parameter efficiency. However, both approaches introduce more parameters compared to the original adapter, hence are not computationally efficient. Motivated by this, we propose Mixture of Sparse Adapters, or MoSA, as a novel Adapter Tuning method to fully unleash the potential of each parameter in the adapter. We first split the standard adapter into multiple non-overlapping modules, then stochastically activate them for sparse training, and finally merge them to form a complete adapter after tuning. In this way, MoSA can achieve significantly better performance than standard adapters without any additional computational or storage overhead. Furthermore, we propose a hierarchical sparse strategy to better leverage limited training data. Extensive experiments on a series of 27 visual tasks demonstrate that MoSA consistently outperforms other Adapter Tuning methods as well as other baselines by a large margin. Furthermore, MoSA brings consistent improvements across various model scales, architectures, and different PEFT methods. Code will be released.

View on arXivView PDF

Code Implementations(1)

Theia-4869/MoSACommunity100%

Official code of MoSA (Mixture of Sparse Adapters).

131Shell, Python2 years agoNOASSERTION

Similar Papers

Cite this paper

@article{zhang2023mosa,
  title  = {MoSA: Mixture of Sparse Adapters for Visual Efficient Tuning},
  author = {Qizhe Zhang and Bocheng Zou and Ruichuan An and Jiaming Liu and Shanghang Zhang},
  year   = {2023},
  eprint = {2312.02923},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.02923v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.02923.svg)](https://codeofpaper.com/paper/2312.02923)

Discussion