Cross-Align: Modeling Deep Cross-lingual Interactions for Word Alignment

Siyu Lai, Zhen Yang, Fandong Meng, Yufeng Chen, Jinan Xu +1 more
10/9/2022
cs.CL
transformer-attention

Official code: lisasiyu/Cross-Align (20 stars, Python, Apache-2.0, last commit 2023-02-19).

Abstract

Word alignment which aims to extract lexicon translation equivalents between source and target sentences, serves as a fundamental tool for natural language processing. Recent studies in this area have yielded substantial improvements by generating alignments from contextualized embeddings of the pre-trained multilingual language models.

Show full abstract

However, we find that the existing approaches capture few interactions between the input sentence pairs, which degrades the word alignment quality severely, especially for the ambiguous words in the monolingual context. To remedy this problem, we propose Cross-Align to model deep interactions between the input sentence pairs, in which the source and target sentences are encoded separately with the shared self-attention modules in the shallow layers, while cross-lingual interactions are explicitly constructed by the cross-attention modules in the upper layers. Besides, to train our model effectively, we propose a two-stage training framework, where the model is trained with a simple Translation Language Modeling (TLM) objective in the first stage and then finetuned with a self-supervised alignment objective in the second stage. Experiments show that the proposed Cross-Align achieves the state-of-the-art (SOTA) performance on four out of five language pairs.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

EMNLP2022 "Cross-Align: Modeling Deep Cross-lingual Interactions for Word Alignment"

203Python, CudaOct 8, 20223 years agoApache-2.0

Similar Papers

Cite this paper

@article{lai2022crossalign,
  title  = {Cross-Align: Modeling Deep Cross-lingual Interactions for Word Alignment},
  author = {Siyu Lai and Zhen Yang and Fandong Meng and Yufeng Chen and Jinan Xu and Jie Zhou},
  year   = {2022},
  eprint = {2210.04141},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.04141}
}

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/2210.04141.svg)](https://codeofpaper.com/paper/2210.04141)

Discussion