arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.18202cs.AI
收藏

关于通过引导逻辑推理扩展神经符号编程的研究

On Scaling Neurosymbolic Programming through Guided Logical Inference

ENS Paris-Saclay(巴黎-萨克雷高等师范学校);Univ. Grenoble Alpes(格勒诺布尔-阿尔卑斯大学);CNRS(法国国家科学研究中心);Inria(法国国家信息与自动化研究所);Grenoble INP(格勒诺布尔理工学院);LIG(信息与信号处理实验室)

Thomas Jean-Michel Valentin, Luisa Sophie Werner, Pierre Genevès, Nabil Layaïda

AI总结:

提出DPNL算法通过oracle和类DPLL分解绕过逻辑溯源计算,加速精确逻辑推理,并扩展出带保证的近似版本ApproxDPNL,显著提升了神经符号编程的可扩展性和模型准确性。

摘要:

概率神经符号学习旨在将神经网络与符号编程相结合。许多最先进的系统依赖于向概率加权模型计数问题(PWMC)的归约,这需要计算一个称为逻辑溯源的布尔公式。然而,PWMC是#P-hard的,且逻辑溯源公式中的子句数量可能呈指数级增长,形成了一个主要瓶颈,严重限制了PNL解决方案在实际中的适用性。我们提出了一种以精确算法DPNL为中心的新方法,该方法能够绕过逻辑溯源的计算。DPNL方法依赖于oracle(预言机)原理和递归的类DPLL分解,以引导并加速逻辑推理。此外,我们展示了该方法可适配于具有$ε$或$(ε, δ)$保证的近似推理,称为ApproxDPNL。实验表明性能获得了显著提升。DPNL能够进一步扩展精确推理的规模,从而产生更准确的模型。此外,ApproxDPNL通过进一步引入近似方法,展现了推进神经符号编程可扩展性的潜力,同时确保了推理过程的保证。

英文摘要:

Probabilistic neurosymbolic learning seeks to integrate neural networks with symbolic programming. Many state-of-the-art systems rely on a reduction to the Probabilistic Weighted Model Counting Problem (PWMC), which requires computing a Boolean formula called the logical provenance.However, PWMC is \\#P-hard, and the number of clauses in the logical provenance formula can grow exponentially, creating a major bottleneck that significantly limits the applicability of PNL solutions in practice.We propose a new approach centered around an exact algorithm DPNL, that enables bypassing the computation of the logical provenance.The DPNL approach relies on the principles of an oracle and a recursive DPLL-like decomposition in order to guide and speed up logical inference.Furthermore, we show that this approach can be adapted for approximate reasoning with $ε$ or $(ε, δ)$ guarantees, called ApproxDPNL.Experiments show significant performance gains.DPNL enables scaling exact inference further, resulting in more accurate models.Further, ApproxDPNL shows potential for advancing the scalability of neurosymbolic programming by incorporating approximations even further, while simultaneously ensuring guarantees for the reasoning process.

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

↑