Converting high-level tasks described by natural language into formal specifications like Linear Temporal Logic (LTL) is a key step towards providing formal safety guarantees over cyber-physical systems (CPS). While the compliance of the formal specifications themselves against the safety restrictions imposed on CPS is crucial for ensuring safety, most existing works only focus on translation consistency between natural languages and formal specifications. In this paper, we introduce AutoSafeLTL, a self-supervised framework that utilizes large language models (LLMs) to automate the generation of LTL specifications complying with a set of safety restrictions while preserving their logical consistency and semantic accuracy. As a key insight, our framework integrates Language Inclusion check with an automated counterexample-guided modification mechanism to ensure the safety-compliance of the resulting LTL specifications. In particular, we develop 1) an LLM-as-an-Aligner, which performs atomic proposition matching between generated LTL specifications and safety restrictions to enforce semantic alignment; and 2) an LLM-as-a-Critic, which automates LTL specification refinement by interpreting counterexamples derived from Language Inclusion checks. Experimental results demonstrate that our architecture effectively guarantees safety-compliance for the generated LTL specifications, achieving a 0% violation rate against imposed safety restrictions. This shows the potential of our work in synergizing AI and formal verification techniques, enhancing safety-aware specification generation and automatic verification for both AI and critical CPS applications.
Temporal Logic Formalisation of ISO 34502 Critical Scenarios: Modular Construction with the RSS Safety Distance
TU Delft(代尔夫特理工大学);Saarland University(萨尔大学);National Institute of Informatics(信息学研究所);Rice University(莱斯大学);NII & SOKENDAI(信息学研究所与综合研究大学院大学);Kyoto University & NII(京都大学与信息学研究所);Université Sorbonne Paris Nord(巴黎北索邦大学);Mitsubishi Electric Corporation(三菱电机株式会社)
本文针对 ISO 34502 标准中的关键驾驶场景,提出基于信号时序逻辑和 RSS 安全距离的模块化形式化方法,并通过实验验证其有效性与参数稳定性。
Many-valued coalgebraic dynamic logics: Safety and strong completeness via reducibility
Bernoulli Institute for Mathematics, Computer Science and Artificial Intelligence, University of Groningen(格罗宁根大学伯努利数学、计算机科学与人工智能研究所);Institute of Computer Science of the Czech Academy of Sciences(捷克科学院计算机科学研究所)
Goal-Aware RSS for Complex Scenarios via Program Logic
National Institute of Informatics (NII)(国立信息学研究所);SOKENDAI (The Graduate University for Advanced Studies)(综合研究大学院大学);Japanese-French Laboratory for Informatics (IRL 3527)(日法信息学实验室);Worcester Polytechnic Institute(伍斯特理工学院)
Checking Termination of Bottom-Up Evaluation of Logic Programs with Function Symbols
近年来,人们越来越关注自自底向上的【形】的复杂术语逻辑程序的语义评估。程序中函数符号的存在可能使基础实例化无限,并且在一般情况下,不再保证模型的有限性和评估过程的终止。由于程序终止问题在一般情况下是不可判定的,最近提出了几个可判定准则(称为程序终止准则)。然而,目前的条件是不能识别甚至简单的程序,其自自底向上的【形】的执行总是终止。本文通过对程序结构的深入分析,提出了一种新的自自底向上的【形】求值下带函数符号的逻辑程序可终止性判定准则。首先,我们分析了复杂的条款之间的传播参数的扩展版本的参数图称为传播图。由此产生的标准,称为伽马-非周期性,概括了迄今为止提出的大多数可判定的标准。接下来,我们研究规则如何相互激活,并定义一个更强大的标准,称为安全性。该标准使用所谓的安全函数,能够分析规则如何相互激活以及规则中某些参数的存在如何限制其激活。我们还研究了所提出的标准绑定查询的应用程序,并表明,安全标准是非常适合识别相关类的程序和绑定查询。最后,我们提出了一个层次的类终止程序,称为k-安全,其中k-安全类严格包括(k-1)-安全类。逻辑程序设计理论与实践(Theory and Practice of Logic Programming,TPLP)
Formal Verification of Safety Architectures for Automated Driving
National Institute of Informatics(国立信息学研究所);National Institute of Advanced Industrial Science and Technology (AIST)(国立先进工业科学技术研究院(AIST));Japanese-French Laboratory for Informatics(日法信息学实验室);The Graduate University for Advanced Studies (SOKENDAI)(综合研究大学院大学(SOKENDAI))