A Shared Attention Mechanism for Interpretation of Neural Automatic Post-Editing Systems

Inigo Jauregi Unanue, Ehsan Zare Borzeshi, Massimo Piccardi
7/1/2018
cs.CL
transformer-attention

Official code: inigo-jauregi/Shared_Attention_for_APE (1 star, Python, last commit 2019-02-08).

Abstract

Automatic post-editing (APE) systems aim to correct the systematic errors made by machine translators. In this paper, we propose a neural APE system that encodes the source (src) and machine translated (mt) sentences with two separate encoders, but leverages a shared attention mechanism to better understand how the two inputs contribute to the generation of the post-edited (pe) sentences.

Show full abstract

Our empirical observations have showed that when the mt is incorrect, the attention shifts weight toward tokens in the src sentence to properly edit the incorrect translation. The model has been trained and evaluated on the official data from the WMT16 and WMT17 APE IT domain English-German shared tasks. Additionally, we have used the extra 500K artificial data provided by the shared task. Our system has been able to reproduce the accuracies of systems trained with the same data, while at the same time providing better interpretability.

View on arXivView PDF

Code Implementations(1)

Implementation of the paper: A shared attention mechanism for interpretation of neural automatic post-editing systems

11Python, PerlMay 21, 20187 years agoNOASSERTION

Similar Papers

Cite this paper

@article{unanue2018shared,
  title  = {A Shared Attention Mechanism for Interpretation of Neural Automatic Post-Editing Systems},
  author = {Inigo Jauregi Unanue and Ehsan Zare Borzeshi and Massimo Piccardi},
  year   = {2018},
  eprint = {1807.00248},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1807.00248}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1807.00248.svg)](https://codeofpaper.com/paper/1807.00248)

Discussion