Skip to main content
QUICK REVIEW

[Paper Review] Lattice-Based Recurrent Neural Network Encoders for Neural Machine Translation

Jinsong Su, Zhixing Tan|arXiv (Cornell University)|Sep 25, 2016
Natural Language Processing TechniquesComputer Science57 citations
TL;DR

This paper proposes lattice-based RNN encoders for neural machine translation, generalizing standard RNNs to process word lattices that encode multiple tokenizations of source sentences. By leveraging multiple potential segmentations simultaneously, the method reduces error propagation from 1-best tokenization and achieves significant improvements in Chinese-English translation over standard RNN encoders.

ABSTRACT

Neural machine translation (NMT) heavily relies on word-level modelling to learn semantic representations of input sentences. However, for languages without natural word delimiters (e.g., Chinese) where input sentences have to be tokenized first, conventional NMT is confronted with two issues: 1) it is difficult to find an optimal tokenization granularity for source sentence modelling, and 2) errors in 1-best tokenizations may propagate to the encoder of NMT. To handle these issues, we propose word-lattice based Recurrent Neural Network (RNN) encoders for NMT, which generalize the standard RNN to word lattice topology. The proposed encoders take as input a word lattice that compactly encodes multiple tokenizations, and learn to generate new hidden states from arbitrarily many inputs and hidden states in preceding time steps. As such, the word-lattice based encoders not only alleviate the negative impact of tokenization errors but also are more expressive and flexible to embed input sentences. Experiment results on Chinese-English translation demonstrate the superiorities of the proposed encoders over the conventional encoder.

Motivation & Objective

  • Address the challenge of suboptimal or error-prone word segmentation in low-resource, non-space-delimited languages like Chinese.
  • Reduce error propagation from 1-best tokenization in standard NMT encoders by incorporating multiple candidate segmentations.
  • Enhance expressiveness and flexibility of RNN encoders through word lattice topology.
  • Demonstrate the effectiveness of lattice-based RNNs in improving neural machine translation performance on Chinese-English translation.

Proposed method

  • Generalize standard RNNs to operate on word lattices, where each node represents a word candidate and edges represent transitions between candidates.
  • Propose two variants: a shallow lattice GRU that combines inputs and hidden states from multiple paths without architectural changes, and a deep lattice GRU that learns tokenization-specific gate, input, and hidden state updates.
  • Use a weighted sum of source annotations from all lattice paths to compute context vectors in the attention mechanism.
  • Train the encoder end-to-end with standard NMT objectives, allowing the model to dynamically attend to relevant lattice paths during encoding.
  • Construct word lattices using multiple segmentation systems (e.g., CTB, PKU, MSR) to generate diverse, high-coverage tokenizations.
  • Integrate lattice inputs into the GRU update equations by aggregating hidden states and inputs across all lattice paths at each time step.

Experimental results

Research questions

  • RQ1Can word lattices improve source sentence representation learning in NMT for languages without natural word boundaries?
  • RQ2Does processing multiple tokenizations simultaneously reduce the negative impact of 1-best tokenization errors in NMT?
  • RQ3How do lattice-based RNN encoders compare to standard RNN encoders in terms of translation quality and robustness?
  • RQ4Can lattice-based encoders better capture semantic representations by exploiting diverse segmentation hypotheses?

Key findings

  • The proposed lattice-based RNN encoders significantly outperform standard RNN encoders on Chinese-English translation, demonstrating consistent improvements in BLEU score.
  • The lattice corpus achieved the highest percentage of character spans covered by in-vocabulary words, outperforming individual tokenization corpora like CTB, PKU, and MSR.
  • The use of multiple segmentation hypotheses reduced the number of UNK tokens, improving coverage and reducing out-of-vocabulary issues.
  • The deep lattice GRU variant showed stronger performance than the shallow variant, indicating that learning tokenization-specific representations enhances modeling capacity.
  • The results confirm that word boundary information is crucial for accurate sentence representation in NMT, especially for languages like Chinese.
  • This work is the first to integrate word lattices into RNN encoders for NMT, establishing a novel paradigm for robust sequence modeling.

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.