atlas

Research map / Large language models / Retrieval and knowledge

The Rise and Down of Babel Tower: Investigating the Evolution Process of Multilingual Code Large Language Model

ICLR 2025 · Large language models › Retrieval and knowledge · approach: Knowledge editing in LLMs · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes the Babel Tower Hypothesis describing how code LLMs move from a dominant-language knowledge system to language-specific systems during pre-training, and uses this to build a re-weighted multilingual code pre-training corpus that outperforms the original.

Problem

How multilingual capabilities of LLMs evolve during pre-training is not well understood; prior mechanistic work only studies fully pre-trained models. The paper also asks how to set per-language data proportions for optimal multilingual code performance.

Approach

Tracks a Python-monolingual code model as it learns new programming languages (PHP, C#, Go, C++) and finds a translation, transition, and stabilization sequence; probes internal states with logit-lens working-language identification and language-transferring neurons (LAPE); then estimates optimal per-language token counts from training loss and uses them to rebalance the pre-training corpus.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the optimized rather than original pre-training corpus1.3B multilingual code LLM · HumanEval AVEPass@1: 25.03 -> 26.61Helped
Use the optimized rather than original pre-training corpus1.3B multilingual code LLM · MBXP AVEPass@1: 49.81 -> 51.97Helped
Use the optimized rather than original pre-training corpus6.7B multilingual code LLM · HumanEval AVEPass@1: 38.31 -> 41.96Helped
Use the optimized rather than original pre-training corpus6.7B multilingual code LLM · MBXP AVEPass@1: 64.34 -> 66.14Helped
Increase the amount of PHP data in the mixed pre-training corpus (ablation)Python monolingual LLM continually pre-trained with PHP · HumanEval PHPperformanceMixed
Increase the amount of PHP data in the mixed pre-training corpus (ablation)Python monolingual LLM continually pre-trained with PHP · Final internal statePHP working-language proportionHelped
Increase the amount of PHP data in the mixed pre-training corpus (ablation)Python monolingual LLM continually pre-trained with PHP · Final internal statePHP language-transferring neuronsHurt

Surprising findings

Limitations

Experimental setup

Datasets: GitHub code corpus (PHP, Go, C#, C++, Python) HumanEval MBXP

Benchmarks: HumanEval MBXP

Metrics: Pass@1 proportion of working language number of language transferring neurons average performance (AVE)

Baselines: StarCoder-1B StarCoder-3B DeepseekCoder-1.3B StarCoder-7B StarCoder2-7B CodeLlama-7B DeepseekCoder-6.7B Original corpus pre-training

Builds on: logit lens LAPE language-specific neurons HumanEval MBXP

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy