paper-with-me

Papers

FOCUS: Effective Embedding Initialization for Monolingual Specialization of Multilingual Models

2023-05-23 · Konstantin Dobler, Gerard de Melo

Using model weights pretrained on a high-resource language as a warm start can reduce the need for data and compute to obtain high-quality language models for other, especially low-resource, languages. However, if we want to use a new tokenizer specialized for the target language, we cannot transfer the source model's embedding matrix. In this paper, we propose FOCUS - Fast Overlapping Token Combinations Using Sparsemax, a novel embedding initialization method that initializes the embedding matrix effectively for a new tokenizer based on information in the source model's embedding matrix. FOCUS represents newly added tokens as combinations of tokens in the overlap of the source and target vocabularies. The overlapping tokens are selected based on semantic similarity in an auxiliary static token embedding space. We focus our study on using the multilingual XLM-R as a source model and empirically show that FOCUS outperforms random initialization and previous work in language modeling and on a range of downstream tasks (NLI, QA, and NER).

📄 PDF Abstract BibTeX arXiv:2305.14481

Code (2)

konstantinjdobler/focus 공식 구현 pytorch
cmdowney88/embeddingstructure pytorch

Tasks

Language ModelingLanguage ModellingNERSemantic SimilaritySemantic Textual SimilarityXLM-R

Methods 이 논문이 사용한 방법론

Sparsemax Sparsemax is a type of activation/output function similar to the traditional softmax, but able to output sparse probabilities.…
XLM-R XLM-R

Similar Papers 제목 키워드 기반

Modular Sentence Encoders: Separating Language Specialization from Cross-Lingual Alignment

2024-07-20 · Yongxin Huang, Kexin Wang, Goran Glavaš, Iryna Gurevych

Multilingual sentence encoders are commonly obtained by training multilingual language models to map sentences from different languages into a shared semantic space. As such, they are subject to curse of multilinguality,…

Contrastive LearningMultiple-choiceSentenceSentence Embeddings+1

Embedding structure matters: Comparing methods to adapt multilingual vocabularies to new languages

2023-09-09 · C. M. Downey, Terra Blevins, Nora Goldfine, Shane Steinert-Threlkeld

Pre-trained multilingual language models underpin a large portion of modern NLP tools outside of English. A strong baseline for specializing these models for specific languages is Language-Adaptive Pre-Training (LAPT). H…

Massively Multilingual Lexical Specialization of Multilingual Transformers

2022-08-01 · Tommaso Green, Simone Paolo Ponzetto, Goran Glavaš

While pretrained language models (PLMs) primarily serve as general-purpose text encoders that can be fine-tuned for a wide variety of downstream tasks, recent work has shown that they can also be rewired to produce high-…

Bilingual Lexicon InductionRetrievalSentenceSentence Retrieval+3

IndoBERTweet: A Pretrained Language Model for Indonesian Twitter with Effective Domain-Specific Vocabulary Initialization

2021-09-10 · EMNLP 2021 11 · Fajri Koto, Jey Han Lau, Timothy Baldwin

We present IndoBERTweet, the first large-scale pretrained model for Indonesian Twitter that is trained by extending a monolingually-trained Indonesian BERT model with additive domain-specific vocabulary. We focus in part…

Language ModelingLanguage Modelling

Bilingual Adaptation of Monolingual Foundation Models

2024-07-13 · Gurpreet Gosal, Yishi Xu, Gokul Ramakrishnan, Rituraj Joshi 외

We present an efficient method for adapting a monolingual Large Language Model (LLM) to another language, addressing challenges of catastrophic forgetting and tokenizer limitations. We focus this study on adapting Llama …

Continual PretrainingCross-Lingual TransferLanguage ModelingLanguage Modelling+1