Skip to main navigation Skip to search Skip to main content

Search-based Diverse Sampling from Real-world Software Product Lines

  • Yi Xiang
  • , Han Huang*
  • , Yuren Zhou
  • , Sizhe Li
  • , Chuan Luo
  • , Qingwei Lin
  • , Miqing Li
  • , Xiaowei Yang
  • *Corresponding author for this work
  • South China University of Technology
  • Sun Yat-Sen University
  • Microsoft USA
  • University of Birmingham

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

Real-world software product lines (SPLs) often encompass enormous valid configurations that are impossible to enumerate. To understand properties of the space formed by all valid configurations, a feasible way is to select a small and valid sample set. Even though a number of sampling strategies have been proposed, they either fail to produce diverse samples with respect to the number of selected features (an important property to characterize behaviors of configurations), or achieve diverse sampling but with limited scalability (the handleable configuration space size is limited to 1013). To resolve this dilemma, we propose a scalable diverse sampling strategy, which uses a distance metric in combination with the novelty search algorithm to produce diverse samples in an incremental way. The distance metric is carefully designed to measure similarities between configurations, and further diversity of a sample set. The novelty search incrementally improves diversity of samples through the search for novel configurations. We evaluate our sampling algorithm on 39 real-world SPLs. It is able to generate the required number of samples for all the SPLs, including those which cannot be counted by sharpSAT, a state-of-the-art model counting solver. Moreover, it performs better than or at least competitively to state-of-the-art samplers regarding diversity of the sample set. Experimental results suggest that only the proposed sampler (among all the tested ones) achieves scalable diverse sampling.

Original languageEnglish
Title of host publicationProceedings - 2022 ACM/IEEE 44th International Conference on Software Engineering, ICSE 2022
PublisherIEEE Computer Society
Pages1945-1957
Number of pages13
ISBN (Electronic)9781450392211
DOIs
StatePublished - 5 Jul 2022
Externally publishedYes
Event44th ACM/IEEE International Conference on Software Engineering, ICSE 2022 - Hybrid, Pittsburgh, United States
Duration: 22 May 2022 → 27 May 2022

Publication series

NameProceedings - International Conference on Software Engineering
Volume2022-May
ISSN (Print)0270-5257

Conference

Conference44th ACM/IEEE International Conference on Software Engineering, ICSE 2022
Country/TerritoryUnited States
CityHybrid, Pittsburgh
Period22/05/22 → 27/05/22

Keywords

  • Software product lines
  • distance metric
  • diverse sampling
  • novelty search

Fingerprint

Dive into the research topics of 'Search-based Diverse Sampling from Real-world Software Product Lines'. Together they form a unique fingerprint.

Cite this