Lune

ACL2025Top-tier venue

LangSAMP: Language-Script Aware Multilingual Pretraining

Yihong Liu, Haotian Ye, Chunlan Ma, Mingyang Wang, Hinrich Schütze

Abstract

Recent multilingual pretrained language models (mPLMs) often avoid using language embeddings -learnable vectors assigned to individual languages. However, this places a significant burden on token representations to encode all language-specific information, which may hinder language neutrality. To address this limitation, we propose Language-Script Aware Multilingual Pretraining (LANGSAMP), a method that incorporates both language and script embeddings to enhance representation learning. Specifically, we integrate these embeddings into the output of the Transformer blocks before passing the final representations to the language modeling head for prediction. We apply LANGSAMP to the continual pretraining of XLM-R (Conneau et al., 2020) on a highly multilingual corpus covering more than 500 languages. The resulting model consistently outperforms the baseline in zero-shot crosslingual transfer across diverse downstream tasks. Extensive analysis reveals that language and script embeddings capture language-and script-specific nuances, which benefits more language-neutral representations, proven by improved pairwise cosine similarity. In our case study, we also show that language and script embeddings can be used to select better source languages for crosslingual transfer. We make our code and models publicly available at https://github. com/cisnlp/LangSAMP .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • From Zero to Hero: On the Limitations of Zero-Shot Language Transfer with Multilingual Transformers cites Unsupervised Cross-lingual Representation Learning at Scale
  • From Zero to Hero: On the Limitations of Zero-Shot Language Transfer with Multilingual Transformers cites Multilingual Alignment of Contextual Word Representations
  • Few-shot Learning with Multilingual Generative Language Models cites Unsupervised Cross-lingual Representation Learning at Scale
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on22

  1. Unsupervised Cross-lingual Representation Learning at ScaleAlexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary et al.ACL 2020 · 539 citations
  2. From Zero to Hero: On the Limitations of Zero-Shot Language Transfer with Multilingual TransformersAnne Lauscher, Vinit Ravishankar, Ivan Vulic, Goran GlavasEMNLP 2020 · 235 citations
  3. Multilingual Alignment of Contextual Word RepresentationsSteven Cao, Nikita Kitaev, Dan KleinICLR 2020 · 211 citations
  4. How do Large Language Models Handle Multilingualism?Yiran Zhao, Wenxuan Zhang, Guizhen Chen, Kenji Kawaguchi et al.NeurIPS 2024 · 196 citations
  5. Few-shot Learning with Multilingual Generative Language ModelsXi Victoria Lin, Todor Mihaylov, Mikel Artetxe, Tianlu Wang et al.EMNLP 2022 · 113 citations

Related papers

  1. Combining Static and Contextualised Multilingual EmbeddingsKatharina Hämmerl, Jindrich Libovický, Alexander FraserACL Findings 2022 · 11 citations
  2. Mini-Model Adaptation: Efficiently Extending Pretrained Models to New Languages via Aligned Shallow TrainingKelly Marchisio, Patrick S. H. Lewis, Yihong Chen, Mikel ArtetxeACL Findings 2023 · 5 citations
  3. Multilingual Sentence Transformer as A Multilingual Word AlignerWeikang Wang, Guanhua Chen, Hanqing Wang, Yue Han et al.EMNLP Findings 2022 · 10 citations
  4. On the Language Neutrality of Pre-trained Multilingual RepresentationsJindrich Libovický, Rudolf Rosa, Alexander FraserEMNLP Findings 2020 · 61 citations
  5. Script, Language, and Labels: Overcoming Three Discrepancies for Low-Resource Language SpecializationJaeseong Lee, Dohyeon Lee, Seung-won HwangAAAI 2023 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines