English

Multilingual Machine Translation with Hyper-Adapters

Computation and Language 2022-12-06 v2

Abstract

Multilingual machine translation suffers from negative interference across languages. A common solution is to relax parameter sharing with language-specific modules like adapters. However, adapters of related languages are unable to transfer information, and their total number of parameters becomes prohibitively expensive as the number of languages grows. In this work, we overcome these drawbacks using hyper-adapters -- hyper-networks that generate adapters from language and layer embeddings. While past work had poor results when scaling hyper-networks, we propose a rescaling fix that significantly improves convergence and enables training larger hyper-networks. We find that hyper-adapters are more parameter efficient than regular adapters, reaching the same performance with up to 12 times less parameters. When using the same number of parameters and FLOPS, our approach consistently outperforms regular adapters. Also, hyper-adapters converge faster than alternative approaches and scale better than regular dense networks. Our analysis shows that hyper-adapters learn to encode language relatedness, enabling positive transfer across languages.

Keywords

Cite

@article{arxiv.2205.10835,
  title  = {Multilingual Machine Translation with Hyper-Adapters},
  author = {Christos Baziotis and Mikel Artetxe and James Cross and Shruti Bhosale},
  journal= {arXiv preprint arXiv:2205.10835},
  year   = {2022}
}

Comments

EMNLP 2022 camera-ready version. Code at github.com/cbaziotis/fairseq under the "hyperadapters" branch (see instructions at https://github.com/cbaziotis/fairseq/tree/hyperadapters/examples/adapters)

R2 v1 2026-06-24T11:24:46.330Z