Abstract
Multilingual language models (MLLMs) demonstrate impressive zero-shot cross-lingual transfer, yet the mechanistic basis for this capability remains poorly understood. This paper investigates the "compression hypothesis," proposing that limited model capacity forces the merging of language-specific representations into shared, language-agnostic "concept neurons." By tracking the evolution of individual neurons and layer-wise representations during pre-training, we identify a characteristic "U-shaped" pattern in language identification accuracy. Our results suggest that middle layers specialize in abstract semantic concepts, while early and late layers handle language-specific processing.
Introduction
The ability of MLLMs to generalize across languages—for instance, performing a task in Swahili after being fine-tuned only in English—is a cornerstone of modern NLP. While shared subwords and linguistic similarities play a role, they do not fully explain this phenomenon. This study explores whether the pre-training objective of next-token prediction, under parameter constraints, naturally drives the model toward a compressed, language-agnostic internal representation.
Methods
We employ mechanistic interpretability techniques on checkpoints from the BLOOM model family (560M and 7B1) and a custom 257M-parameter model trained on the mC4 corpus across 16 languages. Key methodologies include:
- Language Identity Probing: Training logistic regression classifiers on hidden states to determine if the model retains language-specific information at different depths.
- Concept Neuron Tracing: Identifying "expert neurons" in multi-layer perceptron (MLP) layers that activate for specific semantic concepts (e.g., "earthquake") derived from WordNet and OneSeC datasets.
- Cross-Lingual Alignment: Quantifying the overlap of these expert neurons across different languages using Pearson correlation and Mutual Information.
- Activation Steering: Artificially clamping Spanish-identified concept neurons during generation to observe the resulting language and topic.
Key Results
The "U-Shape" of Language Processing
A primary finding is the emergence of a U-shaped accuracy curve in language identification as training progresses. In the early stages of training, the model's ability to identify the input language generally increases with depth. However, in later stages, middle layers show a significant drop in language identification accuracy, indicating that these layers have abstracted the input into language-agnostic representations. For example, in BLOOM-560M at step 400,000, accuracy drops significantly in the middle layers compared to the early and late layers.
Compression-Driven Alignment
The model initially develops separate, language-specific neurons for identical concepts (e.g., "house" vs. "casa"). As training continues and capacity becomes a bottleneck, the model merges these into shared neurons. We observed that approximately one-sixth of the top 500 concept-selective neurons are shared between any language pair in a fully trained model. This suggests the model finds it more efficient to store abstract concepts once rather than redundantly across languages.
Concept Independence and Bias
Steering experiments confirm that these shared neurons encode abstract semantics. Clamping neurons identified via Spanish text can trigger the generation of related content in English or Chinese. This proves the neurons encode pure concepts detached from the source language. However, the model's internal "default" language for these concepts is heavily biased toward high-resource languages like English, which are most prevalent in the pre-training data.
Conclusion and Future Work
Our work provides empirical evidence for the compression hypothesis in MLLMs. The transition from language-specific to shared neurons in middle layers facilitates cross-lingual transfer but also introduces biases toward dominant languages. Future research should address how to balance this efficient generalization with the preservation of linguistic and cultural nuances, ensuring that low-resource languages are not merely treated as translations of high-resource frameworks within the model's internal representations.
Summary updated