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

大型语言模型是跨语言的无知识推理器

Large Language Models Are Cross-Lingual Knowledge-Free Reasoners

National Key Laboratory for Novel Software Technology, Nanjing University(南京大学计算机软件新技术国家重点实验室);China Mobile Research(中国移动研究院)

Peng Hu, Sizhe Liu, Changjiang Gao, Xin Huang, Xue Han, Junlan Feng, Chao Deng, Shujian Huang

AI总结:

本研究将推理任务分解为知识检索与无知识推理,发现无知识推理能力可跨语言完美迁移而知识检索会阻碍迁移,并揭示其机制在于不同语言共享推理神经元而知识分语言存储。

摘要:

大型语言模型已经展示了在多种语言上令人印象深刻的推理能力。然而,不同语言能力之间的关系却较少被探讨。在本研究中,我们将推理任务的过程分解为两个独立的组件:知识检索与无知识推理,并分析了跨语言可迁移性与这两个组件之间的关系。通过使用改编的常识推理数据集和构建的无知识推理数据集,我们表明,尽管在某些特定目标语言中资源的次要影响依然存在,但无知识推理能力几乎可以在各种源-目标语言方向上完美迁移,而跨语言知识检索则显著阻碍了这种迁移。此外,通过分析推理过程中的隐藏状态和前馈网络神经元激活情况,我们发现隐藏表示的更高相似性和激活神经元的更大重叠能够解释,无知识推理比知识检索具有更好的跨语言可迁移性。因此,我们假设无知识推理在不同语言中共享相似的神经元进行推理,而知识则在不同语言中分别存储。我们的代码和数据可在以下网址获取:https://github.com/NJUNLP/Knowledge-Free-Reasoning。

英文摘要:

Large Language Models have demonstrated impressive reasoning capabilities across multiple languages. However, the relationship between capabilities in different languages is less explored. In this work, we decompose the process of reasoning tasks into two separated components: knowledge retrieval and knowledge-free reasoning, and analyze the relationship between cross-lingual transferability and these two components. With adapted commonsense reasoning datasets and constructed knowledge-free reasoning datasets, we show that the knowledge-free reasoning capability can be nearly perfectly transferred across various source-target language directions despite the secondary impact of resource in some specific target languages, while cross-lingual knowledge retrieval significantly hinders the transfer. Moreover, by analyzing the hidden states and feed-forward network neuron activation during the reasoning, we show that higher similarity of hidden representations and larger overlap of activated neurons could explain the better cross-lingual transferability of knowledge-free reasoning than knowledge retrieval. Thus, we hypothesize that knowledge-free reasoning shares similar neurons in different languages for reasoning, while knowledge is stored separately in different languages. Our code and data is available at: https://github.com/NJUNLP/Knowledge-Free-Reasoning.

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

↑