arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.08079cs.SEstat.ME

BayesFLo:复杂软件系统的贝叶斯故障定位

BayesFLo: Bayesian fault localization of complex software systems

Yi Ji, Simon Mak, Ryan Lekivetz, Joseph Morgan

AI总结:

本文提出BayesFLo框架,通过贝叶斯模型结合领域知识,提升复杂系统故障定位的准确性与概率评估能力。

摘要:

软件测试对于复杂软件系统的可靠开发至关重要。故障定位是软件测试中的关键步骤,利用测试数据确定引发故障的组合。现有方法存在两大局限:(i)大多不结合测试工程师的领域和结构知识;(ii)不提供潜在根本原因的风险概率评估。为此,本文提出BayesFLo框架,利用灵活的贝叶斯模型识别潜在根本原因并评估概率不确定性。通过组合层次和遗传原理,结合精心设计的先验概率,允许整合领域和结构知识。随后开发新的算法用于高效计算后验根本原因概率,利用整数规划和图表示工具。最后在两个故障定位案例研究中验证了BayesFLo的有效性,包括航空防撞系统和自动驾驶安全测试。

英文摘要:

Software testing is essential for the reliable development of complex software systems. A key step in software testing is fault localization, which uses test data to pinpoint failure-inducing combinations for further diagnosis. Existing fault localization methods have two key limitations: they (i) largely do not incorporate domain and/or structural knowledge from test engineers, and (ii) do not provide a probabilistic assessment of risk for potential root causes. Such methods can thus fail to confidently whittle down the combinatorial number of potential root causes in complex systems, resulting in prohibitively high debugging costs. To address this, we propose a novel Bayesian fault localization framework called BayesFLo, which leverages a flexible Bayesian model for identifying potential root causes with probabilistic uncertainties. Using a carefully-specified prior on root cause probabilities, BayesFLo permits the integration of domain and structural knowledge via the principles of combination hierarchy and heredity, which capture the expected structure of failure-inducing combinations. We then develop new algorithms for efficient computation of posterior root cause probabilities, leveraging recent tools from integer programming and graph representations. Finally, we demonstrate the effectiveness of BayesFLo over existing methods in two fault localization case studies, the first on the Traffic Alert and Collision Avoidance System for aircraft collision avoidance, and the second on the Vulnerable Road User protection tests for safe autonomous driving.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑