arXiv(opens in a new tab)Computer ScienceOct 2016

Manuscript Offprint

arXiv:1610.07272

Bridging Neural Machine Translation and Bilingual Dictionaries

Jiajun Zhang, Chengqing Zong

Abstract

Neural Machine Translation (NMT) has become the new state-of-the-art in several language pairs. However, it remains a challenging problem how to integrate NMT with a bilingual dictionary which mainly contains words rarely or never seen in the bilingual training data. In this paper, we propose two methods to bridge NMT and the bilingual dictionaries. The core idea behind is to design novel models that transform the bilingual dictionaries into adequate sentence pairs, so that NMT can distil latent bilingual mappings from the ample and repetitive phenomena. One method leverages a mixed word/character model and the other attempts at synthesizing parallel sentences guaranteeing massive occurrence of the translation lexicon. Extensive experiments demonstrate that the proposed methods can remarkably improve the translation quality, and most of the rare words in the test sentences can obtain correct translations if they are covered by the dictionary.

1 Introduction

Figure 1: The framework of our proposed methods.

Due to its superior ability in modelling the end-to-end translation process, neural machine translation (NMT), recently proposed by [Kalchbrenner and Blunsom (2013, Cho et al. (2014, Sutskever et al. (2014], has become the novel paradigm and achieved the new state-of-the-art translation performance for several language pairs, such as English-to-French, English-to-German and Chinese-to-English [Sutskever et al. (2014, Bahdanau et al. (2014, Luong et al. (2015b, Sennrich et al. (2015b, Wu et al. (2016].

Typically, NMT adopts the encoder-decoder architecture which consists of two recurrent neural networks. The encoder network models the semantics of the source sentence and transforms the source sentence into the context vector representation, from which the decoder network generates the target translation word by word.

One important feature of NMT is that each word in the vocabulary is mapped into a low-dimensional real-valued vector (word embedding). The use of continuous representations enables NMT to learn latent bilingual mappings for accurate translation and explore the statistical similarity between words (e.g. desk and table) as well. As a disadvantage of the statistical models, NMT can learn good word embeddings and accurate bilingual mappings only when the words occur frequently in the parallel sentence pairs. However, low-frequency words are ubiquitous, especially when the training data is not enough (e.g. low-resource language pairs). Fortunately, in many language pairs and domains, we have handmade bilingual dictionaries which mainly contain words rarely or never seen in the training corpus. Therefore, it remains a big challenge how to bridge NMT and the bilingual dictionaries.

Recently, ?) attempt at incorporating discrete translation lexicons into NMT. The main idea of their method is leveraging the discrete translation lexicons to positively influence the probability distribution of the output words in the NMT softmax layer. However, their approach only addresses the translation lexicons which are in the restricted vocabulary of NMT. The out-of-vocabulary (OOV) words are out of their consideration.

In this paper, we aim at making full use of all the bilingual dictionaries, especially the ones covering the rare or OOV words. Our basic idea is to transform the low-frequency word pair in bilingual dictionaries into adequate sequence pairs which guarantee the frequent occurrence of the word pair, so that NMT can learn translation mappings between the source word and the target word.

To achieve this goal, we propose two methods, as shown in Fig. 1. In the test sentence, the Chinese word liˇhuaˉl\check{i}hu\bar{a} appears only once in our training data and the baseline NMT cannot correctly translate this word. Fortunately, our bilingual dictionary contains this translation lexicon. Our first method extends the mixed word/character model proposed by ?) to re-label the rare words in both of the dictionary and training data with character sequences in which characters are now frequent and the character translation mappings can be learnt by NMT. Instead of backing off words into characters, our second method is well designed to synthesize adequate pseudo sentence pairs containing the translation lexicon, allowing NMT to learn the word translation mappings.

We make the following contributions in this paper:

  • We propose a low-frequency to high-frequency framework to bridge NMT and the bilingual dictionaries.
  • We propose and investigate two methods to utilize the bilingual dictionaries. One extends the mixed word/character model and the other designs a pseudo sentence pair synthesis model.
  • The extensive experiments on Chinese-to-English translation show that our proposed methods significantly outperform the strong attention-based NMT. We further find that most of rare words can be correctly translated, as long as they are covered by the bilingual dictionary.

References (16)