[Paper Review] WikiMatrix: Mining 135M Parallel Sentences in 1620 Language Pairs from Wikipedia
WikiMatrix automatically mines 135 million parallel sentences across 1620 language pairs from Wikipedia using multilingual sentence embeddings and a margin-based distance approach, enabling broad MT coverage beyond English-centric pairs.
We present an approach based on multilingual sentence embeddings to automatically extract parallel sentences from the content of Wikipedia articles in 85 languages, including several dialects or low-resource languages. We do not limit the the extraction process to alignments with English, but systematically consider all possible language pairs. In total, we are able to extract 135M parallel sentences for 1620 different language pairs, out of which only 34M are aligned with English. This corpus of parallel sentences is freely available at https://github.com/facebookresearch/LASER/tree/master/tasks/WikiMatrix. To get an indication on the quality of the extracted bitexts, we train neural MT baseline systems on the mined data only for 1886 languages pairs, and evaluate them on the TED corpus, achieving strong BLEU scores for many language pairs. The WikiMatrix bitexts seem to be particularly interesting to train MT systems between distant languages without the need to pivot through English.
Motivation & Objective
- Motivate the need for large-scale, multilingual parallel corpora beyond English-centric pairs.
- Propose a scalable mining pipeline to extract parallel sentences across hundreds of languages from Wikipedia.
- Leverage multilingual sentence embeddings to enable cross-language alignment in a joint space.
- Evaluate the mined data by training MT systems and assessing performance on TED and related benchmarks.
Proposed method
- Use LASER multilingual sentence embeddings to map sentences from 182 languages into a shared space.
- Apply a margin-based criterion in the embedding space to identify mutual translations across all language pairs.
- Perform global mining across the entire Wikipedia corpus, not limited to English pivots.
- Employ FAISS for fast, GPU-accelerated nearest-neighbor search and a 64-bit product-quantizer with IVF indexing for scalability.
- Deduplicate and perform language identification to ensure sentences are in the correct language before mining.
Experimental results
Research questions
- RQ1Can a single multilingual embedding space support reliable parallel sentence mining for thousands of language pairs?
- RQ2How does a margin-based similarity criterion compare to absolute thresholds for large-scale bitext extraction?
- RQ3What is the impact of mined WikiMatrix data on MT performance across distant language pairs?
- RQ4Does relying on global (not article-local) mining affect precision and recall of parallel sentence extraction?
Key findings
- Mined 135M parallel sentences for 1620 language pairs from Wikipedia, with 34M aligned with English.
- NMT models trained on mined data achieve strong BLEU scores on TED for many language pairs, often outperforming Europarl-sized baselines of similar size.
- Using margin thresholds around 1.04 yields a favorable balance between data size and translation quality, with lower thresholds increasing data noisiness.
- Global mining across Wikipedia enables MT improvements for distant language pairs without pivoting through English.
- The corpus is publicly released to support research in multilingual NMT and low-resource language pairs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.