On Instruction-Finetuning Neural Machine Translation Models

Vikas Raunak, Roman Grundkiewicz, Marcin Junczys-Dowmunt
10/7/2024
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

In this work, we introduce instruction finetuning for Neural Machine Translation (NMT) models, which distills instruction following capabilities from Large Language Models (LLMs) into orders-of-magnitude smaller NMT models. Our instruction-finetuning recipe for NMT models enables customization of translations for a limited but disparate set of translation-specific tasks. We show that NMT models are capable of following multiple instructions simultaneously and demonstrate capabilities of zero-shot composition of instructions. We also show that through instruction finetuning, traditionally disparate tasks such as formality-controlled machine translation, multi-domain adaptation as well as multi-modal translations can be tackled jointly by a single instruction finetuned NMT model, at a performance level comparable to LLMs such as GPT-3.5-Turbo. To the best of our knowledge, our work is among the first to demonstrate the instruction-following capabilities of traditional NMT models, which allows for faster, cheaper and more efficient serving of customized translations.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{raunak2024instructionfinetuning,
  title  = {On Instruction-Finetuning Neural Machine Translation Models},
  author = {Vikas Raunak and Roman Grundkiewicz and Marcin Junczys-Dowmunt},
  year   = {2024},
  eprint = {2410.05553},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.05553v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.05553.svg)](https://codeofpaper.com/paper/2410.05553)

Discussion