On the Interchangeability of Positional Embeddings in Multilingual Neural Machine Translation Models
<|reference_start|>On the Interchangeability of Positional Embeddings in Multilingual Neural Machine Translation Models: Standard Neural Machine Translation (NMT) models have traditionally been trained with Sinusoidal Positional Embeddings (PEs), which are inadequate for capturing long-range dependencies and are inefficient for long-context or document-level translation. In contrast, state-of-the-art large language models (LLMs) employ relative PEs, demonstrating superior length generalization. This work explores the potential for efficiently switching the Positional Embeddings of pre-trained NMT models from absolute sinusoidal PEs to relative approaches such as RoPE and ALiBi. Our findings reveal that sinusoidal PEs can be effectively replaced with RoPE and ALiBi with negligible or no performance loss, achieved by fine-tuning on a small fraction of high-quality data. Additionally, models trained without Positional Embeddings (NoPE) are not a viable solution for Encoder-Decoder architectures, as they consistently under-perform compared to models utilizing any form of Positional Embedding. Furthermore, even a model trained from scratch with these relative PEs slightly under-performs a fine-tuned model, underscoring the efficiency and validity of our hypothesis.<|reference_end|>
@article{gumma2024towards,
    title={Towards Inducing Document-Level Abilities in Standard Multilingual
  Neural Machine Translation Models},
    author={Varun Gumma and Pranjal A. Chitale and Kalika Bali},
    journal={arXiv preprint arXiv:2408.11382},
    year={2024},
    archivePrefix={arXiv},
    eprint={2408.11382},
    primaryClass={cs.CL}
}