Overlap-based Vocabulary Generation Improves Cross-lingual Transfer Among Related Languages

Vaidehi Patil, Partha Talukdar, Sunita Sarawagi
3/3/2022
cs.CL

Official code: Vaidehi99/OBPE (5 stars, Python, Apache-2.0, last commit 2022-05-24).

Abstract

Pre-trained multilingual language models such as mBERT and XLM-R have demonstrated great potential for zero-shot cross-lingual transfer to low web-resource languages (LRL). However, due to limited model capacity, the large difference in the sizes of available monolingual corpora between high web-resource languages (HRL) and LRLs does not provide enough scope of co-embedding the LRL with the HRL, thereby affecting downstream task performance of LRLs.

Show full abstract

In this paper, we argue that relatedness among languages in a language family along the dimension of lexical overlap may be leveraged to overcome some of the corpora limitations of LRLs. We propose Overlap BPE (OBPE), a simple yet effective modification to the BPE vocabulary generation algorithm which enhances overlap across related languages. Through extensive experiments on multiple NLP tasks and datasets, we observe that OBPE generates a vocabulary that increases the representation of LRLs via tokens shared with HRLs. This results in improved zero-shot transfer from related HRLs to LRLs without reducing HRL representation and accuracy. Unlike previous studies that dismissed the importance of token-overlap, we show that in the low-resource related language setting, token overlap matters. Synthetically reducing the overlap to zero can cause as much as a four-fold drop in zero-shot transfer accuracy.

View on arXivView PDF

Code Implementations(1)

Vaidehi99/OBPEOfficial100%
Apache-2.0
52Python, Jupyter NotebookMar 13, 20224 years agoApache-2.0

Similar Papers

Cite this paper

@article{patil2022overlapbased,
  title  = {Overlap-based Vocabulary Generation Improves Cross-lingual Transfer Among Related Languages},
  author = {Vaidehi Patil and Partha Talukdar and Sunita Sarawagi},
  year   = {2022},
  eprint = {2203.01976},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.01976}
}

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

Discussion