Saved in:
Bibliographic Details
Main Authors: Chen, Jiawei, Chen, Wentao, Su, Jing, Xu, Jingjing, Lin, Hongyu, Ren, Mengjie, Lu, Yaojie, Han, Xianpei, Sun, Le
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2412.07298
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909519390441472
author Chen, Jiawei
Chen, Wentao
Su, Jing
Xu, Jingjing
Lin, Hongyu
Ren, Mengjie
Lu, Yaojie
Han, Xianpei
Sun, Le
author_facet Chen, Jiawei
Chen, Wentao
Su, Jing
Xu, Jingjing
Lin, Hongyu
Ren, Mengjie
Lu, Yaojie
Han, Xianpei
Sun, Le
contents Large language models (LLMs) have shown significant multilingual capabilities. However, the mechanisms underlying the development of these capabilities during pre-training are not well understood. In this paper, we use code LLMs as an experimental platform to explore the evolution of multilingual capabilities in LLMs during the pre-training process. Based on our observations, we propose the Babel Tower Hypothesis, which describes the entire process of LLMs acquiring new language capabilities. During the learning process, multiple languages initially share a single knowledge system dominated by the primary language and gradually develop language-specific knowledge systems. We then validate the above hypothesis by tracking the internal states of the LLMs through identifying working languages and language transferring neurons. Experimental results show that the internal state changes of the LLM are consistent with our Babel Tower Hypothesis. Building on these insights, we propose a novel method to construct an optimized pre-training corpus for multilingual code LLMs, which significantly outperforms LLMs trained on the original corpus. The proposed Babel Tower Hypothesis provides new insights into designing pre-training data distributions to achieve optimal multilingual capabilities in LLMs.
format Preprint
id arxiv_https___arxiv_org_abs_2412_07298
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle The Rise and Down of Babel Tower: Investigating the Evolution Process of Multilingual Code Large Language Model
Chen, Jiawei
Chen, Wentao
Su, Jing
Xu, Jingjing
Lin, Hongyu
Ren, Mengjie
Lu, Yaojie
Han, Xianpei
Sun, Le
Computation and Language
Large language models (LLMs) have shown significant multilingual capabilities. However, the mechanisms underlying the development of these capabilities during pre-training are not well understood. In this paper, we use code LLMs as an experimental platform to explore the evolution of multilingual capabilities in LLMs during the pre-training process. Based on our observations, we propose the Babel Tower Hypothesis, which describes the entire process of LLMs acquiring new language capabilities. During the learning process, multiple languages initially share a single knowledge system dominated by the primary language and gradually develop language-specific knowledge systems. We then validate the above hypothesis by tracking the internal states of the LLMs through identifying working languages and language transferring neurons. Experimental results show that the internal state changes of the LLM are consistent with our Babel Tower Hypothesis. Building on these insights, we propose a novel method to construct an optimized pre-training corpus for multilingual code LLMs, which significantly outperforms LLMs trained on the original corpus. The proposed Babel Tower Hypothesis provides new insights into designing pre-training data distributions to achieve optimal multilingual capabilities in LLMs.
title The Rise and Down of Babel Tower: Investigating the Evolution Process of Multilingual Code Large Language Model
topic Computation and Language
url https://arxiv.org/abs/2412.07298