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

基于约束的神经符号学习中推理捷径分析

Constraint-Based Analysis of Reasoning Shortcuts in Neurosymbolic Learning

National Institute of Informatics(国立信息研究所);Communication Science Laboratories, NTT, Inc.(NTT通信科学实验室)

Akihiro Takemura, Katsumi Inoue, Masaaki Nishino

AI总结:

研究通过约束满足问题形式化推理捷径,探讨概念映射唯一确定的条件,提出基于ASP的算法验证约束集的唯一性,并提供复杂性分类和样本复杂性界。

摘要:

神经符号系统在学习过程中可能无法满足逻辑约束,导致推理捷径问题。本文将推理捷径形式化为约束满足问题,研究在何种条件下概念映射由约束唯一确定。证明了在双射映射下,判别性质是捷径自由的必要条件,但通过反例表明其在连通约束图时仍不足。开发了基于ASP的算法验证约束集的唯一性,具有证明的正确性和完备性。当检测到捷径时,贪心修复算法通过增强约束集消除捷径,最多在k次迭代中收敛,其中k是替代有效映射的数量。进一步提供了复杂性分类:决定捷径自由性是coNP完全的,计数捷径是#P完全的,寻找最小修复是NP难的。还建立了样本复杂性界,显示在有利情况下对数次标签查询足以消除歧义,而在最坏情况下查询所有歧义位置即可。在八个基准域的实验验证了该方法。

英文摘要:

Neurosymbolic systems can satisfy logical constraints during learning without achieving the intended concept-label correspondence; this is a problem known as reasoning shortcuts. We formalize reasoning shortcuts as a constraint satisfaction problem and investigate under which conditions concept mappings are uniquely determined by the constraints. We prove that a discrimination property (requiring that no valid concept mapping can be transformed into another valid mapping by swapping two concept values) is necessary for shortcut-freeness under bijective mappings, but demonstrate via a counterexample that it is insufficient even when the constraint graph is connected. We develop an ASP-based algorithm that verifies whether a given constraint set uniquely determines the intended concept mapping, with proven soundness and completeness. When shortcuts are detected, a greedy repair algorithm eliminates them by augmenting the constraint set, converging in at most $k$ iterations, where $k$ is the number of alternative valid mappings. We further provide a complexity classification: deciding shortcut-freeness is coNP-complete, counting shortcuts is #P-complete, and finding minimal repairs is NP-hard. We also establish sample complexity bounds showing that logarithmically many label queries suffice for disambiguation in favorable cases, while querying all ambiguous positions suffices in the worst case. Experiments across eight benchmark domains validate our approach.

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

↑