analiza aiqbench
This research introduces CAROT, a novel method for cross-lingual alignment in large language models that utilizes token-level optimal transport within a language-agnostic space. By explicitly preserving language-specific information while aligning core representations, the approach significantly improves multilingual accuracy and maintains input-output consistency. The work offers valuable insights into optimizing alignment targets for enhancing LLM capabilities across diverse linguistic contexts.
Cross-Lingual Representation Alignment by Token-Level Optimal Transport in a Language-Agnostic Space
De la arXiv
Text integralCross-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 this https URL
Text integral sub licența deschisă a publicației · 177 cuvinte