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

量化线性逻辑用于神经符号学习与验证

Quantitative Linear Logic for Neuro-Symbolic Learning and Verification

Maynooth University(梅诺斯大学);University of Southampton(南安普顿大学);University of Strathclyde(斯特拉思克莱德大学);Independent Researcher(独立研究员)

Thomas Flinkow, Ekaterina Komendantskaya, Matteo Capucci, Rosemary Monahan

AI总结:

本文提出量化线性逻辑(QLL),通过自然性原则设计,将逻辑约束转化为机器学习实践中常用的运算,如求和和对数求和指数,以解决神经符号学习与验证中的逻辑与语义之间的平衡问题。

摘要:

可微逻辑被用于神经符号学习任务中,作为将逻辑约束嵌入神经网络训练目标的方式。可微逻辑由一种编写逻辑属性的语法和一种将其解释为实值函数的语义组成。该领域的一个核心权衡在于连接词的逻辑属性与语义的分析关注之间。模糊逻辑在代数和证明论上有良好基础,而Fischer的DL2等随意可微逻辑则专为深度学习应用设计。然而,尚未出现令人满意的理论基础。本文提出了解决这一长期矛盾的新逻辑,即量化线性逻辑(QLL),具有基础性的目标。我们的设计受自然性的驱动——即由于逻辑约束被转化为损失,连接词的语义应是机器学习实践中常用的操作(即求和和对数求和指数)在加性量(如logits)上。我们从两个方面评估结果:逻辑充分性——它们满足线性逻辑的大多数标准逻辑定律;以及经验有效性——测试时性能(通过对抗攻击测量)与实际验证逻辑约束(通过现成的神经网络验证器测量)之间有良好相关性,这使QLL在现有技术中脱颖而出。

英文摘要:

Differentiable Logics are deployed in neuro-symbolic learning tasks as a way of embedding logical constraints in the training objective of neural networks. A differentiable logic consists of a syntax to write logical properties and a semantics to interpret them as real-valued functions to be folded in the loss function. A defining trade-off of the field is that between logical properties of the connectives, and analytic concerns for the semantics, with both aspects being relevant in applications. At one extreme we find fuzzy logics, that have well-established algebraic and proof-theoretic foundations, and at the other ad-hoc differentiable logics like Fischer's DL2, conceived for deep learning applications. However, no satisfactory foundation has emerged yet. We propose a resolution to this long-standing tension via a novel logic, Quantitative Linear Logic (QLL), with foundational ambitions. Our design is driven by naturality -- the idea that, since logical constraints are translated to losses, the semantics of the connectives should be pertinent operations used in ML practice (that is, sum and log-sum-exp) on additive quantities (like logits). We then judge the result on two aspects: logical adequacy -- that they satisfy most of the standard logical laws of Linear Logic; and empirical effectiveness -- test-time performance (as measured by adversarial attacks) is well-correlated to the actual verification of the logical constraints (as measured by off-the-shelf neural network verifiers), which makes QLL stand out among SoTA techniques.

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

↑