HYPEROFA: Expanding LLM Vocabulary to New Languages via Hypernetwork-Based Embedding Initialization

Many pre-trained language models (PLMs) exhibit suboptimal performance on mid-and lowresource languages, largely due to limited exposure to these languages during pre-training.A common strategy to address this is to introduce new tokens specific to the target languages, initialize their embeddings, and apply continual pre-training on target-language data.Among such methods, OFA (Liu et al., 2024a) proposes a similarity-based subword embedding initialization heuristic that is both effective and efficient.However, OFA restricts target-language token embeddings to be convex combinations of a fixed number of source-language embeddings, which may limit expressiveness.To overcome this limitation, we propose HYPEROFA, a hypernetwork-based approach for more adaptive token embedding initialization.The hypernetwork is trained to map from an external multilingual word vector space to the PLM's token embedding space using source-language tokens. 1 Once trained, it can generate flexible embeddings for target-language tokens, serving as a good starting point for continual pretraining.Experiments demonstrate that HYPEROFA consistently outperforms random initialization baseline and matches or exceeds the performance of OFA in both continual pre-training convergence and downstream task performance.We make the code publicly available. 2

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.acl-srw.6
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

HYPEROFA: Expanding LLM Vocabulary to New Languages via Hypernetwork-Based Embedding Initialization

Hinrich Schuetze, Yihong Liu, Enes Özeren
Natural Language Processing Techniques
article

HYPEROFA: Expanding LLM Vocabulary to New Languages via Hypernetwork-Based Embedding Initialization

Hinrich Schuetze, Yihong Liu, Enes Özeren
article en

Abstract

Many pre-trained language models (PLMs) exhibit suboptimal performance on mid-and lowresource languages, largely due to limited exposure to these languages during pre-training.A common strategy to address this is to introduce new tokens specific to the target languages, initialize their embeddings, and apply continual pre-training on target-language data.Among such methods, OFA (Liu et al., 2024a) proposes a similarity-based subword embedding initialization heuristic that is both effective and efficient.However, OFA restricts target-language token embeddings to be convex combinations of a fixed number of source-language embeddings, which may limit expressiveness.To overcome this limitation, we propose HYPEROFA, a hypernetwork-based approach for more adaptive token embedding initialization.The hypernetwork is trained to map from an external multilingual word vector space to the PLM's token embedding space using source-language tokens. 1 Once trained, it can generate flexible embeddings for target-language tokens, serving as a good starting point for continual pretraining.Experiments demonstrate that HYPEROFA consistently outperforms random initialization baseline and matches or exceeds the performance of OFA in both continual pre-training convergence and downstream task performance.We make the code publicly available. 2

Bayerische Akademie der Wissenschaften, Leibniz-Gemeinschaft, Leibniz-Rechenzentrum
Quality Education
Openalex Percentile: Top 90%
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.