A survey on large language models for software engineering
Top Cited Papers
Open Access
- 5 March 2026
- journal article
- review article
- Published by Springer Nature in Science China Information Sciences
- Vol. 69 (4) , 141102
Abstract
Software engineering (SE) is the systematic design, development, maintenance, and management of software applications underpinning the digital infrastructure of our modern world. Very recently, the SE community has seen a rapidly increasing number of techniques employing large language models (LLMs) to automate a broad range of SE tasks. Nevertheless, existing information on the applications, effects, and possible limitations of LLMs within SE is still not well-studied. In this paper, we provide a systematic survey to summarize the current state-of-the-art research in the LLM-based SE community. We summarize 62 representative LLMs of Code across three model architectures, 15 pre-training objectives across four categories, and 16 downstream tasks across five categories. We then present a detailed summarization of the recent SE studies for which LLMs are commonly utilized, including 926 studies for 112 specific code-related tasks across five crucial phases within the SE workflow. We also discuss several critical aspects during the integration of LLMs into SE, such as empirical evaluation, benchmarking, security and reliability, domain tuning, compressing, and distillation. Finally, we highlight several challenges and potential opportunities in applying LLMs for future SE studies, such as exploring domain LLMs and constructing clean evaluation datasets. Overall, our work can help researchers gain a comprehensive understanding about the achievements of the existing LLM-based SE studies and promote the practical application of these techniques. Our artifacts are publicly available and will be continuously updated at the living repository https://github.com/iSEngLab/AwesomeLLM4SE .Keywords
All Related Versions
This publication has 281 references indexed in Scilit:
- Learning to represent code semanticsScience China Information Sciences, 2025
- Towards an understanding of large language models in software engineering tasksEmpirical Software Engineering, 2024
- Deep learning for code generation: a surveyScience China Information Sciences, 2024
- ChatGPT Prompt Patterns for Improving Code Quality, Refactoring, Requirements Elicitation, and Software Design2024
- Improving requirements completeness: automated assistance through large language modelsRequirements Engineering, 2024
- Distilled GPT for source code summarizationAutomated Software Engineering, 2024
- When debugging encounters artificial intelligence: state of the art and open challengesScience China Information Sciences, 2024
- A syntax-guided multi-task learning approach for Turducken-style code generationEmpirical Software Engineering, 2023
- CodeBERT‐Attack: Adversarial attack against source code deep learning models via pre‐trained modelJournal of Software: Evolution and Process, 2023
- Data-driven prototyping via natural-language-based GUI retrievalAutomated Software Engineering, 2023