Probing the Emergence of Cross-lingual Alignment during LLM Training

Hetong Wang, Pasquale Minervini, Edoardo M. Ponti

Abstract

Multilingual Large Language Models (LLMs) possess the remarkable ability to perform zero-shot cross-lingual transfer, yet the internal dynamics of how these models learn to align different languages during pre-training remain poorly understood. This paper investigates this emergence by tracking "neuron overlap"—the degree to which the same neurons encode specific linguistic features across different languages. By analyzing checkpoints of the BLOOM model at various scales, we find that internal neuron alignment is a strong predictor of downstream task performance. Furthermore, while larger models exhibit stable alignment growth, smaller models are prone to a "degradation phase" where alignment and performance sharply decline before the end of training.

1. Introduction

The success of multilingual models like BLOOM and mBERT relies on their ability to develop language-agnostic representations. A model trained primarily on English data can often perform tasks in languages like Hindi or Arabic without explicit parallel supervision. This phenomenon, known as zero-shot cross-lingual transfer, suggests that the model's internal machinery for processing concepts like "tense" or "gender" becomes shared across languages. This study aims to pinpoint when and how this alignment occurs during the pre-training process and how model scale influences these dynamics.

2. Methodology

The researchers employ a technique known as intrinsic probing to analyze the internal state of the BLOOM model (560M, 1.1B, and 1.7B parameters) across its training trajectory.

2.1 Subnetwork Identification

Using a latent variable model, the authors identify specific subnetworks—groups of neurons—responsible for encoding morphosyntactic features such as Number, Gender, and Tense. These features are sourced from the Universal Dependencies (UD) v2.1 treebanks and mapped to the UniMorph schema to ensure cross-lingual consistency.

2.2 Neuron Overlap Rate

To quantify alignment, the study calculates the Neuron Overlap Rate. This metric measures the intersection of neurons used for a specific linguistic feature across two different languages. A high overlap indicates that the model has developed a unified, language-agnostic representation for that feature.

2.3 Evaluation

The internal alignment scores are correlated with external performance on downstream tasks, specifically Cross-lingual Natural Language Inference (XNLI) for semantic understanding and Part-of-Speech (POS) tagging for syntactic knowledge.

3. Key Findings

3.1 Alignment as a Predictor of Performance

The study confirms a robust relationship between internal architecture and external utility. There is a statistically significant correlation (Pearson’s $r$ up to 0.94) between the neuron overlap rate and zero-shot downstream performance. This suggests that the sharing of "internal hardware" is a prerequisite for effective cross-lingual transfer.

3.2 The Impact of Model Scale

Scale plays a critical role in the stability of cross-lingual learning. The largest model tested (1.7B parameters) showed relatively monotonic growth in alignment. In contrast, smaller models (560M and 1.1B) experienced a "degradation phase." For instance, in the 560M model, the overlap rate for features like Gender peaked at approximately 0.20 around 400k training steps but plummeted to nearly 0.05 by 600k steps. This "drop point" suggests that smaller models may fall into sub-optimal minima in the loss landscape, losing their multilingual capabilities as training progresses.

3.3 Layer-wise Specialization

Alignment is not distributed equally across the model's depth. The researchers found that neuron overlap peaks in the middle layers (specifically layers 13–17). In the final layers, the overlap rate drops significantly. This is likely because the final layers must specialize in language-specific "Next Token Prediction," requiring the model to diverge from language-agnostic representations to handle specific vocabularies and surface-level syntax.

4. Discussion and Limitations

The discovery of the "degradation phase" in smaller models highlights the importance of checkpoint selection and training duration. While scaling appears to stabilize the emergence of alignment, the underlying cause of the sudden drop in smaller architectures remains a mystery that warrants further investigation.

This study is limited by its focus on decoder-only (autoregressive) architectures and the granularity of the available checkpoints. Future work should explore whether these dynamics hold for encoder-only models and how the model handles languages that were entirely absent from the pre-training corpus.

5. Conclusion

Cross-lingual alignment in LLMs is an emergent property that can be tracked through neuron overlap. By demonstrating that internal alignment closely mirrors external performance, this research provides a new lens through which to monitor the development of multilingual capabilities during training. The findings underscore that larger models are not just more capable, but also more resilient in maintaining the linguistic bridges necessary for zero-shot transfer.

Summary updated

BibTeX
@inproceedings{wang2024probing,
  author = {Hetong Wang and Pasquale Minervini and Edoardo M. Ponti},
  title = {{Probing the Emergence of Cross-lingual Alignment during LLM Training}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.724},
}
Figure