How Low Can We Go? Minimizing Interaction Samples for Configurable Systems

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Krupke, Dominik, Moradi, Ahmad, Perk, Michael, Keldenich, Phillip, Gehrke, Gabriel, Krieter, Sebastian, Thüm, Thomas, Fekete, Sándor P.
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910781118873600
author Krupke, Dominik
Moradi, Ahmad
Perk, Michael
Keldenich, Phillip
Gehrke, Gabriel
Krieter, Sebastian
Thüm, Thomas
Fekete, Sándor P.
author_facet Krupke, Dominik
Moradi, Ahmad
Perk, Michael
Keldenich, Phillip
Gehrke, Gabriel
Krieter, Sebastian
Thüm, Thomas
Fekete, Sándor P.
contents Modern software systems are typically configurable, a fundamental prerequisite for wide applicability and reusability. This flexibility poses an extraordinary challenge for quality assurance, as the enormous number of possible configurations makes it impractical to test each of them separately. This is where t-wise interaction sampling can be used to systematically cover the configuration space and detect unknown feature interactions. Over the last two decades, numerous algorithms for computing small interaction samples have been studied, providing improvements for a range of heuristic results; nevertheless, it has remained unclear how much these results can still be improved. We present a significant breakthrough: a fundamental framework, based on the mathematical principle of duality, for combining near-optimal solutions with provable lower bounds on the required sample size. This implies that we no longer need to work on heuristics with marginal or no improvement, but can certify the solution quality by establishing a limit on the remaining gap; in many cases, we can even prove optimality of achieved solutions. This theoretical contribution also provides extensive practical improvements: Our algorithm SampLNS was tested on 47 small and medium-sized configurable systems from the existing literature. SampLNS can reliably find samples of smaller size than previous methods in 85% of the cases; moreover, we can achieve and prove optimality of solutions for 63% of all instances. This makes it possible to avoid cumbersome efforts of minimizing samples by researchers as well as practitioners, and substantially save testing resources for most configurable systems.
format Preprint
id arxiv_https___arxiv_org_abs_2501_06788
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle How Low Can We Go? Minimizing Interaction Samples for Configurable Systems
Krupke, Dominik
Moradi, Ahmad
Perk, Michael
Keldenich, Phillip
Gehrke, Gabriel
Krieter, Sebastian
Thüm, Thomas
Fekete, Sándor P.
Software Engineering
Optimization and Control
D.2; F.2.2
Modern software systems are typically configurable, a fundamental prerequisite for wide applicability and reusability. This flexibility poses an extraordinary challenge for quality assurance, as the enormous number of possible configurations makes it impractical to test each of them separately. This is where t-wise interaction sampling can be used to systematically cover the configuration space and detect unknown feature interactions. Over the last two decades, numerous algorithms for computing small interaction samples have been studied, providing improvements for a range of heuristic results; nevertheless, it has remained unclear how much these results can still be improved. We present a significant breakthrough: a fundamental framework, based on the mathematical principle of duality, for combining near-optimal solutions with provable lower bounds on the required sample size. This implies that we no longer need to work on heuristics with marginal or no improvement, but can certify the solution quality by establishing a limit on the remaining gap; in many cases, we can even prove optimality of achieved solutions. This theoretical contribution also provides extensive practical improvements: Our algorithm SampLNS was tested on 47 small and medium-sized configurable systems from the existing literature. SampLNS can reliably find samples of smaller size than previous methods in 85% of the cases; moreover, we can achieve and prove optimality of solutions for 63% of all instances. This makes it possible to avoid cumbersome efforts of minimizing samples by researchers as well as practitioners, and substantially save testing resources for most configurable systems.
title How Low Can We Go? Minimizing Interaction Samples for Configurable Systems
topic Software Engineering
Optimization and Control
D.2; F.2.2
url https://arxiv.org/abs/2501.06788