Linguistic Entity Masking to Improve Cross-Lingual Representation of Multilingual Language Models for Low-Resource Languages
Aloka Fernando, Surangika Ranathunga
TL;DR
The paper tackles suboptimal cross-lingual representations in multilingual pre-trained language models for low-resource languages by introducing Linguistic Entity Masking (LEM), a masking strategy that targets a single token within linguistic entities (NEs, nouns, verbs) during continual pre-training. It uses a two-stage process with monolingual ($LEM_{mono}$) and parallel ($LEM_{para}$) data, aiming to preserve contextual integrity while enhancing cross-lingual signals. Across three tasks—bitext mining, parallel data curation, and code-mixed sentiment analysis—LEM consistently outperforms the MLM+TLM baseline and other masking strategies, with NE masking providing the largest gains. The method demonstrates robustness to noisy data and shows practical potential for improving cross-lingual capabilities in low-resource language settings, particularly when leveraging dependent monolingual data from parallel corpora.
Abstract
Multilingual Pre-trained Language models (multiPLMs), trained on the Masked Language Modelling (MLM) objective are commonly being used for cross-lingual tasks such as bitext mining. However, the performance of these models is still suboptimal for low-resource languages (LRLs). To improve the language representation of a given multiPLM, it is possible to further pre-train it. This is known as continual pre-training. Previous research has shown that continual pre-training with MLM and subsequently with Translation Language Modelling (TLM) improves the cross-lingual representation of multiPLMs. However, during masking, both MLM and TLM give equal weight to all tokens in the input sequence, irrespective of the linguistic properties of the tokens. In this paper, we introduce a novel masking strategy, Linguistic Entity Masking (LEM) to be used in the continual pre-training step to further improve the cross-lingual representations of existing multiPLMs. In contrast to MLM and TLM, LEM limits masking to the linguistic entity types nouns, verbs and named entities, which hold a higher prominence in a sentence. Secondly, we limit masking to a single token within the linguistic entity span thus keeping more context, whereas, in MLM and TLM, tokens are masked randomly. We evaluate the effectiveness of LEM using three downstream tasks, namely bitext mining, parallel data curation and code-mixed sentiment analysis using three low-resource language pairs English-Sinhala, English-Tamil, and Sinhala-Tamil. Experiment results show that continually pre-training a multiPLM with LEM outperforms a multiPLM continually pre-trained with MLM+TLM for all three tasks.
