mlsanityData to 14 Oct 2026

Cross-Tokenizer Likelihood Scoring Algorithms for Language Model Distillation

arXiv 2512.14954 ↗First posted 16 Dec 2025cs.CL cs.LGcited by 5

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

  1. 2025Universal Cross-Tokenizer Distillation via Approximate Likelihood Matching25 Mar
  2. 2025Enhancing Cross-Tokenizer Knowledge Distillation with Contextual Dynamical Mapping16 Feb
  3. 2024Multi-Level Optimal Transport for Universal Cross-Tokenizer Knowledge Distillation on Language Models19 Dec
  4. 2024Dual-Space Knowledge Distillation for Large Language Models25 Jun
  5. 2024Towards Cross-Tokenizer Distillation: the Universal Logit Distillation Loss for LLMs19 Feb
  6. 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakes23 Jun

Other references · 21

  1. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  2. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  3. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  4. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  5. 2021DialogSum: A Real-Life Scenario Dialogue Summarization Datasetcited by 183
  6. 2024Token-level Direct Preference Optimizationcited by 135
  7. 2024OpenCoder: The Open Cookbook for Top-Tier Code Large Language Modelscited by 130
  8. 2024Scaling Laws with Vocabulary: Larger Models Deserve Larger Vocabulariescited by 118
  9. 2024Knowledge Fusion of Large Language Modelscited by 115
  10. 2024Speculative Knowledge Distillation: Bridging the Teacher-Student Gap Through Interleaved Samplingcited by 90
  11. 2024How to Compute the Probability of a Wordcited by 36
  12. 2024Zero-Shot Tokenizer Transfercited by 31
9 more
  1. 2024From Language Models over Tokens to Language Models over Characterscited by 31
  2. 2023An Efficient Multilingual Language Model Compression through Vocabulary Trimmingcited by 20
  3. 2024Understanding and Mitigating Tokenization Bias in Language Modelscited by 18
  4. 2024Exact Byte-Level Probabilities from Tokenized Language Models for FIM-Tasks and Model Ensemblescited by 15
  5. 2025Language Models over Canonical Byte-Pair Encodingscited by 8
  6. 2024An Analysis of BPE Vocabulary Trimming in Neural Machine Translationcited by 7
  7. 2025Sampling from Your Language Model One Byte at a Timecited by 7
  8. 2025Overcoming Vocabulary Mismatch: Vocabulary-agnostic Teacher Guided Language Modelingcited by 4
  9. 2024Adapting Language Models via Token Translationcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 5.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Cross-Tokenizer On-Policy Distillation via Byte-Prefix Marginalization
  2. 2024A Probabilistic Perspective on Unlearning and Alignment for Large Language Models
  3. 2025The Art of Breaking Words: Rethinking Multilingual Tokenizer Design
  4. 2026WASD: Wasserstein-based Knowledge Distillation for Large Language Models
  5. 2026Distilling Token-Trained Models into Byte-Level Models
  6. 2026Chain-based Distillation for Effective Initialization of Variable-Sized Small Language Models
  7. 2026Breaking the Tokenizer Barrier: On-Policy Distillation across Model Families
  8. 2025A Lightweight Method to Disrupt Memorized Sequences in LLM