Lune

ICSE2020Top-tier venue

Automatic testing and improvement of machine translation

Zeyu Sun, Jie M. Zhang, Mark Harman, Mike Papadakis, Lu Zhang

Abstract

This paper presents TransRepair, a fully automatic approach for testing and repairing the consistency of machine translation systems. TransRepair combines mutation with metamorphic testing to detect inconsistency bugs (without access to human oracles). It then adopts probability-reference or cross-reference to post-process the translations, in a grey-box or black-box manner, to repair the inconsistencies. Our evaluation on two state-of-the-art translators, Google Translate and Transformer, indicates that TransRepair has a high precision (99%) on generating input pairs with consistent translations. With these tests, using automatic consistency metrics and manual assessment, we find that Google Translate and Transformer have approximately 36% and 40% inconsistency bugs. Black-box repair fixes 28% and 19% bugs on average for Google Translate and Transformer. Grey-box repair fixes 30% bugs on average for Transformer. Manual inspection indicates that the translations repaired by our approach improve consistency in 87% of cases (degrading it in 2%), and that our repairs have better translation acceptability in 27% of the cases (worse in 8%).

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

32 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Fairea: a model behaviour mutation approach to benchmarking bias mitigation methods cites "Ignorance and Prejudice" in Software Fairness
  • MAAT: a novel ensemble approach to addressing fairness and performance bugs for machine learning software cites Fairea: a model behaviour mutation approach to benchmarking bias mitigation methods
  • MAAT: a novel ensemble approach to addressing fairness and performance bugs for machine learning software cites "Ignorance and Prejudice" in Software Fairness
  • AUTOTRAINER: An Automatic DNN Training Problem Detection and Repair System cites Correlations between deep neural network model coverage criteria and model quality
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers32

  1. Fairea: a model behaviour mutation approach to benchmarking bias mitigation methodsMax Hort, Jie M. Zhang, Federica Sarro, Mark HarmanFSE 2021 · 75 citations
  2. Correlations between deep neural network model coverage criteria and model qualityShenao Yan, Guanhong Tao, Xuwei Liu, Juan Zhai et al.FSE 2020 · 75 citations
  3. "Ignorance and Prejudice" in Software FairnessJie M. Zhang, Mark HarmanICSE 2021 · 69 citations
  4. MAAT: a novel ensemble approach to addressing fairness and performance bugs for machine learning softwareZhenpeng Chen, Jie M. Zhang, Federica Sarro, Mark HarmanFSE 2022 · 65 citations
  5. AUTOTRAINER: An Automatic DNN Training Problem Detection and Repair SystemXiaoyu Zhang, Juan Zhai, Shiqing Ma, Chao ShenICSE 2021 · 62 citations

Related papers

  1. Lexical Translation Inconsistency-Aware Document-Level Translation RepairZhen Zhang, Junhui Li, Shimin Tao, Hao YangACL Findings 2023 · 2 citations
  2. Improving Machine Translation Systems via Isotopic ReplacementZeyu Sun, Jie M. Zhang, Yingfei Xiong, Mark Harman et al.ICSE 2022 · 42 citations
  3. Structure-invariant testing for machine translationPinjia He, Clara Meister, Zhendong SuICSE 2020 · 84 citations
  4. Natural Test Generation for Precise Testing of Question Answering SoftwareQingchao Shen, Junjie Chen, Jie M. Zhang, Haoyu Wang et al.ASE 2022 · 27 citations
  5. Fix-Filter-Fix: Intuitively Connect Any Models for Effective Bug FixingHaiwen Hong, Jingfeng Zhang, Yin Zhang, Yao Wan et al.EMNLP 2021 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines