Large Language Models for Software Engineering: A Systematic Literature Review

Большие языковые модели для программной инженерии: систематический обзор литературы
Xiapu Luo, John Grundy, David Lo, Yue Liu, Haoyu Wang, Kailong Wang, Li Li, Xinyi Hou, Yanjie Zhao, Zhou Yang
2024-09-20

LLM4SELarge Language ModelsSoftware EngineeringSystematic Literature Reviewdatasets for LLMs in SE
Large Language Models (LLMs) have significantly impacted numerous domains, including Software Engineering (SE). Many recent publications have explored LLMs applied to various SE tasks. Nevertheless, a comprehensive understanding of the application, effects, and possible limitations of LLMs on SE is still in its early stages. To bridge this gap, we conducted a Systematic Literature Review (SLR) on LLM4SE, with a particular focus on understanding how LLMs can be exploited to optimize processes and outcomes. We selected and analyzed 395 research articles from January 2017 to January 2024 to answer four key Research Questions (RQs). In RQ1, we categorize different LLMs that have been employed in SE tasks, characterizing their distinctive features and uses. In RQ2, we analyze the methods used in data collection, pre-processing, and application, highlighting the role of well-curated datasets for successful LLM for SE implementation. RQ3 investigates the strategies employed to optimize and evaluate the performance of LLMs in SE. Finally, RQ4 examines the specific SE tasks where LLMs have shown success to date, illustrating their practical contributions to the field. From the answers to these RQs, we discuss the current state-of-the-art and trends, identifying gaps in existing research, and highlighting promising areas for future study. Our artifacts are publicly available at https://github.com/security-pride/LLM4SE_SLR .
1
A Systematic Literature Review (SLR) of 395 articles (Jan 2017–Jan 2024) was conducted to assess Large Language Models (LLMs) applied to Software Engineering (SE).
2
Data collection, preprocessing, and dataset quality are critical for successful LLM application in SE, with well-curated datasets highlighted as important (RQ2).
3
LLMs have demonstrated practical success across specific SE tasks, with the review mapping task areas where LLMs contributed and identifying research gaps and future directions (RQ4).
4
LLMs used in SE were categorized by type, distinctive features, and uses (RQ1), providing a structured taxonomy of models applied to SE tasks.
5
Strategies to optimize and evaluate LLM performance in SE were analyzed, identifying common optimization and evaluation approaches (RQ3).

Application of Large Language Models (LLMs) in Software Engineering (LLM4SE)

Systematic analysis of how LLMs are employed, their data/methods for collection and preprocessing, optimization and evaluation strategies, and their effectiveness across specific software-engineering tasks

Publication Details
Publication Date
2024-09-20
Journal
Publisher
ISSN
Cited by
887
Access Type
Author Information
Authors
Xiapu Luo
John Grundy
David Lo
Yue Liu
Haoyu Wang
Kailong Wang
Li Li
Xinyi Hou
Yanjie Zhao
Zhou Yang
Explore further
Open the scid.ai AI chat with a ready-made request: it will find papers on a similar topic and help build a literature review.
Find similar papers in the chat
Make a presentation
100%