Cross-Tokenizer Likelihood Scoring Algorithms for Language Model Distillation
On the map: Knowledge distillation → Knowledge distillation for LLMs
Abstract (arXiv)
Computing next-token likelihood ratios between two language models (LMs) is a standard task in training paradigms such as knowledge distillation. Since this requires both models to share the same probability space, it becomes challenging when the teacher and student LMs use different tokenizers, for instance, when edge-device deployment necessitates a smaller vocabulary size to lower memory overhead. This work addresses this vocabulary misalignment problem by uncovering an implicit recursive structure in the commonly deployed Byte-Pair Encoding (BPE) algorithm and utilizing it to create a probabilistic framework for cross-tokenizer likelihood scoring. Our method enables sequence likelihood evaluation for vocabularies different from the teacher model native tokenizer, addressing two specific scenarios: when the student vocabulary is a subset of the teacher vocabulary, and the general case where it is arbitrary. In the subset regime, our framework computes exact likelihoods and provides next-token probabilities for sequential sampling with only O(1) model evaluations per token. When used for distillation, this yields up to a 12% reduction in memory footprint for the Qwen2.5-1.5B model while also improving baseline performance up to 4% on the evaluated tasks. For the general case, we introduce a rigorous lossless procedure that leverages BPE recursive structure, complemented by a fast approximation that keeps large-vocabulary settings practical. Applied to GSM8K mathematical reasoning distillation, our method improves accuracy by over 2% the current state of the art. Code: github.com/truongbuu/cross-tokenizer-scoring
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Knowledge distillation for LLMs, one of 12 directions in Knowledge distillation. Builds on 27 of its 31 references that are in the map. First posted on arXiv 16 Dec 2025.
Builds on
27 of 31 references.
Closest ancestors · 6
Same direction, newest first
- 2025Universal Cross-Tokenizer Distillation via Approximate Likelihood Matching25 Mar
- 2025Enhancing Cross-Tokenizer Knowledge Distillation with Contextual Dynamical Mapping16 Feb
- 2024Multi-Level Optimal Transport for Universal Cross-Tokenizer Knowledge Distillation on Language Models19 Dec
- 2024Dual-Space Knowledge Distillation for Large Language Models25 Jun
- 2024Towards Cross-Tokenizer Distillation: the Universal Logit Distillation Loss for LLMs19 Feb
- 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakes23 Jun
Other references · 21
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2021DialogSum: A Real-Life Scenario Dialogue Summarization Datasetcited by 183
- 2024Token-level Direct Preference Optimizationcited by 135
- 2024OpenCoder: The Open Cookbook for Top-Tier Code Large Language Modelscited by 130
- 2024Scaling Laws with Vocabulary: Larger Models Deserve Larger Vocabulariescited by 118
- 2024Knowledge Fusion of Large Language Modelscited by 115
- 2024Speculative Knowledge Distillation: Bridging the Teacher-Student Gap Through Interleaved Samplingcited by 90
- 2024How to Compute the Probability of a Wordcited by 36
- 2024Zero-Shot Tokenizer Transfercited by 31
9 more
- 2024From Language Models over Tokens to Language Models over Characterscited by 31
- 2023An Efficient Multilingual Language Model Compression through Vocabulary Trimmingcited by 20
- 2024Understanding and Mitigating Tokenization Bias in Language Modelscited by 18
- 2024Exact Byte-Level Probabilities from Tokenized Language Models for FIM-Tasks and Model Ensemblescited by 15
- 2025Language Models over Canonical Byte-Pair Encodingscited by 8
- 2024An Analysis of BPE Vocabulary Trimming in Neural Machine Translationcited by 7
- 2025Sampling from Your Language Model One Byte at a Timecited by 7
- 2025Overcoming Vocabulary Mismatch: Vocabulary-agnostic Teacher Guided Language Modelingcited by 4
- 2024Adapting Language Models via Token Translationcited by 2
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026SimCT: Recovering Lost Supervision for Cross-Tokenizer On-Policy Distillationcited by 12
- 2026Ensembling Language Models with Sequential Monte Carlocited by 3
- 2026Dual-Vocabulary Language Model for Cross-Tokenizer Distillationcited by 0
- 2026Beyond Token Alignment: Event Completion for Cross-Tokenizer On-Policy Distillationcited by 0
- 2026Distilling Directional Verificationcited by 0
- 2026Distilling Directional Verification1 Oct 2026
- 2026Beyond Token Alignment: Event Completion for Cross-Tokenizer On-Policy Distillation28 Sep 2026
- 2026Dual-Vocabulary Language Model for Cross-Tokenizer Distillation27 Sep 2026
- 2026SimCT: Recovering Lost Supervision for Cross-Tokenizer On-Policy Distillation8 May 2026
- 2026Ensembling Language Models with Sequential Monte Carlo5 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2026Cross-Tokenizer On-Policy Distillation via Byte-Prefix Marginalization
- 2024A Probabilistic Perspective on Unlearning and Alignment for Large Language Models
- 2025The Art of Breaking Words: Rethinking Multilingual Tokenizer Design
- 2026WASD: Wasserstein-based Knowledge Distillation for Large Language Models
- 2026Distilling Token-Trained Models into Byte-Level Models
- 2026Chain-based Distillation for Effective Initialization of Variable-Sized Small Language Models
- 2026Breaking the Tokenizer Barrier: On-Policy Distillation across Model Families
- 2025A Lightweight Method to Disrupt Memorized Sequences in LLM