PapersMulti-sourceSelected

WaveDistill: Offline Cross-Tokenizer Distillation at Zero Teacher VRAM

Offline Cross-Tokenizer Distillation on a UTF-8 Byte Clock at Zero Teacher VRAM

Why we picked it

The practical shift is that cross-tokenizer distillation no longer needs the teacher model resident in GPU memory — a 110-byte-per-token cache replaces it, letting small teams distill from 3B–14B teachers on modest hardware. Engineers training compact models with vocabularies mismatched to available teachers can apply this directly, with code and run logs published. The finding that INT4 quantization is lossless while PCA truncation drives the gains tells practitioners where to spend their compression budget.

A new arXiv paper (2611.39489) introduces an offline cross-tokenizer knowledge distillation (CTKD) method that runs at 0.00 GiB teacher VRAM with zero inference overhead, validated across 98 controlled runs plus a 32-byte zero-overlap test split. The approach aligns teacher and student hidden states on a UTF-8 byte clock, avoiding the online teacher GPU memory or large cached logit tables required by prior logit-based methods.

Body

The authors compare two alignment schemes: discrete boundary alignment (StepAlign, H=0) and causal Laplace-Fourier wave smoothing (WaveDistill, H>0). They distill three quantized teachers — Llama-3.2-3B, Gemma-4-E4B, and DeepSeek-R1-Qwen-14B — into 86.7M GPT-2 (50K vocab) and 54.7M byte-level (260 vocab) students. Teacher states are stored as centered top-64 PCA modes in group-32 INT4 at 110 bytes/token, 7.05x smaller than INT8-256. This lowers 3-seed GPT-2 perplexity from 150.06±1.08 (CE-only) to 134.76±0.40 (Welch p=5.05×10⁻⁴), beating offline ULD, tuned BLD, and five non-pretrained controls. A same-tokenizer GPT-2-124M teacher recovers 84.6% of the gain, while cross-tokenizer Llama-3.2-3B still adds −2.35 PPL (p=0.010).

Ablations show PCA truncation (256→64) drives the accuracy gain (−3.09 PPL) while INT4 quantization is lossless (p=0.52). An exact intra-word phase identity and DC mean-cone analysis explain why simpler discrete StepAlign matches or beats continuous wave smoothing without custom CUDA kernels. Code and logs are on GitHub.

Original · arXiv: DeepSeek

Offline Cross-Tokenizer Distillation on a UTF-8 Byte Clock at Zero Teacher VRAM

Cross-tokenizer knowledge distillation (CTKD) transfers knowledge across incompatible vocabularies, yet logit methods require online teacher GPU memory or large cached logit tables. We study offline hidden-state distillation on a UTF-8 byte clock at 0.00 GiB teacher VRAM and zero inference overhead, comparing discrete boundary alignment (StepAlign, $H=0$) against causal Laplace-Fourier wave smoothing (WaveDistill, $H>0$) across 98 controlled runs plus a 32-byte zero-overlap test split. Distilling three quantized teachers (Llama-3.2-3B, Gemma-4-E4B, DeepSeek-R1-Qwen-14B) into 86.7M GPT-2 (50K) and 54.7M byte-level (260) students yields three findings. First, centered top-64 PCA modes in group-32 INT4 (110 B/tok; 7.05x smaller than INT8-256, 1.76x smaller than uncompressed Top-32 logits) lower 3-seed GPT-2 perplexity from $150.06 \pm 1.08$ (CE-only) to $134.76 \pm 0.40$ (Welch $p = 5.05 \times 10^{-4}$; fresh test $150.42 \to 134.49$, BPB Welch $p = 3.68 \times 10^{-4}$), beating offline ULD, tuned BLD, regularized CE-only, and five non-pretrained controls. Across 3 seeds, a same-tokenizer GPT-2-124M teacher ($137.11 \pm 0.66$) recovers 84.6% of this gain (87%-89% within-batch), while cross-tokenizer Llama-3.2-3B adds $-2.35$ PPL (Welch $p = 0.010$, despite tokenizer mismatch and lower retained PCA variance). Second, within-batch factorization isolates PCA truncation ($256 \to 64$, $-3.09$ PPL) as the accuracy driver while INT4 is lossless ($p = 0.52$). Third, an exact intra-word phase identity and DC mean-cone analysis explain why simpler discrete StepAlign matches or beats continuous wave smoothing without custom CUDA kernels. Code/logs: https://github.com/pavankomireddy/wavedistill

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include distillation, Llama-3.2, DeepSeek-R1, GPT-2.

Primary source verification: published directly by arXiv: DeepSeek with first-party authority. Cross-source corroboration: 4 independent sources have covered this development (including Lxfater, 歸藏(guizang.ai), DAIR.AI), confirming industry-wide signal strength.