Prune or Retrain: Optimizing the Vocabulary of Multilingual Models for Estonian

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Dorkin, Aleksei, Purason, Taido, Sirts, Kairit
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910773611069440
author Dorkin, Aleksei
Purason, Taido
Sirts, Kairit
author_facet Dorkin, Aleksei
Purason, Taido
Sirts, Kairit
contents Adapting multilingual language models to specific languages can enhance both their efficiency and performance. In this study, we explore how modifying the vocabulary of a multilingual encoder model to better suit the Estonian language affects its downstream performance on the Named Entity Recognition (NER) task. The motivations for adjusting the vocabulary are twofold: practical benefits affecting the computational cost, such as reducing the input sequence length and the model size, and performance enhancements by tailoring the vocabulary to the particular language. We evaluate the effectiveness of two vocabulary adaptation approaches -- retraining the tokenizer and pruning unused tokens -- and assess their impact on the model's performance, particularly after continual training. While retraining the tokenizer degraded the performance of the NER task, suggesting that longer embedding tuning might be needed, we observed no negative effects on pruning.
format Preprint
id arxiv_https___arxiv_org_abs_2501_02631
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Prune or Retrain: Optimizing the Vocabulary of Multilingual Models for Estonian
Dorkin, Aleksei
Purason, Taido
Sirts, Kairit
Computation and Language
Adapting multilingual language models to specific languages can enhance both their efficiency and performance. In this study, we explore how modifying the vocabulary of a multilingual encoder model to better suit the Estonian language affects its downstream performance on the Named Entity Recognition (NER) task. The motivations for adjusting the vocabulary are twofold: practical benefits affecting the computational cost, such as reducing the input sequence length and the model size, and performance enhancements by tailoring the vocabulary to the particular language. We evaluate the effectiveness of two vocabulary adaptation approaches -- retraining the tokenizer and pruning unused tokens -- and assess their impact on the model's performance, particularly after continual training. While retraining the tokenizer degraded the performance of the NER task, suggesting that longer embedding tuning might be needed, we observed no negative effects on pruning.
title Prune or Retrain: Optimizing the Vocabulary of Multilingual Models for Estonian
topic Computation and Language
url https://arxiv.org/abs/2501.02631