Multi-Unit Transformers for Neural Machine Translation

Jianhao Yan, Fandong Meng, Jie Zhou

Standard Neural Machine Translation (NMT) architectures, like the Transformer, typically scale performance by increasing model depth. However, this sequential stacking of layers can lead to significant latency penalties and diminishing returns. This paper introduces Multi-Unit TransformErs (MUTE), an architecture that increases model capacity by placing multiple attention-and-feed-forward "units" in parallel within each layer. By forcing these units to learn diverse, complementary features, MUTE achieves superior translation performance with higher parameter efficiency and faster inference speeds than traditional deep models.

The Challenge of Redundancy in Parallel Architectures

While making a network "wider" is an intuitive alternative to making it "deeper," a simple parallel layout often suffers from redundancy. If multiple units receive the same input and are trained with the same objective, they tend to learn identical features, failing to boost the model's overall expressiveness. The core contribution of MUTE is a set of mechanisms designed to force parallel units to specialize and cooperate effectively.

Architectural Innovations

The authors redefine a basic "unit" as a combination of a Multi-Head Attention sub-layer and a Feed-Forward Network (FFN). To ensure these units contribute unique information, MUTE evolves through three stages of complexity:

The evolution of MUTE architecture: (a) basic parallel units, (b) noise-injected Biased Multi-Unit, and (c) Sequentially Biased Multi-Unit with Autoshuffle.
  1. Biased MUTE: Inspired by bagging, this version applies a "Bias-Module" that injects different types of noise (e.g., token swapping, disordered subsequences, or masking) into the inputs of different units. This forces each unit to focus on different aspects of the input to fill "information gaps."
  2. Sequentially Biased MUTE: Inspired by boosting, this approach introduces a sequential dependency between parallel units. Instead of averaging outputs, units are ordered so that each unit learns the residual of the accumulated outputs from the units preceding it.
  3. Autoshuffle: To determine the optimal sequence for these units, the model employs an "Autoshuffle" network. This component uses a continuous approximation of a permutation matrix, allowing the model to learn the best unit ordering via standard gradient descent.

Experimental Results

The MUTE architecture was evaluated on three standard NMT benchmarks: NIST Chinese-English (small scale), WMT'14 English-German (medium scale), and WMT'18 Chinese-English (large scale).

Performance and Efficiency

As shown in the results for the NIST Zh-En dataset, the incremental addition of Biased and Sequential components consistently improves BLEU scores. The full MUTE system (+ Bias + Seq.) achieved a significant gain of +1.52 BLEU over the Transformer-Base baseline.

Performance comparison on the NIST Chinese-English dataset, showing the impact of MUTE components on BLEU scores across multiple test sets.

Key findings from the broader evaluation include:

  • Parameter Efficiency: On the WMT'14 En-De task, MUTE achieved 29.3 BLEU, outperforming the much larger Transformer-Big (28.6 BLEU) while using only 54% of the parameters (130M vs. 251M).
  • Inference Speed: Because parallel units can be computed simultaneously on modern GPUs, MUTE maintains high throughput. Inference speed dropped by only ~3.1% compared to Transformer-Base, and MUTE remained faster than Transformer-Big (863 vs. 838 tokens/sec).

Conclusion

MUTE demonstrates that increasing model width through specialized, parallel units is a highly effective alternative to simply increasing depth. By combining noise injection with residual-style boosting within a single layer, MUTE provides a path toward more expressive NMT models that remain efficient enough for real-world deployment. Future work may involve applying these multi-unit structures to the decoder side or integrating them into ultra-deep networks to explore the synergy between width and depth.

Summary updated

BibTeX
@inproceedings{yan2020multi,
  author = {Jianhao Yan and Fandong Meng and Jie Zhou},
  title = {{Multi-Unit Transformers for Neural Machine Translation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.emnlp-main.77},
}
Figure