Layer Swapping for Zero-Shot Cross-Lingual Transfer in Large Language Models
Lucas Bandarkar, Benjamin Muller, Pritish Yuvraj, Rui Hou, Nayan Singhal, Hongjiang Lv, Bing Liu
摘要
Model merging, such as model souping, is the practice of combining different models with the same architecture together without further training. In this work, we present a model merging methodology that addresses the difficulty of fine-tuning Large Language Models (LLMs) for target tasks in non-English languages, where task-specific data is often unavailable. We focus on mathematical reasoning and without in-language math data, facilitate cross-lingual transfer by composing language and math capabilities. Starting from the same pretrained model, we fine-tune separate "experts" on math instruction data in English and on generic instruction data in the target language. We then replace the top and bottom transformer layers of the math expert directly with layers from the language expert, which consequently enhances math performance in the target language. The resulting merged models outperform the individual experts and other merging methods on the math benchmark, MGSM, by 10% across four major languages where math instruction data is scarce. In addition, this layer swapping is simple, inexpensive, and intuitive, as it is based on an interpretative analysis of the most important parameter changes during the fine-tuning of each expert. The ability to successfully re-compose LLMs for cross-lingual transfer in this manner opens up future possibilities to combine model expertise, create modular solutions, and transfer reasoning capabilities across languages all post hoc.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- AdaMCoT: Rethinking Cross-Lingual Factual Reasoning Through Adaptive Multilingual Chain-of-Thought 引用了 Measuring Massive Multitask Language Understanding
- TIES-Merging: Resolving Interference When Merging Models 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- TIES-Merging: Resolving Interference When Merging Models 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- TIES-Merging: Resolving Interference When Merging Models 引用了 Merging Models with Fisher-Weighted Averaging
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time 引用了 Merging Models with Fisher-Weighted Averaging
- Merging Models with Fisher-Weighted Averaging 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- VisCodex: Unified Multimodal Code Generation via Merging Vision and Coding Models 引用了 TIES-Merging: Resolving Interference When Merging Models
- VisCodex: Unified Multimodal Code Generation via Merging Vision and Coding Models 引用了 Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- VisCodex: Unified Multimodal Code Generation via Merging Vision and Coding Models 引用了 Merging Models with Fisher-Weighted Averaging
- MODEL SHAPLEY: Find Your Ideal Parameter Player via One Gradient Backpropagation 引用了 Measuring Massive Multitask Language Understanding
- Reasoning Transfer for an Extremely Low-Resource and Endangered Language: Bridging Languages Through Sample-Efficient Language Understanding 引用了 TIES-Merging: Resolving Interference When Merging Models
引用它的顶会 Paper12
- Multilingual Routing in Mixture-of-ExpertsLucas Bandarkar, Chenyuan Yang, Mohsen Fayyaz, Junlin Hu 等ICLR 2026 · 34 次引用
- VisCodex: Unified Multimodal Code Generation via Merging Vision and Coding ModelsLingjie Jiang, Shaohan Huang, Xun Wu, Yixia Li 等ICLR 2026 · 15 次引用
- MODEL SHAPLEY: Find Your Ideal Parameter Player via One Gradient BackpropagationChu Xu, Xinke Jiang, Rihong Qiu, Jiaran Gao 等NeurIPS 2025 · 7 次引用
- AdaMCoT: Rethinking Cross-Lingual Factual Reasoning Through Adaptive Multilingual Chain-of-ThoughtWeihua Zheng, Xin Huang, Zhengyuan Liu, Tarun Kumar Vangani 等AAAI 2026 · 6 次引用
- Reasoning Transfer for an Extremely Low-Resource and Endangered Language: Bridging Languages Through Sample-Efficient Language UnderstandingKhanh-Tung Tran, Barry O'Sullivan, Hoang D. NguyenAAAI 2026 · 4 次引用
它引用的 Paper45
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
- Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou 等ICLR 2021 · 7,905 次引用
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timeMitchell Wortsman, Gabriel Ilharco, Samir Yitzhak Gadre, Rebecca Roelofs 等ICML 2022 · 1,464 次引用
- TIES-Merging: Resolving Interference When Merging ModelsPrateek Yadav, Derek Tam, Leshem Choshen, Colin A. Raffel 等NeurIPS 2023 · 999 次引用
- Merging Models with Fisher-Weighted AveragingMichael Matena, Colin RaffelNeurIPS 2022 · 741 次引用
相关 Paper
- MindMerger: Efficiently Boosting LLM Reasoning in non-English LanguagesZixian Huang, Wenhao Zhu, Gong Cheng, Lei Li 等NeurIPS 2024 · 31 次引用
- Can MLLMs Absorb Math Reasoning Abilities from LLMs as Free Lunch?Yijie Hu, Zihao Zhou, Kaizhu Huang, Xiaowei Huang 等NeurIPS 2025 · 3 次引用
- Unlocking the Potential of Model Merging for Low-Resource LanguagesMingxu Tao, Chen Zhang, Quzhe Huang, Tianyao Ma 等EMNLP Findings 2024 · 3 次引用
- Investigating Cross-Modal Skill Injection: Scenarios, Methods, and HyperparametersZhiyu Xu, Lean Wang, Yuanxin Liu, Lei Li 等ACL 2026
- Breaking Language Barriers in Multilingual Mathematical Reasoning: Insights and ObservationsNuo Chen, Zinan Zheng, Ning Wu, Ming Gong 等EMNLP Findings 2024 · 8 次引用
