WebRLED: A Deep Reinforcement Learning Approach for Automated Web Application Exploration
Automated web application exploration has been considered a challenging task, considering its large state space and complex interaction logic. Deep Reinforcement Learning (DRL) is a recent extension of Reinforcement Learning (RL), leveraging advantages of the powerful learning capabilities of neural networks, making it suitable for exploring a complex state space. In this paper, we propose WebRLED, an effective approach for automated web application exploration, leveraging the capabilities of deep reinforcement learning. WebRLED has the following characteristics: (1) a grid-based action value learning technique, which can improve the efficiency of state space exploration; (2) a novel action discriminator which can be trained during the exploration to identify more available actions; (3) an adaptive, curiosity-driven reward model, which considers the novelty of an encountered state within an episode and the global history, and can guide exploration continuously. We conduct a comprehensive evaluation of WebRLED on 12 open-source web applications. The experimental results show that WebRLED achieves higher code/state coverage compared to existing state-of-the-art (SOTA) techniques. In particular, on complex applications, WebRLED achieves relative improvements over the best baseline of 26.22% in code coverage, 82.59% in state coverage (WebEmbed), and 65.64% in state coverage (URL+structure). Additionally, WebRLED detects more failures on average than the best baseline, indicating that stronger exploration also improves failure exposure.
Authors
- Jun Wei (ORCID: https://orcid.org/0000-0002-8561-2481)
- Guoquan Wu (ORCID: https://orcid.org/0000-0002-2043-5939)
- Wei Chen (ORCID: https://orcid.org/0000-0003-3385-5665)
- Chenxi Yang (ORCID: https://orcid.org/0000-0001-5058-5404)
- Zhiyu Gu (ORCID: https://orcid.org/0009-0008-6337-8023)
- Yifei Zhang (ORCID: https://orcid.org/0009-0001-9868-7802)
Institutions
- Chinese Academy of Sciences (CN)
- Institute of Software (CN)
Publication Details
- Journal
- ACM Transactions on Software Engineering and Methodology
- Published
- 2026-09-17
- DOI
- https://doi.org/10.1145/3843235
- Primary Topic
- Software Engineering Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00