How does Alignment Enhance LLMs' Multilingual Capabilities? A Language Neurons Perspective

Shimao Zhang, Zhejian Lai, Xiang Liu, Shuaijie She, Xiao Liu, Yeyun Gong, Shujian Huang, Jiajun ChenarXiv 2025 · DOI

Introduction

Large Language Models (LLMs) demonstrate remarkable multilingual capabilities, yet the internal mechanisms driving this performance—especially in low-resource languages—remain largely opaque. While researchers often use multilingual alignment to transfer reasoning skills from high-resource languages like English to others, the underlying neural shifts have been difficult to quantify. This study moves beyond traditional binary classifications of neurons (language-specific vs. general) to introduce a ternary framework that accounts for "language-related" neurons shared across subsets of languages. Our findings reveal that alignment fundamentally reconfigures the model's internal routing, moving away from isolated language-specific processing toward shared, cross-lingual neural infrastructure.

Methodology: Ternary Neuron Classification

To better capture the nuance of multilingual processing, we categorize neurons into three distinct types based on their activation patterns across a set of evaluated languages:

  1. Language-Specific Neurons: Activated by exactly one language.
  2. Language-Related Neurons: Activated by multiple (2 to 9) languages, but not all.
  3. General Neurons: Activated by all evaluated languages.

Neurons are identified by calculating activation probabilities (using the SiLU activation function). We employ a unified scoring metric that balances activation entropy (specificity) and maximum activation probability (effectiveness). To validate this classification, we performed deactivation ablation—turning off specific neuron groups and measuring the resulting spikes in Perplexity (PPL). These tests confirmed that language-related neurons are critical load-bearers for multilingual reasoning, often more so than purely language-specific ones.

The 4-Stage Multilingual Inference Process

By mapping the distribution of these neuron types across the layers of 7B-parameter models (Mistral and MetaMath), we identified a consistent four-stage inference architecture. This mapping refines previous theories of how LLMs process multilingual inputs.

Distribution of language-specific, language-related, and general neurons across model layers, illustrating the 4-stage inference process.
  1. Multilingual Understanding (Early Layers): The model utilizes a mix of specific and related neurons to map diverse linguistic inputs into a shared semantic space.
  2. Shared Semantic Reasoning (Middle Layers): General neurons dominate this stage. The model "thinks" in a language-agnostic way, performing core reasoning tasks.
  3. Multilingual Output Transformation (Late-Middle Layers): Specific and related neurons peak again as the model prepares the target language's structure.
  4. Vocabulary Space Outputting (Final Layers): Surprisingly, general neurons spike in the final layer, suggesting that the ultimate mapping to vocabulary relies on shared cross-lingual infrastructure rather than language-specific decoders.

Impact of Alignment on Neural Reallocation

Aligning base models using Multilingual-Alignment-as-Preference Optimization (MAPO) via Direct Preference Optimization (DPO) significantly alters the model's internal workload. Alignment acts as a catalyst for "spontaneous alignment," where training on a few languages (e.g., Chinese and German) improves performance on unseen ones (e.g., Swahili).

Change in neuron counts (Δ) across different language activation counts (N) after alignment, showing a shift from language-specific (N=1) to shared neurons.

As shown in the figure above, alignment actively discourages the use of isolated language-specific neurons ($N=1$) and encourages the proliferation of shared language-related and general neurons ($N \ge 3$). In our experiments, the number of language-specific neurons dropped by an average of 37, while shared language-related neurons surged by an average of 232. This shift explains why alignment is so effective: it forces the model to build a robust, shared infrastructure that unseen languages can "piggyback" on.

Conclusion

Our research demonstrates that multilingual alignment is not merely a process of teaching a model new languages, but a structural reorganization of its neural activity. By shifting the workload from language-specific neurons to shared language-related ones, alignment creates a more efficient and generalizable multilingual reasoning engine. Future work will explore these interactions at a finer grain within individual layers and across broader task domains.

Summary updated

BibTeX
@misc{zhang2025how,
  author = {Shimao Zhang and Zhejian Lai and Xiang Liu and Shuaijie She and Xiao Liu and Yeyun Gong and Shujian Huang and Jiajun Chen},
  title = {{How does Alignment Enhance LLMs' Multilingual Capabilities? A Language Neurons Perspective}},
  year = {2025},
  eprint = {2505.21505},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.21505},
}
Figure