使用 Transformers 和 Mamba 学习估计线性时序逻辑中的系统规约
Learning to Estimate System Specifications in Linear Temporal Logic using Transformers and Mamba
AI总结:
本文提出基于自回归的Transformer和Mamba架构,从系统轨迹生成线性时序逻辑公式以解决规约挖掘问题,并设计了独特性量化指标与语法约束算法,以极低计算成本生成正确且独特的公式。
摘要:
时序逻辑是一种用于表示和推理随时间演变的命题的框架。它通常用于指定各个领域的需求,包括硬件和软件系统以及机器人技术。规约挖掘或公式生成涉及从系统轨迹中提取时序逻辑公式,并具有许多应用,例如检测缺陷和提高可解释性。尽管近年来基于深度学习的时序逻辑可满足性检查方法激增,但规约挖掘文献在采用深度学习方法方面一直滞后,尽管它们具有许多优势,例如可扩展性。在本文中,我们引入了自回归模型,该模型可以从轨迹生成线性时序逻辑公式,以解决规约挖掘问题。我们为此任务提出了多种架构:transformer编码器-解码器、仅解码器transformer以及Mamba,它是transformer模型的新兴替代方案。此外,我们设计了一个用于量化生成公式的独特性的指标,以及一个强制执行语法约束的简单算法。我们的实验表明,所提出的架构产生了有希望的结果,以组合基线所需计算成本的一小部分生成了正确且独特的公式。
英文摘要:
Temporal logic is a framework for representing and reasoning about propositions that evolve over time. It is commonly used for specifying requirements in various domains, including hardware and software systems, as well as robotics. Specification mining or formula generation involves extracting temporal logic formulae from system traces and has numerous applications, such as detecting bugs and improving interpretability. Although there has been a surge of deep learning-based methods for temporal logic satisfiability checking in recent years, the specification mining literature has been lagging behind in adopting deep learning methods despite their many advantages, such as scalability. In this paper, we introduce autoregressive models that can generate linear temporal logic formulae from traces, towards addressing the specification mining problem. We propose multiple architectures for this task: transformer encoder-decoder, decoder-only transformer, and Mamba, which is an emerging alternative to transformer models. Additionally, we devise a metric for quantifying the distinctiveness of the generated formulae and a straightforward algorithm to enforce the syntax constraints. Our experiments show that the proposed architectures yield promising results, generating correct and distinct formulae at a fraction of the compute cost needed for the combinatorial baseline.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。