Abstract
Data building for automatic post-editing (APE) requires extensive and expert-level human effort, as it contains an elaborate process that involves identifying errors in sentences and providing suitable revisions. Hence, we develop a self-supervised data generation tool, deployable as a web application, that minimizes human supervision and constructs personalized APE data from a parallel corpus for several language pairs with English as the target language. Data-centric APE research can be conducted using this tool, involving many language pairs that have not been studied thus far owing to the lack of suitable data.
Introduction
Automatic Post-Editing (APE) serves as a critical refinement layer for machine translation (MT), aiming to automatically correct errors in MT output to align it more closely with human-quality translation. However, the primary bottleneck in APE research is the scarcity of high-quality training data. Standard APE models require "triplets" consisting of a source sentence (SRC), the raw machine translation (MT), and a human-corrected post-edited version (PE).
Creating these triplets is prohibitively expensive and slow, requiring bilingual experts to identify and fix subtle linguistic errors. Consequently, APE research has historically been limited to a few high-resource language pairs. This paper introduces a tool designed to bypass manual labor by generating synthetic MT data from existing parallel corpora, which are significantly more accessible.
Methods
The proposed tool utilizes a self-supervised approach to generate synthetic training data. Rather than relying on human editors, the system takes a "perfect" target sentence from a parallel corpus and intentionally introduces errors using specific noising schemes to create a pseudo-MT sentence. The original, clean target sentence then serves as the ground-truth "Post-Edit" (PE) goal.
The tool implements four distinct noising strategies to simulate various translation errors:
- Random Noise: Replaces tokens in the target sentence with random words from the corpus to provide a baseline.
- Semantic Noise: Replaces words with synonyms retrieved from the WordNet database, forcing the model to learn context-specific corrections.
- Morpheme Noise: Replaces words with others sharing the same Part-of-Speech (POS) tag to simulate grammatical or morphological errors.
- Syntax Noise: Employs phrase-level substitutions. The tool performs phrase chunking and replaces entire phrases with identically tagged ones, simulating structural translation errors.
The system is built using the Flask framework for the web interface, NLTK for linguistic processing, and the SENNA NLP toolkit for syntactic tagging.
Experimental Setup
The tool is designed to work with any parallel corpus where English is the target language. To evaluate the effectiveness of the generated data, the authors tested APE models trained on this synthetic data against three industry-standard benchmarks: Amazon, Microsoft, and Google. These test sets provided real-world MT and PE data to verify if models trained on synthetic noise could generalize to actual machine translation errors.
Key Results
Experimental results demonstrate that models trained exclusively on this augmented synthetic data perform remarkably well across all benchmarks. Performance was measured using SACREBLEU (higher is better) and TER (Translation Edit Rate, lower is better).
Key findings include:
- Significant Gains over Baseline: On the Amazon test set, the baseline (no APE) recorded a SACREBLEU score of 22.192. Models trained with the tool's noising schemes saw this score jump to over 42.0.
- Linguistic Nuance Matters: While all noising schemes improved performance, the Morphemic and Syntactic schemes generally yielded the highest results (e.g., 42.966 SACREBLEU on the Google test set). This suggests that structural and grammatical noise is more representative of real-world MT errors than simple random word swapping.
Discussion and Future Work
The core insight of this research is that structured synthetic noise (semantic, morphemic, and syntactic) serves as a viable proxy for the errors produced by actual MT systems. By shifting the focus toward data-centric APE, researchers can now adjust "noise ratios" to simulate different levels of MT quality, allowing for highly personalized training sets.
Currently, the tool is constrained to English as the target language due to its reliance on English-centric tools like WordNet and SENNA. Future work will involve integrating linguistic databases for other languages to expand the tool's utility. Additionally, while effective, synthetic noise may not yet capture the specific "hallucinations" characteristic of modern Transformer-based NMT systems. Despite these limitations, the tool democratizes APE research, opening the door for advancements in low-resource language pairs that were previously neglected due to data scarcity.
Summary updated