SEJan 7, 2021

Deep Reinforcement Learning for Black-Box Testing of Android Apps

arXiv:2101.02636v294 citations
AI Analysis

This work provides an incremental improvement in black-box testing for Android app developers by improving test coverage and fault revelation.

This paper addresses the challenge of thoroughly exploring the vast state space of Android apps during testing. The authors developed ARES, a Deep Reinforcement Learning approach, which achieved higher coverage and fault revelation compared to state-of-the-art RL-based tools like TimeMachine and Q-Testing.

The state space of Android apps is huge and its thorough exploration during testing remains a major challenge. In fact, the best exploration strategy is highly dependent on the features of the app under test. Reinforcement Learning (RL) is a machine learning technique that learns the optimal strategy to solve a task by trial and error, guided by positive or negative reward, rather than by explicit supervision. Deep RL is a recent extension of RL that takes advantage of the learning capabilities of neural networks. Such capabilities make Deep RL suitable for complex exploration spaces such as the one of Android apps. However, state of the art, publicly available tools only support basic, tabular RL. We have developed ARES, a Deep RL approach for black-box testing of Android apps. Experimental results show that it achieves higher coverage and fault revelation than the baselines, which include state of the art RL based tools, such as TimeMachine and Q-Testing. We also investigated qualitatively the reasons behind such performance and we have identified the key features of Android apps that make Deep RL particularly effective on them to be the presence of chained and blocking activities.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes