Exploring Parameter-Efficient Fine-Tuning Techniques for Code Generation with Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) demonstrate impressive capabilities to generate accurate code snippets given natural language intents in a zero-shot manner, i.e., without the need for specific fine-tuning. While prior studies have highlighted the advantages of fine-tuning LLMs, this process incurs high computational costs, making it impractical in resource-scarce environments, particularly for models with billions of parameters. To address these challenges, previous research explored in-context learning (ICL) and retrieval-augmented generation (RAG) as strategies to guide the LLM generative process with task-specific prompt examples. However, ICL and RAG introduce inconveniences, such as the need for designing contextually relevant prompts and the absence of learning task-specific parameters, thereby limiting downstream task performance. In this context, we foresee parameter-efficient fine-tuning (PEFT) as a promising approach to efficiently specialize LLMs to task-specific data while maintaining reasonable resource consumption. In this paper, we deliver a comprehensive study of PEFT techniques for LLMs in the context of automated code generation. Our comprehensive investigation of PEFT techniques for LLMs reveals their superiority and potential over ICL and RAG across a diverse set of LLMs and three representative Python code generation datasets: Conala, CodeAlpacaPy, and APPS. Furthermore, our study highlights the potential for tuning larger LLMs and significant reductions in memory usage by combining PEFT with quantization. Therefore, this study opens opportunities for broader applications of PEFT in software engineering scenarios. Our code is available at https://github.com/martin-wey/peft-llm-code/.
Key facts. Cited by 28 papers in the map (data through 7 Oct 2026). Builds on 84 of its 115 references that are in the map. First posted on arXiv 21 Aug 2023.
Builds on
84 of 115 references.
References · 84
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
38 more
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2021Learning to Prompt for Vision-Language Modelscited by 2,269
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2022Large Language Models Encode Clinical Knowledgecited by 1,807
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 886
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 705
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
- 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 457
- 2021MetaICL: Learning to Learn In Contextcited by 450
- 2022A Systematic Evaluation of Large Language Models of Codecited by 360
- 2023LoraHub: Efficient Cross-Task Generalization via Dynamic LoRA Compositioncited by 359
- 2022The Stack: 3 TB of permissively licensed source codecited by 354
- 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 324
- 2023LLM-Adapters: An Adapter Family for Parameter-Efficient Fine-Tuning of Large Language Modelscited by 317
- 2022Language in a Bottle: Language Model Guided Concept Bottlenecks for Interpretable Image Classificationcited by 310
- 2022Delta Tuning: A Comprehensive Study of Parameter Efficient Methods for Pre-trained Language Modelscited by 179
- 2023GPT detectors are biased against non-native English writerscited by 175
- 2018Learning to Mine Aligned Code and Natural Language Pairs from Stack Overflowcited by 165
- 2021Understanding the Capabilities, Limitations, and Societal Impact of Large Language Modelscited by 159
50 most cited of 84 All 84 (JSON)
Built on by
Citing papers per year: 2023: 2; 2024: 12; 2025: 10; 2026: 4.
28 papers.
Sort:
By area:
- 2024A Survey on Large Language Models for Code Generationcited by 646
- 2024Large Language Models Meet NLP: A Surveycited by 102
- 2024Agents in Software Engineering: Survey, Landscape, and Visioncited by 60
- 2024CodeUltraFeedback: An LLM-as-a-Judge Dataset for Aligning Large Language Models to Coding Preferencescited by 56
- 2024What's Wrong with Your Code Generated by Large Language Models? An Extensive Studycited by 52
- 2023RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repaircited by 50
- 2025Type-Constrained Code Generation with Language Modelscited by 32
- 2024IterGen: Iterative Semantic-aware Structured LLM Generation with Backtrackingcited by 28
- 2024Fine-Tuning, Quantization, and LLMs: Navigating Unintended Outcomescited by 14
- 2025TabPFN-Wide: Continued Pre-Training for Extreme Feature Countscited by 13
- 2026Heterogeneous Agent Collaborative Reinforcement Learningcited by 13
- 2025A Survey on Inference Engines for Large Language Models: Perspectives on Optimization and Efficiencycited by 12
16 more
- 2025Efficiency vs. Alignment: Investigating Safety and Fairness Risks in Parameter-Efficient Fine-Tuning of LLMscited by 4
- 2024Parameter-Efficient Fine-Tuning of Large Language Models for Unit Test Generation: An Empirical Studycited by 3
- 2025Smaller = Weaker? Benchmarking Robustness of Quantized LLMs in Code Generationcited by 3
- 2025The Impact of Fine-tuning Large Language Models on Automated Program Repaircited by 3
- 2025Zhyper: Factorized Hypernetworks for Conditioned LLM Fine-Tuningcited by 3
- 2025Building Large-Scale English-Romanian Literary Translation Resources with Open Modelscited by 2
- 2023Contextual Code Switching for Machine Translation using Language Modelscited by 1
- 2024Refining Joint Text and Source Code Embeddings for Retrieval Task with Parameter-Efficient Fine-Tuningcited by 1
- 2025A Blueprint for AI-Driven Software Quality: Integrating LLMs with Established Standardscited by 1
- 2024MergeRepair: An Exploratory Study on Merging Task-Specific Adapters in Code LLMs for Automated Program Repaircited by 0
- 2024In-Context Code-Text Learning for Bimodal Software Engineeringcited by 0
- 2024Transducer Tuning: Efficient Model Adaptation for Software Tasks Using Code Property Graphscited by 0
- 2025Rethinking and Exploring String-Based Malware Family Classification in the Era of LLMs and RAGcited by 0
- 2026One Model, Many Skills: Parameter-Efficient Fine-Tuning for Multitask Code Analysiscited by 0
- 2026uGen: An Agentic Framework for Generating Microarchitectural Attack PoCscited by 0
- 2026Quantize with Confidence? An Empirical Study of Quantization for Code Generationcited by 0
- 2026Quantize with Confidence? An Empirical Study of Quantization for Code Generation15 Jul 2026
- 2026uGen: An Agentic Framework for Generating Microarchitectural Attack PoCs15 May 2026
- 2026Heterogeneous Agent Collaborative Reinforcement Learning3 Mar 2026
- 2026One Model, Many Skills: Parameter-Efficient Fine-Tuning for Multitask Code Analysis3 Feb 2026
- 2025Efficiency vs. Alignment: Investigating Safety and Fairness Risks in Parameter-Efficient Fine-Tuning of LLMs1 Nov 2025
- 2025Zhyper: Factorized Hypernetworks for Conditioned LLM Fine-Tuning22 Oct 2025
- 2025TabPFN-Wide: Continued Pre-Training for Extreme Feature Counts7 Oct 2025
- 2025Building Large-Scale English-Romanian Literary Translation Resources with Open Models9 Sep 2025
- 2025The Impact of Fine-tuning Large Language Models on Automated Program Repair26 Jul 2025
- 2025Rethinking and Exploring String-Based Malware Family Classification in the Era of LLMs and RAG5 Jul 2025
- 2025Smaller = Weaker? Benchmarking Robustness of Quantized LLMs in Code Generation28 Jun 2025
- 2025A Blueprint for AI-Driven Software Quality: Integrating LLMs with Established Standards19 May 2025
16 more
- 2025A Survey on Inference Engines for Large Language Models: Perspectives on Optimization and Efficiency3 May 2025
- 2025Type-Constrained Code Generation with Language Models12 Apr 2025
- 2024Transducer Tuning: Efficient Model Adaptation for Software Tasks Using Code Property Graphs18 Dec 2024
- 2024Parameter-Efficient Fine-Tuning of Large Language Models for Unit Test Generation: An Empirical Study4 Nov 2024
- 2024IterGen: Iterative Semantic-aware Structured LLM Generation with Backtracking9 Oct 2024
- 2024In-Context Code-Text Learning for Bimodal Software Engineering8 Oct 2024
- 2024Agents in Software Engineering: Survey, Landscape, and Vision13 Sep 2024
- 2024MergeRepair: An Exploratory Study on Merging Task-Specific Adapters in Code LLMs for Automated Program Repair18 Aug 2024
- 2024What's Wrong with Your Code Generated by Large Language Models? An Extensive Study8 Jul 2024
- 2024A Survey on Large Language Models for Code Generation1 Jun 2024
- 2024Large Language Models Meet NLP: A Survey21 May 2024
- 2024Refining Joint Text and Source Code Embeddings for Retrieval Task with Parameter-Efficient Fine-Tuning7 May 2024
- 2024Fine-Tuning, Quantization, and LLMs: Navigating Unintended Outcomes5 Apr 2024
- 2024CodeUltraFeedback: An LLM-as-a-Judge Dataset for Aligning Large Language Models to Coding Preferences14 Mar 2024
- 2023RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repair25 Dec 2023
- 2023Contextual Code Switching for Machine Translation using Language Models20 Dec 2023
- 2024A Survey on Large Language Models for Code Generationcited by 646
- 2024Large Language Models Meet NLP: A Surveycited by 102
- 2024What's Wrong with Your Code Generated by Large Language Models? An Extensive Studycited by 52
- 2023RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repaircited by 50
- 2025Type-Constrained Code Generation with Language Modelscited by 32
- 2024IterGen: Iterative Semantic-aware Structured LLM Generation with Backtrackingcited by 28
- 2025TabPFN-Wide: Continued Pre-Training for Extreme Feature Countscited by 13
- 2025A Survey on Inference Engines for Large Language Models: Perspectives on Optimization and Efficiencycited by 12
- 2025Efficiency vs. Alignment: Investigating Safety and Fairness Risks in Parameter-Efficient Fine-Tuning of LLMscited by 4
- 2024Parameter-Efficient Fine-Tuning of Large Language Models for Unit Test Generation: An Empirical Studycited by 3
- 2025Smaller = Weaker? Benchmarking Robustness of Quantized LLMs in Code Generationcited by 3
- 2025The Impact of Fine-tuning Large Language Models on Automated Program Repaircited by 3
12 most cited of 23 All 23 (JSON)
- 2026Quantize with Confidence? An Empirical Study of Quantization for Code Generation15 Jul 2026
- 2026One Model, Many Skills: Parameter-Efficient Fine-Tuning for Multitask Code Analysis3 Feb 2026
- 2025Efficiency vs. Alignment: Investigating Safety and Fairness Risks in Parameter-Efficient Fine-Tuning of LLMs1 Nov 2025
- 2025Zhyper: Factorized Hypernetworks for Conditioned LLM Fine-Tuning22 Oct 2025
- 2025TabPFN-Wide: Continued Pre-Training for Extreme Feature Counts7 Oct 2025
- 2025Building Large-Scale English-Romanian Literary Translation Resources with Open Models9 Sep 2025
- 2025The Impact of Fine-tuning Large Language Models on Automated Program Repair26 Jul 2025
- 2025Rethinking and Exploring String-Based Malware Family Classification in the Era of LLMs and RAG5 Jul 2025
- 2025Smaller = Weaker? Benchmarking Robustness of Quantized LLMs in Code Generation28 Jun 2025
- 2025A Blueprint for AI-Driven Software Quality: Integrating LLMs with Established Standards19 May 2025
- 2025A Survey on Inference Engines for Large Language Models: Perspectives on Optimization and Efficiency3 May 2025
- 2025Type-Constrained Code Generation with Language Models12 Apr 2025
12 newest of 23 All 23 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026SLM Finetuning for Natural Language to Domain Specific Code Generation in Production
- 2025What Makes In-Context Examples Effective for Code Generation? ↗
- 2024Enhancing Code Translation in Language Models with Few-Shot Learning via Retrieval-Augmented Generation
- 2025Data-efficient LLM Fine-tuning for Code Generation
- 2025An Empirical Study of Retrieval-Augmented Code Generation: Challenges and Opportunities
- 2024CodeLutra: Boosting LLM Code Generation via Preference-Guided Refinement
- 2024Improving the Ability of Pre-trained Language Model by Imparting Large Language Model's Experience ↗
- 2023L2CEval: Evaluating Language-to-Code Generation Capabilities of Large Language Models