Introduction
The transition from traditional Statistical Machine Translation (SMT) to neural-based approaches marked a significant shift in how source language context is handled. Historically, models like the Neural Network Joint Model (NNJM) relied on fixed-length windows of source words to provide context for target word prediction. However, these rigid heuristics often fail to capture relevant information that falls outside the window or include noise within it. This paper, presented at ACL 2015, introduces a more flexible framework using Convolutional Neural Networks (CNNs) to dynamically summarize source sentences.
Proposed Architectures
The authors propose two distinct CNN-based encoders designed to provide a "guided" representation of the source sentence:
- tagCNN: This model leverages word alignment data. It appends a "tag bit" to source word embeddings, explicitly signaling to the CNN which words are aligned with the current target word being generated.
- inCNN: This architecture adopts a more dynamic, attention-like mechanism. Instead of relying on pre-calculated alignments, it injects information from the previously generated target words directly into the CNN's convolution windows, allowing the model to "retrieve" relevant source segments based on the current decoding state.
Technical Methodology
The core of the encoder is a 6-layer CNN. Unlike standard CNNs that use max-pooling, which the authors argue can destroy the compositional meaning of phrases, this model employs a custom gating mechanism:
- Local Gating Layer: Computes a weighted sum of feature maps to preserve phrase-level semantics.
- Global Gating Layer: Fuses various segments into a unified sentence representation.
For inCNN, the convolution operation is specifically modified to include a history vector $h$ derived from the target side, allowing the source representation to be conditioned on the translation progress.
Experimental Evaluation
The models were tested on NIST Chinese-English translation tasks using a dataset of approximately 221,000 sentence pairs. The baseline was a dependency-to-string (Dep2Str) SMT system augmented with the standard BBN-JM implementation of NNJM.
Key Results
- Performance Gains: The combined
tagCNN+inCNNmodel achieved a +2.0 BLEU point improvement over the baseline SMT system and outperformed the state-of-the-art NNJM by +1.08 BLEU points. - Guidance Efficacy: While a generic CNN provides some benefit, the "guiding" signals in
tagCNNandinCNNwere crucial for peak performance. - Dynamic vs. Static:
inCNNgenerally outperformedtagCNN, suggesting that learning to focus based on the decoding state is more robust than relying on potentially erroneous static word alignments (e.g., from GIZA++).
Conclusion
By replacing fixed-window heuristics with dynamic, gated convolutional encoders, this work demonstrated a more effective way to capture source language context for machine translation. The success of inCNN in particular highlighted the value of target-side guidance, foreshadowing the widespread adoption of attention mechanisms in subsequent neural machine translation architectures.
Summary updated