arXiv:2609.06381cs.CLSep 2026

Manuscript Offprint

arXiv:2609.06381

Cross-Lingual Representation Alignment by Token-Level Optimal Transport in a Language-Agnostic Space

Taisei Yamamoto, Ryoma Kumon, Danushka Bollegala, Hitomi Yanaka

Abstract

Cross-lingual alignment (CLA) aims to align the representations of large language models (LLMs) across languages, enabling cross-lingual transfer to improve multilingual capabilities. Previous CLA methods often ignore language-specific information encoded in representations and only consider sentence-level alignment, which may lead to suboptimal performance and input-output language mismatch. We propose CAROT (Cross-Lingual Alignment of Representations in a Language-Agnostic Space via Optimal Transport), which consists of two steps: identifying language-specific representations in LLMs' internal states and aligning language-agnostic representations across languages at the token level by optimal transport, while explicitly preserving language-specific representations. Inference-time steering experiments show that the representations computed by CAROT are effective alignment targets, improving multilingual performance by up to 11.2 points in accuracy while maintaining input-output language consistency. We further use the representations obtained by CAROT as training targets, internalizing the aligned representations. The trained models outperform existing CLA methods in 11 of 18 evaluation settings (3 models × 3 tasks × ID/OOD languages). Our work provides insights into what constitutes effective alignment targets for CLA in LLMs. Code is available at https://github.com/ynklab/CAROT.

1 Introduction

As large language models (LLMs) are being used around the world, it is crucial that LLMs possess multilingual capabilities. However, previous studies have shown that LLMs have inconsistent abilities across languages, especially showing limited understanding of low-resource languages (e.g., Ahuja et al., 2023; Singh et al., 2025). As low-resource languages lack sufficient training data, it is important to achieve cross-lingual transfer, the ability of LLMs to generalize the knowledge and skills learned in one language to others. One key factor enabling cross-lingual transfer is cross-lingual alignment (CLA). CLA aligns the representations of LLMs across languages, allowing the model to map semantically similar inputs from different languages onto similar representations.

Previous CLA methods are mainly based on insights into the multilingual mechanisms of LLMs. Several studies have suggested that LLMs follow a three-stage pipeline when processing multilingual inputs: (1) mapping inputs into a semantic space, (2) performing inference in that semantic space, and (3) translating back into the output language for generation (Wu et al., 2025; Zhao et al., 2024; Tang et al., 2024). Multiple studies have reported a correlation between task performance in a given language and the similarity of its internal representations to those of the dominant language (Kargaran et al., 2025; Li et al., 2025). These findings have motivated the development of CLA methods aimed at increasing the cross-lingual similarity of the middle-layer representations of LLMs through inference-time steering (Zhao et al., 2025a; Li et al., 2026) and training (Liu and Niehues, 2025; Li et al., 2024; Zhao et al., 2025b).

To promote CLA by leveraging representations in high-resource languages and identifying ideal representations for multilingual inputs, we must address two problems: what to align and where to align it. Most training methods pull the hidden states of parallel sentences across languages closer together, but they do not necessarily consider the language-specific information encoded in the representations (Liu and Niehues, 2025; Li et al., 2024). Indiscriminately minimizing cross-lingual distance risks destroying the language-specific features models rely on, so language-specific components should be protected while aligning the language-agnostic components. Fur

Figure

Figure 1: Overview of CAROT. Stage 1 (Decomposition): LEACE decomposes the hidden states of each token into language-agnostic components (AsrcA_{src} and AtgtA_{tgt}) and a language-specific component (StgtS_{tgt}). Stage 2 (Alignment): Unbalanced optimal transport aligns AsrcA_{src} with AtgtA_{tgt} at the token level, producing ideal language-agnostic representations A^tgt\hat{A}_{tgt}. Application: The aligned representations are recombined with the preserved language-specific component to form H^tgt\hat{H}_{tgt}, which is used for inference-time steering or as a training signal.

thermore, many steering methods bring the multilingual representations closer to the model's central language by applying a global vector shift, but they do not perform token-level alignment (Zhao et al., 2025a; Li et al., 2026). As languages differ in morphological structure and grammatical constructions, a finer-grained token-level investigation of multilingual representations is necessary to develop more effective CLA methods. For example, “I like dogs” in English and “Watashi wa inu ga suki desu” in Japanese (Figure 1) have different word orders, and the Japanese sentence contains a topic marker “wa” and a subject marker “ga” that are not present in the English sentence.

To overcome these challenges, we propose CAROT (Cross-Lingual Alignment of Representations in a Language-Agnostic Space via Optimal Transport), a method to compute hidden representations that enhance the multilingual capabilities of LLMs by aligning token-level language-agnostic representations while preserving language-specific representations (Figure 1). We utilize LEACE (Belrose et al., 2023) to find linearly encoded language-specific information (§3.1) and isolate the language-agnostic representations. We then align the language-agnostic representations between the source and target languages at the token level via optimal transport (Chizat et al., 2018; Arase et al., 2023; Dou and Neubig, 2021), with dedicated adjustment for applying to LLMs' internal representations (§3.2). The source language is the dominant language in which the model performs best (e.g., English), and the target language is the language we want to improve. We confirm that the components removed by LEACE capture language-specific information and the remaining components correspond to language-agnostic se-

mantic representations (§5). Our steering experiments, covering a broad range of tasks, demonstrate that the representations obtained by CAROT are effective alignment targets, significantly improving multilingual performance without inducing input-output language mismatch (§6).

Inference-time steering with CAROT, however, requires a source-language translation of the input, which makes it impractical to apply at scale. We therefore propose a training method that encourages the model's internal representations to match those obtained by CAROT (§7), so that translation is required only during training. Models trained with CAROT outperform existing CLA methods in 11 of 18 model-task-language settings (3 models × 3 tasks × ID/OOD languages), although the improvements do not yet match those observed with steering. Our work provides insights into the ideal multilingual representations and an interpretable framework for achieving CLA in LLMs, contributing to more effective cross-lingual transfer.

References (36)