SimAlign: High Quality Word Alignments without Parallel Training Data using Static and Contextualized Embeddings

Masoud Jalili Sabet, Philipp Dufter, François Yvon, Hinrich Schütze
4/18/2020
cs.CL

Official code: cisnlp/simalign (397 stars, MIT, last commit 2023-11-07).

Abstract

Word alignments are useful for tasks like statistical and neural machine translation (NMT) and cross-lingual annotation projection. Statistical word aligners perform well, as do methods that extract alignments jointly with translations in NMT. However, most approaches require parallel training data, and quality decreases as less training data is available. We propose word alignment methods that require no parallel data. The key idea is to leverage multilingual word embeddings, both static and contextualized, for word alignment. Our multilingual embeddings are created from monolingual data only without relying on any parallel data or dictionaries. We find that alignments created from embeddings are superior for four and comparable for two language pairs compared to those produced by traditional statistical aligners, even with abundant parallel data; e.g., contextualized embeddings achieve a word alignment F1 for English-German that is 5 percentage points higher than eflomal, a high-quality statistical aligner, trained on 100k parallel sentences.

View on arXivView PDF

Code Implementations(1)

cisnlp/simalignOfficial100%
MIT

[EMNLP 2020] Obtain Word Alignments using Pretrained Language Models (e.g., mBERT)

39752PythonApr 16, 20202 years agoMIT

Similar Papers

Cite this paper

@article{sabet2020simalign,
  title  = {SimAlign: High Quality Word Alignments without Parallel Training Data using Static and Contextualized Embeddings},
  author = {Masoud Jalili Sabet and Philipp Dufter and François Yvon and Hinrich Schütze},
  year   = {2020},
  eprint = {2004.08728},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.08728}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2004.08728.svg)](https://codeofpaper.com/paper/2004.08728)

Discussion