The State of RL4SE: A Task-Oriented Review of Research on Reinforcement Learning for Software Engineering
Yujia Fan, Zhengdong Huang, Jieming Zheng, Xiangyu Yan, Sinan Wang, Jie Zhang, Yepang Liu
Abstract
Reinforcement Learning (RL) has emerged as a promising paradigm for addressing complex decision-making challenges in software engineering (SE). As RL is increasingly applied to SE tasks, existing RL4SE studies exhibit substantial diversity in problem formulations, algorithm usage, and MDP modeling. In response, this systematic literature review surveys and synthesizes 146 studies published between 2006 and June 2025 on RL for SE, providing a task-oriented perspective on how RL techniques have been applied across SE domains. We categorize existing work according to core SE tasks and analyze their distribution across the software lifecycle, revealing a strong concentration on quality assurance tasks, particularly GUI exploration and testing, test generation, test case prioritization, and robustness testing. We further examine how SE problems are formulated as RL tasks, focusing on state, action, and reward design as well as the adoption of RL algorithms. In addition, we identify persistent challenges shared across SE subtasks, such as balancing state-action granularity with combinatorial growth and designing effective rewards, while also highlighting emerging research opportunities. By organizing existing studies in a task-oriented manner, this survey aims to guide researchers in better aligning RL techniques with practical SE needs and making informed design choices for specific SE tasks.
Create a lesson
Metadata
- Categories
- cs.SE, cs.AI
- Comments
- The paper has just been accepted by the ACM Transactions on Software Engineering and Methodology
Related papers
Comparing Humans and LLMs in Software Engineering Research
Shared title terminologycs.SEMarc Herrmann, Tolga Çakır, Michael Mircea et al.
Software Engineering After Human Comprehension? Review the Checks Instead of Code
Shared title terminologycs.SEChristoph Treude
SWE-GPU-Bench: Can Language Models Solve Real-World GPU Software Engineering Tasks?
Shared title terminologycs.SEFeng Chen, Binbin Liu, Wenhan Han et al.
All About That Bayes: A Focus Group on the State of Bayesian Analysis in Empirical Software Engineering
Shared title terminologycs.SEJustus Bogner, Roberto Verdecchia
Auditing the Released State of LLM-Reviewed Financial Analyses
Shared title terminologycs.SEZengjian Liu, Tommy He, ELE Zhao et al.
Toward Information-Aware and Verifiable Agentic Systems for Software Engineering
Shared title terminologycs.SESpyridon Alvanakis Apostolou, Helena Holmström Olsson, Jan Bosch