[Paper Review] Towards an Understanding of Large Language Models in Software Engineering Tasks
This paper is the first systematic review of how large language models (LLMs) are applied to software engineering, categorizing seven task types and evaluating where LLMs perform well. It analyzes 123 studies from six databases to map trends and effectiveness.
Large Language Models (LLMs) have drawn widespread attention and research due to their astounding performance in text generation and reasoning tasks. Derivative products, like ChatGPT, have been extensively deployed and highly sought after. Meanwhile, the evaluation and optimization of LLMs in software engineering tasks, such as code generation, have become a research focus. However, there is still a lack of systematic research on applying and evaluating LLMs in software engineering. Therefore, this paper comprehensively investigate and collate the research and products combining LLMs with software engineering, aiming to answer two questions: (1) What are the current integrations of LLMs with software engineering? (2) Can LLMs effectively handle software engineering tasks? To find the answers, we have collected related literature as extensively as possible from seven mainstream databases and selected 123 timely papers published starting from 2022 for analysis. We have categorized these papers in detail and reviewed the current research status of LLMs from the perspective of seven major software engineering tasks, hoping this will help researchers better grasp the research trends and address the issues when applying LLMs. Meanwhile, we have also organized and presented papers with evaluation content to reveal the performance and effectiveness of LLMs in various software engineering tasks, guiding researchers and developers to optimize.
Motivation & Objective
- Survey the current landscape of integrating LLMs with software engineering tasks.
- Categorize existing work into seven software engineering task types.
- Assess whether LLMs improve performance on software engineering tasks and why.
- Provide guidance for researchers to address challenges in applying LLMs to software engineering.
Proposed method
- Literature search across six databases: ACM DL, IEEE Xplore, dblp, Elsevier Science Direct, Google Scholar, arXiv.
- Card sorting (closed) to identify relevant vs. irrelevant papers.
- Exclusion of non-English, theses, keynote papers, non-LLM, non-software-engineering works, duplicates, and pre-2022 studies.
- Data analysis involving reading papers to answer two research questions about applications and performance.
Experimental results
Research questions
- RQ1RQ1: What are the current works focusing on combining LLMs with software engineering?
- RQ2RQ2: Can LLMs truly help better perform current software engineering tasks?
Key findings
- LLMs show strength in syntax-related tasks such as code summarization and repair.
- LLMs are less satisfactory for semantics-heavy tasks like code generation and vulnerability detection, though progress continues with model iterations.
- A total of 123 relevant papers were identified and categorized into seven software engineering tasks.
- Code generation is the most studied category (24 papers), while code translation is the least (3 papers).
- The paper provides a structured view of the current status, applications, and evaluation content to guide optimization.
- Emergent abilities from scaling (e.g., in-context learning, instruction following) are discussed as contributing factors to LLM performance in SE tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.