Mine translation pairs from a comparable corpus: retrieve and validate candidates
A comparable corpus contains texts in different languages that discuss similar topics or events but are not already paired as translations. To create parallel training data from it, first retrieve a broad set of related document and sentence candidates, then separately verify whether each pair is actually a translation. A topic-similarity score alone cannot establish that relationship.
Mine translation pairs from a comparable corpus: retrieve and validate candidates
A comparable corpus contains texts in different languages that discuss similar topics or events but are not already paired as translations. To create parallel training data from it, first retrieve a broad set of related document and sentence candidates, then separately verify whether each pair is actually a translation. A topic-similarity score alone cannot establish that relationship.
A basic workflow for mining translation pairs
**Choose the languages and collection scope.** Select source collections with similar domains and time periods, such as news articles or technical documents. Record licenses and original sources, and assume that documents about the same event are not necessarily translations.
**Retrieve related documents or sentences as candidates.** Earlier approaches find corresponding documents using dates, topics, or document similarity. Others place sentence embeddings in a shared vector space and retrieve nearby sentences across languages. A broad candidate set misses fewer possible pairs, but may include more false positives that are only topically similar.
**Reassess whether candidates are translations.** Combine signals such as bidirectional retrieval ranks, similarity learned through contrastive training, language identification, length and character differences, and word correspondences. Early work by Munteanu and colleagues generated sentence candidates from similar news articles, then used a classifier to decide whether they were translations. Later embedding-based work uses hard negatives—sentences that are semantically or topically similar but are not translations—to make this distinction more reliably.
**Have people review a small sample.** Review high- and low-scoring examples, with samples separated by language and domain. Label them as accurate translation, partial translation, topical similarity only, or wrong language. Use the sample to estimate precision and identify common false positives, then adjust score thresholds.
**Measure the effect in the final translation model.** Remove duplicates and evaluation-data leakage, then compare a setup that adds only the mined data with the existing training-data setup on the same development and test sets. A gain reported in one study does not guarantee the same result for other language pairs or domains.
Distinguish similarity from translation
The pairs below are illustrative examples.
| Sentence in language A | Sentence in language B | Semantic relationship |
|---|---|---|
| 시청은 오늘 강변 공원 개장을 발표했다. | The city announced today that it had opened a new riverside park. | May be a translation candidate describing the same event |
| 시청은 오늘 강변 공원 개장을 발표했다. | The city announced a new bus fare today. | Same city news, but not a translation pair |
The table illustrates the process. Embedding search may give a high score to the second sentence because the topic is close even though it states a different fact. Conversely, it may score a valid translation lower because of differences in proper-name spelling, word order, or inflection. Do not apply one threshold to every language pair. Set a threshold for the intended use based on human review and downstream evaluation.
Cautions when scaling up
Sentence embeddings and nearest-neighbor search can scale to candidate mining across multilingual collections without preselecting document pairs. The CCMatrix study is an example of applying margin-based multilingual sentence retrieval to large-scale web-collected sentences. Its results belong to that study's data, models, and evaluation conditions; they are not guarantees for every language pair. For low-resource pairs or languages with very different scripts or morphology, examine the coverage and errors of the sentence-representation model separately.
In practice, save the original source and collection date, candidate scores and filter version, human-review sample, deduplication method, and license. These records make it possible to reproduce the mined data and remove low-quality pairs or material whose source terms do not fit the intended use.
References
Munteanu, Fraser, and Marcu, “Improved Machine Translation Performance via Parallel Sentence Extraction from Comparable Corpora” (NAACL 2004): [Munteanu et al., NAACL 2004](https://www.cis.lmu.de/~fraser/pubs/munteanu_naacl2004.pdf)
Guo et al., “Effective Parallel Corpus Mining using Bilingual Sentence Embeddings” (WMT 2018): [Guo et al., WMT 2018](https://aclanthology.org/W18-6317/)
Schwenk et al., “CCMatrix: Mining Billions of High-Quality Parallel Sentences on the Web” (ACL 2021): [Schwenk et al., ACL 2021](https://aclanthology.org/2021.acl-long.507/)