TransRepair: Automatic Testing and Improvement of Machine Translation

A while ago I read the paper TransRepair: Automatic Testing and Improvement of Machine Translation. It proposes a method called TransRepair, which automatically tests machine translation models from a software testing point of view. Below I’ll go through my understanding of it from a few angles. Introduction to TransRepair TransRepair is a method for automatically detecting and repairing consistency problems in machine translation software. It offers two ways to solve this problem, a black-box one and a gray-box one. Its main steps are generating test cases, building the test oracle and running the automatic repair. The algorithm the paper gives for generating test cases is fairly clear, rigorous and detailed, and it uses four quantification methods to compare the differences between sentences. TransRepair also uses structural consistency as its assertion, the experimental design is fairly thorough, and the results are pretty rich. ...

September 30, 2021 · Saturneric

Structure-Invariant Testing for Machine Translation (SIT) Paper Reading Summary

A while ago I read the paper Structure-Invariant Testing for Machine Translation. It proposes a method for detecting robustness problems in machine translation software systems. Below I’ll go through my understanding of it from a few angles. Main Content SIT is a method for detecting robustness problems in machine translation software systems. It uses a metamorphic relation from metamorphic testing called “structural invariance”. SIT picks original sentences, generates similar sentences, gets their translations from the translation software, runs constituent parsing to quantify the differences between sentences, and then filters by a preset threshold to find problems. This way it can detect robustness problems in machine translation software systems efficiently. According to the experimental results, SIT can process more than 2k sentences in 19 seconds, and its accuracy on Google Translate and Bing Translate reaches 70%. But there’s still room for improvement, probably because of how the threshold is chosen. ...

September 30, 2021 · Saturneric