Parameter-Efficient Multi-Task Fine-Tuning in Code-Related Tasks
Md Zahidul Haque, Saima Afrin, Antonio Mastropaolo
Key points
From the paper's conclusion- We investigate Multi-task QLoRA fine-tuning — a representative parameter-efficient method from the LoRA family — across three representative tasks: code generation, translation, and summarization.
Abstract
Large Language Models (LLMs) have proven highly effective in automating software engineering tasks, bridging natural language and code semantics to achieve notable results in code generation and summarization. However, their scale incurs substantial computational costs, making full fine-tuning impractical. Parameter-Efficient Fine-Tuning (PEFT) methods like QLoRA enable efficient specialization with lower resource demands. Recent studies show QLoRA-optimized Large Code Models (LCMs) perform strongly across diverse tasks, yet it remains unclear whether this effectiveness persists when a single model is QLoRA fine-tuned for multiple code-related tasks. The interaction between Multi-task fine-tuning and QLoRA optimization, and how transfer learning affects correctness and quality of generated artifacts, remains largely unexplored. We investigate Multi-task QLoRA fine-tuning — a representative parameter-efficient method from the LoRA family — across three representative tasks: code generation, translation, and summarization. We evaluate functional correctness through execution-based and similarity-based metrics, complemented by comprehensive code quality analysis–an aspect largely overlooked in prior work. Our findings show that Multi-task QLoRA effectively leverages transfer learning, achieving competitive or superior performance at the 1.5B, 3B, and 7B configurations relative to both Single-task QLoRA and Multi-task full fine-tuning. Larger models demonstrate more consistent balance between correctness and quality, whereas smaller models preserve functionality but exhibit a higher incidence of quality-related issues.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- An Empirical Study on the Code Refactoring Capability of Large Language ModelsACM Transactions on Software Engineering and Methodology · 2026
- A survey on large language models for software engineeringScience China Information Sciences · 2026
- Where to Adapt Matters: Layer-Selective Fine-Tuning for Capability RetentionarXiv · 2026
- Do Advanced Language Models Eliminate the Need for Prompt Engineering in Software Engineering?ACM Transactions on Software Engineering and Methodology · 2025
- Quality assurance of LLM-generated code: Addressing non-functional quality characteristicsJournal of Systems and Software · 2026
- GLA-LoRA: Parameter-efficient LLM fine-tuning with global-local knowledge alignment.Neural networks : the official journal of the International Neural Network Society · 2026