Why Better Cross-Lingual Alignment Fails for Better Cross-Lingual Transfer: Case of Encoders
Organizations: University of Göttingen · LMU Munich · Munich Center for Machine Learning (MCML)
Abstract
Cross-lingual alignment is often assumed to improve cross-lingual transfer by bringing representations of different languages closer together. However, improvements in representational alignment do not consistently translate into better downstream performance. We investigate this disconnect using XLM-R models explicitly aligned across four language pairs with token-level, sentence-level, and masked-language-modeling objectives. We evaluate their zero-shot transfer on a token-level task (part-of-speech tagging) and a sentence-level task (sentence classification), and analyze both representational changes and the gradients induced by the alignment and downstream objectives. We find that embedding-based alignment metrics do not reliably indicate whether alignment will improve or degrade downstream performance. Moreover, alignment and downstream-task gradients are often nearly orthogonal, particularly when the alignment objective and downstream task operate at different representational levels. These findings suggest that representation alignment alone is insufficient for assessing cross-lingual transfer, and that the compatibility between alignment and downstream objectives should be considered when designing/evaluating alignment methods.
Figures & tables
| POS Tagging | |||||||
|---|---|---|---|---|---|---|---|
| Full Model Fine-tuning | |||||||
| Model | S0T0M1 | S0T1M0 | S0T1M1 | S1T0M0 | S1T0M1 | S1T1M0 | S1T1M1 |
| XLM-R | |||||||
| XLM-R de-en | |||||||
| XLM-R en-kk | |||||||
| XLM-R ja-kk | |||||||
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
| Parameter | Value |
|---|---|
| Learning rate | |
| Batch size | |
| Max sequence length | |
| Word negatives | |
| Temperature | |
| Number of epochs |
| Parameter | Value |
|---|---|
| Batch size | 16 |
| Backbone learning rate (full model) | |
| Classifier learning rate (full model) | |
| Learning rate (linear layer only) | |
| Number of epochs | 15 |
| Weight decay | 0.01 |
| Parameter | Value |
|---|---|
| Batch size | 16 |
| Learning rate (full model) | |
| Learning rate (linear layer only) | |
| Number of epochs | 15 |
| Max sequence length | 256 |
| Seeds | 15, 33, 42 |
| Lang Pair | S0T0M1 | S0T1M0 | S0T1M1 | S1T0M0 | S1T0M1 | S1T1M0 | S1T1M1 |
|---|---|---|---|---|---|---|---|
| Group 1: Aligned Languages With English | |||||||
| deu-eng | |||||||
| kaz-eng | |||||||
| kor-eng | |||||||
| jpn-eng | |||||||
| Group 2: Aligned Languages Without English | |||||||
| Lang Pair | S0T0M1 | S0T1M0 | S0T1M1 | S1T0M0 | S1T0M1 | S1T1M0 | S1T1M1 |
|---|---|---|---|---|---|---|---|
| Group 1: Aligned Languages With English | |||||||
| deu-eng | |||||||
| kaz-eng | |||||||
| kor-eng | |||||||
| jpn-eng | |||||||
| Group 2: Aligned Languages Without English | |||||||
| Model | S0T0M1 | S0T1M0 | S0T1M1 | S1T0M0 | S1T0M1 | S1T1M0 | S1T1M1 |
|---|---|---|---|---|---|---|---|
| POS Tagging | |||||||
| XLM-R de-en | {\color[rgb]{1,0,0}-.01} | {\color[rgb]{1,0,0}-.10} | {\color[rgb]{1,0,0}-.02} | {\color[rgb]{1,0,0}-.78} | {\color[rgb]{1,0,0}-.03} | ||
| XLM-R en-kk | {\color[rgb]{1,0,0}-.02} | {\color[rgb]{1,0,0}-.03} | {\color[rgb]{1,0,0}-.02} | {\color[rgb]{1,0,0}-.02} | {\color[rgb]{1,0,0}-.06} | {\color[rgb]{1,0,0}-.08} | {\color[rgb]{1,0,0}-.10} |
| XLM-R ja-kk | {\color[rgb]{1,0,0}-.01} | ||||||
| XLM-R kk-ko | {\color[rgb]{1,0,0}-.01} | {\color[rgb]{1,0,0}-.02} | {\color[rgb]{1,0,0}-.02} | {\color[rgb]{1,0,0}-.01} | {\color[rgb]{1,0,0}-.08} | {\color[rgb]{1,0,0}-.01} | {\color[rgb]{1,0,0}-.07} |
| Sentence Classification | |||||||
| Lang Pair | S0T0M1 | S0T1M0 | S0T1M1 | S1T0M0 | S1T0M1 | S1T1M0 | S1T1M1 |
|---|---|---|---|---|---|---|---|
| Group 1: Aligned Languages With English | |||||||
| deu-eng | |||||||
| kaz-eng | |||||||
| kor-eng | |||||||
| jpn-eng | |||||||
| Group 2: Aligned Languages Without English | |||||||