arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.17268cs.SE
收藏

基于搜索的信息物理系统轨迹诊断

Search-based Trace Diagnostic for Cyber-Physical Systems

Gran Sasso Science Institute (GSSI)(格兰萨索科学研究所);University of Brasília(巴西利亚大学);McMaster University(麦克马斯特大学);University of Bergamo(贝加莫大学)

Ricardo Caldas, Gabriel Araujo, Federico Formica, Genaína Rodrigues, Patrizio Pelliccione, Claudio Menghi

AI总结:

针对信息物理系统轨迹诊断问题,提出基于进化搜索的SBTD技术,通过黑盒轨迹检查与进化算法生成诊断,在34个实验中29个达到专家对齐,并扩展到完整HLS基准。

摘要:

信息物理系统(CPS)的开发需要验证系统行为是否违反其需求。这种分析通常考虑由执行轨迹表示的系统行为和由基于信号的时序属性表示的需求。当执行轨迹违反需求时,工程师必须解决轨迹诊断问题——他们需要理解违规的原因。自动化轨迹诊断技术旨在支持工程师进行轨迹诊断活动。本文提出了基于搜索的轨迹诊断(SBTD),一种针对CPS需求的新型轨迹诊断技术。与现有技术不同,SBTD依赖于进化搜索。SBTD从一组候选诊断开始,应用进化算法通过变异、重组和选择生成新的候选诊断,并使用适应度函数来确定这些解决方案的质量。然后,执行诊断生成步骤以解释轨迹违规的原因。我们实现了Diagnosis,一个针对使用混合信号逻辑(HLS)表达的基于信号的时序逻辑需求的SBTD工具。我们通过为17个轨迹-需求组合的属性违规执行34个实验来评估Diagnosis。我们评估了SBTD在生成信息丰富诊断方面的有效性及其效率。Diagnosis在34个实验中的29个中实现了专家对齐的诊断,并扩展到完整的HLS基准,而现有文献由于性能和语言限制仍局限于子集。SBTD将轨迹检查视为黑盒,这使得检查器可替换。将我们的HLS检查器替换为STL监视器(例如RTAMT),在两个需求上以低两到三个数量级的每次检查成本重现了诊断。

英文摘要:

Cyber-physical systems (CPS) development requires verifying whether system behaviors violate their requirements. This analysis often considers system behaviors expressed by execution traces and requirements expressed by signal-based temporal properties. When an execution trace violates a requirement, engineers must solve the trace diagnostic problem---they need to understand the cause of the breach. Automated trace diagnostic techniques aim to support engineers in the trace diagnostic activity. This paper proposes search-based trace diagnostic (SBTD), a novel trace diagnostic technique for CPS requirements. Unlike existing techniques, SBTD relies on evolutionary search. SBTD starts from a set of candidate diagnoses, applies an evolutionary algorithm to generate new candidate diagnoses (via mutation, recombination, and selection), and uses a fitness function to determine the qualities of these solutions. Then, a diagnostic generator step is performed to explain the cause of the trace violation. We implemented Diagnosis, an SBTD tool for signal-based temporal logic requirements expressed using the Hybrid Logic of Signals (HLS). We evaluated Diagnosis by performing 34 experiments for 17 trace-requirement combinations for property violations. We assessed the effectiveness of SBTD in producing informative diagnoses and its efficiency. Diagnosis achieved expert-aligned diagnoses for 29/34 experiments and scaled to the full HLS benchmark, whereas state-of-the-art literature remained restricted to a subset due to performance and language limitations. SBTD treats trace-checking as a black box, which makes the checker replaceable. Substituting our HLS checker for an STL monitor, e.g., RTAMT, reproduces on two requirements the diagnoses at two to three orders of magnitude lower per-check cost.

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

↑