Large Language Models for Code Generation: A Comprehensive Survey of Challenges, Techniques, Evaluation, and Applications
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have demonstrated their remarkable capabilities in numerous fields. This survey focuses on how LLMs empower users, regardless of their technical background, to use human languages to automatically generate executable code. We begin with understanding LLMs' limitations and challenges in automated code generation. Subsequently, we review various fine-tuning techniques designed to enhance both the performance and adaptability of LLMs in code generation tasks. We then review the existing metrics and benchmarks for evaluations to assess model performance based on fine-tuning techniques. Finally, we explore the applications of LLMs (e.g. CodeLlama, GitHub Copilot, ToolGen) in code generation tasks to illustrate their roles and functionalities. This survey provides a comprehensive overview of LLMs for code generation, helps researchers in diverse fields better understand the current state-of-the-art technologies, and offers the potential of effectively leveraging LLMs for code generation tasks.
Key facts. Cited by 26 papers in the map (data through 14 Oct 2026). Builds on 32 of its 60 references that are in the map. First posted on arXiv 3 Mar 2025.
Builds on
32 of 60 references.
References · 32
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2022Competition-Level Code Generation with AlphaCodecited by 1,462
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2023Large Language Modelscited by 780
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
- 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challengescited by 282
- 2023Planning with Large Language Models for Code Generationcited by 182
- 2023ClassEval: A Manually-Crafted Benchmark for Evaluating LLMs on Class-level Code Generationcited by 168
- 2024RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learningcited by 151
- 2023Refining ChatGPT-Generated Code: Characterizing and Mitigating Code Quality Issuescited by 79
- 2023CodeLMSec Benchmark: Systematically Evaluating and Finding Security Vulnerabilities in Black-Box Code Language Modelscited by 55
- 2023Bias Testing and Mitigation in LLM-based Code Generationcited by 53
20 more
- 2024What's Wrong with Your Code Generated by Large Language Models? An Extensive Studycited by 53
- 2023ICE-Score: Instructing Large Language Models to Evaluate Codecited by 52
- 2024LLaMoCo: Instruction Tuning of Large Language Models for Optimization Code Generationcited by 45
- 2024The Larger the Better? Improved LLM Code-Generation via Budget Reallocationcited by 43
- 2023ClarifyGPT: Empowering LLM-based Code Generation with Intention Clarificationcited by 38
- 2024Towards Translating Real-World Code with LLMs: A Study of Translating to Rustcited by 35
- 2024Prompting Techniques for Secure Code Generation: A Systematic Investigationcited by 34
- 2024Teaching Code LLMs to Use Autocompletion Tools in Repository-Level Code Generationcited by 30
- 2024Toward Secure Code Generation: Bridging Correctness and Security via Task-Adaptive Vulnerability Modeling and Execution-Based Benchmarkingcited by 27
- 2023AceCoder: Utilizing Existing Code to Enhance Code Generationcited by 25
- 2023Uncovering and Quantifying Social Biases in Code Generationcited by 25
- 2024The Landscape and Challenges of HPC Research and LLMscited by 22
- 2024Faster and Lighter LLMs: A Survey on Current Challenges and Way Forwardcited by 21
- 2024Benchmarks and Metrics for Evaluations of Code Generation: A Critical Reviewcited by 20
- 2024Code Less, Align More: Efficient LLM Fine-tuning for Code Generation with Data Pruningcited by 20
- 2024Enhancing Code Generation Performance of Smaller Models by Distilling the Reasoning Ability of LLMscited by 17
- 2024Exploring Multi-Lingual Bias of Large Code Models in Code Generationcited by 17
- 2024Comparing large language models and human programmers for generating programming codecited by 9
- 2024LLM Agents Improve Semantic Code Searchcited by 7
- 2024Enhancing Source Code Security with LLMs: Demystifying The Challenges and Generating Reliable Repairscited by 4
Built on by
Citing papers per year: 2025: 12; 2026: 14.
26 papers.
Sort:
By area:
- 2025Uncertainty-Guided Chain-of-Thought for Code Generation with LLMscited by 32
- 2025When LLMs Meet API Documentation: Can Retrieval Augmentation Aid Code Generation Just as It Helps Developers?cited by 13
- 2026Token-Level LLM Collaboration via FusionRoutecited by 9
- 2025Is Your Benchmark Still Useful? Dynamic Benchmarking for Code Language Modelscited by 6
- 2026OpInf-LLM: Parametric PDE Solving with LLMs via Operator Inferencecited by 5
- 2026Specification-Based Code-Text-Code Reengineering for LLM-Mediated Software Evolutioncited by 5
- 2025Code Reasoning for Software Engineering Tasks: A Survey and A Call to Actioncited by 4
- 2026ACE: Self-Evolving LLM Coding Framework via Adversarial Unit Test Generation and Preference Optimizationcited by 4
- 2026LLM-Based Multi-Agent Systems for Code Generation: A Multi-Vocal Literature Reviewcited by 3
- 2026VeriContest: A Competitive-Programming Benchmark for Verifiable Code Generationcited by 3
- 2025WorkTeam: Constructing Workflows from Natural Language with Multi-Agentscited by 2
- 2025DataSage: Multi-agent Collaboration for Insight Discovery with External Knowledge Retrieval, Multi-role Debating, and Multi-path Reasoningcited by 2
14 more
- 2026Enhancing Reliability in LLM-Based Secure Code Generationcited by 2
- 2025OnRL-RAG: Real-Time Personalized Mental Health Dialogue Systemcited by 1
- 2025Breaking Memorization Barriers in LLM Code Fine-Tuning via Information Bottleneck for Improved Generalizationcited by 1
- 2025LLM-Driven Kernel Evolution: Automating Driver Updates in Linuxcited by 1
- 2026BEAM: Bi-level Memory-adaptive Algorithmic Evolution for LLM-Powered Heuristic Designcited by 1
- 2026TraceDev: A Traceability-Driven Multi-agent Framework for Requirement-to-Code Developmentcited by 1
- 2026Simulation Code Generation for Fluid Systems using Large Language Models: Benchmarking Models and Prompting Strategiescited by 1
- 2026Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiencycited by 1
- 2025Do I look like a `cat.n.01` to you? A Taxonomy Image Generation Benchmarkcited by 0
- 2025LLMs in Coding and their Impact on the Commercial Software Engineering Landscapecited by 0
- 2025Testing chatbots on the creation of encoders for audio conditioned image generationcited by 0
- 2026Adaptive Confidence Gating in Multi-Agent Collaboration for Efficient and Optimized Code Generationcited by 0
- 2026COMPASS: The explainable agentic framework for Sovereignty, Sustainability, Compliance, and Ethicscited by 0
- 2026Characterizing the Quality Profile of AI-Generated C++ in Productioncited by 0
- 2026Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiency14 Aug 2026
- 2026Characterizing the Quality Profile of AI-Generated C++ in Production6 Aug 2026
- 2026Simulation Code Generation for Fluid Systems using Large Language Models: Benchmarking Models and Prompting Strategies31 Jul 2026
- 2026TraceDev: A Traceability-Driven Multi-agent Framework for Requirement-to-Code Development21 Jul 2026
- 2026Specification-Based Code-Text-Code Reengineering for LLM-Mediated Software Evolution24 May 2026
- 2026Enhancing Reliability in LLM-Based Secure Code Generation22 May 2026
- 2026VeriContest: A Competitive-Programming Benchmark for Verifiable Code Generation8 May 2026
- 2026ACE: Self-Evolving LLM Coding Framework via Adversarial Unit Test Generation and Preference Optimization17 Apr 2026
- 2026BEAM: Bi-level Memory-adaptive Algorithmic Evolution for LLM-Powered Heuristic Design14 Apr 2026
- 2026COMPASS: The explainable agentic framework for Sovereignty, Sustainability, Compliance, and Ethics11 Mar 2026
- 2026LLM-Based Multi-Agent Systems for Code Generation: A Multi-Vocal Literature Review25 Feb 2026
- 2026OpInf-LLM: Parametric PDE Solving with LLMs via Operator Inference2 Feb 2026
14 more
- 2026Adaptive Confidence Gating in Multi-Agent Collaboration for Efficient and Optimized Code Generation29 Jan 2026
- 2026Token-Level LLM Collaboration via FusionRoute8 Jan 2026
- 2025LLM-Driven Kernel Evolution: Automating Driver Updates in Linux24 Nov 2025
- 2025DataSage: Multi-agent Collaboration for Insight Discovery with External Knowledge Retrieval, Multi-role Debating, and Multi-path Reasoning18 Nov 2025
- 2025Breaking Memorization Barriers in LLM Code Fine-Tuning via Information Bottleneck for Improved Generalization15 Oct 2025
- 2025Testing chatbots on the creation of encoders for audio conditioned image generation9 Sep 2025
- 2025LLMs in Coding and their Impact on the Commercial Software Engineering Landscape19 Jun 2025
- 2025Code Reasoning for Software Engineering Tasks: A Survey and A Call to Action16 Jun 2025
- 2025OnRL-RAG: Real-Time Personalized Mental Health Dialogue System2 Apr 2025
- 2025WorkTeam: Constructing Workflows from Natural Language with Multi-Agents28 Mar 2025
- 2025Uncertainty-Guided Chain-of-Thought for Code Generation with LLMs19 Mar 2025
- 2025When LLMs Meet API Documentation: Can Retrieval Augmentation Aid Code Generation Just as It Helps Developers?19 Mar 2025
- 2025Do I look like a `cat.n.01` to you? A Taxonomy Image Generation Benchmark13 Mar 2025
- 2025Is Your Benchmark Still Useful? Dynamic Benchmarking for Code Language Models9 Mar 2025
- 2026LLM-Based Multi-Agent Systems for Code Generation: A Multi-Vocal Literature Reviewcited by 3
- 2025WorkTeam: Constructing Workflows from Natural Language with Multi-Agentscited by 2
- 2026TraceDev: A Traceability-Driven Multi-agent Framework for Requirement-to-Code Developmentcited by 1
- 2026COMPASS: The explainable agentic framework for Sovereignty, Sustainability, Compliance, and Ethicscited by 0
- 2026TraceDev: A Traceability-Driven Multi-agent Framework for Requirement-to-Code Development21 Jul 2026
- 2026COMPASS: The explainable agentic framework for Sovereignty, Sustainability, Compliance, and Ethics11 Mar 2026
- 2026LLM-Based Multi-Agent Systems for Code Generation: A Multi-Vocal Literature Review25 Feb 2026
- 2025WorkTeam: Constructing Workflows from Natural Language with Multi-Agents28 Mar 2025
- 2025Uncertainty-Guided Chain-of-Thought for Code Generation with LLMscited by 32
- 2025Code Reasoning for Software Engineering Tasks: A Survey and A Call to Actioncited by 4
- 2025DataSage: Multi-agent Collaboration for Insight Discovery with External Knowledge Retrieval, Multi-role Debating, and Multi-path Reasoningcited by 2
- 2026Adaptive Confidence Gating in Multi-Agent Collaboration for Efficient and Optimized Code Generationcited by 0
- 2026Adaptive Confidence Gating in Multi-Agent Collaboration for Efficient and Optimized Code Generation29 Jan 2026
- 2025DataSage: Multi-agent Collaboration for Insight Discovery with External Knowledge Retrieval, Multi-role Debating, and Multi-path Reasoning18 Nov 2025
- 2025Code Reasoning for Software Engineering Tasks: A Survey and A Call to Action16 Jun 2025
- 2025Uncertainty-Guided Chain-of-Thought for Code Generation with LLMs19 Mar 2025
- 2026Token-Level LLM Collaboration via FusionRoutecited by 9
- 2025Is Your Benchmark Still Useful? Dynamic Benchmarking for Code Language Modelscited by 6
- 2026OpInf-LLM: Parametric PDE Solving with LLMs via Operator Inferencecited by 5
- 2026Specification-Based Code-Text-Code Reengineering for LLM-Mediated Software Evolutioncited by 5
- 2026VeriContest: A Competitive-Programming Benchmark for Verifiable Code Generationcited by 3
- 2026Enhancing Reliability in LLM-Based Secure Code Generationcited by 2
- 2025Breaking Memorization Barriers in LLM Code Fine-Tuning via Information Bottleneck for Improved Generalizationcited by 1
- 2025LLM-Driven Kernel Evolution: Automating Driver Updates in Linuxcited by 1
- 2026BEAM: Bi-level Memory-adaptive Algorithmic Evolution for LLM-Powered Heuristic Designcited by 1
- 2026Simulation Code Generation for Fluid Systems using Large Language Models: Benchmarking Models and Prompting Strategiescited by 1
- 2026Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiencycited by 1
- 2025Do I look like a `cat.n.01` to you? A Taxonomy Image Generation Benchmarkcited by 0
12 most cited of 15 All 15 (JSON)
- 2026Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiency14 Aug 2026
- 2026Characterizing the Quality Profile of AI-Generated C++ in Production6 Aug 2026
- 2026Simulation Code Generation for Fluid Systems using Large Language Models: Benchmarking Models and Prompting Strategies31 Jul 2026
- 2026Specification-Based Code-Text-Code Reengineering for LLM-Mediated Software Evolution24 May 2026
- 2026Enhancing Reliability in LLM-Based Secure Code Generation22 May 2026
- 2026VeriContest: A Competitive-Programming Benchmark for Verifiable Code Generation8 May 2026
- 2026BEAM: Bi-level Memory-adaptive Algorithmic Evolution for LLM-Powered Heuristic Design14 Apr 2026
- 2026OpInf-LLM: Parametric PDE Solving with LLMs via Operator Inference2 Feb 2026
- 2026Token-Level LLM Collaboration via FusionRoute8 Jan 2026
- 2025LLM-Driven Kernel Evolution: Automating Driver Updates in Linux24 Nov 2025
- 2025Breaking Memorization Barriers in LLM Code Fine-Tuning via Information Bottleneck for Improved Generalization15 Oct 2025
- 2025Testing chatbots on the creation of encoders for audio conditioned image generation9 Sep 2025
12 newest of 15 All 15 (JSON)