Adapting Chat Language Models Using Only Target Unlabeled Language Data

Atsuki Yamaguchi, Terufumi Morishita, Aline Villavicencio, Nikolaos Aletras

Abstract

Vocabulary expansion (VE) is the de-facto approach to language adaptation of large language models (LLMs) by adding new tokens and continuing pre-training on target data. While this is effective for base models trained on unlabeled data, it poses challenges for chat models trained to follow instructions through labeled conversation data. Directly adapting the latter with VE on target unlabeled data may result in forgetting chat abilities. While ideal, target chat data is often unavailable or costly to create for low-resource languages, and machine-translated alternatives are not always effective. To address this issue, previous work proposed using a base and chat model from the same family. This method first adapts the base LLM with VE on target unlabeled data and then converts it to a chat model by adding a chat vector (CV) derived from the weight difference between the source base and chat models. We propose ElChat, a new language adaptation method for chat LLMs that adapts a chat model directly on target unlabeled data, without a base model. It elicits chat abilities by injecting information from the source chat model. ElChat offers more robust and competitive target language and safety performance while achieving superior English, chat, and instruction-following abilities compared to CV.

Introduction

Adapting Large Language Models (LLMs) to new languages—particularly low-resource ones like Amharic, Telugu, or Sinhala—is a critical challenge in making AI globally accessible. The standard technique, Vocabulary Expansion (VE), involves adding language-specific tokens and continuing pre-training on unlabeled text. While highly effective for "base" models, this approach often fails for "chat" models. Training a chat model on raw, unlabeled text typically leads to "catastrophic forgetting," where the model gains proficiency in the new language but loses its ability to follow instructions or maintain a conversational persona.

Existing solutions, such as the "Chat Vector" (CV) method, attempt to mitigate this by calculating the weight difference between a source base model and its chat counterpart and applying that difference to an adapted base model. However, this requires access to the original base model, which is increasingly unavailable as many state-of-the-art models are released only in instruction-tuned (chat) versions for safety and alignment reasons. We introduce ElChat, a method that adapts chat models directly using only target unlabeled data, eliminating the need for a base model.

The ElChat Methodology

ElChat addresses the degradation of chat abilities through a three-stage process that elicits instruction-following behavior from the adapted model.

The ElChat workflow: Vocabulary Expansion followed by Source-Target Merging and Special Token Weight Copying.
  1. Vocabulary Expansion & Continual Pre-training (CPT): The process begins by training an auxiliary tokenizer on target unlabeled data and adding the most frequent non-overlapping tokens to the source chat model's vocabulary. The model then undergoes continual pre-training on the target language data. While this improves linguistic fluency, it typically degrades the model's chat capabilities.
  2. Source and Target Model Merging: To recover these lost abilities, ElChat employs Spherical Linear Interpolation (SLERP) to merge the weights of the original source chat model back into the newly adapted target model. This step "injects" the original instruction-following knowledge back into the system.
  3. Special Token Weight Restoration: Chat models rely on specific structural tokens (e.g., <|im_start|>, user, assistant) to manage conversation flow. During pre-training on raw text, the embeddings for these tokens can drift, breaking the chat template. ElChat restores these by copying the original weights from the source model to the target model.

Experimental Results

We evaluated ElChat across seven diverse languages using models from the Qwen2.5 and Llama 3.1 families. The training data was sourced from the MADLAD-400 dataset, and evaluation covered safety, instruction following, and target language proficiency.

Comparison of ElChat against Chat Vector (CV) and baselines on target language and English (source) benchmarks.

Key Results

  • Superior Chat Recovery: ElChat consistently outperforms the Chat Vector (CV) method in instruction-following tasks. On the Llama 3.1 8B model, ElChat achieved a significant 25-point gain in GSM8K (math reasoning) compared to the CV approach.
  • Inference Efficiency: By expanding the vocabulary to include target-specific tokens, ElChat reduces token fragmentation. This leads to substantial inference speedups, ranging from 2x to 6x faster in target languages compared to the original source models.
  • Robust Safety and Performance: ElChat proved more stable than CV across different benchmarks. As shown in Figure 5, ElChat maintains competitive performance in target language safety (TruthfulQA, ToxiGen) while significantly outperforming CV in English-based instruction following (IFEval, MT-Bench).

Conclusion

ElChat demonstrates that the "base model" is not a prerequisite for effective language adaptation of chat LLMs. By combining strategic model merging with the restoration of structural special tokens, ElChat provides a robust pathway for adapting instruction-tuned models to low-resource languages. This method not only preserves chat abilities more effectively than previous techniques but also offers significant gains in inference efficiency. Future work will explore the interaction of ElChat with parameter-efficient fine-tuning methods and more advanced model merging algorithms.

Summary updated

BibTeX
@article{yamaguchi2025adapting,
  author = {Atsuki Yamaguchi and Terufumi Morishita and Aline Villavicencio and Nikolaos Aletras},
  title = {{Adapting Chat Language Models Using Only Target Unlabeled Language Data}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=6IdoIKowfe},
}
Figure