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. Reasoning Patterns for Efficient AI Coding: An Empirical Study

    Oct 26, 2026Zhe Yin, Yuling Shi, Xiaodong Gu +1Efficient Language Model ReasoningLarge Reasoning Models

  2. Software Engineering LLMs: Why We Need Them and How Software Engineering Helps Build Them

    Oct 24, 2026Amir M. Ebrahimi, Mohammed Mehedi Hasan, Seyed Shayan Daneshvar +3Code Language ModelsLLM Training

  3. Self-Decomposing Diffusion for Code Generation

    Oct 20, 2026Lize Shao, Zichen Xie, Zhizhen Chen +2Code GenerationLLM Code Generation

  4. Many Repairs, One Direction: Steering Code Models Toward Safer Cryptographic API Use

    Oct 18, 2026Tianhe Lu, Sakuna Harinda Jayasundara, Eric Spero +3Secure Code GenerationLLM Code Generation

  5. Do LMs Know What Variables Do? Interpreting Code Representations via Variable Roles

    Oct 16, 2026Célian Vasson, Daniil Ognev, Kentaro Inui +1LLM InterpretabilityCode Language Models

  6. LLMs program using Reusable and Composable Abstract Representations

    Oct 13, 2026Casper L. Christensen, Kyle J. Ray, Dmitry Manning-Coe +2LLM Code GenerationCompositional Representation Learning

  7. HERO: Harnessing Evidence for Test-time Refinement and Prompt Optimization in Program Generation

    Oct 13, 2026Mingyu Lu, Timothy Ossowski, Tristan Naumann +2Automatic Prompt OptimizationLLM Code Generation

  8. SolBehave: Evaluating the Behavioural Correctness of LLM-Generated Smart Contracts

    Oct 13, 2026Giovanni Pio Delvecchio, Stefano Fantazzini, Giacomo Frisoni +4Code Generation EvaluationLLM Code Generation

  9. SpecCloak: Probing Harmful Code Generation through Engineering Specifications

    Oct 13, 2026Wenbin Chen, Jiexin Wang, Guanting Wu +2LLM SecurityLLM Code Generation

  10. PhySimCode: A Benchmark and Evaluation Method for Physics Video to Code Generation

    Oct 11, 2026Souraja Kundu, Aditya Gupta, Joel Julin +3Physical Reasoning in VideoLLM Code Generation

  11. Characterizing Overconfident Failure in LLM-Based Code Generation

    Oct 8, 2026Ravishka Rathnasuriya, Wei YangLLM Code GenerationConfidence Estimation in Language Models

  12. LLM-Assisted Generation of Transparent, Open-Source Multiphysics Models of Electrochemical Devices

    Oct 7, 2026Sebastian Castro, Maya F. Schuchert, Spencer A. McCluskey +2Multiphysics SimulationLLM Code Generation

  13. VHDL-REPOBENCH: A Repository-Level Benchmark for Evaluating Large Language Models on VHDL Design Generation

    Oct 4, 2026Prashanth Vijayaraghavan, Akul Malhotra, Ashutosh Jadhav +2LLM EvaluationCode Generation

  14. Grammar-Guided Code Watermarking with Green Temperature

    Oct 4, 2026Hyundong Jin, Hyeseon An, Soohan Lim +1Text WatermarkingLLM Watermarking

  15. Hidden in the Comments: A Context-Injection Attack Surface in Code LLMs

    Oct 4, 2026Noor Munir, Francesco Quinzan, Stephen RobertsLLM SecurityIndirect Prompt Injection

  16. Spec2Game: Can LLMs Generate Complete Playable Games from Detailed Specifications?

    Oct 3, 2026Yixue Cai, Yuzhe Zhao, Hanxiang Chao +4Code GenerationLLM Code Generation

  17. Improving the Energy-Efficiency of the Code Generated by LLMs through Effective Prompting

    Oct 1, 2026Ritika Rekhi, Bing Zhang, Md Arman Islam +7LLM Code GenerationCode Generation

  18. Where LLMs Fail with Visualization DSLs

    Oct 1, 2026Chang Han, Andrew McNutt, Katherine IsaacsData VisualizationLLM Evaluation

  19. ReMCTS: Reflection-Enhanced Monte Carlo Tree Search for Code Generation

    Sep 28, 2026Huifei Wang, Xinying Huang, Yiheng Sun +1Execution-Guided Code GenerationLLM-Based Program Synthesis

  20. Improving Large Language Models for Code through Runtime Program-State Reasoning

    Sep 28, 2026Hongwei Li, Spandan Garg, Yufan HuangAutomated Program RepairAutomated Test Generation

  21. How code helps different tasks? A decompositional lens on LLM post-training

    Sep 27, 2026Zheng Yu, Yiwei Li, Yishen Chen +4LLM Fine-TuningInstruction-Tuning Data Selection

  22. Noisy Test-Time Reinforcement Learning for Code LLMs

    Sep 26, 2026Xikai Yang, Hieu Trung Nguyen, Dunyuan Xu +4Language Model RobustnessRL for Code Generation

  23. Improving Medical Calculation of LLMs with Embedded Coding

    Sep 25, 2026Tianshi Ming, Yingying Zhang, Xian WuMedical LLMsNumerical Reasoning in Language Models

  24. A Framework for Identifying, Categorizing, and Explaining Bias in AI-Generated Code

    Sep 25, 2026Manaal Basha, Aimee M. Ribeiro, Gema Rodriguez-PerezLanguage Model Bias EvaluationLLM Code Generation

  25. Beyond Rule-Based Mutation Testing: Test-Aware Mutant Generation Using Large Language Models

    Sep 24, 2026Nils Kiele, Zainab Saad, Zirui Wang +2Automated Software TestingMutation Testing