Testing Machine Translation via Referential Transparency
Authors:
Top Cited Papers
- 1 May 2021
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 410-422
Abstract
Machine translation software has seen rapid progress in recent years due to the advancement of deep neural networks. People routinely use machine translation software in their daily lives for tasks such as ordering food in a foreign restaurant, receiving medical diagnosis and treatment from foreign doctors, and reading international political news online. However, due to the complexity and intractability of the underlying neural networks, modern machine translation software is still far from robust and can produce poor or incorrect translations; this can lead to misunderstanding, financial loss, threats to personal safety and health, and political conflicts. To address this problem, we introduce referentially transparent inputs (RTIs), a simple, widely applicable methodology for validating machine translation software. A referentially transparent input is a piece of text that should have similar translations when used in different contexts. Our practical implementation, Purity, detects when this property is broken by a translation. To evaluate RTI, we use Purity to test Google Translate and Bing Microsoft Translator with 200 unlabeled sentences, which detected 123 and 142 erroneous translations with high precision (79.3% and 78.3%). The translation errors are diverse, including examples of under-translation, over-translation, word/phrase mistranslation, incorrect modification, and unclear logic.Keywords
All Related Versions
This publication has 40 references indexed in Scilit:
- A Survey on Metamorphic TestingIEEE Transactions on Software Engineering, 2016
- Predicting metamorphic relations for testing scientific software: a machine learning approach using graph kernelsSoftware Testing, Verification and Reliability, 2015
- Many-core compiler fuzzing2015
- Search-based inference of polynomial metamorphic relations2014
- Compiler validation via equivalence modulo inputs2014
- A Fast and Accurate Dependency Parser using Neural Networks2014
- Testing and validating machine learning classifiers by metamorphic testingJournal of Systems and Software, 2011
- Measuring Word Alignment Quality for Statistical Machine TranslationComputational Linguistics, 2007
- A Metamorphic Testing Approach for Online Testing of Service-Oriented Software ApplicationsInternational Journal of Web Services Research, 2007
- Referential transparency, definiteness and unfoldabilityActa Informatica, 1990