Adversarial training makes a model resist small, deliberately chosen input changes. It does this by adding an inner search for the worst-case perturbation to every training step, and that search multiplies training cost several times over. In a multilingual model, one network serving dozens of languages, the bill is normally paid again for every language. It also adds a new source of conflict inside weights that languages already fight over. This proposal tests a simple bet. The part of a model's update that adversarial training adds is largely language-general: an attack on Spanish pushes the weights in roughly the same direction as an attack on Hindi. If that holds, robustness can live in one small shared module trained adversarially on a few pivot languages. Each language keeps its own small module trained only on clean data. Robustness is then paid for once, and a newly added language inherits it with no adversarial training at all.
The opportunity matters for two reasons. Robustness in multilingual transfer is fragile in a specific, documented way. Cross-Lingual Transfer Robustness to Lower-Resource Languages on Adversarial Datasets evaluates transfer from high- to low-resource languages under word and entity substitutions. It finds that transfer models collapse when shared vocabulary is swapped out, and that natively trained low-resource models are brittle to contextual noise. It proposes no defense. Meanwhile, the existing work that combines adversarial training with multilingual models either runs it over the full dense model or puts every language through one shared low-rank module, and neither asks where adversarial updates should live.
Core Claim
We claim that multilingual gradients split cleanly along two axes, and that the split can be exploited. The first axis is the language axis. Per-language clean gradients disagree with each other; this is the interference that Gradient Consistency-based Parameter Allocation for Multilingual Neural Machine Translation measures with cosine similarity to the average gradient. The second axis is the robustness axis. For language $\ell$, let $g^{c}_\ell$ be the gradient of the clean loss and $g^{a}_\ell$ the gradient of the adversarial loss. The robustness increment is then $r_\ell = g^{a}_\ell - g^{c}_\ell$. Our testable hypothesis is that robustness increments agree across languages more than clean gradients do:
$$\mathbb{E}_{\ell \neq m}\,\cos(r_\ell, r_m) \;>\; \mathbb{E}_{\ell \neq m}\,\cos(g^{c}_\ell, g^{c}_m).$$
The intuition behind the inequality is that attacks exploit shared weak points, such as a reliance on surface vocabulary and sensitivity to nearby tokens in the embedding space. Clean gradients, by contrast, carry language-specific syntax and vocabulary.
If the inequality holds, the natural architecture factorizes. Each language gets a private adapter (a small bottleneck layer inserted into a frozen model) trained on clean data only, as in Ankur Bapna et al. and Asa Cooper Stickland et al.. On top of these sits a single shared robustness adapter, trained adversarially on $k$ pivot languages out of $N$. The adversarial cost then scales with $k$ rather than $N$. Keeping adversarial updates out of the language adapters also stops robustness training from widening cross-lingual interference.
Relation to Prior Work
The closest precedent is Revisiting adapters with adversarial training. It treats clean and adversarial images as two domains and gives each its own classification token in a Vision Transformer, reaching 49.87% robust ImageNet accuracy with 768 extra parameters. It also interpolates between the two tokens to trade clean accuracy against robust accuracy. We borrow the domain-separation idea and the interpolation, but factorize along two axes, language by clean-versus-adversarial. The question of cross-language transfer of the adversarial module does not arise in their single-domain vision setting.
Two papers already combine adversarial training with multilingual NLP, and both constrain our design. LAMPAT trains one shared low-rank adapter on mGPT with virtual adversarial training for paraphrasing in 13 languages. It never separates language capacity from robustness capacity, and it does not measure interference. Data Augmentation with Adversarial Training for Cross-Lingual NLI runs projected gradient descent on word embeddings over the full XLM-RoBERTa model, together with reordering and generation-based augmentation. It pays full adversarial cost with no modular isolation.
Our method differs from both in two ways: robustness is a separate, shared, pivot-trained module, and adversarial cost does not grow with the number of languages.
Two further papers supply tools. Conflict-Aware Adversarial Training shows, in vision only, that clean and adversarial gradients conflict and projects one onto a cone around the other. We reuse its angle-based conflict measure and extend it to the cross-language comparison in the inequality above. Parameter-Efficient Finetuning for Robust Continual Multilingual Learning motivates the "add a language later" scenario. Its language adapters reduce forgetting by 78%, but its notion of robustness is stability under continual updates, not resistance to attack.
Research Program
The first stage is measurement and needs no new method. On XLM-RoBERTa-base and mBERT, fine-tuned on XNLI and on WikiANN named-entity recognition, we compute per-language clean gradients and robustness increments. The adversarial loss uses embedding-space projected gradient descent. We compare the two sides of the inequality, broken down by layer and by module type. The comparison of feed-forward against attention layers is motivated by Exploring Intrinsic Language-specific Subspaces in Fine-tuning Multilingual Neural Machine Translation, which finds language-specific knowledge concentrated in feed-forward layers. This stage produces the dual-axis conflict map that no existing paper provides. It also tells us where to place the robustness adapter: in the layers where increments are most language-consistent.
The second stage builds the factorized model. The backbone stays frozen. Per-language adapters are trained on clean data. The shared robustness adapter is stacked above the language adapter in the chosen layers and trained with adversarial loss on $k$ pivot languages. During its training, the pivot's language adapter is swapped randomly each batch so that the robustness adapter cannot latch onto any one language.
The inner perturbation search combines two sources. The first is embedding-space projected gradient descent, made cheaper by reusing gradients across inner steps as in FreeLB. The second is discrete substitutions in the pivot languages, produced with the gradient-ranked word selection of Towards Improving Adversarial Training of NLP Models. That work reports a roughly 3× speedup over TextFooler, a standard word-swap attack.
At inference, a scalar $\beta$ scales the robustness adapter's residual output, in the spirit of the Rebuffi et al. interpolation. We report the whole curve of clean accuracy against robust accuracy as $\beta$ varies, rather than one tuned point.
The third stage is the payoff test. We add held-out languages, with low-resource languages drawn from the pairs studied by the COLING robustness paper, by training only their clean language adapters. We then measure robustness inherited from the frozen robustness adapter.
Baselines
The naive reference point is per-language clean adapters with no adversarial training. It sets the clean-accuracy ceiling and the robust-accuracy floor, and every method is reported as movement away from it. The second reference is vanilla full fine-tuning of XLM-RoBERTa on XNLI. Data Augmentation with Adversarial Training for Cross-Lingual NLI reports 69.1% average accuracy for it across 15 languages.
The strongest existing method on clean cross-lingual accuracy is that same paper's full pipeline: reorder augmentation, semantic augmentation, and projected gradient descent. It reports 73.0% average XNLI accuracy. We rerun its projected-gradient-descent component on our splits with the same number of inner steps and the same perturbation radius. We do not rerun the augmentations, which depend on external parallel data and generators orthogonal to our question. We report its robust accuracy alongside ours. We found no reported robust-accuracy result on Lacuna for this method, or for any multilingual adversarial-training method on XNLI or WikiANN. Beating it means robust accuracy within two points at no more than $k/N$ of its adversarial compute, with clean accuracy no lower.
The strongest competitor on the efficiency question is per-language adversarial adapters. Here each language adapter receives its own adversarial training, so cost scales with $N$. This is the robustness upper bound for a modular design. A LAMPAT-style single shared low-rank adapter trained adversarially on all languages (LAMPAT) tests whether factorization matters at all. All adapter methods get the same parameter budget, the same backbone, the same number of hyperparameter trials, and training cost matched in forward-backward passes, which we log for every run.
Two ablations isolate the key ingredient. The first trains the shared robustness adapter on the pivots without swapping language adapters. The second is the most important: adversarial training on the same $k$ pivot languages, but applied to a single unfactorized shared adapter, followed by zero-shot use. This separates "robustness transfers through shared weights anyway" from "robustness transfers because it is factorized out."
Why not just…?
Why not just run projected gradient descent over the full multilingual model? It works in the sense that Data Augmentation with Adversarial Training for Cross-Lingual NLI gains accuracy with it. Its cost, however, is several times standard training and applies to every language's data. Full fine-tuning on many languages also causes interference; Exploring Intrinsic Language-specific Subspaces in Fine-tuning Multilingual Neural Machine Translation reports a 2.47 spBLEU drop on high-resource languages under standard fine-tuning. We include this as a baseline, not just an argument, and report robust accuracy per unit of compute.
Why not just adversarially train English and rely on zero-shot transfer? This is the real threat. If the robustness increment is as language-general as we hypothesize, robustness might transfer through the shared backbone without any factorization. The second ablation settles it directly. If unfactorized pivot-only training matches the factorized model on held-out languages, then our architectural claim fails. The result would then be the measurement itself, that robustness transfers nearly for free, which is still worth publishing but is a smaller contribution. We expect factorization to matter most on typologically distant held-out languages and on high-resource clean accuracy, where the shared adapter must also carry language information.
Why not just give each language its own adversarially trained adapter? That is the per-language adversarial adapter baseline. It is likely the most robust option, but it pays adversarial cost $N$ times and requires adversarial training again whenever a language is added. Our claim is only that the shared module gets close to it at a fraction of the cost. The curve of held-out robust accuracy against $k$ shows how close.
Why not just prepend a few learned robustness tokens to the frozen model? Robustness Tokens restores DINOv2-G accuracy under white-box attack from 0.3% to 63.1% with about ten tokens. Its authors note, though, that the defense depends on the tokens staying secret, and it has only been shown in vision. We run a shared robustness-token variant at matched parameter count as an additional arm. If it matches the adapter, we will adopt it, since it is simpler.
Proposed Experiments and Decisive Checks
We use XNLI across all 15 languages, and WikiANN on the 13 related high-/low-resource pairs from the COLING robustness study. Pivots are $k \in \{1, 3, 5\}$ typologically spread high-resource languages. Evaluation covers clean accuracy or F1; robust accuracy under embedding-space projected gradient descent, with the attack given the robustness adapter's weights; nearest-neighbour contextual substitutions in the style of P4, applicable to any language; and, for WikiANN, the vocabulary-targeting P3 and combined P5 perturbations. We also track forward-backward passes spent on adversarial training and the high-resource clean-accuracy change as an interference measure. The embedding-space attacks are weaker evidence than human-validated discrete attacks, so P3–P5 carry the main robustness claim.
Three checks decide the project. First, the inequality must hold with a margin that survives across seeds and both backbones. If robustness increments are no more aligned across languages than clean gradients, the premise is wrong and we stop at the measurement paper. Second, on held-out languages the factorized model must beat the unfactorized pivot-only ablation on P3/P5 robustness; otherwise factorization is unnecessary. Third, at matched compute it must come within two points of per-language adversarial adapters on robust accuracy without losing high-resource clean accuracy. Only this result would show that robustness can be paid for once.
References
- Cross-Lingual Transfer Robustness to Lower-Resource Languages on Adversarial Datasets
- Gradient Consistency-based Parameter Allocation for Multilingual Neural Machine Translation
- Simple, Scalable Adaptation for Neural Machine Translation
- Recipes for Adapting Pre-trained Monolingual and Multilingual Models to Machine Translation
- Revisiting adapters with adversarial training
- LAMPAT: Low-Rank Adaption for Multilingual Paraphrasing Using Adversarial Training
- Data Augmentation with Adversarial Training for Cross-Lingual NLI
- Conflict-Aware Adversarial Training
- Parameter-Efficient Finetuning for Robust Continual Multilingual Learning
- Exploring Intrinsic Language-specific Subspaces in Fine-tuning Multilingual Neural Machine Translation
- FreeLB: Enhanced Adversarial Training for Natural Language Understanding
- Towards Improving Adversarial Training of NLP Models
- Robustness Tokens: Towards Adversarial Robustness of Transformers