SLAM: Towards Efficient Multilingual Reasoning via Selective Language Alignment

Yuchun Fan, Yongyu Mu, Yilin Wang, Lei Huang, Junhao Ruan +5 more
1/7/2025
cs.CLcs.AI

No official code found. Best implementation: fmm170/SLAM (5 stars, last commit 2025-05-08).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

fmm170/SLAMCommunity100%

SLAM: Towards Efficient Multilingual Reasoning via Selective Language Alignment

51C, C++Dec 9, 20241 years ago

Similar Papers

Cite this paper

@article{fan2025slam,
  title  = {SLAM: Towards Efficient Multilingual Reasoning via Selective Language Alignment},
  author = {Yuchun Fan and Yongyu Mu and Yilin Wang and Lei Huang and Junhao Ruan and Bei Li and Tong Xiao and Shujian Huang and Xiaocheng Feng and Jingbo Zhu},
  year   = {2025},
  eprint = {2501.03681},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.03681v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.03681.svg)](https://codeofpaper.com/paper/2501.03681)

Discussion