arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 2403.09073cs.CL
收藏

揭示大型语言模型中的并行多语言学习

Revealing the Parallel Multilingual Learning within Large Language Models

Northeastern University(东北大学);NiuTrans Research(东北大学自然语言处理实验室);Bytedance(字节跳动);Institute of Psychology, CAS(中国科学院心理研究所)

Yongyu Mu, Peinan Feng, Zhiquan Cao, Yuzhang Wu, Bei Li, Chenglong Wang, Tong Xiao, Kai Song, Tongran Liu, Chunliang Zhang, Jingbo Zhu

AI总结:

本文提出多语言并行输入(PiM)方法,通过将输入翻译成多种语言提升LLMs的上下文学习能力,并发现PiM通过抑制神经元、促进精确激活来增强理解,与神经科学的突触修剪机制一致。

摘要:

在本研究中,我们揭示了多语言大型语言模型(LLMs)的一种上下文学习(ICL)能力:通过将输入翻译成多种语言,我们向LLMs提供多语言并行输入(PiM),这显著增强了它们的理解能力。为了测试这一能力,我们设计了涵盖8个典型数据集、7种语言和8个最先进的多语言LLMs的广泛实验。实验结果表明:(1)融入更多语言有助于PiM进一步超越传统的ICL;(2)即使与低于基线性能的翻译相结合也能有所帮助。此外,通过检查LLMs中被激活的神经元,我们发现了一个反直觉但有趣的现象。与普遍认为PiM会比单语输入激活更多神经元以利用从不同语言中学到的知识的想法相反,PiM实际上抑制了神经元,并促进了更精确的神经元激活,尤其是在加入更多语言时。这一现象与关于突触修剪的神经科学见解一致,即移除较少使用的神经连接,强化剩余连接,从而增强大脑智能。

英文摘要:

In this study, we reveal an in-context learning (ICL) capability of multilingual large language models (LLMs): by translating the input to several languages, we provide Parallel Input in Multiple Languages (PiM) to LLMs, which significantly enhances their comprehension abilities. To test this capability, we design extensive experiments encompassing 8 typical datasets, 7 languages and 8 state-of-the-art multilingual LLMs. Experimental results show that (1) incorporating more languages help PiM surpass the conventional ICL further; (2) even combining with the translations that are inferior to baseline performance can also help. Moreover, by examining the activated neurons in LLMs, we discover a counterintuitive but interesting phenomenon. Contrary to the common thought that PiM would activate more neurons than monolingual input to leverage knowledge learned from diverse languages, PiM actually inhibits neurons and promotes more precise neuron activation especially when more languages are added. This phenomenon aligns with the neuroscience insight about synaptic pruning, which removes less used neural connections, strengthens remainders, and then enhances brain intelligence.

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

↑