Elamur Research⌕
☰
home / papers / 2018 / Effective Parallel Corpus Mining using Bilingual Sentence Embeddings

Effective Parallel Corpus Mining using Bilingual Sentence Embeddings

Summary

Neural machine translation needs large amounts of clean parallel text. Earlier mining pipelines were heavy, distributed and hand-engineered. The authors, from Google AI, propose a lightweight alternative based on bilingual sentence embeddings. Each language has its own Deep Averaging Network (DAN) encoder, which averages learned word and bigram embeddings and passes them through a feedforward network with residual connections. A candidate pair is scored by the dot product of its two vectors, so large-scale nearest-neighbour search becomes practical. Training treats the other pairs in a mini-batch as negatives. The key addition is "hard" negatives: sentences that a baseline model ranks highly but that are not real translations. These force the model to separate true translations from sentences that are only on the same topic. Experiments on en-fr and en-es show that hard negatives consistently beat random ones. The method reconstructs much of the United Nations Parallel Corpus, and when adapted to documents it matches a far costlier system. NMT models trained on the mined data come close to models trained on the gold data. This makes cheap, scalable bitext mining and filtering a practical option.

Key points

  • Sentence-level reconstruction of the UN Parallel Corpus reaches P@1 of 48.9% for en-fr and 54.9% for en-es. Hard negatives were computed for only 20% of the training data to save compute.
  • At the document level, matching accuracy is comparable to the much heavier approach of Uszkoreit et al. (2010).
  • NMT systems trained on the reconstructed pairs score within 1–2 BLEU of systems trained on the original corpus.
  • On ParaCrawl, the model's scores correlate only modestly with Zipporah (Pearson's r ≈ 0.4). Adding the model-filtered ParaCrawl data to WMT data gave the best BLEU, about 0.5 above alternatives.
  • Translation professionals rated more of the model's selected pairs as GOOD than Zipporah's selections: 76.0% vs 72.0% for en-fr and 74.5% vs 74.0% for en-es. Common errors were partial translations and pairs with identical text on both sides.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

Fields: Linguistics & languages · Machine translation

Topics: Machine translation

Cited by

62 papers of our library cite it (of the 140673 whose bibliographies we read); 7 of them have a page here, 55 not yet.

Cite

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/w18-6317

@inproceedings{guo2018effective,
  title = {{Effective Parallel Corpus Mining using Bilingual Sentence Embeddings}},
  author = {Guo, Mandy and Shen, Qinlan and Yang, Yinfei and Ge, Heming and Cer, Daniel and Abrego, Gustavo Hernandez and Stevens, Keith and Constant, Noah and Sung, Yun-Hsuan and Strope, Brian and Kurzweil, Ray},
  booktitle = {Proceedings of the Third Conference on Machine Translation: Research Papers},
  year = {2018},
  doi = {10.18653/v1/w18-6317},
  url = {https://doi.org/10.18653/v1/w18-6317}
}

References

3 references, 2 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. Eneko Agirre, Daniel Cer, Mona Diab, and Aitor Gonzalez-Agirre. 2012. Semeval-2012 task 6: A pilot on semantic textual similarity. In *SEM 2012: The First Joint Conference on Lexical and Computational Semantics – Volume 1: Proceedings of the main conference and the shared task, and Volume 2: Proceed… find our card
  2. Alexandra Antonova and Alexey Misyurev. 2011. Building a web-based parallel corpus and filtering out machine-translated text. In Proceedings of the 4th Workshop on Building and Using Comparable Corpora: Comparable Corpora and the Web, pages 136–144. Association for Computational Linguistics. find
  3. Ondřej Bojar, Christian Buck, Chris Callison-Burch, Christian Federmann, Barry Haddow, Philipp Koehn, Christof Monz, Matt Post, Radu Soricut, and Lucia Specia. 2013. Findings of the 2013 Workshop on Statistical Machine Translation. In Proceedings of the Eighth Workshop on Statistical Machine Transl… find our card

This page in Markdown → https://md.research.elamur.ai/free/papers/guo-2018-effective-parallel-corpus-mining-bilingual/