Litcius/Paper detail

Cross-Attention is All You Need: Adapting Pretrained Transformers for Machine Translation

Mozhdeh Gheini, Xiang Ren, Jonathan May

2021Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing138 citationsDOIOpen Access PDF

Abstract

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 crossattention when training from scratch. We conduct a series of experiments through finetuning 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 crosslingually 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.

Topics & Concepts

TransformerComputer scienceMachine translationLimitingFine-tuningArtificial intelligenceForgettingTranslation (biology)ScratchLanguage modelNatural language processingMachine learningVoltageElectrical engineeringProgramming languageEngineeringParticle physicsGenePhysicsPhilosophyBiochemistryLinguisticsMechanical engineeringMessenger RNAChemistryTopic ModelingNatural Language Processing TechniquesMultimodal Machine Learning Applications