paper-with-me

Papers

SemMT: A Semantic-based Testing Approach for Machine Translation Systems

2020-12-03 · Jialun Cao, Meiziniu Li, Yeting Li, Ming Wen, Shing-Chi Cheung

Machine translation has wide applications in daily life. In mission-critical applications such as translating official documents, incorrect translation can have unpleasant or sometimes catastrophic consequences. This motivates recent research on testing methodologies for machine translation systems. Existing methodologies mostly rely on metamorphic relations designed at the textual level (e.g., Levenshtein distance) or syntactic level (e.g., the distance between grammar structures) to determine the correctness of translation results. However, these metamorphic relations do not consider whether the original and translated sentences have the same meaning (i.e., Semantic similarity). Therefore, in this paper, we propose SemMT, an automatic testing approach for machine translation systems based on semantic similarity checking. SemMT applies round-trip translation and measures the semantic similarity between the original and translated sentences. Our insight is that the semantics expressed by the logic and numeric constraint in sentences can be captured using regular expressions (or deterministic finite automata) where efficient equivalence/similarity checking algorithms are available. Leveraging the insight, we propose three semantic similarity metrics and implement them in SemMT. The experiment result reveals SemMT can achieve higher effectiveness compared with state-of-the-art works, achieving an increase of 21% and 23% on accuracy and F-Score, respectively. We also explore potential improvements that can be achieved when proper combinations of metrics are adopted. Finally, we discuss a solution to locate the suspicious trip in round-trip translation, which may shed lights on further exploration.

📄 PDF Abstract BibTeX arXiv:2012.01815

Code (2)

arabelatso/semmt 공식 구현
RobustNLP/TestTranslation pytorch

Tasks

Machine TranslationSemantic SimilaritySemantic Textual SimilarityTranslation

Similar Papers 제목 키워드 기반

Machine Translation Testing via Syntactic Tree Pruning

2024-01-01 · Quanjun Zhang, Juan Zhai, Chunrong Fang, Jiawei Liu 외

Machine translation systems have been widely adopted in our daily life, making life easier and more convenient. Unfortunately, erroneous translations may result in severe consequences, such as financial losses. This requ…

Machine TranslationSentenceTranslation

Structure-Invariant Testing for Machine Translation

2019-07-19 · Pinjia He, Clara Meister, Zhendong Su

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 …

Dependency ParsingMachine TranslationNMTSentence+1

Towards General Error Diagnosis via Behavioral Testing in Machine Translation

2023-10-20 · Junjie Wu, Lemao Liu, Dit-yan Yeung

Behavioral testing offers a crucial means of diagnosing linguistic errors and assessing capabilities of NLP models. However, applying behavioral testing to machine translation (MT) systems is challenging as it generally …

Machine TranslationTranslation

As Easy as 1, 2, 3: Behavioural Testing of NMT Systems for Numerical Translation

2021-07-18 · Findings (ACL) 2021 8 · Jun Wang, Chang Xu, Francisco Guzman, Ahmed El-Kishky 외

Mistranslated numbers have the potential to cause serious effects, such as financial loss or medical misinformation. In this work we develop comprehensive assessments of the robustness of neural machine translation syste…

Machine TranslationMisinformationNMTTranslation

Context Consistency between Training and Testing in Simultaneous Machine Translation

2023-11-13 · Meizhi Zhong, Lemao Liu, Kehai Chen, Mingming Yang 외

Simultaneous Machine Translation (SiMT) aims to yield a real-time partial translation with a monotonically growing the source-side context. However, there is a counterintuitive phenomenon about the context usage between …

Machine TranslationTranslation