paper-with-me

홈 › Papers

Multi-task Code LLMs: Data Mix or Model Merge?

2026-01-28 · Mingzhi Zhu, Boris Sobolev, Rahul Krishna, Raju Pavuluri, Stacy Patterson, Michele Merler arxiv

Recent research advocates deploying smaller, specialized code LLMs in agentic frameworks alongside frontier models, sparking interest in efficient strategies for multi-task learning that balance performance, constraints, and costs. We compare two approaches for creating small, multi-task code LLMs: data mixing versus model merging. We conduct extensive experiments across two model families (Qwen Coder and DeepSeek Coder) at two scales (2B and 7B parameters), fine-tuning them for code generation and code summarization tasks. Our evaluation on HumanEval, MBPP, and CodeXGlue benchmarks reveals that model merging achieves the best overall performance at larger scale across model families, retaining 96% of specialized model performance on code generation tasks while maintaining summarization capabilities. Notably, merged models can even surpass individually fine-tuned models, with our best configuration of Qwen Coder 2.5 7B model achieving 92.7% Pass@1 on HumanEval compared to 90.9% for its task-specific fine-tuned equivalent. At a smaller scale we find instead data mixing to be a preferred strategy. We further introduce a weight analysis technique to understand how different tasks affect model parameters and their implications for merging strategies. The results suggest that careful merging and mixing strategies can effectively combine task-specific capabilities without significant performance degradation, making them ideal for resource-constrained deployment scenarios.

📄 PDF Abstract BibTeX arXiv:2601.21115

Code (0)

등록된 구현이 없습니다.

Tasks

Multi-Task LearningCode Generation

Results from the Paper

RankTaskDatasetModelMetrics
#10 Code Generation HumanEval Multi-task Code LLMs Pass@1: 92.7

Similar Papers 제목 키워드 기반

MergeRepair: An Exploratory Study on Merging Task-Specific Adapters in Code LLMs for Automated Program Repair

2024-08-18 · Meghdad Dehghan, Jie JW Wu, Fatemeh H. Fard, Ali Ouni

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 requ…

parameter-efficient fine-tuningProgram Repair

CodeApex: A Bilingual Programming Evaluation Benchmark for Large Language Models

2023-09-05 · Lingyue Fu, Huacan Chai, Shuang Luo, Kounianhua Du 외

With the emergence of Large Language Models (LLMs), there has been a significant improvement in the programming capabilities of models, attracting growing attention from researchers. Evaluating the programming capabiliti…

Code GenerationMultiple-choice

Mixup Model Merge: Enhancing Model Merging Performance through Randomized Linear Interpolation

2025-02-21 · Yue Zhou, Yi Chang, Yuan Wu

Model merging integrates the parameters of multiple models into a unified model, combining their diverse capabilities. Existing model merging methods are often constrained by fixed parameter merging ratios. In this study…

Adversarial RobustnessData Augmentationmodel

Be Cautious When Merging Unfamiliar LLMs: A Phishing Model Capable of Stealing Privacy

2025-02-17 · Zhenyuan Guo, Yi Shi, Wenlong Meng, Chen Gong 외

Model merging is a widespread technology in large language models (LLMs) that integrates multiple task-specific LLMs into a unified one, enabling the merged model to inherit the specialized capabilities of these LLMs. Mo…

MergeBench: A Benchmark for Merging Domain-Specialized LLMs

2025-05-16 · Yifei He, Siqi Zeng, Yuzheng Hu, Rui Yang 외

Model merging provides a scalable alternative to multi-task training by combining specialized finetuned models through parameter arithmetic, enabling efficient deployment without the need for joint training or access to …

Instruction Following