Abstract
With a large amount of parallel data, neural machine translation systems are able to deliver human-level performance for sentence-level translation. However, it is costly to label a large amount of parallel data by humans. In contrast, there is a large-scale of parallel corpus created by humans on the Internet. The major difficulty to utilize them is how to filter them out from the noise website environments. Current parallel data mining methods all require labeled parallel data as the training source. In this paper, we present a pipeline to mine the parallel corpus from the Internet in an unsupervised manner. On the widely used WMT'14 English-French and WMT'16 English-German benchmarks, the machine translator trained with the data extracted by our pipeline achieves very close performance to the supervised results. On the WMT'16 English-Romanian and Romanian-English benchmarks, our system produces new state-of-the-art results, 39.81 and 38.95 BLEU scores, even compared with supervised approaches.
Introduction
Neural Machine Translation (NMT) has achieved remarkable success, often reaching human-level performance. However, this success is heavily dependent on the availability of massive parallel datasets—millions of sentence pairs in two languages. While the internet contains vast amounts of human-translated content, extracting this "parallel data" from noisy web environments typically requires pre-existing labeled data to train alignment and filtering tools. This creates a dependency on human-labeled data that limits NMT's expansion to low-resource languages.
This research introduces a fully unsupervised pipeline for mining parallel sentences from the web. By bootstrapping from monolingual text, the system effectively eliminates the need for human-labeled starting material, solving the "chicken and egg" problem of parallel corpus mining.
Methodology
The proposed pipeline consists of three primary phases designed to bootstrap a high-quality translation system from scratch:
- Pseudo-Parallel Data Generation: Starting with only monolingual data, an unsupervised NMT model (specifically XLM) is used to translate sentences between languages. This creates a synthetic "pseudo-parallel" corpus where one side is human-written and the other is machine-generated.
- Crawler Seeding: A statistical dictionary is extracted from the pseudo-parallel corpus. This dictionary seeds Bitextor, an open-source crawler that identifies potential parallel documents based on URL structures (e.g.,
/en/vs/fr/) and document similarity. - Filtering and Refinement: The resulting noisy crawled corpus is cleaned using a classifier trained to distinguish true translations from random pairs. Crucially, the synthetic data from Phase 1 serves as the "positive" training examples for this classifier. The final filtered corpus is then used to train the NMT model.
Experimental Setup
The researchers evaluated their pipeline on three major benchmarks:
- WMT’14 English-French (En-Fr) and WMT’16 English-German (En-De): High-resource language pairs.
- WMT’16 English-Romanian (En-Ro): A representative low-resource language pair.
- ParaCrawl URL lists: Used to ensure a fair comparison of mining efficiency against existing supervised methods.
Key Results
The unsupervised pipeline produced results that were remarkably close to, or even better than, systems trained on millions of human-labeled pairs. On high-resource benchmarks like En-Fr, the system reached 42.79 BLEU, trailing the supervised state-of-the-art by less than 0.5 points.
The most significant impact was observed in low-resource settings and in comparison to purely unsupervised baselines. The mined data provided an average boost of 4.55 BLEU points over standard unsupervised models like XLM or MASS. Notably, the system set new state-of-the-art records for English-Romanian translation, outperforming even previous supervised approaches.
Key Insights and Discussion
- Synthetic Data Utility: A major finding is that machine-translated (pseudo-parallel) data is high-quality enough to train a classifier that can successfully identify real human-written parallel data on the web.
- Web Data vs. Pure Unsupervised NMT: While purely unsupervised NMT often struggles with fluency, using it as a filter to find real human data leads to significant quality jumps.
- Noise Resilience: NMT models demonstrate surprising resilience to some level of misalignment if the volume of mined data is sufficiently large.
Conclusion
This unsupervised mining pipeline demonstrates that high-quality parallel corpora can be extracted from the web without any human-labeled data. While computational bottlenecks in the crawling process and reliance on known domains remain areas for future work, the ability to rival supervised performance and set new SOTA records for low-resource languages marks a significant advancement in machine translation.
Summary updated