在度量时态逻辑中合成可高效监控的公式
Synthesizing Efficiently Monitorable Formulas in Metric Temporal Logic
AI总结:
针对运行时验证中手动编写规约困难的问题,本文提出一种从系统执行轨迹自动合成度量时态逻辑公式的学习算法,通过将合成任务归约为线性实数算术可满足性问题,生成具有有界前瞻的高效可监控公式,并在工具TEAL中验证了其在CPS应用中的有效性。
摘要:
在运行时验证中,手动为监控系统执行过程形式化地编写规约是一个繁琐且容易出错的过程。为了解决这一问题,我们研究了从系统执行轨迹中自动合成形式化规约的问题。为了展示我们的方法,我们采用了广泛使用的规约语言度量时态逻辑(Metric Temporal Logic,MTL),该语言特别适合为信息物理系统(CPS)指定时态性质。大多数经典的时态逻辑公式合成方法旨在最小化公式的规模。然而,为了实现高效的监控,除了公式规模之外,规约所需的“前瞻(lookahead)”量也变得十分重要,尤其是在安全关键型应用中。我们对这一概念进行了形式化,并设计了一种学习算法,用于合成具有有界前瞻的简洁公式。为此,我们的算法将合成任务归约为线性实数算术(Linear Real Arithmetic,LRA)中的一系列可满足性问题,并从其满足性赋值中生成 MTL 公式。该归约过程使用了一种新颖的编码方式,将一种流行的 MTL 监控过程编码为 LRA 问题。最后,我们在名为 TEAL 的工具中实现了该算法,并展示了其在一个 CPS 应用中合成可高效监控的 MTL 公式的能力。
英文摘要:
In runtime verification, manually formalizing a specification for monitoring system executions is a tedious and error-prone process. To address this issue, we consider the problem of automatically synthesizing formal specifications from system executions. To demonstrate our approach, we consider the popular specification language Metric Temporal Logic (MTL), which is particularly tailored towards specifying temporal properties for cyber-physical systems (CPS). Most of the classical approaches for synthesizing temporal logic formulas aim at minimizing the size of the formula. However, for efficiency in monitoring, along with the size, the amount of "lookahead" required for the specification becomes relevant, especially for safety-critical applications. We formalize this notion and devise a learning algorithm that synthesizes concise formulas having bounded lookahead. To do so, our algorithm reduces the synthesis task to a series of satisfiability problems in Linear Real Arithmetic (LRA) and generates MTL formulas from their satisfying assignments. The reduction uses a novel encoding of a popular MTL monitoring procedure using LRA. Finally, we implement our algorithm in a tool called TEAL and demonstrate its ability to synthesize efficiently monitorable MTL formulas in a CPS application.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。