跨分词器离线蒸馏:教师端 0 显存占用,GPT-2 困惑度从 150.06 降至 134.76
Offline Cross-Tokenizer Distillation on a UTF-8 Byte Clock at Zero Teacher VRAM
不用把教师模型挂在 GPU 上也能跨词表蒸馏,只要缓存 110 字节/token 的 INT4 PCA 特征,小模型困惑度降了约 15 个点。代码开源,做小模型训练或端侧部署的团队可以照着复现。
论文提出在 UTF-8 字节时钟上做离线隐藏态蒸馏(CTKD),教师端显存占用为 0.00 GiB,推理零额外开销。作者对比了离散边界对齐 StepAlign(H=0)与连续的 Laplace-Fourier 波形平滑 WaveDistill(H>0),共执行 98 组受控实验外加 32 字节零重叠测试集。
技术核心是用 group-32 INT4 量化的居中 top-64 PCA 模式(110 B/token,比 INT8-256 小 7.05 倍),把三个量化教师(Llama-3.2-3B、Gemma-4-E4B、DeepSeek-R1-Qwen-14B)蒸馏进 86.7M 的 GPT-2(50K 词表)和 54.7M 字节级(260 词表)学生。GPT-2 困惑度从仅用 CE 的 150.06±1.08 降到 134.76±0.40,优于离线 ULD、调优后的 BLD 等基线;跨分词器的 Llama-3.2-3B 教师额外带来 -2.35 PPL。消融显示 PCA 截断(256→64)是精度来源,INT4 量化无损(p=0.52),且简单的 StepAlign 在无自定义 CUDA 内核的情况下即可匹敌 WaveDistill。
这项工作对算力受限的团队有直接价值:不需要教师模型常驻 GPU 或缓存大体积 logit 表,也能完成跨词表知识迁移,代码与日志已在 GitHub 开源。
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
本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:知识蒸馏、Llama-3.2、DeepSeek-R1、GPT-2,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始信息发布自一手权威信源「arXiv: DeepSeek」(Tier-1 一手发布),具备高确定性参考价值。截至目前,全网已有 4 家独立信源对该事件进行交叉印证与跟进报道(含 Lxfater、歸藏(guizang.ai)、DAIR.AI 等),属于近期高关注度行业信号。