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. ...