arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.03681cs.CLcs.AI
收藏

SLAM:通过选择性语言对齐实现高效多语言推理

SLAM: Towards Efficient Multilingual Reasoning via Selective Language Alignment

Northeastern University(东北大学);NiuTrans Research(NiuTrans研究院);Harbin Institute of Technology(哈尔滨工业大学);Meituan Inc.(美团公司);Nanjing University(南京大学)

Yuchun Fan, Yongyu Mu, Yilin Wang, Lei Huang, Junhao Ruan, Bei Li, Tong Xiao, Shujian Huang, Xiaocheng Feng, Jingbo Zhu

AI总结:

针对多语言推理全参数两阶段训练成本高且易遗忘的问题,本文提出 SLAM,仅微调低层中负责语言表示的 6 个前馈子层,在 10 种语言上以更少参数和更短训练时间超越强基线。

摘要:

尽管大型语言模型(LLM)在英语推理任务上取得了显著提升,但这些模型在多语言推理方面仍面临困难。近期研究采用全参数、两阶段训练范式,先教模型理解非英语问题,再进行推理。然而,该方法既耗费大量计算资源,又会导致灾难性遗忘。根本原因在于,其主要目标是增强多语言理解,因此第一阶段会调整过多无关的层和参数。基于我们关于语言表示学习仅在较低层进行的发现,本文提出一种高效的多语言推理对齐方法,可精确定位并微调负责处理多语言的层。实验结果表明,我们的方法 SLAM 在 7B 和 13B LLM 中仅调整 6 层的前馈子层,占全部参数的 6.5%–8%,却在 10 种语言上取得优于所有强基线的平均性能。同时,SLAM 只包含一个训练阶段,与两阶段方法相比,训练时间减少 4.1–11.9 倍。

英文摘要:

Despite the significant improvements achieved by large language models (LLMs) in English reasoning tasks, these models continue to struggle with multilingual reasoning. Recent studies leverage a full-parameter and two-stage training paradigm to teach models to first understand non-English questions and then reason. However, this method suffers from both substantial computational resource computing and catastrophic forgetting. The fundamental cause is that, with the primary goal of enhancing multilingual comprehension, an excessive number of irrelevant layers and parameters are tuned during the first stage. Given our findings that the representation learning of languages is merely conducted in lower-level layers, we propose an efficient multilingual reasoning alignment approach that precisely identifies and fine-tunes the layers responsible for handling multilingualism. Experimental results show that our method, SLAM, only tunes 6 layers' feed-forward sub-layers including 6.5-8% of all parameters within 7B and 13B LLMs, achieving superior average performance than all strong baselines across 10 languages. Meanwhile, SLAM only involves one training stage, reducing training time by 4.1-11.9 compared to the two-stage method.

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

↑