arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2509.04083cs.AI
收藏

中间语言至关重要:形式语言与大语言模型对神经符号推理的影响

Intermediate Languages Matter: Formal Languages and LLMs affect Neurosymbolic Reasoning

Johannes Kepler University Linz(约翰内斯·开普勒大学林茨)

Alexander Beiser, David Penz, Nysret Musliu

AI总结:

针对神经符号LLM推理成功因素不明的问题,本文提出中间语言选择的影响,通过多数据集、多LLM对比实验验证形式语言选择会影响推理能力,且效果因LLM而异。

摘要:

大语言模型(LLMs)在各类任务上取得了惊人的成果,但其形式推理能力仍有不足。神经符号LLM推理是一种颇具前景的方法,其工作原理是将LLMs用作自然语言到形式语言的转换器,再借助符号求解器推导正确结果。然而,神经符号LLM推理成功的影响因素仍不明确。本文证明,此前被忽视的一个因素是形式语言的选择。我们提出中间语言挑战:为神经符号推理选择合适的形式语言。通过在3个数据集、7种LLM上对比4种形式语言,我们发现形式语言的选择会同时影响句法与语义推理能力,本文还讨论了该影响在不同LLM间的差异。

英文摘要:

Large language models (LLMs) achieve astonishing results on a wide range of tasks. However, their formal reasoning ability still lags behind. A promising approach is Neurosymbolic LLM reasoning. It works by using LLMs as translators from natural to formal languages and symbolic solvers for deriving correct results. Still, the contributing factors to the success of Neurosymbolic LLM reasoning remain unclear. This paper demonstrates that one previously overlooked factor is the choice of the formal language. We introduce the intermediate language challenge: selecting a suitable formal language for neurosymbolic reasoning. By comparing four formal languages across three datasets and seven LLMs, we show that the choice of formal language affects both syntactic and semantic reasoning capabilities. We also discuss the varying effects across different LLMs.

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

↑