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

LLMs是否在跨语言多样化文本中的逻辑推理中是稳定的正式逻辑翻译器?

Are LLMs Stable Formal Logic Translators in Logical Reasoning Across Linguistically Diversified Texts?

State Key Laboratory of Cognitive Intelligence, University of Science and Technology of China(认知智能国家重点实验室,中国科学技术大学);School of Computer Science and Technology, University of Science and Technology of China(计算机科学与技术学院,中国科学技术大学);School of Information Science and Technology, University of Science and Technology of China(信息科学与技术学院,中国科学技术大学)

Qingchuan Li, Jiatong Li, Zirui Liu, Mingyue Cheng, Yuting Zeng, Qi Liu, Tongxuan Liu

AI总结:

本文提出SoLT基准测试和MenTaL方法,揭示LLMs在跨语言多样化文本中存在符号映射不一致问题,并通过增强语言多样性提升推理稳定性。

摘要:

大型语言模型(LLMs)在逻辑推理中的应用日益受到关注。一种主流方法是将自然语言转换为形式逻辑,然后应用符号求解器进行推断。尽管在许多任务中有效,但这些基于LLM的翻译器在相同概念以不同语言形式出现时,往往无法生成一致的符号表示。这种不一致性会破坏逻辑连贯性并导致求解器错误。然而,大多数现有基准测试缺乏这种类型的语言变异,这种变异经常出现在现实世界文本中,导致该问题研究不足。为了解决这一差距,我们提出了SoLT,一个系统地将推理数据集重写为多种层次上多样化但逻辑等价形式的基准测试。除了评估外,SoLT还提供了一种通用方法,可以在不失去意义和逻辑的情况下丰富任何数据集以增加语言多样性。为了进一步提高基于LLM的推理的稳定性,我们提出了MenTaL,它明确指导模型在翻译过程中构建概念-符号映射表。通过将等价表达式链接到共享符号,MenTaL保持一致性并缓解符号漂移。在SoLT上的实验表明,LLMs在语言变异下确实会受到不一致符号映射的影响,导致推理准确性显著下降。同时,应用MenTaL在各种输入上带来了明显且稳定的性能提升。总体而言,我们的发现揭示了忽视语言多样性会隐藏LLM翻译器中的关键弱点,我们的工作为在多样化现实世界场景中实现更可靠的逻辑推理提供了一步。我们的代码可在https://github.com/wufeiwuwoshihua/LinguDiver上获得。

英文摘要:

Logical reasoning with large language models (LLMs) has received growing attention. One mainstream approach translates natural language into formal logic and then applies symbolic solvers for deduction. While effective in many tasks, these LLM-based translators often fail to generate consistent symbolic representations when the same concept appears in different linguistic forms. Such inconsistencies break logical coherence and lead to solver errors. However, most existing benchmarks lack this type of linguistic variation, which frequently occurs in real-world text, leaving the problem underexplored. To address this gap, we present SoLT, a benchmark that systematically rewrites reasoning datasets into diverse yet logically equivalent forms across multiple levels. Beyond evaluation, SoLT also provides a general method to enrich any dataset with linguistic diversity while preserving both meaning and logic. To further enhance the stability of LLM-based reasoning, we propose MenTaL, which explicitly guides models to build a concept-symbol mapping table during translation. By linking equivalent expressions to shared symbols, MenTaL maintains consistency and mitigates symbol drift. Experiments on SoLT demonstrate that LLMs indeed suffer from inconsistent symbol mapping under linguistic variation, leading to significant drops in reasoning accuracy. Meanwhile, applying MenTaL brings clear and stable performance improvements across diverse inputs. Overall, our findings reveal that overlooking linguistic diversity hides key weaknesses in LLM-based translators, and our work offers a step toward more reliable logical reasoning in varied real-world scenarios. Our code is available at https://github.com/wufeiwuwoshihua/LinguDiver.

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

↑