PreprintCited by 1Topic ModelingNatural Language Processing TechniquesDomain Adaptation and Few-Shot Learning

Achieving Tokenizer Flexibility in Language Models through Heuristic Adaptation and Supertoken Learning

Open access
Sharthak, Shaurya, Pahalwan, Vinayak, Kamath, Adithya, Shirawalmath, Adarsh·2025·arXiv

Abstract

Pretrained language models (LLMs) are often constrained by their fixed tokenization schemes, leading to inefficiencies and performance limitations, particularly for multilingual or specialized applications. This tokenizer lock-in presents significant challenges. standard methods to overcome this often require prohibitive computational resources. Although tokenizer replacement with heuristic initialization aims to reduce this burden, existing methods often require exhaustive residual fine-tuning and still may not fully preserve semantic nuances or adequately address the underlying compression inefficiencies. Our framework introduces two innovations: first, Tokenadapt, a model-agnostic tokenizer transplantation method, and second, novel pre-tokenization learning for multi-word Supertokens to enhance compression and reduce fragmentation. Tokenadapt initializes new unique token embeddings via a hybrid heuristic that combines two methods: a local estimate based on subword decomposition using the old tokenizer, and a global estimate utilizing the top-k semantically similar tokens from the original vocabulary. This methodology aims to preserve semantics while significantly minimizing retraining requirements. Empirical investigations validate both contributions: the transplantation heuristic successfully initializes unique tokens, markedly outperforming conventional baselines and sophisticated methods including Transtokenizer and ReTok, while our Supertokens achieve notable compressi…

Integrity signals

Registry

DataCite · 10.48550/arxiv.2505.09738

Cites

Statistics

Recomputing p-values needs the paper’s full text.

Claims the paper makes

We couldn’t retrieve this paper’s full text, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • TokenAdapt is applicable at the subsequent model-level stage.

    “TokenAdapt (Sharthak et al., 2025) and MATT (Haltiuk & Smywinski-Pohl, 2025) are applicable at this subsequent model-level stage.”

    From Writing-System-Level Tokenizer Adaptation for Byte-Level BPE (2026) · cites this paper as Sharthak et al., 2025

  • TokenAdapt leaves the selected destination tokenizer unchanged.

    “TokenAdapt leaves the selected destination tokenizer unchanged”

    From Writing-System-Level Tokenizer Adaptation for Byte-Level BPE (2026) · cites this paper as Sharthak et al., 2025

  • TokenAdapt changes how its embedding rows are initialized.

    “while changing how its embedding rows are initialized.”

    From Writing-System-Level Tokenizer Adaptation for Byte-Level BPE (2026) · cites this paper as Sharthak et al., 2025

Cited by

Sorted by citations

Authors
Sharthak, S., Pahalwan, V., Kamath, A., & Shirawalmath, A.
Venue
arXiv
Publisher
arXiv
Published
2025
ISSN
2331-8422 (ISSN-L)
OpenAlex
W4415198429
Cited by
0
References
0
Type
posted content
Language
en
Open access
Locations
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
  • Physical Sciences › Computer Science › Artificial Intelligence › Domain Adaptation and Few-Shot Learning
Keywords
tokenization, pre-trained language models, heuristic initialization, token compression, perplexity, multilingual tokenization

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review