Skip to main content
QUICK REVIEW

[Paper Review] Adapting Large Language Models for Document-Level Machine Translation

Minghao Wu, Thuy-Trang Vu|arXiv (Cornell University)|Jan 12, 2024
Natural Language Processing TechniquesComputer Science7 citations
TL;DR

The paper investigates adapting moderately-sized LLMs for document-level MT (DocMT) through monolingual and parallel-document fine-tuning, exploring PEFT vs full fine-tuning, prompts, and model backbones across multiple language pairs, and analyzes off-target translations and discourse phenomena.

ABSTRACT

Large language models (LLMs) have significantly advanced various natural language processing (NLP) tasks. Recent research indicates that moderately-sized LLMs often outperform larger ones after task-specific fine-tuning. This study focuses on adapting LLMs for document-level machine translation (DocMT) for specific language pairs. We first investigate the impact of prompt strategies on translation performance and then conduct extensive experiments using two fine-tuning methods, three LLM backbones, and 18 translation tasks across nine language pairs. Our results show that specialized models can sometimes surpass GPT-4 in translation performance but still face issues like off-target translation due to error propagation in decoding. We provide an in-depth analysis of these LLMs tailored for DocMT, examining translation errors, discourse phenomena, strategies for training and inference, the data efficiency of parallel documents, recent test set evaluations, and zero-shot crosslingual transfer. Our findings highlight the strengths and limitations of LLM-based DocMT models and provide a foundation for future research.

Motivation & Objective

  • Assess how prompt strategies affect DocMT performance.
  • Evaluate two fine-tuning paradigms (PEFT and FFT) on multiple LLM backbones for DocMT.
  • Compare LLM-based DocMT with state-of-the-art supervised MT and GPT-4 baselines.
  • Analyze translation errors, discourse phenomena, and training strategies to understand strengths and limitations of LLM-based DocMT.
  • Examine scaling laws for parallel document fine-tuning and zero-shot cross-lingual transfer.

Proposed method

  • Fine-tune moderately-sized LLMs (7B) using two-stage, and in some cases three-stage, training with monolingual then parallel data.
  • Compare parameter-efficient fine-tuning (LoRA) and full fine-tuning across three backbones: Llama2-7B, Bloom-7B, and Vicuna-7B.
  • Use 18 translation tasks across nine language pairs based on IWSLT2017 parallel document data.
  • Investigate prompting variations (four prompt types) to assess context and instruction effects during fine-tuning and inference.
  • Evaluate with sBLEU, dBLEU, and COMET, and analyze off-target translation and discourse phenomena.
  • Examine generalization to WMT2023 test sets and zero-shot cross-lingual transfer.

Experimental results

Research questions

  • RQ1How do different prompting strategies influence fine-tuning and document-level translation performance?
  • RQ2How do PEFT (LoRA) and full fine-tuning compare in terms of data efficiency, performance, and overfitting for DocMT?
  • RQ3Do moderately-sized LLMs with task-specific DocMT fine-tuning outperform GPT-4 on certain language pairs and tasks?
  • RQ4What are the main error sources in LLM-based DocMT (e.g., off-target translations, discourse errors) and how do they compare to conventional DocMT?
  • RQ5How do scaling and training strategies affect performance and generalization, including zero-shot cross-lingual transfer?

Key findings

  • Moderately-sized LLMs with DocMT fine-tuning can outperform some GPT-4-turbo tasks on certain language pairs, but suffer from off-target translation in others.
  • PEFT (LoRA) often outperforms full fine-tuning, and FFT achieves data efficiency around 1% of data, while LoRA requires about 10% for comparable results.
  • In English-to-other-languages, conventional DocMT models can outperform LLM-based DocMT in standard metrics, but for other-to-English directions, LLM-based DocMT can match or beat conventional DocMT on sBLEU and dBLEU, with COMET favoring traditional DocMT.
  • LoRA models generally show better transferability and less overfitting than FFT, though some cases see overfitting with FFT.
  • Off-target translation rates can be very high in some failing tasks (up to 98.3%), with Bloom-based multilingual backbones sometimes reducing this risk (e.g., B-7B-LoRA).
  • Three-stage training is not consistently necessary for strong languages; scaling laws show that small data subsets can reach near-peak performance under certain setups.
  • LLMs pretrained with multilingual bases and non-instruction-tuned backbones can yield better zero-shot cross-lingual transfer than instruction-tuned variants in many cases.

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.