Lune

ICSE2022顶会

Improving Machine Translation Systems via Isotopic Replacement

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

摘要

Machine translation plays an essential role in people's daily international communication. However, machine translation systems are far from perfect. To tackle this problem, researchers have proposed several approaches to testing machine translation. A promising trend among these approaches is to use word replacement, where only one word in the original sentence is replaced with another word to form a sentence pair. However, precise control of the impact of word replacement remains an outstanding issue in these approaches. To address this issue, we propose CAT, a novel word-replacementbased approach, whose basic idea is to identify word replacement with controlled impact (referred to as isotopic replacement). To achieve this purpose, we use a neural-based language model to encode the sentence context, and design a neural-network-based algorithm to evaluate context-aware semantic similarity between two words. Furthermore, similar to TransRepair, a state-of-the-art word-replacement-based approach, CAT also provides automatic fixing of revealed bugs without model retraining. Our evaluation on Google Translate and Transformer indicates that CAT achieves significant improvements over TransRepair. In particular, 1) CAT detects seven more types of bugs than TransRepair; 2) CAT detects 129% more translation bugs than TransRepair; 3) CAT repairs twice more bugs than TransRepair, many of which may bring serious consequences if left unfixed; and 4) CAT has better efficiency than TransRepair in input generation (0.01s v.s. 0.41s) and comparable efficiency with TransRepair in bug repair (1.92s v.s. 1.34s).

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • DistXplore: Distribution-Guided Testing for Evaluating and Enhancing Deep Learning Systems 引用了 Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailment
  • Automated Testing and Improvement of Named Entity Recognition Systems 引用了 Automatic testing and improvement of machine translation
  • Automated Testing and Improvement of Named Entity Recognition Systems 引用了 BERT-ATTACK: Adversarial Attack Against BERT Using BERT
  • CCTEST: Testing and Repairing Code Completion Systems 引用了 Automatic testing and improvement of machine translation
  • MTTM: Metamorphic Testing for Textual Content Moderation Software 引用了 Automatic testing and improvement of machine translation
  • MTTM: Metamorphic Testing for Textual Content Moderation Software 引用了 BERT-ATTACK: Adversarial Attack Against BERT Using BERT
  • MTTM: Metamorphic Testing for Textual Content Moderation Software 引用了 Word-level Textual Adversarial Attacking as Combinatorial Optimization
  • MTTM: Metamorphic Testing for Textual Content Moderation Software 引用了 Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailment
  • Who Judges the Judge: An Empirical Study on Online Judge Tests 引用了 Automatic testing and improvement of machine translation
  • Gradient-based Adversarial Attacks against Text Transformers 引用了 BERT-ATTACK: Adversarial Attack Against BERT Using BERT
  • Gradient-based Adversarial Attacks against Text Transformers 引用了 Word-level Textual Adversarial Attacking as Combinatorial Optimization
  • Gradient-based Adversarial Attacks against Text Transformers 引用了 Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailment
  • BERT-ATTACK: Adversarial Attack Against BERT Using BERT 引用了 Word-level Textual Adversarial Attacking as Combinatorial Optimization
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. CCTEST: Testing and Repairing Code Completion SystemsZongjie Li, Chaozheng Wang, Zhibo Liu, Haoxuan Wang 等ICSE 2023 · 49 次引用
  2. MTTM: Metamorphic Testing for Textual Content Moderation SoftwareWenxuan Wang, Jen-tse Huang, Weibin Wu, Jianping Zhang 等ICSE 2023 · 23 次引用
  3. DistXplore: Distribution-Guided Testing for Evaluating and Enhancing Deep Learning SystemsLongtian Wang, Xiaofei Xie, Xiaoning Du, Meng Tian 等FSE 2023 · 15 次引用
  4. Who Judges the Judge: An Empirical Study on Online Judge TestsKaibo Liu, Yudong Han, Jie M. Zhang, Zhenpeng Chen 等ISSTA 2023 · 10 次引用
  5. Automated Testing and Improvement of Named Entity Recognition SystemsBoxi Yu, Yiyan Hu, Qiuyang Mang, Wenhan Hu 等FSE 2023 · 8 次引用

它引用的 Paper9

  1. Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and EntailmentDi Jin, Zhijing Jin, Joey Tianyi Zhou, Peter SzolovitsAAAI 2020 · 1,333 次引用
  2. BERT-ATTACK: Adversarial Attack Against BERT Using BERTLinyang Li, Ruotian Ma, Qipeng Guo, Xiangyang Xue 等EMNLP 2020 · 529 次引用
  3. Word-level Textual Adversarial Attacking as Combinatorial OptimizationYuan Zang, Fanchao Qi, Chenghao Yang, Zhiyuan Liu 等ACL 2020 · 188 次引用
  4. Automatic testing and improvement of machine translationZeyu Sun, Jie M. Zhang, Mark Harman, Mike Papadakis 等ICSE 2020 · 111 次引用
  5. Gradient-based Adversarial Attacks against Text TransformersChuan Guo, Alexandre Sablayrolles, Hervé Jégou, Douwe KielaEMNLP 2021 · 97 次引用

相关 Paper

  1. Fix-Filter-Fix: Intuitively Connect Any Models for Effective Bug FixingHaiwen Hong, Jingfeng Zhang, Yin Zhang, Yao Wan 等EMNLP 2021 · 4 次引用
  2. CURE: Code-Aware Neural Machine Translation for Automatic Program RepairNan Jiang, Thibaud Lutellier, Lin TanICSE 2021 · 267 次引用
  3. Structure-invariant testing for machine translationPinjia He, Clara Meister, Zhendong SuICSE 2020 · 84 次引用
  4. Neural Program Repair with Execution-based BackpropagationHe Ye, Matias Martinez, Martin MonperrusICSE 2022 · 146 次引用
  5. Template-based Neural Program RepairXiangxin Meng, Xu Wang, Hongyu Zhang, Hailong Sun 等ICSE 2023 · 29 次引用
黄昏的海面,两侧是细线勾勒的悬崖