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

A Transformer-Based Multi-Source Automatic Post-Editing System

Santanu Pal, Nico Herbig, Antonio Krüger, Josef van GenabithWMT (shared Task) 2018

TL;DR

This paper introduces a novel Transformer-based system for Automatic Post-Editing (APE) that leverages both the source text and the machine-translated text to improve translation quality. By employing a multi-source architecture and ensembling different models, they achieve state-of-the-art results on the WMT 2018 APE task for both PBSMT and NMT.

What Problem Does This Paper Address?

Machine translation (MT) systems, while increasingly powerful, still produce translations that often require human correction to reach publishable quality. Automatic Post-Editing (APE) aims to automate this correction process, reducing the workload for human translators and increasing overall translation efficiency. Traditional APE systems often rely solely on the machine-translated output (MT) as input. However, this ignores valuable context from the original source text (SRC), which can be crucial for understanding and correcting errors. This paper addresses the challenge of effectively integrating SRC information into an APE system to improve its performance, particularly within the context of the Transformer architecture, which has shown great success in MT.

Methods

The core of the proposed system is an extension of the Transformer architecture. They explore three main approaches:

  • Single-Source (SS) APE (mt → pe): This is a standard Transformer encoder-decoder model where the encoder takes only the machine-translated text (mt) as input and the decoder generates the post-edited text (pe).
  • Multi-Source (MS) APE ({src, mt} → pe): This is the novel contribution. It uses two separate self-attention-based encoders: one for the source text (src) and one for the machine translation (mt). The outputs of these encoders are then concatenated and fed into a joint encoder. This joint encoder uses self-attention to capture dependencies between the SRC and MT inputs, creating a richer representation. This combined representation is then passed to a decoder to generate the post-edited text (pe).
  • Ensemble: To maximize performance, the authors create an ensemble of the SS and MS models. For the PBSMT task, they ensemble an average SS and MS model. For the NMT task, they ensemble two average SS and MS models, along with fine-tuned versions of these models. The ensemble technique involves averaging the outputs of the best checkpoints and selecting the most frequent output word for each position.

Datasets

The experiments were conducted using data from the WMT 2018 APE Shared Task.

  • PBSMT Task: 23K English-German APE data samples (11K from WMT 2016 and 12K from WMT 2017).
  • NMT Task: 13,442 English-German APE data samples.

Additionally, they utilized:

  • Artificial Training Data: 4.5M sentences (4M weakly similar, 500K highly similar to WMT 2016 data).
  • Synthetic 'eSCAPE' APE Corpus: Over 7M triples for both NMT and PBSMT.

The eSCAPE corpus required preprocessing, including cleaning and tokenization, and subword units (BPE) were used to handle out-of-vocabulary words.

Key Insights and Ideas

  • Leveraging Source Context is Crucial: The multi-source approach, which explicitly models dependencies between the source and MT text, consistently outperforms the single-source approach. This highlights that ignoring the source text is a missed opportunity for APE.
  • Transformer's Suitability for APE: The Transformer architecture, with its self-attention mechanism, is well-suited for APE. It can effectively capture long-range dependencies within and between the source and MT texts, which is essential for error correction.
  • Ensembling for Robustness: Combining multiple models (SS and MS, and their fine-tuned variants) through ensembling leads to the best overall performance, demonstrating the benefit of diverse model perspectives.
  • Fine-tuning Offers Marginal Gains: While fine-tuning on specific subsets of data provided some improvement, the gains were generally small, suggesting that the core architecture and initial training on larger datasets are more impactful.

Key Results

The ensemble model achieved the best results on both tasks:

  • PBSMT Task: The ensemble model achieved a BLEU score of 66.16. This was statistically significant over the baseline MT output and also outperformed the SS and MS models individually.
  • NMT Task: The ensemble model achieved a BLEU score of 74.22. While the baseline NMT system performed slightly better (76.66), the ensemble still showed significant improvements over single-source and multi-source models. The authors note that the NMT baseline was only 0.51 BLEU points better than their best APE model, suggesting APE is closing the gap.

Limitations and Future Work

  • Limited Data for NMT: The authors acknowledge that the NMT APE dataset was relatively small (13K samples), which might explain why fine-tuning didn't yield larger improvements and why their models didn't consistently surpass the baseline NMT output.
  • Computational Resources: They were unable to test larger Transformer configurations ('big' or 'base') due to computational limitations.
  • Future Directions:
    • Investigating different hyper-parameter setups.
  • Exploring re-ranking and ensembling of more diverse neural APE models.
  • Incorporating word-level quality estimation features of MT into the encoding layer.
  • Analyzing the impact of adapting learning rates to dataset sizes.
  • Further human evaluation to better understand model behavior and identify reasons for not always surpassing the baseline.

Summary updated

BibTeX
@inproceedings{pal2018transformer,
  author = {Santanu Pal and Nico Herbig and Antonio Krüger and Josef van Genabith},
  title = {{A Transformer-Based Multi-Source Automatic Post-Editing System}},
  booktitle = {WMT (shared Task)},
  year = {2018},
  url = {https://openreview.net/forum?id=LZeBakrWLvb},
}
Figure