Cross-Tokenizer Distillation: More Supervision Is Not Always Better

Paper / preprint Hugging Face Daily Papers · Reported findings, not independently verified by us.

In on-policy distillation, tighter and more reliable alignment between teacher and student models can be more effective than maximizing coverage. A study of differing tokenizers reports that adding training signals for text spans that cannot be matched exactly reduced accuracy.

In this approach, the student generates its own responses and receives feedback from a teacher. When their tokenizers differ, predictions must be aligned at both the sequence and vocabulary levels. The researchers evaluated three heterogeneous teacher–student pairs on mathematical reasoning and code generation.

Strict 1:1 alignments already covered most student-generated tokens despite substantial vocabulary differences. At these positions, the shared vocabulary retained nearly all of the teacher’s and student’s probability mass on average. Computing reverse KL over the 16 most likely shared tokens selected by the student achieved accuracy comparable to using the full shared vocabulary and outperformed the evaluated comparison methods.

Adding mean-squared-error supervision for spans without exact matches completed coverage but reduced accuracy. Gradients from those signals showed weak or sometimes opposing directional agreement with gradients from strictly aligned positions. The source provides further details on the experiments and diagnostics: Original paper

🇬🇧 https://huggingface.co/papers/2610.08448

Leave a Comment

The weekly brief: selected developments, projects and videos