LLM Code Generation

LLM: Large Language Model

Overview

This field studies how large language models generate, edit, translate, and test programs from natural-language instructions, examples, or existing code. Common approaches include prompting and retrieval, fine-tuning and reinforcement learning, constrained decoding, and agentic loops that use execution, tests, or static analysis to refine outputs. Evaluations range from HumanEval, MBPP, and LiveCodeBench to repository-level and domain-specific tasks, increasingly measuring security, efficiency, and adherence to requirements alongside whether code runs. Models have improved on standard benchmarks, but reliability on unfamiliar APIs, complex projects, specialized languages, and implicit requirements remains a challenge, as do trade-offs among correctness, safety, cost, and maintainability.

Latest papers

CardsList

314 papers23 papers in the last four weeks, down 12% on the four weeks before. 0.1% of all new papers.

  1. ReflexiCoder: Teaching Large Language Models to Self-Reflect on Generated Code and Self-Correct It via Reinforcement Learning

    Mar 6, 2026Juyong Jiang, Jiasi Shen, Sunghun Kim +3LLM Code GenerationLLM Self-Correction

  2. Python Bindings for a Large C++ Robotics Library: The Case of OMPL

    Mar 4, 2026Weihang Guo, Theodoros Tyrovouzis, Lydia E. KavrakiCode GenerationLLM Code Generation

  3. CONCUR: Benchmarking LLMs for Concurrent Code Generation

    Mar 4, 2026Jue Huang, Tarek Mahmud, Corina Pasareanu +1Code Generation EvaluationCode Generation Benchmarks

  4. An Initial Exploration of Contrastive Prompt Tuning to Generate Energy-Efficient Code

    Mar 3, 2026Sophie Weidmann, Fernando CastorCode GenerationLLM Code Generation

  5. Locally Coherent Parallel Decoding in Diffusion Language Models

    Mar 3, 2026Michael Hersche, Nicolas Menet, Ronan Tanios +1Parallel Decoding for Diffusion Language ModelsDiffusion Language Model Decoding

  6. Inference-Time Safety For Code LLMs Via Retrieval-Augmented Revision

    Mar 2, 2026Manisha Mukherjee, Vincent J. HellendoornLLM SafetySecure Code Generation

  7. From Stochastic Answers to Verifiable Reasoning: Interpretable Decision-Making with LLM-Generated Code

    Feb 28, 2026Anirudh Jaidev Mahesh, Ben Griffin, Fuat Alican +8Rare-Event PredictionLLM Decision-Making

  8. Enhancing LLM-Based Test Generation by Eliminating Covered Code

    Feb 25, 2026WeiZhe Xu, Mengyu Liu, Fanxin KongAutomated Test GenerationLLM Code Generation

  9. An Evaluation of Context Length Extrapolation in Long Code via Positional Embeddings and Efficient Attention

    Feb 25, 2026Madhusudan Ghosh, Rishabh GuptaLong-Context ModelingLong-Context Language Model Evaluation

  10. From Prompts to Performance: Evaluating LLMs for Task-based Parallel Code Generation

    Feb 24, 2026Linus Bantel, Moritz Strack, Alexander Strack +1Code GenerationLLM Code Generation

  11. CodeHacker: Automated Test Case Generation for Detecting Vulnerabilities in Competitive Programming Solutions

    Feb 23, 2026Jingwei Shi, Xinxiang Yin, Jing Huang +2Automated Test GenerationAdversarial Scenario Generation

  12. Mitigating "Epistemic Debt" in Generative AI-Scaffolded Novice Programming using Metacognitive Scripts

    Feb 22, 2026Sreecharan SankaranarayananGenerative AI in EducationAI in Education

  13. Automated Generation of Microfluidic Netlists using Large Language Models

    Feb 22, 2026Jasper Davidson, Skylar Stockham, Allen Boston +3Program SynthesisLLM Code Generation

  14. Operational Robustness of LLMs on Code Generation

    Feb 21, 2026Debalina Ghosh Paul, Hong Zhu, Ian BayleyLanguage Model RobustnessLLM Code Generation

  15. SecCodeBench-V2 Technical Report

    Feb 17, 2026Longfei Chen, Ji Zhao, Lanxiao Cui +24Secure Code GenerationCode Generation Benchmarks

  16. TAROT: Test-driven and Capability-adaptive Curriculum Reinforcement Fine-tuning for Code Generation with Large Language Models

    Feb 17, 2026Chansung Park, Juyong Jiang, Fan Wang +4LLM Code GenerationRL for Code Generation

  17. SWE-Spot: Building Small Repo-Experts with Repository-Centric Learning

    Jan 29, 2026Jinjun Peng, Magnus Saebo, Tianjun Zhong +5Small Language ModelsLLM Code Generation

  18. HardSecBench: Benchmarking the Security Awareness of LLMs for Hardware Code Generation

    Jan 20, 2026Qirui Chen, Jingxian Shuai, Shuangwu Chen +8LLM SecuritySecure Code Generation

  19. QuantEval: A Benchmark for Financial Quantitative Tasks in Large Language Models

    Jan 13, 2026Zhaolu Kang, Junhao Gong, Wenqing Hu +13Financial Language Model EvaluationLLM Evaluation

  20. Learning Bug Context for PyTorch-to-JAX Translation with LLMs

    Oct 10, 2025Hung Phan, Son Vu, Tuan Dinh +3Code TranslationLLM Code Generation

  21. Investigating The Smells of LLM Generated Code

    Oct 3, 2025Debalina Ghosh Paul, Hong Zhu, Ian BayleySoftware EngineeringCode Generation Evaluation

  22. VeriGRAG: Enhancing LLM-Based Verilog Code Generation with Structure-Aware Soft Prompts

    Sep 27, 2025Jiayu Zhao, Zehua Pei, Zetao Guo +2RTL Code GenerationLLM Code Generation

  23. Benchmarking Web API Integration Code Generation

    Sep 24, 2025Daniel Maninger, Leon Chemnitz, Amir Molzam Sharifloo +2Code GenerationCode Generation Evaluation