Skip to main content
QUICK REVIEW

[Paper Review] Toward a full-scale neural machine translation in production: the Booking.com use case

Pavel Levin, Nishikant Dhanuka|arXiv (Cornell University)|Sep 18, 2017
Natural Language Processing TechniquesComputer Science15 references8 citations
TL;DR

This paper presents Booking.com's production-scale neural machine translation (NMT) system, optimized for the travel domain using large-scale parallel corpora and domain-specific tuning. It demonstrates that combining Adam with learning rate decay, preprocessing named entities, and using a business-sensitivity framework for error detection outperforms BLEU alone in quality evaluation, with human evaluation revealing that larger training corpora (10M sentences) yield better translation quality despite BLEU scores not reflecting this trend.

ABSTRACT

While some remarkable progress has been made in neural machine translation (NMT) research, there have not been many reports on its development and evaluation in practice. This paper tries to fill this gap by presenting some of our findings from building an in-house travel domain NMT system in a large scale E-commerce setting. The three major topics that we cover are optimization and training (including different optimization strategies and corpus sizes), handling real-world content and evaluating results.

Motivation & Objective

  • To develop a scalable, high-quality NMT system tailored for the travel domain in a large e-commerce setting.
  • To evaluate optimization strategies (SGD, Adam, Adagrad, Adadelta) in single- and multi-GPU environments for faster convergence and better performance.
  • To improve translation quality by preprocessing named entities and applying BPE tokenization for rare words.
  • To establish a robust evaluation pipeline combining automatic (BLEU) and human evaluation, including a business-sensitivity framework to detect critical errors.
  • To demonstrate that BLEU scores alone are insufficient for tracking NMT system improvement, especially in domain-specific contexts.

Proposed method

  • Trained an encoder-decoder NMT model using OpenNMT with bidirectional LSTM encoders and decoders, residual connections, and dropout (0.3).
  • Applied input-feeding attention and case features for European languages to improve alignment and fluency.
  • Used byte-pair encoding (BPE) to handle rare and OOV words, improving generalization on low-resource and domain-specific terms.
  • Preprocessed named entities (e.g., hotel amenities, locations) using word2vec-based seed expansion and keyword matching to improve translation accuracy.
  • Implemented a business-sensitivity framework (BSF) using two linear model classifiers (source and target) to detect mismatches in critical aspects (e.g., parking, pets) between source and translated text.
  • Combined automatic BLEU scoring with human evaluation of adequacy and fluency, and used hold-out sets to validate BSF performance.

Experimental results

Research questions

  • RQ1How do different optimization algorithms (SGD, Adam, Adagrad, Adadelta) compare in convergence speed and translation quality on a single GPU for a travel domain NMT system?
  • RQ2To what extent does increasing the size of the training parallel corpus (from 1M to 10M sentences) improve translation quality, as measured by human evaluation and BLEU?
  • RQ3How effective is BPE tokenization and named entity preprocessing in improving translation quality for rare and domain-specific terms?
  • RQ4How well do BLEU scores correlate with human evaluation of fluency and adequacy in a production NMT system?
  • RQ5Can a business-sensitivity framework effectively detect critical translation errors (e.g., incorrect amenity information) that are missed by standard metrics?

Key findings

  • SGD with learning rate decay outperformed Adam and Adadelta in both perplexity and BLEU after epoch 15, despite Adam’s faster initial convergence.
  • Adagrad performed poorly, achieving a BLEU score of only 3.14 after 20 epochs, while SGD reached 46.58 BLEU.
  • The business-sensitivity framework achieved 97% F1 score for detecting 'parking availability' errors in English-German translations, with high precision and recall across all categories.
  • Human evaluation showed that the 10M-sentence training corpus produced the highest adequacy and fluency scores, even though BLEU scores did not reflect this improvement.
  • There was a weak correlation between BLEU scores and human evaluation metrics, indicating that BLEU alone is a poor proxy for real-world translation quality in domain-specific settings.
  • Asynchronous SGD parallelization significantly reduced training time, enabling faster iteration cycles in production-scale NMT development.

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.