Abstract
Configurable software systems have become increasingly popular as they enable customized software variants. The main challenge in dealing with configuration problems is that the number of possible configurations grows exponentially as the number of features increases. Therefore, algorithms for testing customized software have to deal with the challenge of tractably finding potentially faulty configurations given exponentially large configurations. To overcome this problem, prior works focused on sampling strategies to significantly reduce the number of generated configurations, guaranteeing a high t-wise coverage. In this work, we address the configuration sampling problem by proposing a deep reinforcement learning (DRL) based sampler that efficiently finds the trade-off between exploration and exploitation, allowing for the efficient identification of a minimal subset of configurations that covers all t-wise feature interactions while minimizing redundancy. We also present the CS-Gym, an environment for the configuration sampling. We benchmark our results against heuristic-based sampling methods on eight different feature models of software product lines and show that our method outperforms all sampling methods in terms of sample size. Our findings indicate that the achieved improvement has major implications for cost reduction, as the reduction in sample size results in fewer configurations that need to be tested.
Original language | English |
---|---|
Title of host publication | Proceedings of the 2023 IEEE International Conference on Data Mining (ICDM) |
Editors | Lisa O’Conner |
Place of Publication | Piscataway |
Publisher | IEEE |
Number of pages | 10 |
ISBN (Electronic) | 979-8-3503-0788-7 |
ISBN (Print) | 979-8-3503-0789-4 |
DOIs | |
Publication status | Published - 2023 |
Event | 2023 IEEE International Conference on Data Mining (ICDM) - Shanghai, China Duration: 1 Dec 2023 → 4 Dec 2023 |
Conference
Conference | 2023 IEEE International Conference on Data Mining (ICDM) |
---|---|
Country/Territory | China |
City | Shanghai |
Period | 1/12/23 → 4/12/23 |
Bibliographical note
Green Open Access added to TU Delft Institutional Repository 'You share, we take care!' - Taverne project https://www.openaccess.nl/en/you-share-we-take-careOtherwise as indicated in the copyright section: the publisher is the copyright holder of this work and the author uses the Dutch legislation to make this work public.
Keywords
- Deep learning
- Costs
- Software algorithms
- Reinforcement learning
- Sampling methods
- Software systems
- Software product lines
- reinforcement learning
- configuration sampling
- software testing