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

从数据中检索增强的时序逻辑规范挖掘

Retrieval-Augmented Mining of Temporal Logic Specifications from Data

University of Trieste(的里雅斯特大学);University of Pisa(比萨大学)

Gaia Saveri, Luca Bortolussi

AI总结:

提出一种结合贝叶斯优化与信息检索的框架,从数据中自动挖掘信号时序逻辑规范,用于分类和监视CPS行为,无需限制STL语法。

摘要:

网络物理系统(CPS)融入日常生活,使得确保其安全性和可靠性变得至关重要。朝着这一方向迈出的重要一步是需求挖掘,即从观察到的行为中推断出形式化规定的系统属性,以发现关于系统的知识。信号时序逻辑(STL)提供了一种简洁而富有表现力的语言来指定需求,特别适用于CPS,其中行为通常表示为时间序列数据。这项工作以数据驱动的方式解决了从观察行为中学习STL需求的任务,重点关注二元分类,即推断能够区分正常行为和异常行为的系统属性,这些属性既可用作分类器,也可用作CPS对期望规范符合性的监视器。我们提出了一种新颖的框架,结合了贝叶斯优化(BO)和信息检索(IR)技术,同时学习STL公式的结构和参数,且对STL语法没有限制。具体来说,我们提出了一个框架,利用包含数百万公式的语义保持连续表示的密集向量数据库,在BO循环内查询以促进需求的挖掘。我们在多个信号分类应用中展示了我们方法的有效性,证明了其从系统执行中提取可解释见解的能力,并推进了CPS需求挖掘的最新水平。

英文摘要:

The integration of cyber-physical systems (CPS) into everyday life raises the critical necessity of ensuring their safety and reliability. An important step in this direction is requirement mining, i.e. inferring formally specified system properties from observed behaviors, in order to discover knowledge about the system. Signal Temporal Logic (STL) offers a concise yet expressive language for specifying requirements, particularly suited for CPS, where behaviors are typically represented as time series data. This work addresses the task of learning STL requirements from observed behaviors in a data-driven manner, focusing on binary classification, i.e. on inferring properties of the system which are able to discriminate between regular and anomalous behaviour, and that can be used both as classifiers and as monitors of the compliance of the CPS to desirable specifications. We present a novel framework that combines Bayesian Optimization (BO) and Information Retrieval (IR) techniques to simultaneously learn both the structure and the parameters of STL formulae, without restrictions on the STL grammar. Specifically, we propose a framework that leverages a dense vector database containing semantic-preserving continuous representations of millions of formulae, queried for facilitating the mining of requirements inside a BO loop. We demonstrate the effectiveness of our approach in several signal classification applications, showing its ability to extract interpretable insights from system executions and advance the state-of-the-art in requirement mining for CPS.

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

↑