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

连续模态逻辑神经网络:通过随机可及性进行模态推理

Continuous Modal Logical Neural Networks: Modal Reasoning via Stochastic Accessibility

Lawrence Berkeley National Laboratory(伯克利劳伦斯国家实验室)

Antonin Sulc

AI总结:

本文提出连续模态逻辑神经网络,通过随机可及性实现模态推理,结合逻辑公式指导神经网络生成符合逻辑属性的解决方案。

摘要:

我们提出了Fluid Logic,这是一种范式,通过神经随机微分方程(Neural SDEs)将模态逻辑推理(时间、知识、信念、规范)从离散的Kripke结构提升到连续的流形上。每种模态操作符都由一个专用的神经SDE支持,嵌套公式在单个可微图中组合这些SDEs。关键的实例是逻辑指导的神经网络(LINNs):类似于物理指导的神经网络(PINNs),LINNs将如($\Box$受限)和($\Diamond$访问_lobe)等模态逻辑公式直接嵌入到训练损失中,引导神经网络生成结构上与规定逻辑属性一致的解决方案,而无需了解支配方程。所得到的框架,连续模态逻辑神经网络(CMLNNs),具有几个关键属性:(i)随机扩散防止量词崩溃($\Box$和$\Diamond$不同),不同于确定性ODEs;(ii)模态操作符是熵风险度量,与基于风险的语义一致,具有显式的蒙特卡洛集中保证;(iii)SDE诱导的可及性提供了与经典模态公理的结构对应;(iv)通过动态参数化可及性将内存从世界数量的二次方减少到参数的线性方程。三个案例研究显示,Fluid Logic和LINNs能够引导神经网络在多样领域中生成一致的解决方案:知识/信念逻辑(多机器人幻觉检测)、时间逻辑(仅从逻辑约束中恢复洛伦茨吸引子几何)和规范逻辑(从逻辑规范中学习安全约束动态)。

英文摘要:

We propose Fluid Logic, a paradigm in which modal logical reasoning, temporal, epistemic, doxastic, deontic, is lifted from discrete Kripke structures to continuous manifolds via Neural Stochastic Differential Equations (Neural SDEs). Each type of modal operator is backed by a dedicated Neural SDE, and nested formulas compose these SDEs in a single differentiable graph. A key instantiation is Logic-Informed Neural Networks (LINNs): analogous to Physics-Informed Neural Networks (PINNs), LINNs embed modal logical formulas such as ($\Box$ bounded) and ($\Diamond$ visits\_lobe) directly into the training loss, guiding neural networks to produce solutions that are structurally consistent with prescribed logical properties, without requiring knowledge of the governing equations. The resulting framework, Continuous Modal Logical Neural Networks (CMLNNs), yields several key properties: (i) stochastic diffusion prevents quantifier collapse ($\Box$ and $\Diamond$ differ), unlike deterministic ODEs; (ii) modal operators are entropic risk measures, sound with respect to risk-based semantics with explicit Monte Carlo concentration guarantees; (iii)SDE-induced accessibility provides structural correspondence with classical modal axioms; (iv) parameterizing accessibility through dynamics reduces memory from quadratic in world count to linear in parameters. Three case studies demonstrate that Fluid Logic and LINNs can guide neural networks to produce consistent solutions across diverse domains: epistemic/doxastic logic (multi-robot hallucination detection), temporal logic (recovering the Lorenz attractor geometry from logical constraints alone), and deontic logic (learning safe confinement dynamics from a logical specification).

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

↑