Skip to content

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

cs.SE

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