Skip to main content
QUICK REVIEW

[Paper Review] Zero-shot Domain Adaptation for Neural Machine Translation with Retrieved Phrase-level Prompts

Zewei Sun, Qingnan Jiang|arXiv (Cornell University)|Sep 23, 2022
Natural Language Processing TechniquesComputer Science6 citations
TL;DR

This paper proposes RePP, a zero-shot domain adaptation method for neural machine translation that retrieves relevant bilingual phrase-level prompts from a pre-constructed database to improve translation quality without fine-tuning. The approach boosts translation performance by 6.2 BLEU points on average and improves lexical constraint accuracy by 11.5% in unseen domains, offering a fast, low-cost, and privacy-preserving alternative to traditional fine-tuning.

ABSTRACT

Domain adaptation is an important challenge for neural machine translation. However, the traditional fine-tuning solution requires multiple extra training and yields a high cost. In this paper, we propose a non-tuning paradigm, resolving domain adaptation with a prompt-based method. Specifically, we construct a bilingual phrase-level database and retrieve relevant pairs from it as a prompt for the input sentences. By utilizing Retrieved Phrase-level Prompts (RePP), we effectively boost the translation quality. Experiments show that our method improves domain-specific machine translation for 6.2 BLEU scores and improves translation constraints for 11.5% accuracy without additional training.

Motivation & Objective

  • To address the high cost and inefficiency of fine-tuning for domain adaptation in neural machine translation.
  • To develop a zero-shot method that improves translation quality in unseen domains without additional training.
  • To preserve data privacy by avoiding exposure of sensitive parallel corpora to the model.
  • To enable effective lexical constraint enforcement through prompt-based intervention.

Proposed method

  • Construct a bilingual phrase-level database containing source-target phrase pairs with contextual representations.
  • Retrieve domain-relevant phrase prompts from the database using semantic similarity based on contextual embeddings.
  • Augment input sentences with retrieved phrase prompts before translation to guide the model.
  • Use a prompt-aware co-training strategy to ensure the model generalizes across both prompt and non-prompt inputs.
  • Leverage IVFPQ vector quantization with FAISS for efficient similarity search during inference.
  • Formulate prompts as sequences of source-target phrase pairs separated by special tokens, enabling soft lexical constraints.

Experimental results

Research questions

  • RQ1Can phrase-level prompts retrieved from a pre-built bilingual database improve zero-shot domain adaptation in NMT without fine-tuning?
  • RQ2How effective is the retrieval of relevant bilingual phrases in enhancing translation quality across unseen domains?
  • RQ3To what extent can prompt-based methods enforce lexical constraints in translation without retraining?
  • RQ4How does the performance of the proposed method compare to fine-tuning in terms of BLEU and accuracy while maintaining zero-training cost?
  • RQ5Can the method preserve user data privacy by avoiding exposure of domain-specific parallel corpora?

Key findings

  • RePP improves average BLEU scores by 6.2 points in domain-specific translation across English→German and German→English directions without any additional training.
  • The method achieves a 11.5% absolute improvement in lexical constraint accuracy, with 93.67% and 95.41% accuracy on Wiktionary and IATE benchmarks respectively.
  • RePP outperforms the vanilla NMT model by 6.7 BLEU points in English→German and 5.6 BLEU points in German→English translation under zero-shot settings.
  • The performance of RePP is competitive with fully supervised fine-tuning, though still slightly behind in absolute BLEU scores.
  • The method enables effective, fast, and privacy-preserving adaptation by allowing users to share only a filtered phrase database, not the full parallel corpus.
  • Case studies confirm that prompt composition allows explicit control over translation outputs, demonstrating the method's interpretability and controllability.

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.