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

元推理:大型语言模型的语义-符号解构

Meta-Reasoning: Semantics-Symbol Deconstruction for Large Language Models

Shanghai Jiao Tong University(上海交通大学);Alibaba Group Inc.(阿里巴巴集团)

Yiming Wang, Zhuosheng Zhang, Pei Zhang, Baosong Yang, Rui Wang

AI总结:

针对现有符号方法依赖程序转换而偏离人类推理习惯的问题,提出语言学视角的 Meta-Reasoning 方法,将语义信息解构为通用符号表示,在十多个数据集上显著提升了LLM的推理准确率、学习效率、泛化能力与输出稳定性。

摘要:

神经符号方法在增强大型语言模型(LLMs)的推理能力方面已展现出有效性。然而,现有方法主要依赖于在语法上将自然语言映射为 Python 和 SQL 等完整的形式语言。这些方法要求推理任务能够被转换为程序,这迎合了计算机执行思维,却偏离了人类的推理习惯。为了拓宽符号方法在现实世界中的适用性和适应性,我们从语言学视角提出了 Meta-Reasoning。该方法使 LLMs 能够将独立于推理的语义信息解构为通用的符号表示,从而高效地捕获更具泛化性的推理知识。我们在涵盖算术、符号和逻辑推理等传统推理任务,以及心智理论推理等更复杂的交互式推理任务的十多个数据集上进行了广泛实验。实验结果表明,与 Chain-of-Thought 技术相比,Meta-Reasoning 显著提升了上下文推理准确率、学习效率、域外泛化能力和输出稳定性。代码和数据已公开于 https://github.com/Alsace08/Meta-Reasoning。

英文摘要:

Neural-symbolic methods have demonstrated efficiency in enhancing the reasoning abilities of large language models (LLMs). However, existing methods mainly rely on syntactically mapping natural languages to complete formal languages like Python and SQL. Those methods require that reasoning tasks be convertible into programs, which cater to the computer execution mindset and deviate from human reasoning habits. To broaden symbolic methods' applicability and adaptability in the real world, we propose the Meta-Reasoning from a linguistic perspective. This method empowers LLMs to deconstruct reasoning-independent semantic information into generic symbolic representations, thereby efficiently capturing more generalized reasoning knowledge. We conduct extensive experiments on more than ten datasets encompassing conventional reasoning tasks like arithmetic, symbolic, and logical reasoning, and the more complex interactive reasoning tasks like theory-of-mind reasoning. Experimental results demonstrate that Meta-Reasoning significantly enhances in-context reasoning accuracy, learning efficiency, out-of-domain generalization, and output stability compared to the Chain-of-Thought technique. Code and data are publicly available at \url{https://github.com/Alsace08/Meta-Reasoning}.

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

↑