[Paper Review] Parallel Corpus Filtering via Pre-trained Language Models
This paper proposes a novel parallel corpus filtering method using multilingual BERT for acceptability filtering and GPT for domain filtering, significantly outperforming baselines on both WMT 2018 and a newly released Japanese-Chinese web-crawled corpus, achieving state-of-the-art results even in an unsupervised setting comparable to supervised methods.
Web-crawled data provides a good source of parallel corpora for training machine translation models. It is automatically obtained, but extremely noisy, and recent work shows that neural machine translation systems are more sensitive to noise than traditional statistical machine translation methods. In this paper, we propose a novel approach to filter out noisy sentence pairs from web-crawled corpora via pre-trained language models. We measure sentence parallelism by leveraging the multilingual capability of BERT and use the Generative Pre-training (GPT) language model as a domain filter to balance data domains. We evaluate the proposed method on the WMT 2018 Parallel Corpus Filtering shared task, and on our own web-crawled Japanese-Chinese parallel corpus. Our method significantly outperforms baselines and achieves a new state-of-the-art. In an unsupervised setting, our method achieves comparable performance to the top-1 supervised method. We also evaluate on a web-crawled Japanese-Chinese parallel corpus that we make publicly available.
Motivation & Objective
- To address the challenge of filtering noisy, web-crawled parallel corpora for training high-quality neural machine translation systems.
- To develop a filtering method that works effectively even with limited or no clean parallel data, enabling application in low-resource language pairs like Japanese-Chinese.
- To improve filtering performance by combining multilingual BERT for sentence pair acceptability and GPT for domain relevance, reducing reliance on large clean parallel corpora.
- To release a large, publicly available Japanese-Chinese parallel corpus to support research in non-English language pair translation.
Proposed method
- Fine-tune multilingual BERT on a synthetic dataset of 300k high-quality software-domain sentence pairs as positive examples and equal-sized negative pairs to create an acceptability filter.
- Use the softmax output of the BERT classifier as a score to determine whether a sentence pair is a valid translation pair.
- Train a GPT-based language model on in-domain Chinese text and a KenLM n-gram model on noisy data to create a domain filter that scores sentence pairs based on linguistic naturalness.
- Combine the acceptability and domain scores to rank sentence pairs, then select top-N pairs for training NMT models based on development set performance.
- Apply thresholding (e.g., 0.9) on the BERT classifier’s probability output to balance precision and recall in filtering.
- Replicate and compare against strong baselines such as dual conditional cross-entropy filtering and margin-based scoring, using both supervised and unsupervised settings.
Experimental results
Research questions
- RQ1Can a multilingual BERT-based classifier trained on synthetic data effectively identify valid parallel sentence pairs in noisy, web-crawled corpora?
- RQ2Does incorporating a GPT-based domain filter improve filtering performance when training neural machine translation models on large-scale, noisy parallel data?
- RQ3Can an unsupervised filtering method achieve performance comparable to supervised methods that rely on millions of clean parallel sentence pairs?
- RQ4How does the proposed method compare to existing filtering techniques in terms of precision, recall, and downstream NMT BLEU scores?
Key findings
- The proposed method achieves a new state-of-the-art on the WMT 2018 German-English parallel corpus filtering shared task, outperforming strong baselines.
- With a threshold of 0.9 on the BERT classifier, the method achieves 97.7% precision and 66.9% recall on a manually annotated Japanese-Chinese test set.
- The unsupervised version of the method achieves performance comparable to the top-1 supervised method, which used millions of clean parallel sentence pairs.
- The domain filter based on GPT does not improve NMT performance when the model can select its own data size, suggesting that malformed but parallel sentences are neither harmful nor helpful.
- The method significantly outperforms existing approaches such as adequacy (dual conditional cross-entropy) and Chaudhary et al. (2019) on both the WMT 2018 and in-house Japanese-Chinese filtering tasks.
- The authors release a large, publicly available web-crawled Japanese-Chinese parallel corpus, which is expected to benefit future research in non-English language pair translation.
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.