NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

I Have an Attention Bridge to Sell You: Generalization Capabilities of Modular Translation Architectures

Timothee Mickus, Raúl Vázquez, Joseph Attieh · DOI

Abstract

Modular machine translation architectures, particularly those utilizing "attention bridges," are often touted for their superior generalization and zero-shot capabilities. However, these claims frequently emerge from disparate experimental settings. This study provides a rigorous evaluation of six architectural variants under a strictly controlled computational budget. Our findings reveal that complex modular designs often underperform compared to simpler alternatives. Specifically, models with shared encoders consistently outperform bridge-based architectures in zero-shot and out-of-distribution scenarios, suggesting that the perceived benefits of modularity may be overstated in current literature.

Introduction

In the field of Multilingual Machine Translation (MNMT), a central design tension exists between "universal" models, which share all parameters to foster a common interlingua, and "modular" models, which utilize language-specific components to preserve linguistic nuances. Modular architectures, especially those incorporating shared "attention bridges" designed to force language-agnostic representations, have gained popularity for their purported ability to generalize to unseen language pairs (zero-shot translation).

Despite the enthusiasm for these designs, empirical evidence is often confounded by varying parameter counts and training conditions. This paper addresses this gap by asking a fundamental question: When the computational budget is held constant, does modularity—and specifically the use of attention bridges—actually improve generalization?

Architectural Taxonomy

To ensure a fair comparison, the authors evaluated six Transformer-based variants, each constrained to a standard 12-layer configuration (6 encoder, 6 decoder layers):

  1. Fully Shared ($\mathcal{F}$): A non-modular baseline where all parameters are shared across all language pairs.
  2. Fully Modular ($\mathcal{N}$): Language-specific encoders and decoders with zero parameter sharing.
  3. Shared Encoder ($\mathcal{E}$): A single shared encoder for all source languages paired with language-specific decoders.
  4. Shared Decoder ($\mathcal{D}$): Language-specific encoders feeding into a single shared decoder.
  5. Transformer Bridge ($\mathcal{T}$): Language-specific encoders where only the final layer is shared across languages, acting as a "bridge."
  6. Fixed-Size Attention Bridge ($\mathcal{L}$): A modular design utilizing a Fixed-Size Attention Bridge (FSAB) as the shared bottleneck.

Experimental Methodology

The study utilized two major benchmarks: the United Nations Parallel Corpus (UNPC), covering six official UN languages, and a filtered version of OPUS100. To test generalization, the researchers designed three training regimes:

  • All: Training on all 30 possible language directions.
  • EN-centric: Training only on the 10 directions involving English.
  • AR-centric: Training only on the 10 directions involving Arabic.

These splits allowed for the evaluation of zero-shot performance on directions excluded from the training set. To isolate the impact of architectural choices from noise, the authors employed SHapley Additive exPlanations (SHAP) and Ordinary Least Squares (OLS) regression to determine which specific features (e.g., "sharing an encoder" or "having a bridge") statistically contributed to translation quality (BLEU scores).

Key Findings

The Failure of the "Bridge"

Contrary to the prevailing narrative that shared bridge layers facilitate better zero-shot generalization, the results indicate that adding a bridge ($\mathcal{T}$ or $\mathcal{L}$) provides no significant advantage over a basic modular system ($\mathcal{N}$). Statistical analysis via OLS regression revealed a significant negative coefficient (-4.77) for the interaction between "having a bridge" and "zero-shot settings," suggesting that bridges may actually hinder generalization in these contexts.

The Superiority of Encoder Sharing

The Shared Encoder ($\mathcal{E}$) model emerged as the most effective modular variant. By sharing the entire encoder rather than a single bottleneck layer, the model appears to develop more robust, language-independent representations. In zero-shot evaluations, the $\mathcal{E}$ and $\mathcal{F}$ models outperformed modular and bridge-based designs by a substantial margin of at least 4.1 BLEU points.

The Pivot Language Bias

The study highlights a significant "pivot language trap." While modular systems performed reasonably well when English served as the pivot, their performance plummeted when Arabic was used as the pivot. This suggests that previous successes attributed to modularity may have been artifacts of the English-centric nature of common training datasets rather than the inherent architectural strengths of the models.

Simplicity and Efficiency

Under a fixed computational budget, the non-modular Fully Shared ($\mathcal{F}$) baseline remained highly competitive, often matching or exceeding the performance of far more complex modular designs. The OLS model, which achieved an $R^2$ of 0.763, confirms that architectural simplicity and parameter sharing are more reliable drivers of performance than modular complexity.

Conclusion

The results of this study serve as a reality check for modular MNMT. While modularity offers theoretical flexibility, the "attention bridge" specifically fails to deliver on its promise of improved generalization when compared to simpler shared-parameter models. For researchers and practitioners, the findings suggest that sharing encoders is a more effective strategy for achieving zero-shot translation than implementing narrow bottleneck layers.

Future research is required to determine if these findings scale to "Massively Multilingual" models (100+ languages) where parameter capacity constraints are more severe, or if alternative bridge designs—such as variable-length bridges—might overcome the limitations observed here.

Summary updated

BibTeX
@misc{mickus2024i,
  author = {Timothee Mickus and Raúl Vázquez and Joseph Attieh},
  title = {{I Have an Attention Bridge to Sell You: Generalization Capabilities of Modular Translation Architectures}},
  year = {2024},
  eprint = {2404.17918},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.17918},
}
Figure