The University of Helsinki Submission to the WMT19 Parallel Corpus Filtering Task

Raúl Vázquez, Umut Sulubacak, Jörg TiedemannWmt 2019 · DOI

TL;DR

This paper presents the University of Helsinki's approach to the WMT19 parallel corpus filtering task, focusing on building a robust and adaptable system for identifying high-quality sentence pairs in noisy web-crawled data. Their two-step method, involving heuristic filtering and a machine learning classifier, achieved competitive results, highlighting the ongoing challenge of data quality in low-resource machine translation.

What Problem Does This Paper Address?

The effectiveness of modern machine translation (MT) systems, especially neural MT, is heavily reliant on the quality and quantity of training data. While the web offers a vast source of text, automatically extracted parallel corpora like ParaCrawl are often noisy, containing misalignments and low-quality translations. Manually curating such data is prohibitively expensive. This paper addresses the challenge of automatically filtering these noisy parallel corpora to extract high-quality sentence pairs suitable for training MT systems, particularly in low-resource language scenarios. The WMT shared task aims to develop and evaluate methods for this crucial data cleaning step.

Methods

The University of Helsinki team employed a two-stage methodology:

  1. Heuristic Filtering: They first applied a series of manually designed filters to clean the data. These filters targeted common issues like:
  2. Length ratio discrepancies between source and target sentences.
  3. Extremely long sentences or words.
  4. Presence of HTML/XML tags.
  5. Characters outside the expected decoding tables for specific languages (Devanagari for Nepali, Sinhala).
  6. Inclusion of characters from one language's script in the other's text.
  7. Machine Learning Classification: After heuristic filtering, they extracted numerical features from the remaining sentence pairs. These features were derived from various "filters" (which are essentially feature extractors), including:
  8. Word Alignment: Using the eflomal tool to estimate the likelihood of parallel sentences based on word alignments.
  9. Language Models: Employing n-gram language models (using BPE-segmented text) to measure the cross-entropy of sentences in both source and target languages.
  10. Language Identifiers: Using off-the-shelf tools like CLD2 and langid.py to assess the reliability and probability of language detection.
  11. Character Scores: Analyzing the proportion of language-specific characters.
  12. Terminal Punctuation: Penalizing asymmetry or excessive terminal punctuation.
  13. Non-zero Numerals: Checking for consistent numeral sequences.
  14. Clean-Corpus Filter: A binary feature indicating if a sentence pair passed a standard clean-corpus script.

These features were then used to train binary classifiers (logistic regression and random forest) to assign a global quality score to each sentence pair. They trained three independent classifiers using different data splits and feature combinations, optimizing for information criteria like AIC and BIC for one of the models.

Datasets

The primary datasets used were:

  • ParaCrawl Corpus: Large, noisy parallel corpora for Nepali-English (EN-NE) and Sinhala-English (EN-SI).
  • Additional Parallel Corpora: Smaller, cleaner parallel datasets for EN-NE and EN-SI, used for training and as positive examples.

They also utilized monolingual corpora for each language pair, though their direct use in the scoring system is not detailed. The task involved scoring these raw corpora, and the evaluation was based on training SMT and NMT systems on subsets of the scored data.

Key Insights and Ideas

  • Heuristics are Crucial for Pre-processing: The initial heuristic filtering step was vital for cleaning the noisy ParaCrawl data, removing a significant portion of clearly problematic sentence pairs before applying more complex models.
  • Feature Engineering is Key: The success of their system hinged on the diverse set of features extracted from various linguistic and statistical properties of the sentence pairs. Combining these features provided a more comprehensive view of sentence pair quality.
  • Adaptability is a Strength: The methodology, based on feature extraction and a general classification model, is presented as easily adaptable to other language pairs, which is a significant advantage for low-resource scenarios.
  • Data Quality is a Bottleneck: Despite a well-designed filtering system, the resulting machine translation quality (measured by BLEU scores) remained low, suggesting that the inherent noise and quality issues in the source parallel corpora are a major limiting factor.

Key Results

  • Their system achieved competitive results in the WMT19 parallel corpus filtering task.
  • The logistic regression models showed accuracies around 78-96% on the test data, depending on the training setup.
  • When used to train SMT models, their best submission (using a logistic regression model with an additional char-length filter) achieved BLEU scores of 4.82 for EN-NE and 5.32 for EN-SI on a 5 million sampled training set, outperforming the provided baseline.
  • However, the absolute BLEU scores were still considered "essentially useless," indicating the pervasive low quality of the underlying data.

Limitations and Future Work

  • Low MT Performance: The most significant limitation is the poor performance of the MT systems trained on the filtered data, suggesting that even sophisticated filtering might not fully overcome the quality issues in web-crawled corpora.
  • NMT Complications: The authors encountered difficulties with the NMT model due to issues with the pre-processing script, preventing them from evaluating their system's performance on NMT.
  • Future Work: The paper suggests that more detailed analyses of the data sets are necessary to draw further conclusions about the data quality and to potentially improve filtering strategies. The adaptability of their system to new language pairs is also a direction for future exploration.

Summary updated

BibTeX
@inproceedings{vazquez2019university,
  author = {Raúl Vázquez and Umut Sulubacak and Jörg Tiedemann},
  title = {{The University of Helsinki Submission to the WMT19 Parallel Corpus Filtering Task}},
  booktitle = {Wmt},
  year = {2019},
  doi = {10.18653/v1/w19-5441},
}
Figure