arXiv:2501.03681cs.CLcs.AI2025-01中稿 · COLING 2025被引 27

只微调少数层,让大模型高效跨语言推理

SLAM: Towards Efficient Multilingual Reasoning via Selective Language Alignment

  • 精准定位负责多语言理解的底层层,仅微调6个前馈层
  • 仅用6.5-8%参数就达到10种语言最优平均表现
  • 单阶段训练提速4.1到11.9倍,避免遗忘问题

尽管大语言模型在英语推理任务中表现优异,但在多语言推理上仍存在困难。现有方法采用全参数、两阶段训练,先理解非英语问题再进行推理,但计算开销大且易出现灾难性遗忘。研究发现,语言表征学习主要发生在低层。为此,我们提出SLAM方法,精确识别并微调负责多语言处理的层。实验表明,SLAM仅微调7B和13B模型中6个前馈子层(占总参数的6.5%-8%),在10种语言上性能超越所有强基线;且仅需单阶段训练,相比两阶段方法缩短4.1至11.9倍训练时间。

原文摘要 · Abstract (English)

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.

多语言微调高效推理

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。