Composing Parameter-Efficient Modules with Arithmetic Operation
Jinghan Zhang, Shiqi Chen, Junteng Liu, Junxian He
Abstract
As an efficient alternative to conventional full finetuning, parameter-efficient finetuning (PEFT) is becoming the prevailing method to adapt pretrained language models. In PEFT, a lightweight module is learned on each dataset while the underlying pretrained language model remains unchanged, resulting in multiple compact modules representing diverse skills when applied to various domains and tasks. In this paper, we propose to compose these parameter-efficient modules through linear arithmetic operations in the weight space, thereby integrating different module capabilities. Specifically, we first define addition and negation operators for the module, and then further compose these two basic operators to perform flexible arithmetic. Our approach requires no additional training and enables highly flexible module composition. We apply different arithmetic operations to compose the parameter-efficient modules for (1) distribution generalization, (2) multi-tasking, (3) unlearning, and (4) domain transfer. Additionally, we extend our approach to detoxify Alpaca-LoRA, the latest instruction-tuned large language model based on LLaMA. Empirical results demonstrate that our approach produces new and effective parameter-efficient modules that significantly outperform existing ones across all settings.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
60 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Twin-Merging: Dynamic Integration of Modular Expertise in Model Merging cites LoRA: Low-Rank Adaptation of Large Language Models
- Twin-Merging: Dynamic Integration of Modular Expertise in Model Merging cites Multitask Prompted Training Enables Zero-Shot Task Generalization
- Twin-Merging: Dynamic Integration of Modular Expertise in Model Merging cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- Parameter Competition Balancing for Model Merging cites LoRA: Low-Rank Adaptation of Large Language Models
- Parameter Competition Balancing for Model Merging cites Multitask Prompted Training Enables Zero-Shot Task Generalization
- Parameter Competition Balancing for Model Merging cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- Parameter Competition Balancing for Model Merging cites Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning
- How to Continually Adapt Text-to-Image Diffusion Models for Flexible Customization? cites LoRA: Low-Rank Adaptation of Large Language Models
- ReFT: Representation Finetuning for Language Models cites LoRA: Low-Rank Adaptation of Large Language Models
- ReFT: Representation Finetuning for Language Models cites Towards a Unified View of Parameter-Efficient Transfer Learning
- EMR-Merging: Tuning-Free High-Performance Model Merging cites LoRA: Low-Rank Adaptation of Large Language Models
- EMR-Merging: Tuning-Free High-Performance Model Merging cites Multitask Prompted Training Enables Zero-Shot Task Generalization
- EMR-Merging: Tuning-Free High-Performance Model Merging cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- EMR-Merging: Tuning-Free High-Performance Model Merging cites Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning
- Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning cites LoRA: Low-Rank Adaptation of Large Language Models
- Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning cites Multitask Prompted Training Enables Zero-Shot Task Generalization
- Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning cites Towards a Unified View of Parameter-Efficient Transfer Learning
Cited by top-tier papers60
- ReFT: Representation Finetuning for Language ModelsZhengxuan Wu, Aryaman Arora, Zheng Wang, Atticus Geiger et al.NeurIPS 2024 · 233 citations
- Twin-Merging: Dynamic Integration of Modular Expertise in Model MergingZhenyi Lu, Chenghao Fan, Wei Wei, Xiaoye Qu et al.NeurIPS 2024 · 139 citations
- EMR-Merging: Tuning-Free High-Performance Model MergingChenyu Huang, Peng Ye, Tao Chen, Tong He et al.NeurIPS 2024 · 134 citations
- Parameter Competition Balancing for Model MergingGuodong Du, Junlin Lee, Jing Li, Runhua Jiang et al.NeurIPS 2024 · 91 citations
- How to Continually Adapt Text-to-Image Diffusion Models for Flexible Customization?Jiahua Dong, Wenqi Liang, Hongliu Li, Duzhen Zhang et al.NeurIPS 2024 · 42 citations
Builds on14
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
- Multitask Prompted Training Enables Zero-Shot Task GeneralizationVictor Sanh, Albert Webson, Colin Raffel, Stephen H. Bach et al.ICLR 2022 · 1,976 citations
- Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context LearningHaokun Liu, Derek Tam, Mohammed Muqeeth, Jay Mohta et al.NeurIPS 2022 · 1,483 citations
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timeMitchell Wortsman, Gabriel Ilharco, Samir Yitzhak Gadre, Rebecca Roelofs et al.ICML 2022 · 1,464 citations
- Towards a Unified View of Parameter-Efficient Transfer LearningJunxian He, Chunting Zhou, Xuezhe Ma, Taylor Berg-Kirkpatrick et al.ICLR 2022 · 1,182 citations
Related papers
- DoMIX: An Efficient Framework for Exploiting Domain Knowledge in Fine-TuningDohoon Kim, Donghun Kang, Taesup MoonACL 2025
- ABBA-Adapters: Efficient and Expressive Fine-Tuning of Foundation ModelsRaghav Singhal, Kaustubh Ponkshe, Rohit Vartak, Praneeth VepakommaICLR 2026 · 3 citations
- MoDULA: Mixture of Domain-Specific and Universal LoRA for Multi-Task LearningYufei Ma, Zihan Liang, Huangyu Dai, Ben Chen et al.EMNLP 2024 · 4 citations
- VB-LoRA: Extreme Parameter Efficient Fine-Tuning with Vector BanksYang Li, Shaobo Han, Shihao JiNeurIPS 2024 · 61 citations
- AdaMix: Mixture-of-Adaptations for Parameter-efficient Model TuningYaqing Wang, Sahaj Agarwal, Subhabrata Mukherjee, Xiaodong Liu et al.EMNLP 2022 · 65 citations
