Neural Machine Translation with Source Dependency Representation

Kehai Chen, Rui Wang, Masao Utiyama, Lemao Liu, Akihiro Tamura, Eiichiro Sumita, Tiejun Zhao

Abstract

Neural Machine Translation (NMT) models typically process sentences as linear sequences, often failing to capture long-distance syntactic dependencies. This paper proposes a Source Dependency Representation (SDR) framework that explicitly models the structural neighborhood of words using a Convolutional Neural Network (CNN). We further introduce a double-context decoder that attends to both sequential and structural representations. Experimental results on Chinese-to-English translation show a 1.64 BLEU point improvement over standard attentional NMT, with significant gains in translating long, complex sentences.

Introduction

Standard NMT architectures, while powerful due to attention mechanisms, often struggle with the structural complexity of natural language. Long-distance relationships, such as those between a subject and its distant verb, are frequently lost in a purely sequential representation. Previous attempts to incorporate syntax often relied on shallow label embeddings. This work argues for a deeper integration of source-side dependency structures to provide the model with a "structural map" of the sentence.

Methodology

The proposed approach introduces two key architectural components: the SDR Encoder and the Double-Context Decoder.

The SDR Encoder

For each word in the source sentence, a "dependency unit" is extracted, comprising its parent, siblings, and children in the dependency tree. To process these units, a CNN is employed as a feature extractor. The CNN condenses the structural neighborhood into a compact vector, known as the Source Dependency Representation (SDR). This allows the model to learn compositional features within the dependency structure itself, effectively smoothing sparse data.

CNN architecture for encoding dependency units into SDR vectors.

The Double-Context Decoder (SDRNMT-2)

The most advanced proposed model, SDRNMT-2, utilizes parallel encoders: one for standard sequential word embeddings and another for structural SDRs. The decoder employs a double-context mechanism, calculating separate attention scores for both representations. These scores are blended using a hyperparameter ($\lambda$), allowing the model to balance sequential flow with syntactic constraints during translation.

The complete SDRNMT-2 architecture featuring parallel encoders and a double-context decoder.

Experimental Setup

The method was evaluated on a Chinese-to-English translation task using 1.42 million sentence pairs from LDC corpora. Syntactic trees were generated using the Stanford dependency parser. The models were validated on NIST 2002 and tested on NIST 2003–2008 datasets using the BLEU metric.

Results and Discussion

The SDRNMT-2 model achieved an average of 34.04 BLEU, representing a 1.64-point improvement over the standard attentional NMT baseline. Notably, the model excelled at translating long sentences (over 40 words), where standard models typically degrade. This suggests that structural representations are crucial for maintaining translation quality in complex linguistic contexts. While these improvements come with a 25% increase in training time, the gain in translation accuracy is substantial.

Conclusion

By treating syntax as a local graph rather than a simple label, the SDR framework provides NMT models with a richer understanding of sentence structure. The double-context decoder effectively leverages this information, particularly for long-distance dependencies. Future work may involve exploring richer linguistic structures beyond dependency trees and reducing the reliance on external parsers.

Summary updated

BibTeX
@inproceedings{chen2017neural,
  author = {Kehai Chen and Rui Wang and Masao Utiyama and Lemao Liu and Akihiro Tamura and Eiichiro Sumita and Tiejun Zhao},
  title = {{Neural Machine Translation with Source Dependency Representation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2017},
  doi = {10.18653/v1/d17-1304},
}
Figure