@inproceedings{pilana-liyanage-yvon-2026-adaptbpe,
title = "{A}dapt{BPE}: From General Purpose to Specialized Tokenizers",
author = "Pilana Liyanage, Vijini and
Yvon, Fran{\c{c}}ois",
editor = "Demberg, Vera and
Inui, Kentaro and
Marquez, Llu{\'i}s",
booktitle = "Proceedings of the 19th Conference of the {E}uropean Chapter of the {A}ssociation for {C}omputational {L}inguistics (Volume 1: Long Papers)",
month = mar,
year = "2026",
address = "Rabat, Morocco",
publisher = "Association for Computational Linguistics",
url = "https://preview.aclanthology.org/ingest-eacl/2026.eacl-long.119/",
pages = "2607--2620",
ISBN = "979-8-89176-380-7",
abstract = "Subword tokenization methods, such as Byte-Pair Encoding (BPE), significantly impact the performance and efficiency of large language models (LLMs). The standard approach involves training a general-purpose tokenizer that uniformly processes all textual data during both training and inference. However, the use of a generic set of tokens can incur inefficiencies when applying the model to specific domains or languages. To address this limitation, we propose a post-training adaptation strategy that selectively replaces low-utility tokens with more relevant ones based on their frequency in an adaptation corpus. Our algorithm identifies the token inventory that most effectively encodes the adaptation corpus for a given target vocabulary size. Extensive experiments on generation and classification tasks across multiple languages demonstrate that our adapted tokenizers compress test corpora more effectively than baselines using the same vocabulary size. This method serves as a lightweight adaptation mechanism, akin to a vocabulary fine-tuning process, enabling optimized tokenization for specific domains or tasks. Our code and data are available at https://github.com/vijini/Adapt-BPE.git."
}Markdown (Informal)
[AdaptBPE: From General Purpose to Specialized Tokenizers](https://preview.aclanthology.org/ingest-eacl/2026.eacl-long.119/) (Pilana Liyanage & Yvon, EACL 2026)
ACL
- Vijini Pilana Liyanage and François Yvon. 2026. AdaptBPE: From General Purpose to Specialized Tokenizers. In Proceedings of the 19th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2607–2620, Rabat, Morocco. Association for Computational Linguistics.