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

利用神经符号推理增强大语言模型以处理多语言任务

Enhancing Large Language Models with Neurosymbolic Reasoning for Multilingual Tasks

Portland State University(波特兰州立大学)

Sina Bagheri Nezhad, Ameeta Agrawal

AI总结:

本文提出神经符号增强推理(NSAR),通过显式提取符号事实并生成 Python 代码,在多语言长上下文任务中显著优于 RAG 和提示策略。

摘要:

大语言模型(LLMs)在长上下文场景中执行多目标推理时往往表现不佳,因为相关信息分散在大量文档中。为应对这一挑战,我们提出了神经符号增强推理(NSAR),它在推理过程中结合了神经推理与符号推理的优势。NSAR 显式地从文本中提取符号事实,并生成可执行的 Python 代码来处理复杂的推理步骤。通过在七种语言和不同上下文长度上的大量实验,我们证明 NSAR 在准确识别和综合多条信息方面显著优于普通 RAG 基线和先进的提示策略。我们的结果凸显了将显式符号操作与神经推理相结合在多语言环境中实现稳健、可解释和可扩展推理的有效性。

英文摘要:

Large language models (LLMs) often struggle to perform multi-target reasoning in long-context scenarios where relevant information is scattered across extensive documents. To address this challenge, we introduce NeuroSymbolic Augmented Reasoning (NSAR), which combines the benefits of neural and symbolic reasoning during inference. NSAR explicitly extracts symbolic facts from text and generates executable Python code to handle complex reasoning steps. Through extensive experiments across seven languages and diverse context lengths, we demonstrate that NSAR significantly outperforms both a vanilla RAG baseline and advanced prompting strategies in accurately identifying and synthesizing multiple pieces of information. Our results highlight the effectiveness of combining explicit symbolic operations with neural inference for robust, interpretable, and scalable reasoning in multilingual settings.

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

↑