mlsanityData to 7 Oct 2026

Exploring Parameter-Efficient Fine-Tuning Techniques for Code Generation with Large Language Models

arXiv 2308.10462 ↗First posted 21 Aug 2023cs.SE cs.CL cs.LGcited by 28

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  7. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  8. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  9. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  10. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  11. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  12. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
38 more
  1. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  2. 2021Program Synthesis with Large Language Modelscited by 3,509
  3. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  4. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
  5. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  6. 2022Emergent Abilities of Large Language Modelscited by 2,483
  7. 2021Learning to Prompt for Vision-Language Modelscited by 2,269
  8. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  9. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  10. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
  11. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
  12. 2022Large Language Models Encode Clinical Knowledgecited by 1,807
  13. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  14. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  15. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  16. 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
  17. 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
  18. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
  19. 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 886
  20. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
  21. 2021Measuring Coding Challenge Competence With APPScited by 879
  22. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  23. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  24. 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 705
  25. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
  26. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
  27. 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 457
  28. 2021MetaICL: Learning to Learn In Contextcited by 450
  29. 2022A Systematic Evaluation of Large Language Models of Codecited by 360
  30. 2023LoraHub: Efficient Cross-Task Generalization via Dynamic LoRA Compositioncited by 359
  31. 2022The Stack: 3 TB of permissively licensed source codecited by 354
  32. 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 324
  33. 2023LLM-Adapters: An Adapter Family for Parameter-Efficient Fine-Tuning of Large Language Modelscited by 317
  34. 2022Language in a Bottle: Language Model Guided Concept Bottlenecks for Interpretable Image Classificationcited by 310
  35. 2022Delta Tuning: A Comprehensive Study of Parameter Efficient Methods for Pre-trained Language Modelscited by 179
  36. 2023GPT detectors are biased against non-native English writerscited by 175
  37. 2018Learning to Mine Aligned Code and Natural Language Pairs from Stack Overflowcited by 165
  38. 2021Understanding the Capabilities, Limitations, and Societal Impact of Large Language Modelscited by 159

50 most cited of 84 All 84 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 2; 2024: 12; 2025: 10; 2026: 4.

28 papers.

Sort:

By area:

  1. 2024A Survey on Large Language Models for Code Generationcited by 646
  2. 2024Large Language Models Meet NLP: A Surveycited by 102
  3. 2024Agents in Software Engineering: Survey, Landscape, and Visioncited by 60
  4. 2024CodeUltraFeedback: An LLM-as-a-Judge Dataset for Aligning Large Language Models to Coding Preferencescited by 56
  5. 2024What's Wrong with Your Code Generated by Large Language Models? An Extensive Studycited by 52
  6. 2023RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repaircited by 50
  7. 2025Type-Constrained Code Generation with Language Modelscited by 32
  8. 2024IterGen: Iterative Semantic-aware Structured LLM Generation with Backtrackingcited by 28
  9. 2024Fine-Tuning, Quantization, and LLMs: Navigating Unintended Outcomescited by 14
  10. 2025TabPFN-Wide: Continued Pre-Training for Extreme Feature Countscited by 13
  11. 2026Heterogeneous Agent Collaborative Reinforcement Learningcited by 13
  12. 2025A Survey on Inference Engines for Large Language Models: Perspectives on Optimization and Efficiencycited by 12
16 more
  1. 2025Efficiency vs. Alignment: Investigating Safety and Fairness Risks in Parameter-Efficient Fine-Tuning of LLMscited by 4
  2. 2024Parameter-Efficient Fine-Tuning of Large Language Models for Unit Test Generation: An Empirical Studycited by 3
  3. 2025Smaller = Weaker? Benchmarking Robustness of Quantized LLMs in Code Generationcited by 3
  4. 2025The Impact of Fine-tuning Large Language Models on Automated Program Repaircited by 3
  5. 2025Zhyper: Factorized Hypernetworks for Conditioned LLM Fine-Tuningcited by 3
  6. 2025Building Large-Scale English-Romanian Literary Translation Resources with Open Modelscited by 2
  7. 2023Contextual Code Switching for Machine Translation using Language Modelscited by 1
  8. 2024Refining Joint Text and Source Code Embeddings for Retrieval Task with Parameter-Efficient Fine-Tuningcited by 1
  9. 2025A Blueprint for AI-Driven Software Quality: Integrating LLMs with Established Standardscited by 1
  10. 2024MergeRepair: An Exploratory Study on Merging Task-Specific Adapters in Code LLMs for Automated Program Repaircited by 0
  11. 2024In-Context Code-Text Learning for Bimodal Software Engineeringcited by 0
  12. 2024Transducer Tuning: Efficient Model Adaptation for Software Tasks Using Code Property Graphscited by 0
  13. 2025Rethinking and Exploring String-Based Malware Family Classification in the Era of LLMs and RAGcited by 0
  14. 2026One Model, Many Skills: Parameter-Efficient Fine-Tuning for Multitask Code Analysiscited by 0
  15. 2026uGen: An Agentic Framework for Generating Microarchitectural Attack PoCscited by 0
  16. 2026Quantize with Confidence? An Empirical Study of Quantization for Code Generationcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026SLM Finetuning for Natural Language to Domain Specific Code Generation in Production
  2. 2025What Makes In-Context Examples Effective for Code Generation? ↗
  3. 2024Enhancing Code Translation in Language Models with Few-Shot Learning via Retrieval-Augmented Generation
  4. 2025Data-efficient LLM Fine-tuning for Code Generation
  5. 2025An Empirical Study of Retrieval-Augmented Code Generation: Challenges and Opportunities
  6. 2024CodeLutra: Boosting LLM Code Generation via Preference-Guided Refinement
  7. 2024Improving the Ability of Pre-trained Language Model by Imparting Large Language Model's Experience ↗
  8. 2023L2CEval: Evaluating Language-to-Code Generation Capabilities of Large Language Models