Structure-Invariant Testing for Machine Translation
Not on the map. Why?
Abstract (arXiv)
In recent years, machine translation software has increasingly been integrated into our daily lives. People routinely use machine translation for various applications, such as describing symptoms to a foreign doctor and reading political news in a foreign language. However, the complexity and intractability of neural machine translation (NMT) models that power modern machine translation make the robustness of these systems difficult to even assess, much less guarantee. Machine translation systems can return inferior results that lead to misunderstanding, medical misdiagnoses, threats to personal safety, or political conflicts. Despite its apparent importance, validating the robustness of machine translation systems is very difficult and has, therefore, been much under-explored. To tackle this challenge, we introduce structure-invariant testing (SIT), a novel metamorphic testing approach for validating machine translation software. Our key insight is that the translation results of "similar" source sentences should typically exhibit similar sentence structures. Specifically, SIT (1) generates similar source sentences by substituting one word in a given sentence with semantically similar, syntactically equivalent words; (2) represents sentence structure by syntax parse trees (obtained via constituency or dependency parsing); (3) reports sentence pairs whose structures differ quantitatively by more than some threshold. To evaluate SIT, we use it to test Google Translate and Bing Microsoft Translator with 200 source sentences as input, which led to 64 and 70 buggy issues with 69.5% and 70% top-1 accuracy, respectively. The translation errors are diverse, including under-translation, over-translation, incorrect modification, word/phrase mistranslation, and unclear logic.
Key facts. Cited by 27 papers in the map (data through 7 Oct 2026). First posted on arXiv 19 Jul 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 5; 2022: 4; 2023: 9; 2024: 6; 2025: 2; 2026: 1.
27 papers.
Sort:
By area:
- 2023Leveraging GPT-4 for Automatic Translation Post-Editingcited by 56
- 2024VLATest: Testing and Evaluating Vision-Language-Action Models for Robotic Manipulationcited by 43
- 2023Improving Human-AI Collaboration With Descriptions of AI Behaviorcited by 35
- 2022SALTED: A Framework for SAlient Long-Tail Translation Error Detectioncited by 23
- 2023MTTM: Metamorphic Testing for Textual Content Moderation Softwarecited by 20
- 2022LLMEffiChecker: Understanding and Testing Efficiency Degradation of Large Language Modelscited by 16
- 2022AEON: A Method for Automatic Evaluation of NLP Test Casescited by 15
- 2025Metamorphic Testing of Large Language Models for Natural Language Processingcited by 12
- 2021MDPFuzz: Testing Models Solving Markov Decision Processescited by 11
- 2023Automating Code-Related Tasks Through Transformers: The Impact of Pre-trainingcited by 8
- 2021Using Metamorphic Relations to Verify and Enhance Artcode Classificationcited by 5
- 2022Specifying and Testing k-Safety Properties for Machine-Learning Modelscited by 5
15 more
- 2023Automated Testing and Improvement of Named Entity Recognition Systemscited by 3
- 2025HInter: Exposing Hidden Intersectional Bias in Large Language Modelscited by 3
- 2021On Neurons Invariant to Sentence Structural Changes in Neural Machine Translationcited by 2
- 2024Machine Translation Testing via Syntactic Tree Pruningcited by 2
- 2024CODECLEANER: Elevating Standards with A Robust Data Contamination Mitigation Toolkitcited by 2
- 2021Provably Valid and Diverse Mutations of Real-World Media Data for DNN Testingcited by 1
- 2023Towards General Error Diagnosis via Behavioral Testing in Machine Translationcited by 1
- 2023DREAM: Debugging and Repairing AutoML Pipelinescited by 1
- 2024Understanding and Addressing the Under-Translation Problem from the Perspective of Decoding Objectivecited by 1
- 2021HOMRS: High Order Metamorphic Relations Selector for Deep Neural Networkscited by 0
- 2023Towards Reliable Neural Machine Translation with Consistency-Aware Meta-Learningcited by 0
- 2023ASTER: Automatic Speech Recognition System Accessibility Testing for Stuttererscited by 0
- 2024Adversarial Testing for Visual Grounding via Image-Aware Property Reductioncited by 0
- 2024VEglue: Testing Visual Entailment Systems via Object-Aligned Joint Erasingcited by 0
- 2026The Consistency Dilemma in LLMs: Generator-Evaluator Agreement and Vulnerability to Mistakescited by 0
- 2026The Consistency Dilemma in LLMs: Generator-Evaluator Agreement and Vulnerability to Mistakes16 Jun 2026
- 2025Metamorphic Testing of Large Language Models for Natural Language Processing3 Nov 2025
- 2025HInter: Exposing Hidden Intersectional Bias in Large Language Models15 Mar 2025
- 2024CODECLEANER: Elevating Standards with A Robust Data Contamination Mitigation Toolkit16 Nov 2024
- 2024VLATest: Testing and Evaluating Vision-Language-Action Models for Robotic Manipulation19 Sep 2024
- 2024Understanding and Addressing the Under-Translation Problem from the Perspective of Decoding Objective29 May 2024
- 2024VEglue: Testing Visual Entailment Systems via Object-Aligned Joint Erasing5 Mar 2024
- 2024Adversarial Testing for Visual Grounding via Image-Aware Property Reduction2 Mar 2024
- 2024Machine Translation Testing via Syntactic Tree Pruning1 Jan 2024
- 2023DREAM: Debugging and Repairing AutoML Pipelines31 Dec 2023
- 2023Towards General Error Diagnosis via Behavioral Testing in Machine Translation20 Oct 2023
- 2023ASTER: Automatic Speech Recognition System Accessibility Testing for Stutterers30 Aug 2023
15 more
- 2023Automated Testing and Improvement of Named Entity Recognition Systems14 Aug 2023
- 2023Leveraging GPT-4 for Automatic Translation Post-Editing24 May 2023
- 2023Towards Reliable Neural Machine Translation with Consistency-Aware Meta-Learning20 Mar 2023
- 2023MTTM: Metamorphic Testing for Textual Content Moderation Software11 Feb 2023
- 2023Automating Code-Related Tasks Through Transformers: The Impact of Pre-training8 Feb 2023
- 2023Improving Human-AI Collaboration With Descriptions of AI Behavior6 Jan 2023
- 2022LLMEffiChecker: Understanding and Testing Efficiency Degradation of Large Language Models7 Oct 2022
- 2022Specifying and Testing k-Safety Properties for Machine-Learning Models13 Jun 2022
- 2022SALTED: A Framework for SAlient Long-Tail Translation Error Detection20 May 2022
- 2022AEON: A Method for Automatic Evaluation of NLP Test Cases13 May 2022
- 2021MDPFuzz: Testing Models Solving Markov Decision Processes6 Dec 2021
- 2021Provably Valid and Diverse Mutations of Real-World Media Data for DNN Testing3 Dec 2021
- 2021On Neurons Invariant to Sentence Structural Changes in Neural Machine Translation6 Oct 2021
- 2021Using Metamorphic Relations to Verify and Enhance Artcode Classification5 Aug 2021
- 2021HOMRS: High Order Metamorphic Relations Selector for Deep Neural Networks10 Jul 2021
- 2023Leveraging GPT-4 for Automatic Translation Post-Editingcited by 56
- 2023Improving Human-AI Collaboration With Descriptions of AI Behaviorcited by 35
- 2022SALTED: A Framework for SAlient Long-Tail Translation Error Detectioncited by 23
- 2023MTTM: Metamorphic Testing for Textual Content Moderation Softwarecited by 20
- 2022LLMEffiChecker: Understanding and Testing Efficiency Degradation of Large Language Modelscited by 16
- 2022AEON: A Method for Automatic Evaluation of NLP Test Casescited by 15
- 2025Metamorphic Testing of Large Language Models for Natural Language Processingcited by 12
- 2021MDPFuzz: Testing Models Solving Markov Decision Processescited by 11
- 2023Automating Code-Related Tasks Through Transformers: The Impact of Pre-trainingcited by 8
- 2021Using Metamorphic Relations to Verify and Enhance Artcode Classificationcited by 5
- 2022Specifying and Testing k-Safety Properties for Machine-Learning Modelscited by 5
- 2023Automated Testing and Improvement of Named Entity Recognition Systemscited by 3
12 most cited of 24 All 24 (JSON)
- 2025Metamorphic Testing of Large Language Models for Natural Language Processing3 Nov 2025
- 2025HInter: Exposing Hidden Intersectional Bias in Large Language Models15 Mar 2025
- 2024CODECLEANER: Elevating Standards with A Robust Data Contamination Mitigation Toolkit16 Nov 2024
- 2024Understanding and Addressing the Under-Translation Problem from the Perspective of Decoding Objective29 May 2024
- 2024Adversarial Testing for Visual Grounding via Image-Aware Property Reduction2 Mar 2024
- 2024Machine Translation Testing via Syntactic Tree Pruning1 Jan 2024
- 2023DREAM: Debugging and Repairing AutoML Pipelines31 Dec 2023
- 2023Towards General Error Diagnosis via Behavioral Testing in Machine Translation20 Oct 2023
- 2023ASTER: Automatic Speech Recognition System Accessibility Testing for Stutterers30 Aug 2023
- 2023Automated Testing and Improvement of Named Entity Recognition Systems14 Aug 2023
- 2023Leveraging GPT-4 for Automatic Translation Post-Editing24 May 2023
- 2023Towards Reliable Neural Machine Translation with Consistency-Aware Meta-Learning20 Mar 2023
12 newest of 24 All 24 (JSON)