MergeRepair: An Exploratory Study on Merging Task-Specific Adapters in Code LLMs for Automated Program Repair
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have shown high capabilities in several software development-related tasks such as program repair, documentation, code refactoring, debugging, and testing. However, training these models requires massive amount of data and significant computational resources. Adapters are specialized, small modules designed for parameter efficient fine-tuning of LLMs for specific tasks, domains, or applications without requiring extensive retraining of the entire model. These adapters offer a more efficient way to customize LLMs for particular needs, leveraging the pre-existing capabilities of the large model. Model (and adapter) merging have emerged as a technique to develop one model capable of multiple tasks, with minimal or no training required. Although model and adapter merging has shown promising performance in domains such as natural language processing and computer vision, its applicability to software engineering tasks remains underexplored. In this paper, we investigate the effectiveness of merged adapters within the context of software engineering, with a particular focus on the Automated Program Repair (APR) task, through our approach, MergeRepair. In particular, we merge multiple task-specific adapters using three different merging methods, including weight-averaging, ties, and dare-ties, and evaluate the performance of the merged adapter on the APR task. We introduce a continual merging approach, a novel method in which we sequentially merge the task-specific adapters where the order and weight of the merged adapters play a significant role. We further compare the performance of our approach with a baseline method consisting of equal-weight merging applied on parameters of different adapters, where all adapters are of equal importance.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 54 of its 87 references that are in the map. First posted on arXiv 18 Aug 2024.
Builds on
54 of 87 references.
References · 54
- 2017Attention Is All You Needcited by 59,932
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
- 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,234
- 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 886
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
38 more
- 2023TIES-Merging: Resolving Interference When Merging Modelscited by 795
- 2023StarCoder: may the source be with you!cited by 790
- 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 780
- 2023Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunchcited by 679
- 2021Merging Models with Fisher-Weighted Averagingcited by 613
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
- 2022Git Re-Basin: Merging Models modulo Permutation Symmetriescited by 460
- 2023LoraHub: Efficient Cross-Task Generalization via Dynamic LoRA Compositioncited by 359
- 2021VL-Adapter: Parameter-Efficient Transfer Learning for Vision-and-Language Taskscited by 319
- 2022Efficient Training of Language Models to Fill in the Middlecited by 248
- 2024Evolutionary Optimization of Model Merging Recipescited by 204
- 2024Arcee's MergeKit: A Toolkit for Merging Large Language Modelscited by 189
- 2023ZipIt! Merging Models from Different Tasks without Trainingcited by 178
- 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 178
- 2023Composing Parameter-Efficient Modules with Arithmetic Operationscited by 155
- 2018SequenceR: Sequence-to-Sequence Learning for End-to-End Program Repaircited by 144
- 2022AdaMix: Mixture-of-Adaptations for Parameter-efficient Model Tuningcited by 137
- 2022Practical Program Repair in the Era of Large Pre-trained Language Modelscited by 133
- 2024Granite Code Models: A Family of Open Foundation Models for Code Intelligencecited by 116
- 2024EMR-Merging: Tuning-Free High-Performance Model Mergingcited by 108
- 2022ReCode: Robustness Evaluation of Code Generation Modelscited by 100
- 2023AdapterSoup: Weight Averaging to Improve Generalization of Pretrained Language Modelscited by 84
- 2022Conv-Adapter: Exploring Parameter Efficient Transfer Learning for ConvNetscited by 62
- 2023Adapters: A Unified Library for Parameter-Efficient and Modular Transfer Learningcited by 53
- 2023RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repaircited by 50
- 2023Evaluating Instruction-Tuned Large Language Models on Code Comprehension and Generationcited by 49
- 2024AdaMergeX: Cross-Lingual Transfer with Large Language Models via Adaptive Adapter Mergingcited by 34
- 2018Nopol: Automatic Repair of Conditional Statement Bugs in Java Programscited by 32
- 2023Exploring Parameter-Efficient Fine-Tuning Techniques for Code Generation with Large Language Modelscited by 28
- 2019ATOM: Commit Message Generation Based on Abstract Syntax Tree and Hybrid Rankingcited by 25
- 2024Astraios: Parameter-Efficient Instruction Tuning Code Large Language Modelscited by 23
- 2018FixMiner: Mining Relevant Fix Patterns for Automated Program Repaircited by 22
- 2023Towards Efficient Fine-tuning of Pre-trained Code Models: An Experimental Study and Beyondcited by 20
- 2024Efficient and Green Large Language Models for Software Engineering: Literature Review, Vision, and the Road Aheadcited by 17
- 2023One Adapter for All Programming Languages? Adapter Tuning for Code Search and Summarizationcited by 16
- 2022Parameter Efficient Transfer Learning for Various Speech Processing Taskscited by 8
- 2024Delving into Parameter-Efficient Fine-Tuning in Code Change Learning: An Empirical Studycited by 8
50 most cited of 54 All 54 (JSON)
Built on by
Not cited yet.