Abstract
There are several ways of implementing multilingual NLP systems but little consensus as to whether different approaches exhibit similar effects. Are the trends that we observe when adding more languages the same as those we observe when sharing more parameters? We focus on encoder representations drawn from modular multilingual machine translation systems in an English-centric scenario, and study their quality from multiple aspects: how adequate they are for machine translation, how independent of the source language they are, and what semantic information they convey. Adding translation directions in English-centric scenarios does not conclusively lead to an increase in translation quality. Shared layers increase performance on zero-shot translation pairs and lead to more language-independent representations, but these improvements do not systematically align with more semantically accurate representations, from a monolingual standpoint.
Introduction
In the field of multilingual NLP, the term "multilinguality" is often used ambiguously. It can refer to data diversity (training on a vast array of languages) or architectural homogeneity (forcing different languages to share the same underlying parameters). This paper investigates whether these two approaches are equivalent. In modular architectures, where language-specific "adapters" or layers are common, understanding whether to prioritize more training directions or more internal parameter sharing is crucial for model optimization.
Methods
The researchers constructed modular Transformer models with 6-layer encoders and 6-layer decoders. The core of the experiment involved varying the degree of parameter sharing ($s$) within the encoder:
As illustrated above, the bottom $6-s$ layers are language-specific, while the top $s$ layers are shared across all languages. The experiments spanned the full spectrum from $s=0$ (completely separate encoders) to $s=6$ (a fully shared encoder). These models were trained in an English-centric setup using subsets of the OPUS-100 corpus, ranging from 3 to 72 languages. Evaluation focused on task fitness (BLEU), language independence (XNLI probing), and semantic content (monolingual NLU benchmarks like GLUE and CLUE).
Key Results and Insights
Sharing vs. Scaling Languages
The study finds that adding more translation directions is not interchangeable with increasing parameter sharing. While adding languages increases data variety, it does not necessarily lead to the same architectural benefits as sharing layers.
Zero-Shot Performance and the "Sweet Spot"
Increasing the number of shared layers ($s$) is the primary driver for improving zero-shot translation—translating between language pairs never seen together during training. However, there is a performance trade-off.
As shown in the figure above, while $s=1$ generally outperforms $s=0$, full sharing ($s=6$) often leads to "underfitting," particularly on smaller datasets like opus-03. In these cases, the model lacks the capacity to handle the unique nuances of every language within a single shared space.
The Semantic Trade-off
Interestingly, making representations more language-independent (a goal for cross-lingual transfer) often degrades semantic accuracy for individual languages. As the model strives for a "universal" representation to facilitate translation, it may lose the fine-grained meaning required for monolingual NLU tasks. Semantic performance for non-English languages typically peaked at mid-levels of sharing ($s=3$ or $4$) before dropping at $s=6$.
Limitations
The findings are currently limited to English-centric scenarios; non-English-centric setups might exhibit different dynamics. Additionally, the study focused exclusively on sharing within the encoder, leaving the impact of decoder sharing for future research. Due to high computational costs, results are based on a single training seed per configuration, which does not account for variance between runs.
Summary updated