A Deep Reinforcement Learning Approach to Configuration Sampling Problem

Amir Abolfazli, Jakob Spiegelberg, Avishek Anand, Gregory Palmer

Research output: Chapter in Book/Conference proceedings/Edited volumeConference contributionScientificpeer-review

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 languageEnglish
Title of host publicationProceedings of the 2023 IEEE International Conference on Data Mining (ICDM)
EditorsLisa O’Conner
Place of PublicationPiscataway
PublisherIEEE
Number of pages10
ISBN (Electronic)979-8-3503-0788-7
ISBN (Print)979-8-3503-0789-4
DOIs
Publication statusPublished - 2023
Event2023 IEEE International Conference on Data Mining (ICDM) - Shanghai, China
Duration: 1 Dec 20234 Dec 2023

Conference

Conference2023 IEEE International Conference on Data Mining (ICDM)
Country/TerritoryChina
CityShanghai
Period1/12/234/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-care
Otherwise 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

Fingerprint

Dive into the research topics of 'A Deep Reinforcement Learning Approach to Configuration Sampling Problem'. Together they form a unique fingerprint.

Cite this