Parallel Data Mining and Quality Control › Summary
Michael BrenndoerferNovember 26, 20262 min read
Language AI HandbookAll chapters Parallel data mining and quality control turn raw web text into training data for translation systems. The essential ideas:
- Bitext mining is retrieval in a shared multilingual embedding space. Compute sentence embeddings, retrieve nearest neighbors across languages, and score pairs with the margin criterion to filter out generically similar but incorrect matches.
- Calibrate filters on labeled candidates. A margin and an absolute cosine floor can catch different mistakes. The intersection only improves precision when it rejects incorrect pairs at a higher rate than it rejects correct pairs.
- Sentence alignment operates on document pairs. Gale-Church uses length and DP, Hunalign adds a dictionary, Bleualign uses an MT system, and Vecalign uses embeddings. A length-only algorithm can miss the correct segmentation even in a short document.
- Use word alignment where it helps. A checked alignment can support lexicon extraction or coverage checks. Sentence-level neural training can also proceed without explicit links.
- Back-translation manufactures parallel data from monolingual text. Translate monolingual target text into the source language, check the resulting pairs, and choose a mixture with authentic data on held-out human translations.
- Filter teacher outputs and measure the result. Record which side was generated, the checkpoint and decoding settings, and the evaluation results for the chosen mix.
- Screen evaluation overlap. Use lexical matching and semantic retrieval as complementary checks. Report their thresholds, coverage, and the treatment of flagged items.
- Report what filtering changes. Inspect retention and errors by language and domain, and track the provenance of the included examples.
Measure coverage, yield, and downstream errors together. A stricter filter can remove bad pairs and useful pairs at the same cutoff.
The next chapter in Machine Translation and Speech Translation, Many-to-Many and Low-Resource Translation, considers ways to share supervision when mining yields little bitext and the backward model is weak.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!