Skip to main content
QUICK REVIEW

[Paper Review] A Paradigm Shift in Machine Translation: Boosting Translation Performance of Large Language Models

Haoran Xu, Young Jin Kim|arXiv (Cornell University)|Sep 20, 2023
Natural Language Processing TechniquesComputer Science27 citations
TL;DR

The paper introduces ALMA, a two-stage fine-tuning recipe for decoder-only LLMs that dramatically improves translation without heavy reliance on parallel data, achieving average gains of over 12 BLEU and 12 COMET across 10 directions, surpassing prior work and competitive with NLLB-54B and GPT-3.5-D.

ABSTRACT

Generative Large Language Models (LLMs) have achieved remarkable advancements in various NLP tasks. However, these advances have not been reflected in the translation task, especially those with moderate model sizes (i.e., 7B or 13B parameters), which still lag behind conventional supervised encoder-decoder translation models. Previous studies have attempted to improve the translation capabilities of these moderate LLMs, but their gains have been limited. In this study, we propose a novel fine-tuning approach for LLMs that is specifically designed for the translation task, eliminating the need for the abundant parallel data that traditional translation models usually depend on. Our approach consists of two fine-tuning stages: initial fine-tuning on monolingual data followed by subsequent fine-tuning on a small set of high-quality parallel data. We introduce the LLM developed through this strategy as Advanced Language Model-based trAnslator (ALMA). Based on LLaMA-2 as our underlying model, our results show that the model can achieve an average improvement of more than 12 BLEU and 12 COMET over its zero-shot performance across 10 translation directions from the WMT'21 (2 directions) and WMT'22 (8 directions) test datasets. The performance is significantly better than all prior work and even superior to the NLLB-54B model and GPT-3.5-text-davinci-003, with only 7B or 13B parameters. This method establishes the foundation for a novel training paradigm in machine translation.

Motivation & Objective

  • Demonstrate that decoder-only LLMs can achieve strong translation without large parallel datasets.
  • Develop a two-stage fine-tuning recipe combining monolingual non-English data and high-quality parallel data.
  • Show that monolingual data and data quality are crucial to translation performance.
  • Provide a practical, compute-efficient training protocol that outperforms prior LLM-based translation approaches.

Proposed method

  • Use LLaMA-2 as the backbone model and evaluate zero-shot translation across 5 language pairs in both directions.
  • Adopt a two-stage fine-tuning process: (i) monolingual data fine-tuning in non-English languages (plus English to prevent forgetting), (ii) high-quality parallel data fine-tuning.
  • Train with a standard causal language modeling loss using a fixed translation prompt, without computing loss for the prompt or source sentence.
  • Explore full-weight fine-tuning and Low-Rank Adaptation (LoRA) for the second stage to assess data efficiency.
  • Show that only ~1B monolingual tokens are needed for strong performance, with about 18 hours of training on 16 MI200 GPUs for 7B models.
  • Evaluate against SoTA models (NLLB-54B, GPT-3.5-D/T, GPT-4) and prior studies.

Experimental results

Research questions

  • RQ1Can decoder-only LLMs achieve competitive translation performance with limited parallel data?
  • RQ2Does a two-stage fine-tuning recipe leveraging monolingual data and high-quality parallel data outperform existing LLM-based translation approaches?
  • RQ3How do monolingual data volume and data quality affect translation performance in ALMA?
  • RQ4What is the computational cost and practicality of the ALMA training recipe?

Key findings

  • ALMA-7B and ALMA-13B significantly outperform prior similar studies and are competitive with SoTA models.
  • ALMA-13B-LoRA and ALMA-7B variants achieve strong results across 10 directions, surpassing NLLB-54B and GPT-3.5-D on average.
  • Zero-shot performance of LLaMA-2 improves dramatically with the ALMA recipe, e.g., ALMA-7B yields +16.12 BLEU and +17.61 COMET on average for en xx directions.
  • A small amount of high-quality parallel data (58K examples across languages) combined with monolingual data yields substantial gains, while excessive parallel data can dilute pre-existing knowledge.
  • Training with monolingual data plus high-quality parallel data is computationally efficient (about 18 hours for 1B monolingual tokens on 16 MI200 GPUs).
  • COMET is a crucial evaluation metric to capture translation quality beyond lexical overlap (BLEU can be misleading when data is domain-matched).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.