arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.09751cs.AIcs.CLcs.LO
收藏

基于LLM解释的完备且可靠的神经常识推理

Sound and Complete Neurosymbolic Reasoning with LLM-Grounded Interpretations

University of Amsterdam(阿姆斯特丹大学);University of Southern California(南加州大学);Rensselaer Polytechnic Institute(拉特格斯理工学院);Vrije Universiteit Amsterdam(阿姆斯特丹自由大学)

Bradley P. Allen, Prateek Chhikara, Thomas Macaulay Ferguson, Filip Ilievski, Paul Groth

AI总结:

提出将LLM直接集成到次协调逻辑的语义解释函数中,实现可靠且完备的神经常识推理,在GPQA和SimpleQA基准上宏F1提升约6个百分点,并成功检测药物安全知识库中的矛盾。

摘要:

大型语言模型(LLM)在自然语言理解和生成方面展现了令人印象深刻的能力,但在输出中表现出逻辑一致性问题。我们如何在形式推理中利用LLM的广泛覆盖参数知识,尽管它们存在不一致性?我们提出了一种方法,将LLM直接集成到次协调逻辑的形式语义的解释函数中。我们使用从短事实性基准GPQA和SimpleQA导出的数据集对方法进行实证评估,显示双边事实性评估在两个基准上的宏F1比单边基线提高了约6个百分点(以覆盖率为代价,因为在不一致或不确定的情况下会触发弃权)。我们进一步描述了一个实现该方法的原型tableau推理器,并将其应用于包含228条断言和712条推断语句的药物安全知识库:系统检测到92个对应于医学显著错误(例如,阿片类药物被推断为非成瘾性,β受体阻滞剂被推断为在哮喘中安全)的过剩(glut),同时保持可满足性,表明矛盾被局部化而不是导致逻辑爆炸。与先前工作不同,我们的方法提供了一个理论框架和实际实现,用于神经常识推理,利用LLM的知识同时保留底层逻辑的可靠性和完备性属性。

英文摘要:

Large language models (LLMs) have demonstrated impressive capabilities in natural language understanding and generation, but exhibit problems with logical consistency in their output. How can we harness LLMs' broad-coverage parametric knowledge in formal reasoning despite their inconsistency? We present a method for directly integrating an LLM into the interpretation function of the formal semantics for a paraconsistent logic. We evaluate the method empirically using datasets derived from the short-form factuality benchmarks GPQA and SimpleQA, showing that bilateral factuality evaluation improves macro-F1 over a unilateral baseline by roughly 6 percentage points on both benchmarks (at the cost of reduced coverage, as abstention is triggered on inconsistent or uncertain cases). We further describe a proof-of-concept tableau reasoner implementing the method, and apply it to a medication-safety knowledge base of 228 asserted and 712 inferred statements: the system detects 92 gluts corresponding to medically significant errors (e.g., opioids inferred as non-addictive, beta-blockers inferred as safe in asthma) while remaining satisfiable, demonstrating that contradictions are localized rather than causing logical explosion. Unlike prior work, our method offers a theoretical framework with a practical implementation for neurosymbolic reasoning that leverages an LLM's knowledge while preserving the underlying logic's soundness and completeness properties.

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

↑