We study the power of cross-attention in the Transformer architecture within the context of transfer learning for machine translation, and extend the findings of studies into cross-attention when training from scratch. We conduct a series of experiments through fine-tuning a translation model on data where either the source or target language has changed. These experiments reveal that fine-tuning only the cross-attention parameters is nearly as effective as fine-tuning all parameters (i.e., the entire translation model). We provide insights into why this is the case and observe that limiting fine-tuning in this manner yields cross-lingually aligned embeddings. The implications of this finding for researchers and practitioners include a mitigation of catastrophic forgetting, the potential for zero-shot translation, and the ability to extend machine translation models to several new language pairs with reduced parameter storage overhead.
Cross-Attention is All You Need: Adapting Pretrained Transformers for Machine Translation
Fine-tuning only the cross-attention parameters in the Transformer architecture for machine translation is as effective as fine-tuning the entire model, leading to cross-lingually aligned embeddings and potential zero-shot translation.
- Year
- 2021
- Venue
- EMNLP 2021 11
- Authors
- 3
- Hosting
- Abstract onlyARXIV-DEFAULT
Cite
Notes
Only stored in your browser.
Attribution
- Abstract & full text
- arxiv.org/abs/2104.08771v2ARXIV-DEFAULT
- TL;DR
- Semantic Scholar