When one large language model is fine-tuned to translate many languages at once, translating into English gets worse than if each language had been trained alone, while translating out of English gets better. The current fix gives each source language its own small adapter, which throws away sharing and cannot translate between two non-English languages. We propose a different explanation for the problem and a cheaper fix. The usual steering signal, a marker of the target language, carries no information when every example targets English. We therefore train one shared low-rank adapter whose internal channels are switched on or off by learned codes for the source language in the lower layers and for the target language in the upper layers. If the explanation is right, this one adapter should remove the into-English penalty. Because it treats source and target separately, it should also translate between language pairs it never saw during training.
In two sentences: the into-English penalty may come from missing signal rather than from languages fighting over limited capacity. A single low-rank adapter whose channels are gated by source-language codes at the bottom of the network and target-language codes at the top should match per-language adapters on supervised directions and also work on unseen non-English pairs.
Core Claim
The claim has three parts. The first is a diagnosis. Asymmetric Conflict and Synergy in Post-training for LLM-based Multilingual Machine Translation found that a shared low-rank adapter suffers cross-lingual conflict on into-English directions and gains from sharing on out-of-English directions. It resolved this with Direction-Aware Training (DAT): separate adapters per language for into-English, grouped adapters for out-of-English, and a model-merging step afterwards. That paper attributes the problem to parameter interference.
The zero-shot literature points to a different cause. How Far can 100 Samples Go? shows that translation failures blamed on capacity were really missing direction signal: one multi-parallel sentence cut the rate of output in the wrong language from 51.8% to 1.9%. Target-language markers vary across out-of-English examples but are constant across into-English examples. So the into-English case is exactly where the target signal tells the shared parameters nothing, and different source languages must share one update. We hypothesize that the conflict is signal starvation, and that supplying source identity inside the adapter removes it.
The second part is the mechanism. We use Low-Rank Adaptation (LoRA), which adds a small trainable correction $BA$ to each frozen weight matrix (LoRA). In our variant, the correction at layer $l$ for source language $s$ and target language $t$ is
$$\Delta W_l(s,t) = B_l \,\mathrm{diag}\big(g_l(s,t)\big)\, A_l, \qquad g_l(s,t) = \sigma\big(\alpha_l U_l e_s + (1-\alpha_l) V_l e_t\big).$$
Here $A_l, B_l$ are the shared rank-$r$ LoRA factors. The vectors $e_s, e_t$ are learned language embeddings of small dimension $m$. $U_l$ and $V_l$ project those embeddings to $r$ gate values, and $\sigma$ is the logistic function. The weight $\alpha_l$ fixes whether a layer listens to the source or the target: $\alpha_l=1$ in the bottom third, $0$ in the top third, $0.5$ in the middle. In a learned variant, $\alpha_l$ is free.
The layer split follows the U-shaped layout of language-specific neurons reported in Language-Specific Neurons: language-specific units sit near the input and output, and the middle layers are largely language-agnostic. LoRA-Flow's depth finding points the same way. Each language adds only $m$ parameters, and each layer adds $2rm$. So cost grows with the number of languages, not the number of pairs, unlike the one-adapter-per-pair design of MLAS-LoRA.
The third part is compositionality. Because source and target codes enter at different depths, an unseen pair such as Turkish to Gujarati uses the Turkish code at the bottom and the Gujarati code at the top. English-centric systems like DAT cannot do this by construction.
Relation to Prior Work
Several papers supply the method we reuse. LoRA provides the base update. Hyper-X is the closest prior design: it generates bottleneck-adapter weights from task, language and layer embeddings. It differs from ours in four ways. It generates full adapter matrices rather than gating a shared rank space. It uses sequential adapters that add inference latency. It is evaluated on part-of-speech tagging and named-entity recognition, not generation. And it has no notion of separate source and target roles. Neuron-Level Language Tag Injection injects tag vectors into every linear layer, but as a dense change to the architecture. It also found that injection helps only alongside a prompt tag, so we keep the prompt tags in every condition.
Other papers motivate the proposal by documenting the gap: DAT establishes the asymmetry, the tiny-multi-parallel study shows signal can matter more than capacity, and On the Off-Target Problem traces wrong-language output to encoder states collapsing toward English. That collapse is a source-side symptom our lower-layer gating targets directly.
Some work constrains the design. ReCoVeR shows that adding steering vectors at inference time without training, as in Language Steering at Inference (LSI), cost Llama 3.1 nearly 12 points on multiple-choice question answering (MMLU). A trained low-rank steering module stayed within 0.4 points. That result argues against pure inference-time steering and for learned, parameterized signaling, which is what we train jointly rather than bolting onto a frozen model. LoRA-Flow gates between separately pretrained adapters using only the hidden state at each token. We instead gate channels of one jointly trained adapter using explicit language identity, and we test directly whether identity beats hidden-state gating.
Research Program
We fine-tune a decoder-only language model in the X-ALMA setting that DAT uses. The training data are English-centric parallel data in both directions for the DAT language set. A second training condition adds a small multi-parallel set of 100 sentences, following the tiny-multi-parallel recipe. All adapter conditions share one rank budget, one data order and one learning-rate sweep.
The analysis has two stages. First, we reproduce the asymmetry itself. For each language we compute an interference score: joint-training performance minus single-language performance, measured separately for into-English and out-of-English directions. Second, we test whether gated adapters drive the into-English score to zero or positive. We then examine the learned gates. Their overlap across related languages, for example within Indo-Aryan, can be compared with the relatedness gains reported by Dhamecha et al. and should show whether sharing reappears once signal is supplied.
Baselines
The naive reference is a single shared LoRA trained on pooled data. Its prompt template names both source and target languages. This is the "prompt signaling only" condition: it tells us what the model does when source identity is available in the text but not inside the adapter. MLAS-LoRA reports that plain LoRA of this kind trails its method by 1.7 BLEU on 14 WMT18 pairs. Our proposal beats this baseline only if it closes most of the into-English interference gap.
The strongest supervised competitor is DAT, meaning per-language into-English adapters and grouped out-of-English adapters, with and without its TIES merging step. We rerun it on identical data and training steps. Its total adapter parameter count is reported, and we give our gated adapter the larger of equal rank per layer or equal total parameters. The file gives DAT's result only relatively: X-ALMA-13B-DAT matched baseline COMET-22 on FLORES-200 and WMT23 with 5.5 times fewer pretraining tokens and a model 1.7 to 2 times smaller. No reported absolute COMET value for DAT was found on Lacuna, so we treat our own rerun as the reference. Beating DAT means matching its into-English COMET within noise across three seeds, with one adapter and a far smaller language-specific parameter count. DAT cannot produce direct translations between two non-English languages without pivoting through English, so its zero-shot comparison is against English pivoting.
The strongest competitor on zero-shot is MLAS-LoRA's per-pair design. We run it without a teacher, using random rather than teacher-derived initialization, so that no condition benefits from a larger model. It is limited to the trained pairs.
For wrong-language output, the reference points are LAVS, which reduced the average off-target rate on 90 FLORES-101 zero-shot directions from 29% to 8%, and the tiny-multi-parallel full fine-tune, which reached 1.9%. Both results come from encoder-decoder systems, so we cite them as targets rather than head-to-head numbers.
A hypernetwork baseline in the style of Hyper-X generates the LoRA factors $A_l, B_l$ from $[e_s; e_t; e_l]$, where $e_l$ is a layer embedding, at matched parameters. It tests whether gating the rank channels is enough or whether full weight generation is needed.
Two ablations isolate our key ingredients. The first swaps in LoRA-Flow-style gating, where the gate is computed from the hidden state and receives no language ID. The second is a placement ablation comparing source-only, target-only, uniform mixing ($\alpha_l = 0.5$ everywhere) and learned $\alpha_l$.
Why not just…?
Why not just put the source language in the prompt? This is the real threat, and it is the cheapest possible fix. Standard translation prompts already name the source language, and DAT still observed into-English conflict under its setup. That suggests prompt-level identity is not being used to separate the update. The tag-injection paper likewise found parametric injection gave up to 2+ BLEU over prompt-only tagging. Our naive baseline includes both language names, so if its interference score matches the gated adapter's, the diagnosis is wrong and we will report that the gate adds nothing.
Why not just keep per-language adapters, as DAT does? On supervised into-English directions they may win. They cost a full adapter per language, and they discard the sharing that the relatedness results suggest is available. They also cannot compose a non-English source with a non-English target. The zero-shot evaluation measures that last limitation directly. The supervised comparison measures whether we pay any quality price for sharing.
Why not let the model infer language from its hidden states and route itself, as LoRA-Flow does? Hidden-state gating is attractive because it needs no metadata. However, the off-target literature shows that the hidden states themselves drift toward English, so a gate reading those states inherits the confusion. The hidden-state-gate ablation settles this question, especially on the shared-script directions where LAVS found drift worst.
Why not a hypernetwork? Hyper-X shows language-conditioned adapter generation works for labeling tasks. If our matched-parameter hypernetwork baseline clearly beats channel gating, we adopt it. The layer-wise split between source and target would still be the contribution.
Proposed Experiments
The supervised evaluation uses FLORES-200 and WMT23 with COMET-22, matching DAT, plus chrF++. The zero-shot evaluation uses FLORES-200 directions between non-English languages. There we report the off-target rate, measured with a language identifier, and COMET, and compare against pivoting through English, which FLORES-101 found direct translation beats by more than 3 spBLEU in 80% of Indic directions.
Three checks decide the claim. First, the into-English interference score under the gated adapter should be at or above zero, while the naive shared LoRA's is negative. Second, a gate-swap test at inference: feeding the wrong source code in the bottom layers should hurt into-English quality substantially, and feeding the wrong target code in the top layers should change the output language. If neither swap matters, the gates are not carrying the signal and the diagnosis fails. Third, gated composition on unseen pairs should reach an off-target rate comparable to what the 100-sentence multi-parallel fine-tune achieves. The variant trained with those 100 sentences should close any remaining gap without degrading English-centric directions, which is the regression the tiny-multi-parallel paper reported for full fine-tuning.
References
- Asymmetric Conflict and Synergy in Post-training for LLM-based Multilingual Machine Translation
- How Far can 100 Samples Go? Unlocking Zero-Shot Translation with Tiny Multi-Parallel Data
- LoRA: Low-Rank Adaptation of Large Language Models
- Language-Specific Neurons: The Key to Multilingual Capabilities in Large Language Models
- MLAS-LoRA: Language-Aware Parameters Detection and LoRA-Based Knowledge Transfer for Multilingual Machine Translation
- Hyper-X: A Unified Hypernetwork for Multi-Task Multilingual Transfer
- Neuron-Level Language Tag Injection Improves Zero-Shot Translation Performance
- On the Off-Target Problem of Zero-Shot Multilingual Neural Machine Translation
- ReCoVeR the Target Language: Language Steering without Sacrificing Task Performance
- LoRA-Flow: Dynamic LoRA Fusion for Large Language Models in Generative Tasks
- Role of Language Relatedness in Multilingual Fine-tuning of Language Models: A Case Study in Indo-Aryan Languages