Manuscript Offprint

arXiv:2610.28895

CSD: Common-Support Distillation for Cross-Tokenizer Knowledge Transfer

Mingyu Yang, Sharath Turuvekere Sreenivas, Adithyakrishna Venkatesh Hanasoge, Nima Tajbakhsh, Ashwath Aithal, Pavlo Molchanov

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Mingyu Yang, Sharath Turuvekere Sreenivas, Adithyakrishna Venkatesh Hanasoge, Nima Tajbakhsh, Ashwath Aithal, Pavlo Molchanov

Abstract: Cross-tokenizer logits distillation enables knowledge transfer across model families, allowing students to learn from stronger or more specialized teachers. However, differences in vocabulary and segmentation make teacher and student next-token distributions difficult to align. Existing logits-based methods are easy to integrate into standard distillation pipelines, but often rely on restrictive heuristics or tokenizer-pair-specific choices. They may restrict supervision to shared vocabulary subsets, require manually selecting different objectives for different tokenizer pairs, or match only the observed chunk and its complement rather than individual alternative continuations. We introduce Common-Support Distillation (CSD), a unified logits-based framework that constructs a shared support between the teacher and student at each aligned input chunk and matches the induced distributions with a single objective. For one-to-one alignments, CSD uses explicit common-token pairs as the shared support. For other alignments, it constructs a virtual support whose probabilities are computed using the autoregressive chain rule. A residual event captures probability mass outside the explicit support, ensuring that both induced distributions remain normalized. Across four teacher-student settings comprising Llama-3.2-1B and Gemma3-1B-PT students with Qwen and Phi teachers, CSD consistently achieves the highest average performance among the evaluated cross-tokenizer methods, outperforming the strongest alternative by up to 1.8 points and surpassing both continued pretraining and same-tokenizer distillation. For Llama-3.1-8B, CSD improves average accuracy over the strongest evaluated baseline by up to 4.2 points for the base student and 1.6 points for the instruction-tuned student.

1. Introduction

Knowledge distillation (KD) transfers knowledge from a teacher to a smaller student, typically by matching their predictive distributions [1]. In language models, standard token-level KD assumes a shared vocabulary and aligned prediction positions. When teacher and student use different tokenizers, the same text is segmented differently which requires token level alignment, and their distributions assign probability mass to different token outcomes. Direct distribution matching therefore requires both aligning prediction contexts and establishing corresponding outcomes across vocabularies. These requirements complicate token-level KD and restrict the choice of teachers.

We tackle the issue of logits distillation between models of different families and different tokenizers. Existing approaches differ in how they handle vocabulary and segmentation mismatches. GOLD [2] directly matches teacher and student probabilities for tokens with identical strings in both vocabularies. For tokens without such a match, it sorts each model's remaining probabilities and compares them by rank, ignoring token identity. X-Token identifies two limitations of this partition: loss of task-critical token identity and suppressive gradients on unmatched tokens [3]. Its P-KL and H-KL modes use projection and relaxed hybrid matching, respectively. However, selecting between them relies on a manual coverage audit for each tokenizer pair. Approximate Likelihood Matching (ALM) provides a uniform formulation across tokenizer pairs by matching the probability assigned to each observed aligned chunk and aggregating all remaining probability mass into a single residual event [4]. While broadly applicable, this aggregation discards fine-grained dark knowledge about how the teacher distributes probability among alternative continuations.

We introduce Common-Support Distillation (CSD), which makes teacher and student predictions comparable by organizing them over a shared support of text-equivalent continuation events. We first align token chunks that decode to the same observed text span. For one-to-one chunks, the support consists of common-token pairs from the two vocabularies. For one-to-many or many-to-one chunks, each event pairs a single token from one model with a token sequence from the other. For example, given the observed alignment (120 ↔ [1] [2] [0]), fixing the prefix [1] [2] and varying the final token yields 120 ↔ [1] [2] [0], ..., 129 ↔ [1] [2] [9]. We fix the within-chunk prefix to [1] [2] because the forward pass on the observed sequence provides the conditional

© 2026 NVIDIA. All rights reserved.

distributions along this prefix. A sequence event is assigned the product of its constituent conditional token probabilities. For accepted many-to-many chunks, the observed alignment forms the sole explicit event. Finally, a residual event captures probability mass outside the selected support, yielding normalized distributions that CSD matches with a single objective across all chunk types and tokenizer pairs.

Our contributions are summarized as follows, and the implementation of CSD is publicly available 1^{1}.

• A uniform cross-tokenizer objective. CSD matches teacher and student distributions over a shared support of paired token sequences plus a residual event. The same distribution-matching objective applies across chunk shapes and tokenizer pairs without pair-specific loss selection.

• Consistent gains across model families. Across four settings Llama-3.2-1B and Gemma3-1B-PT students and Qwen3-4B and Phi-4-mini teachers, CSD achieves the highest average accuracy, outperforming X-Token by 0.66–5.38 points and ALM by 1.33–3.30 points, while also surpassing continued pretraining and same-tokenizer KD.

• Efficient top-k distillation. In the Qwen–Llama setting, using only the top 16 or 128 teacher tokens reduces the five-task average by just 1.74% or 0.74% relative to full logits, substantially lowering training-step time with minimal accuracy loss.

• Gains at larger scales and training stages. For the Llama-3.1-8B base student, CSD outperforms continued pretraining by 2.17–4.43 points and ALM by 2.61–4.23 points across two teachers. For Llama-3.1-8B-Instruct, it improves over continued training and ALM by 3.90 and 1.60 points.

References (26)