AlignX: Advancing Multilingual Large Language Models with Multilingual Representation Alignment

Mengyu Bu, Shaolei Zhang, Zhongjun He, Hua Wu, Yang Feng

Abstract

Multilingual large language models (LLMs) possess impressive multilingual understanding and generation capabilities. However, their performance and cross-lingual alignment often lag for non-dominant languages. A common solution is to fine-tune LLMs on large-scale and more balanced multilingual corpora, but such approaches often lead to imprecise alignment and suboptimal knowledge transfer, struggling with limited improvements across languages. In this paper, we propose AlignX to bridge the multilingual performance gap, which is a two-stage representation-level framework for enhancing multilingual performance of pre-trained LLMs. In the first stage, we align multilingual representations with multilingual semantic alignment and language feature integration. In the second stage, we stimulate the multilingual capability of LLMs via multilingual instruction fine-tuning. Experimental results on several pre-trained LLMs demonstrate that our approach enhances LLMs' multilingual general and cross-lingual generation capability. Further analysis indicates that AlignX brings the multilingual representations closer and improves the cross-lingual alignment.

1. Introduction

While modern Large Language Models (LLMs) are ostensibly multilingual, they frequently exhibit a significant English-centric bias. Performance for non-dominant or low-resource languages lags considerably behind English. The standard industry response is "data-level" fine-tuning—simply exposing the model to more balanced multilingual corpora. However, this approach is often inefficient and "uncontrollable," leading to imprecise alignment where a model may grasp a concept in English but fail to transfer that knowledge to languages like Hindi or Czech. AlignX addresses this by structuring the model's internal semantic space to explicitly link concepts across language boundaries.

2. The AlignX Framework

AlignX is a representation-level alignment framework consisting of two distinct stages designed to strengthen the model's cross-lingual foundations.

The two-stage AlignX framework: Stage I involves multilingual representation alignment via auxiliary losses ($L_{CTR}$ and $L_{LAM}$), while Stage II focuses on instruction fine-tuning.

Stage I: Multilingual Continual Pre-training

In this stage, the model is trained with two auxiliary representation-level tasks alongside standard next-token prediction ($L_{NTP}$):

  • Instruction Contrastive Learning ($L_{CTR}$): Applied at the intermediate layers, this task forces the model to produce similar hidden representations for translation pairs. By pushing the internal vector for "Hello" closer to "Bonjour," the model facilitates more efficient knowledge sharing across languages.
  • Language Matching ($L_{LAM}$): Applied at the output layer, a small binary classifier is trained to distinguish if a sentence pair belongs to the same language. This acts as a regularizer, ensuring that while semantic concepts are aligned, the model retains the ability to generate language-specific syntax and features accurately.

Stage II: Multilingual Instruction Fine-tuning

The model is fine-tuned on a mixture of translation instructions and general task instructions. This stage stimulates the model's generative capabilities while maintaining the structural alignment established in Stage I.

3. Experimental Setup

The researchers utilized high-quality open-source datasets for training and evaluation:

  • Training: OPUS-100 for translation pairs and Bactrian-X for multilingual general instructions across 52 languages.
  • Evaluation: FLORES-101 for cross-lingual generation (translation), and general benchmarks including TruthfulQA, HellaSwag, XNLI, and XStoryCloze. Cross-lingual knowledge alignment was specifically measured using CLiKA.

4. Representation Analysis and Insights

A key discovery of this work is the "Align-then-Diverge" pattern. Through t-SNE visualizations, the authors observed that LLMs naturally align multilingual representations in lower-to-intermediate layers to share semantic concepts, and then diverge them in upper layers to produce language-specific outputs.

t-SNE visualizations of multilingual representations across different layers, illustrating the "Align-then-Diverge" pattern where representations clump in middle layers (Layer 16) and separate at the output (Layer 32).

AlignX explicitly strengthens this natural tendency. By targeting intermediate layers for semantic alignment, the model effectively uses English as an internal "interlingua" or pivot. Furthermore, scaling AlignX from 10 to 51 languages actually improved performance across the board, suggesting that better representation alignment helps models overcome the typical "curse of multilinguality" where adding languages usually degrades individual language performance.

5. Key Results

The framework was validated across several architectures, including LLaMA-7B, LLaMA2-7B, LLaMA3-8B, Gemma-2B, and Mistral-7B.

  • Translation Performance: AlignX achieved significant BLEU score improvements over standard baselines, with average gains of +4.13 on Gemma-2B and +3.77 on LLaMA-7B.
  • General Reasoning: On benchmarks like XNLI and HellaSwag, AlignX consistently outperformed data-level approaches, demonstrating that superior representation alignment translates to better cross-lingual reasoning.
  • Zero-Shot Generalization: The model showed improved alignment even for languages not explicitly included in the training set, provided they belonged to the same language families as the training data.

6. Conclusion

AlignX demonstrates that explicit representation-level alignment is a powerful tool for bridging the multilingual gap in LLMs. While the framework significantly alleviates performance imbalances, it remains influenced by the original pre-trained base model's exposure to specific scripts. Future research may explore integrating these representation-level constraints during the initial pre-training phase to build more robust, language-agnostic foundations from the start.

Summary updated

BibTeX
@misc{bu2025alignx,
  author = {Mengyu Bu and Shaolei Zhang and Zhongjun He and Hua Wu and Yang Feng},
  title = {{AlignX: Advancing Multilingual Large Language Models with Multilingual Representation Alignment}},
  year = {2025},
  eprint = {2509.24338},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.24338},
}
Figure