We present GradSTL, the first fully comprehensive implementation of signal temporal logic (STL) suitable for integration with neurosymbolic learning. In particular, GradSTL can successfully evaluate any STL constraint over any signal, regardless of how it is sampled. Our formally verified approach specifies smooth STL semantics over tensors, with formal proofs of soundness and of correctness of its derivative function. Our implementation is generated automatically from this formalisation, without manual coding, guaranteeing correctness by construction. We show via a case study that using our implementation, a neurosymbolic process learns to satisfy a pre-specified STL constraint. Our approach offers a highly rigorous foundation for integrating signal temporal logic and learning by gradient descent.
Sound and Complete Neurosymbolic Reasoning with LLM-Grounded Interpretations
University of Amsterdam(阿姆斯特丹大学);University of Southern California(南加州大学);Rensselaer Polytechnic Institute(拉特格斯理工学院);Vrije Universiteit Amsterdam(阿姆斯特丹自由大学)
Zscaler Inc(Zscaler公司);ECE Department, Santa Clara University(圣克拉拉大学电子工程与计算机科学系);Department of Informatics, University of Sussex(苏塞克斯大学信息学院);The Beyond Center for Fundamental Science, Arizona State University(亚利桑那州立大学基础科学中心)
本文提出一种神经符号方法,通过集成 Prolog 谓词和一阶逻辑模块增强 LLMs,有效缓解幻觉并提升多步推理任务的精确度与可靠性,为构建可信可解释的 AI 智能体提供可扩展路径。