CTPD: Cross Tokenizer Preference Distillation
Truong Nguyen, Phi Van Dat, Ngan Nguyen, Linh Ngo Van, Trung Le, Thanh Hong Nguyen
TL;DR
CTPD tackles the practical challenge of distilling human preferences from a high-capacity teacher to a smaller student when their tokenizers differ. It combines Aligned Span Projection, a cross-tokenizer extension of Token-level Importance Sampling DPO, and a Teacher-Anchored Reference to enable fine-grained, white-box transfer of preference signals across heterogeneous tokenizers, with theoretical grounding in importance sampling. Empirically, CTPD delivers consistent gains over strong preference-alignment and KD baselines across diverse benchmarks, including GSM8k and TruthfulQA. By decoupling supervision from tokenizer compatibility, CTPD broadens access to efficient, robust alignment and opens avenues for broader cross-tokenizer knowledge transfer.
Abstract
While knowledge distillation has seen widespread use in pre-training and instruction tuning, its application to aligning language models with human preferences remains underexplored, particularly in the more realistic cross-tokenizer setting. The incompatibility of tokenization schemes between teacher and student models has largely prevented fine-grained, white-box distillation of preference information. To address this gap, we propose Cross-Tokenizer Preference Distillation (CTPD), the first unified framework for transferring human-aligned behavior between models with heterogeneous tokenizers. CTPD introduces three key innovations: (1) Aligned Span Projection, which maps teacher and student tokens to shared character-level spans for precise supervision transfer; (2) a cross-tokenizer adaptation of Token-level Importance Sampling (TIS-DPO) for improved credit assignment; and (3) a Teacher-Anchored Reference, allowing the student to directly leverage the teacher's preferences in a DPO-style objective. Our theoretical analysis grounds CTPD in importance sampling, and experiments across multiple benchmarks confirm its effectiveness, with significant performance gains over existing methods. These results establish CTPD as a practical and general solution for preference distillation across diverse tokenization schemes, opening the door to more accessible and efficient alignment of language models.
