Train, Sort, Explain: Learning to Diagnose Translation Models

Robert Schwarzenberg, David Harbecke, Vivien Macketanz, Eleftherios Avramidis, Sebastian Möller
3/28/2019
cs.CLcs.LG
transformer-attention

Official code: DFKI-NLP/diamat (7 stars, Python, BSD-3-Clause, last commit 2024-08-02).

Abstract

Evaluating translation models is a trade-off between effort and detail. On the one end of the spectrum there are automatic count-based methods such as BLEU, on the other end linguistic evaluations by humans, which arguably are more informative but also require a disproportionately high effort.

Show full abstract

To narrow the spectrum, we propose a general approach on how to automatically expose systematic differences between human and machine translations to human experts. Inspired by adversarial settings, we train a neural text classifier to distinguish human from machine translations. A classifier that performs and generalizes well after training should recognize systematic differences between the two classes, which we uncover with neural explainability methods. Our proof-of-concept implementation, DiaMaT, is open source. Applied to a dataset translated by a state-of-the-art neural Transformer model, DiaMaT achieves a classification accuracy of 75% and exposes meaningful differences between humans and the Transformer, amidst the current discussion about human parity.

View on arXivView PDF

Code Implementations(1)

DFKI-NLP/diamatOfficial100%
BSD-3-Clause

Machine Translation Diagnostics Tool

73Python, HTMLFeb 7, 20192 years agoBSD-3-Clause
deep-learningmachine-learningmachine-translationnlptool

Similar Papers

Cite this paper

@article{schwarzenberg2019train,
  title  = {Train, Sort, Explain: Learning to Diagnose Translation Models},
  author = {Robert Schwarzenberg and David Harbecke and Vivien Macketanz and Eleftherios Avramidis and Sebastian Möller},
  year   = {2019},
  eprint = {1903.12017},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1903.12017}
}

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/1903.12017.svg)](https://codeofpaper.com/paper/1903.12017)

Discussion