arXiv:2505.20313cs.AIcs.LO2025-05被引 1

用能量模型实现逻辑公式的形式化推理,结合学习与符号推理。

Reasoning in Neurosymbolic AI

  • 基于能量的神经符号系统形式化表达命题逻辑
  • 实验证明逻辑推理等价于能量最小化,且可学习知识与数据
  • 适合关注可解释性、安全性和可靠性的人工智能研究者

神经网络中的知识表示与推理一直是长期探索的方向,近年来受到广泛关注。神经符号人工智能(Neurosymbolic AI)的核心目标是将推理与学习在神经网络中进行原则性融合。本文描述了一个简单的基于能量的神经符号系统,能够对任意命题逻辑公式进行形式化表示与推理,实现从数据和知识中学习与逻辑推理的强强联合。首先,在当前以大语言模型(LLMs)为主导的AI格局下,指出其在数据效率、公平性与安全性方面的问题,而神经符号推理系统可能提供形式化解决方案。接着,详细讨论该能量系统对逻辑的表示方法,并通过受限玻尔兹曼机(RBM)进行实证评估,验证了逻辑推理与能量最小化之间的对应关系。同时,系统在学习能力上与符号、神经及混合系统进行了对比实验。结果表明,该方法在可解释性与可靠性方面具有潜力,有望重燃对神经网络作为大规模并行逻辑推理模型的研究兴趣。最后,强调将神经符号AI置于更广泛的正式推理与责任框架中,探讨其应对深度学习可靠性挑战的前景。

原文摘要 · Abstract (English)

Knowledge representation and reasoning in neural networks have been a long-standing endeavor which has attracted much attention recently. The principled integration of reasoning and learning in neural networks is a main objective of the area of neurosymbolic Artificial Intelligence (AI). In this chapter, a simple energy-based neurosymbolic AI system is described that can represent and reason formally about any propositional logic formula. This creates a powerful combination of learning from data and knowledge and logical reasoning. We start by positioning neurosymbolic AI in the context of the current AI landscape that is unsurprisingly dominated by Large Language Models (LLMs). We identify important challenges of data efficiency, fairness and safety of LLMs that might be addressed by neurosymbolic reasoning systems with formal reasoning capabilities. We then discuss the representation of logic by the specific energy-based system, including illustrative examples and empirical evaluation of the correspondence between logical reasoning and energy minimization using Restricted Boltzmann Machines (RBM). Learning from data and knowledge is also evaluated empirically and compared with a symbolic, neural and a neurosymbolic system. Results reported in this chapter in an accessible way are expected to reignite the research on the use of neural networks as massively-parallel models for logical reasoning and promote the principled integration of reasoning and learning in deep networks. We conclude the chapter with a discussion of the importance of positioning neurosymbolic AI within a broader framework of formal reasoning and accountability in AI, discussing the challenges for neurosynbolic AI to tackle the various known problems of reliability of deep learning.

神经符号逻辑推理可解释性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。