Dense Cross-Tokenizer Distillation via Semantic Optimal Local Alignment
Mengyu Zheng, Zheyuan Bai, Yuchuan Tian, Chong Zhu, Tianyu Guo, Hanting Chen, Yunhe Wang
NeurIPS page · Open on the map
Category: LLM Post-Training: RL & Distillation › LLM Distillation · Type: new method · Keywords: cross-tokenizer distillation, vocabulary alignment, semantic mapping, instruction following, optimal transport
Summary
SOLA introduces a shared coordinate system for cross-tokenizer distillation by partitioning inputs into decoded-text blocks and using entropy-optimal transport on local support, improving performance on instruction following and domain transfer.
Explained to a 5-year-old
When we want to teach a small computer program everything a big computer knows, we need to match the words they use. The big and small programs sometimes use different words for the same ideas, so we need a map between them. The new idea makes this map by first cutting sentences into small pieces and comparing those pieces. It then moves the words around using a special matching rule so the pieces line up well. This helps the small program follow instructions and solve math problems better.
Explained to a 5-year-old, longer
When we want a small computer to know everything a big computer knows, we call this teaching or "distilling". The big computer uses many words, and the small one uses fewer, so they don't always match. To help them match, we need a map that shows which words mean the same thing. The new idea creates this map by first cutting the sentences into small blocks. It then looks at a small set of example sentences to see how the words line up. After that, it uses a smooth way to move words so each block in the small model matches the right block in the big model. This matching is done only around each prediction, so it focuses on the important parts. By having a good map, the small model can copy the big model's knowledge more accurately. This makes the small model better at following instructions, like answering questions. It also helps when the small model is used for coding or solving math problems. The improvement comes from the careful way the map is built, not from just copying whole sentences. In short, the method gives the small model a better guide to learn from the big one.
For a technical reader
The paper addresses the challenge of aligning two different token vocabularies during knowledge distillation by constructing an explicit coordinate system. It splits input text into contiguous blocks using a minimal complete correspondence algorithm, then estimates a cross-vocabulary cost from calibration data. An entropy-optimal transport step aligns these blocks locally around each teacher prediction, preserving both token identity and semantic density. Experiments on instruction-following benchmarks (Dolly, UltraChat) and domain-specific tasks (code, math) show consistent gains over direct cross-tokenizer baselines. Ablation studies confirm that the local support construction is the key factor driving the observed improvements.
Problem
Cross-tokenizer knowledge distillation lacks a shared coordinate system between teacher and student vocabularies, causing existing methods to sacrifice either token identity or semantic fidelity.
Method
The approach partitions inputs into decoded-text blocks using Minimal Complete Correspondence, estimates a cross-vocabulary correspondence cost from calibration text, and applies entropy-optimal transport on a bidirectional local support around each teacher prediction to reconstruct a shared coordinate system.
Results
The approach achieves superior performance over direct cross-tokenizer baselines on Dolly instruction following, UltraChat general-instruction, and code and math domain transfer, with component ablations confirming the contribution of the constructed support.
Contributions
The paper identifies the missing shared coordinate system in cross-tokenizer distillation and proposes a method to reconstruct it via block partitioning, cross-vocabulary cost estimation, and entropy-optimal transport on local support, leading to improved knowledge transfer.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction