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. SEER: Self-Enhancing Chain-of-Thought Compression for Reasoning Models

    Sep 17, 2025Kerui Huang, Shuhan Liu, Xing Hu +3Efficient Language Model ReasoningCoT Compression

  2. Enhancing Knowledge Density via Hierarchical Context Pruning for Retrieval-Augmented Repository-Level Code Completion

    Aug 13, 2025Xiaohan Chen, Xiang Chen, Yu Tian +3LLM Code GenerationRetrieval-Augmented Generation

  3. Experimental Analysis of Productive Interaction Strategy with ChatGPT: User Study on Function and Project-level Code Generation Tasks

    Aug 6, 2025Sangwon Hyun, Hyunjun Kim, Jinhyuk Jang +2LLM PromptingCode Generation

  4. RedCoder: Automated Multi-Turn Red Teaming for Code LLMs

    Jun 25, 2025Wenjie Jacky Mo, Qin Liu, Xiaofei Wen +5Adversarial Prompt GenerationLLM Red Teaming

  5. ChatModel: Automating Reference Model Design and Verification with LLMs

    Jun 18, 2025Jianmin Ye, Tianyang Liu, Qi Tian +3LLM-Based Program SynthesisLLM Code Generation

  6. BigO(Bench): Can LLMs Generate Code with Controlled Time and Space Complexity?

    Mar 19, 2025Pierre Chambon, Baptiste Roziere, Benoit Sagot +1Benchmark DesignCode Generation

  7. Ensemble Learning for Large Language Models in Text and Code Generation: A Survey

    Mar 13, 2025Mari Ashiga, Wei Jie, Fan Wu +5Mixture-of-Experts Language ModelsLanguage Model Ensembles

  8. Evaluating Harmful Memorization in LLM Code Generation

    Mar 4, 2025Lizhe Zhang, Wentao Chen, Li Zhong +3Memorization in Language ModelsLLM Code Generation

  9. Evaluating LLM-Based Regression Test Generation

    Jan 19, 2025Jing Liu, Seongmin Lee, Eleonora Losiouk +1Automated Test GenerationLLM Code Generation

  10. Leveraging Metamemory Agent for Enhanced Data-Free Code Generation in Large Language Models

    Jan 14, 2025Shengsheng Zhou, Shuai Wang, Liang Ding +5Code GenerationAgentic Code Generation

  11. Grammar-Aligned Decoding

    May 31, 2024Kanghee Park, Jiayu Wang, Taylor Berg-Kirkpatrick +2Constrained Generative ModelingConstrained Decoding