LANGALIGN: Enhancing Non-English Language Models via Cross-Lingual Embedding Alignment

Jong Myoung Kim, Young-Jun Lee, Ho-Jin Choi, Sangkeun JungarXiv 2025 · DOI

Introduction

While Large Language Models (LLMs) continue to advance, many production environments prioritize smaller, embedding-based models like RoBERTa due to their lower latency, cost-effectiveness, and superior controllability. However, these models frequently encounter a "data desert" in non-English contexts. High-quality training data for languages other than English is often scarce or prohibitively expensive to curate compared to established English benchmarks.

Common workarounds, such as translating English datasets, face challenges: high-quality machine translation (e.g., GPT-4) is costly at scale, while multilingual models often suffer from a "representation gap." This gap occurs because the mathematical encoding of an English sentence differs significantly from its semantic equivalent in languages like Korean or Chinese. LANGALIGN addresses this by bridging the gap without requiring massive translation budgets or extensive model retraining.

Methodology: The Language Aligner

The core innovation is the Language Aligner (LANGALIGN), a lightweight adapter layer positioned between a frozen multilingual Language Model (LM) and a task-specific header. The authors implement a three-step training pipeline to optimize this alignment.

The three-step training strategy for LANGALIGN, involving embedding tuning, aligner training, and task fine-tuning.
  1. Embedding Tuning: The LM is briefly fine-tuned to produce embeddings optimized for the target task.
  2. LANGALIGN Training: Using a small parallel corpus, the aligner is trained to transform an English embedding $e(d_e)$ to match the embedding of its translation $e(\mathcal{T}(d_e))$. Two architectures were evaluated: a Fully Connected (FC) network and an Auto Encoder (AE).
  3. Task Fine-tuning: The model is trained on the specific task using abundant English data processed through the trained LANGALIGN layer.

Additionally, the researchers explored Reverse LANGALIGN, which maps target-language inputs into the English embedding space, enabling models trained solely on English data to perform inference on non-English text.

Key Insights

  • Data Efficiency: A primary finding is that native-level performance does not require massive translated datasets. By using only 5,000 translated samples for alignment and 40,000 "cheap" English samples for task training, the model outperformed baselines trained on 5,000 native Korean samples.
  • Closing the Representation Gap: Cosine similarity measurements validated that LANGALIGN effectively "pushes" English vectors closer to the target language's semantic space. In Natural Language Inference (NLI) tasks, similarity improved from 0.894 to 0.967 after alignment.
  • Architecture Performance: The Auto Encoder (AE) structure generally outperformed simple Fully Connected (FC) layers. The AE's bottleneck likely helps filter noise, focusing on the most critical semantic features for cross-lingual mapping.

Experimental Results

The method was evaluated across English, Korean, Japanese, and Chinese using standard benchmarks like GLUE, NSMC, and KLUE-NLI.

Performance comparison across Chinese and Japanese benchmarks, showing LANGALIGN (AE/FC) approaching or exceeding various baselines.

Key results include:

  • Significant Gains: In NLI tasks, the AE-5K model (using 5,000 translated samples) achieved 0.788 accuracy, significantly surpassing the 0.739 accuracy of a model trained on 5,000 native Korean samples.
  • Cost-Effectiveness: LANGALIGN models consistently approached the performance of models trained on high-cost GPT-4 translated data while using significantly fewer resources.
  • Cross-Lingual Generalization: The strategy proved effective across diverse language families, confirming its robustness for global applications.

Limitations and Future Work

Despite its success, LANGALIGN relies on an initial multilingual backbone (e.g., XLM-RoBERTa) with a baseline understanding of the target languages. It also requires a small amount of high-quality parallel data. Future research will explore more complex alignment architectures and the application of this method to generative tasks beyond classification.

Summary updated

Abstract

While Large Language Models have gained attention, many service developers still rely on embedding-based models due to practical constraints. In such cases, the quality of fine-tuning data directly impacts performance, and English datasets are often used as seed data for training non-English models. In this study, we propose LANGALIGN, which enhances target language processing by aligning English embedding vectors with those of the target language at the interface between the language model and the task header. Experiments on Korean, Japanese, and Chinese demonstrate that LANGALIGN significantly improves performance across all three languages. Additionally, we show that LANGALIGN can be applied in reverse to convert target language data into a format that an English-based model can process.
BibTeX
@misc{kim2025langalign,
  author = {Jong Myoung Kim and Young-Jun Lee and Ho-Jin Choi and Sangkeun Jung},
  title = {{LANGALIGN: Enhancing Non-English Language Models via Cross-Lingual Embedding Alignment}},
  year = {2025},
  eprint = {2503.18603},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.18603},
}
Figure