arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.17826cs.AIcs.LGcs.SC
收藏

本体引导的神经符号推理:通过数学领域知识 grounding 语言模型

Ontology-Guided Neuro-Symbolic Inference: Grounding Language Models with Mathematical Domain Knowledge

Advanced Institute for Artificial Intelligence (AI2)(人工智能研究院)

Marcelo Labre

AI总结:

本研究通过引入形式化数学本体,提升语言模型在数学推理任务中的可靠性,验证了神经符号方法在增强形式化 grounding 方面的潜力与挑战。

摘要:

语言模型存在根本性的局限性——幻觉、脆弱性和缺乏形式化 grounding,这在需要可验证推理的高风险专业领域尤为突出。我探讨了形式化领域本体是否能通过检索增强生成来提高语言模型的可靠性。以数学为例,我实现了一个神经符号管道,利用OpenMath本体,通过混合检索和交叉编码器重排序,将相关定义注入模型提示中。在MATH基准测试中使用三个开源模型进行评估,结果显示,当检索质量较高时,本体引导的上下文能提高性能,但不相关的上下文会主动降低性能——凸显了神经符号方法的潜力和挑战。

英文摘要:

Language models exhibit fundamental limitations -- hallucination, brittleness, and lack of formal grounding -- that are particularly problematic in high-stakes specialist fields requiring verifiable reasoning. I investigate whether formal domain ontologies can enhance language model reliability through retrieval-augmented generation. Using mathematics as proof of concept, I implement a neuro-symbolic pipeline leveraging the OpenMath ontology with hybrid retrieval and cross-encoder reranking to inject relevant definitions into model prompts. Evaluation on the MATH benchmark with three open-source models reveals that ontology-guided context improves performance when retrieval quality is high, but irrelevant context actively degrades it -- highlighting both the promise and challenges of neuro-symbolic approaches.

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

↑