NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Contextual Encoding for Translation Quality Estimation

Junjie Hu, Wei-Cheng Chang, Yuexin Wu, Graham Neubig · DOI

Abstract

This paper introduces CEQE (Contextual Encoding for Translation Quality Estimation), a neural architecture designed to predict the quality of machine-translated text at the word level. By combining 1D convolutions for local context, stacked recurrent neural networks (RNNs) for global context, and hand-crafted linguistic features, CEQE addresses the limitations of previous models in capturing complex dependencies. The model achieved top-tier results at the WMT 2018 shared task, ranking first in three out of six language tracks.

Introduction

In Machine Translation (MT), Quality Estimation (QE) involves evaluating a translation without a human-written reference. Word-level QE is particularly valuable for human post-editors, as highlighting "BAD" words can significantly reduce labor costs. However, capturing sufficient context is challenging. Previous neural approaches often relied on simple concatenation of immediate neighbors, failing to capture complex local patterns or long-distance dependencies. Additionally, the small size of QE datasets makes it difficult for pure neural models to learn robustly.

Methodology

The CEQE architecture consists of three primary components integrated into a hybrid framework:

  1. Embedding Layer: Represents each target word and its aligned source word(s) using embeddings, including Part-of-Speech (POS) tags. Embedding parameters are shared between source and target languages to help recognize identical tokens (e.g., proper nouns).
  2. 1D Convolutional Layer: Uses multiple window sizes (1, 3, 5, and 7) to automatically learn local patterns, acting as a continuous-space n-gram feature extractor.
  3. Stacked RNNs: A stack of Bi-directional Gated Recurrent Units (Bi-GRUs) processes the CNN output to capture global sentence-level dependencies.

Finally, the model incorporates 31 hand-crafted baseline features (e.g., stopword checks, backoff behavior) before a softmax layer performs the final "OK/BAD" classification.

The CEQE architecture combines embeddings, 1D convolutions, and stacked Bi-GRUs with traditional features.

Experimental Setup

The model was evaluated on the WMT 2018 Quality Estimation Shared Task datasets, covering language pairs such as English-German (SMT/NMT), German-English, English-Latvian (SMT/NMT), and English-Czech. Due to the class imbalance (most words are "OK"), performance is measured using the F1-Multi metric, which is the product of F1-scores for both "OK" and "BAD" classes.

Results

CEQE demonstrated state-of-the-art performance across multiple tracks. It ranked 1st for English-Czech and both English-Latvian tracks, and 2nd for English-German (NMT) and German-English.

Main results of CEQE on WMT 2018 datasets, showing F1 scores and competitive rankings.

Ablation studies revealed that removing the CNN layer or POS tags consistently degraded performance, highlighting the importance of both local n-gram patterns and syntactic information. Furthermore, the inclusion of traditional hand-crafted features provided necessary robustness given the limited labeled data.

Discussion and Conclusion

The success of CEQE underscores the value of hybridizing neural architectures with traditional linguistic features for tasks with limited data. While 1D convolutions effectively capture local context, the Bi-GRU layers ensure global dependencies are not lost. Future work may explore more advanced attention mechanisms, such as Transformers, to further enhance global context modeling, and address the dependency on word alignment quality.

Summary updated

BibTeX
@inproceedings{hu2018contextual,
  author = {Junjie Hu and Wei-Cheng Chang and Yuexin Wu and Graham Neubig},
  title = {{Contextual Encoding for Translation Quality Estimation}},
  booktitle = {WMT (shared Task)},
  year = {2018},
  doi = {10.18653/v1/w18-6462},
}
Figure