Lune

FSE2020顶会

Machine translation testing via pathological invariance

Shashij Gupta, Pinjia He, Clara Meister, Zhendong Su

摘要

Machine translation software has become heavily integrated into our daily lives due to the recent improvement in the performance of deep neural networks. However, machine translation software has been shown to regularly return erroneous translations, which can lead to harmful consequences such as economic loss and political conflicts. Additionally, due to the complexity of the underlying neural models, testing machine translation systems presents new challenges. To address this problem, we introduce a novel methodology called PatInv. The main intuition behind PatInv is that sentences with different meanings should not have the same translation. Under this general idea, we provide two realizations of PatInv that given an arbitrary sentence, generate syntactically similar but semantically different sentences by: (1) replacing one word in the sentence using a masked language model or (2) removing one word or phrase from the sentence based on its constituency structure. We then test whether the returned translations are the same for the original and modified sentences. We have applied PatInv to test Google Translate and Bing Microsoft Translator using 200 English sentences. Two language settings are considered: English→Hindi (En-Hi) and English→Chinese (En-Zh). The results show that Pat-Inv can accurately find 308 erroneous translations in Google Translate and 223 erroneous translations in Bing Microsoft Translator, most of which cannot be found by the state-of-the-art approaches.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • CCTEST: Testing and Repairing Code Completion Systems 引用了 Testing Machine Translation via Referential Transparency
  • CCTEST: Testing and Repairing Code Completion Systems 引用了 Improving Machine Translation Systems via Isotopic Replacement
  • BiasAsker: Measuring the Bias in Conversational AI System 引用了 MTTM: Metamorphic Testing for Textual Content Moderation Software
  • BiasAsker: Measuring the Bias in Conversational AI System 引用了 Hidden Voice Commands
  • BiasAsker: Measuring the Bias in Conversational AI System 引用了 Testing Machine Translation via Referential Transparency
  • MTTM: Metamorphic Testing for Textual Content Moderation Software 引用了 TextBugger: Generating Adversarial Text Against Real-world Applications
  • MTTM: Metamorphic Testing for Textual Content Moderation Software 引用了 Hidden Voice Commands
  • MTTM: Metamorphic Testing for Textual Content Moderation Software 引用了 Testing Machine Translation via Referential Transparency
  • MTTM: Metamorphic Testing for Textual Content Moderation Software 引用了 Improving Machine Translation Systems via Isotopic Replacement
  • Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networks 引用了 Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
  • Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networks 引用了 Hidden Voice Commands
  • Testing Machine Translation via Referential Transparency 引用了 TextBugger: Generating Adversarial Text Against Real-world Applications
  • Testing Machine Translation via Referential Transparency 引用了 Hidden Voice Commands
  • Improving Machine Translation Systems via Isotopic Replacement 引用了 Testing Machine Translation via Referential Transparency
  • NIC: Detecting Adversarial Samples with Neural Network Invariant Checking 引用了 Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
  • NIC: Detecting Adversarial Samples with Neural Network Invariant Checking 引用了 Feature Squeezing: Detecting Adversarial Examples in Deep Neural Networks
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper14

  1. BiasAsker: Measuring the Bias in Conversational AI SystemYuxuan Wan, Wenxuan Wang, Pinjia He, Jiazhen Gu 等FSE 2023 · 50 次引用
  2. Testing Machine Translation via Referential TransparencyPinjia He, Clara Meister, Zhendong SuICSE 2021 · 50 次引用
  3. CCTEST: Testing and Repairing Code Completion SystemsZongjie Li, Chaozheng Wang, Zhibo Liu, Haoxuan Wang 等ICSE 2023 · 49 次引用
  4. Improving Machine Translation Systems via Isotopic ReplacementZeyu Sun, Jie M. Zhang, Yingfei Xiong, Mark Harman 等ICSE 2022 · 42 次引用
  5. MTTM: Metamorphic Testing for Textual Content Moderation SoftwareWenxuan Wang, Jen-tse Huang, Weibin Wu, Jianping Zhang 等ICSE 2023 · 23 次引用

它引用的 Paper8

  1. Distillation as a Defense to Adversarial Perturbations Against Deep Neural NetworksNicolas Papernot, Patrick D. McDaniel, Xi Wu, Somesh Jha 等S&P 2016 · 3,275 次引用
  2. Feature Squeezing: Detecting Adversarial Examples in Deep Neural NetworksWeilin Xu, David Evans, Yanjun QiNDSS 2018 · 1,633 次引用
  3. TextBugger: Generating Adversarial Text Against Real-world ApplicationsJinfeng Li, Shouling Ji, Tianyu Du, Bo Li 等NDSS 2019 · 876 次引用
  4. Hidden Voice CommandsNicholas Carlini, Pratyush Mishra, Tavish Vaidya, Yuankai Zhang 等USENIX Security 2016 · 672 次引用
  5. NIC: Detecting Adversarial Samples with Neural Network Invariant CheckingShiqing Ma, Yingqi Liu, Guanhong Tao, Wen-Chuan Lee 等NDSS 2019 · 283 次引用

相关 Paper

  1. Structure-invariant testing for machine translationPinjia He, Clara Meister, Zhendong SuICSE 2020 · 84 次引用
  2. Automated Testing for Machine Translation via Constituency InvariancePin Ji, Yang Feng, Jia Liu, Zhihong Zhao 等ASE 2021 · 14 次引用
  3. Back Deduction Based Testing for Word Sense Disambiguation Ability of Machine Translation SystemsJun Wang, Yanhui Li, Xiang Huang, Lin Chen 等ISSTA 2023 · 4 次引用
  4. Using Neural Machine Translation for Generating Diverse Challenging Exercises for Language LearnerFrank Palma Gomez, Subhadarshi Panda, Michael Flor, Alla RozovskayaACL 2023 · 1 次引用
  5. Automatic testing and improvement of machine translationZeyu Sun, Jie M. Zhang, Mark Harman, Mike Papadakis 等ICSE 2020 · 111 次引用
黄昏的海面,两侧是细线勾勒的悬崖