Dense Cross-Tokenizer Distillation via Semantic Optimal Local Alignment
Abstract
Cross-tokenizer knowledge distillation lacks a shared coordinate system between teacher and student vocabularies, and existing methods each drop one of the two ingredients comparison needs: shape-based objectives preserve density but discard token identity, lexical alignment restores identity but uses surface form as a proxy for meaning, and text-space matching compresses the teacher signal into chunk-level events. We introduce SOLA (Semantic Optimal Local Alignment), which reconstructs the missing coordinate system explicitly: it partitions inputs into decoded-text blocks via Minimal Complete Correspondence, estimates a cross-vocabulary correspondence cost from calibration text, and runs entropic optimal transport on a bidirectional local support retrieved around each teacher prediction. Under matched training and decoding protocols, SOLA outperforms direct cross-tokenizer baselines on Dolly instruction following, an UltraChat general-instruction benchmark, and code and math domain transfer. Component ablations show gains from successive construction stages, and method-specific diagnostics across six methods show a positive coverage--score association.