用可微逻辑让多智能体系统自动推理信任、因果与规则,实现可解释的故障诊断。
Differentiable Modal Logic for Multi-Agent Diagnosis, Orchestration and Communication
- 通过神经符号网络从行为数据中自动学习信任关系与因果链。
- 在外交博弈和大模型幻觉检测中验证,能发现欺骗同盟并定位错误根源。
- 适合需要可解释性与自主协调的复杂多智能体系统开发者。
随着多智能体系统从简单聊天机器人演变为自主集群,调试语义故障需推理知识、信念、因果与义务,这正是模态逻辑的专长。但传统模态逻辑依赖人工设定关系结构,在真实系统中常未知或动态变化。本文展示可微模态逻辑(DML),通过模态逻辑神经网络(MLNNs)实现,仅凭行为数据即可学习信任网络、因果链条与监管边界。提出统一的神经符号调试框架,包含四种模态:认识论(谁可信)、时序(事件何时导致故障)、规范论(何事被允许)、信念论(如何解读置信度)。在具体场景中演示,如外交游戏中发现欺骗联盟、检测大模型幻觉,完整代码以可执行Jupyter笔记本形式提供。核心贡献:(1)可解释的显式参数化信任与因果;(2)通过可微公理注入知识,提升稀疏数据下的学习效率;(3)组合式多模态推理,融合认识、时序与规范约束;(4)监控、主动控制与通信的实用部署模式。所有代码开源。
原文摘要 · Abstract (English)
As multi-agent AI systems evolve from simple chatbots to autonomous swarms, debugging semantic failures requires reasoning about knowledge, belief, causality, and obligation, precisely what modal logic was designed to formalize. However, traditional modal logic requires manual specification of relationship structures that are unknown or dynamic in real systems. This tutorial demonstrates differentiable modal logic (DML), implemented via Modal Logical Neural Networks (MLNNs), enabling systems to learn trust networks, causal chains, and regulatory boundaries from behavioral data alone. We present a unified neurosymbolic debugging framework through four modalities: epistemic (who to trust), temporal (when events cause failures), deontic (what actions are permitted), and doxastic (how to interpret agent confidence). Each modality is demonstrated on concrete multi-agent scenarios, from discovering deceptive alliances in diplomacy games to detecting LLM hallucinations, with complete implementations showing how logical contradictions become learnable optimization objectives. Key contributions for the neurosymbolic community: (1) interpretable learned structures where trust and causality are explicit parameters, not opaque embeddings; (2) knowledge injection via differentiable axioms that guide learning with sparse data (3) compositional multi-modal reasoning that combines epistemic, temporal, and deontic constraints; and (4) practical deployment patterns for monitoring, active control and communication of multi-agent systems. All code provided as executable Jupyter notebooks.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。