MulTi-Wise采样:以均匀T-Wise特征交互覆盖换取更小样本
MulTi-Wise Sampling: Trading Uniform T-Wise Feature Interaction Coverage for Smaller Samples
AI总结:
本文提出MulTi-Wise采样方法,通过优先对关键特征子集使用更高t值而非对所有特征均匀覆盖t-wise交互,在真实系统上验证可显著减少采样时间和样本规模。
摘要:
确保高度可配置系统的功能安全通常需要测试所有可能配置中的代表性子集,以减少测试工作量和节省资源。已覆盖的t-wise特征交互比例(即T-Wise特征交互覆盖率)是判断配置子集是否具有代表性并能发现故障的常用标准。现有的t-wise采样算法对所有特征均匀覆盖t-wise特征交互,导致执行时间长、样本规模大,尤其是在考虑大规模t-wise特征交互(即t值较高)时。本文提出了一种新的t-wise特征交互采样方法,质疑在所有t-wise特征交互之间进行均匀覆盖的必要性,称为MulTi-Wise。我们的方法在关键特征子集与非关键特征子集之间进行优先级划分,在生成t-wise特征交互样本时对关键特征子集考虑更高的t值。我们使用来自真实应用的主题系统进行评估,包括BusyBox、Soletta、FIASCO和uClibc。结果表明,牺牲所有特征之间的均匀t-wise特征交互覆盖可以减少生成样本所需的时间以及最终样本规模。因此,如果可获得关于特征关键性的知识,MulTi-Wise采样为现有方法提供了一种替代方案。
英文摘要:
Ensuring the functional safety of highly configurable systems often requires testing representative subsets of all possible configurations to reduce testing effort and save resources. The ratio of covered t-wise feature interactions (i.e., T-Wise Feature Interaction Coverage) is a common criterion for determining whether a subset of configurations is representative and capable of finding faults. Existing t-wise sampling algorithms uniformly cover t-wise feature interactions for all features, resulting in lengthy execution times and large sample sizes, particularly when large t-wise feature interactions are considered (i.e., high values of t). In this paper, we introduce a novel approach to t-wise feature interaction sampling, questioning the necessity of uniform coverage across all t-wise feature interactions, called \emph{\mulTiWise{}}. Our approach prioritizes between subsets of critical and non-critical features, considering higher t-values for subsets of critical features when generating a t-wise feature interaction sample. We evaluate our approach using subject systems from real-world applications, including \busybox{}, \soletta{}, \fiasco{}, and \uclibc{}. Our results show that sacrificing uniform t-wise feature interaction coverage between all features reduces the time needed to generate a sample and the resulting sample size. Hence, \mulTiWise{} Sampling offers an alternative to existing approaches if knowledge about feature criticality is available.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。