ACTD: Anchor-Based Cross-Tokenizer Distillation with Residual Regularization
ACTD employs vocabulary and sequence alignment with residual regularization, achieving state-of-the-art results on five reasoning benchmarks, with +4.5 points improvement.
Key Findings
Methodology
ACTD utilizes first-subtoken vocabulary alignment to map teacher tokens into the student vocabulary space, combined with character boundary-based sequence alignment. It introduces an anchor loss focusing on high-probability tokens and residual regularization to suppress noise from low-confidence tokens. The multi-teacher extension averages losses across models, enhancing robustness. The core algorithms include vocabulary mapping Γ, monotonic sequence alignment, anchor loss, and residual regularization, forming a comprehensive framework for heterogeneous model distillation.
Key Results
- Across five reasoning benchmarks, ACTD improves average scores by 4.5 points over baseline cross-tokenizer methods. In single-teacher settings, it surpasses traditional methods significantly; in multi-teacher scenarios, it gains an additional 4.9 points, demonstrating robustness and superior generalization.
- In experiments with different architectures (Qwen-3-1.7B, Llama-3.2-3B), ACTD consistently outperforms baselines, with an average gain of 2.6 points. Residual regularization sharpens the student distribution, reducing entropy and improving accuracy.
- Ablation studies show that anchor loss and residual regularization jointly improve knowledge transfer, especially in noisy, long-tail token scenarios, confirming the effectiveness of the proposed mechanisms.
Significance
This work addresses the critical challenge of aligning heterogeneous models with different vocabularies and sequence structures, enabling effective knowledge transfer. By focusing on high-confidence tokens and suppressing noise, ACTD enhances the performance of lightweight models in reasoning tasks. Its multi-teacher extension leverages complementary supervision, paving the way for more robust model fusion. The approach reduces computational costs for deploying large models and broadens the applicability of knowledge distillation in industry and academia, especially in resource-constrained environments.
Technical Contribution
The paper introduces a novel combination of vocabulary-level first-subtoken alignment and sequence boundary matching, integrated with an anchor-based loss focusing on high-probability tokens. The residual regularization explicitly penalizes low-confidence regions, preventing mode collapse and sharpening the student distribution. The multi-teacher extension aggregates multiple heterogeneous models' supervision, further improving robustness. These innovations collectively advance the state-of-the-art in cross-model, cross-vocabulary knowledge distillation, offering a systematic solution to longstanding alignment and noise issues.
Novelty
This is the first work to combine first-subtoken vocabulary alignment with monotonic sequence boundary matching, coupled with an anchor-based loss and residual regularization, specifically targeting heterogeneous model distillation. Unlike prior methods that rely on full distribution matching or approximate mappings, ACTD emphasizes high-confidence regions, reducing noise and improving transfer fidelity. Its multi-teacher extension further exploits complementary supervision, setting a new benchmark in heterogeneous knowledge distillation.
Limitations
- The approach depends heavily on accurate token boundary detection and vocabulary mapping, which may degrade with highly divergent vocabularies or noisy texts.
- Residual regularization may cause information loss in extremely long-tail or rare tokens, impacting performance in specialized domains.
- Caching teacher logits and performing multiple alignments increase computational overhead, limiting scalability for very large datasets or models.
Future Work
Future research could focus on adaptive anchor selection to better cover long-tail tokens, integrating multi-modal data for cross-modal distillation, and developing more efficient vocabulary mapping algorithms. Exploring unsupervised or semi-supervised alignment techniques could further enhance robustness. Extending the framework to multilingual models and real-world deployment scenarios will also be valuable, aiming to reduce costs and improve generalization in diverse applications.
AI Executive Summary
The rapid development of large language models (LLMs) has revolutionized natural language understanding and reasoning tasks. However, deploying these massive models in real-world scenarios remains challenging due to their high computational costs. Knowledge distillation offers a promising solution by transferring capabilities from large teacher models to smaller, efficient students. Traditional methods, however, struggle when teachers and students use different vocabularies and sequence structures, limiting their effectiveness.
This paper introduces ACTD, an innovative cross-tokenizer distillation framework that addresses these challenges through vocabulary and sequence alignment strategies. By aligning the first subtoken of teacher tokens to the student vocabulary and matching sequence boundaries at character level, ACTD creates a common ground for knowledge transfer. The core idea involves focusing the distillation process on high-probability tokens—called anchor tokens—using a specialized anchor loss. To further suppress noise from less confident regions, residual regularization penalizes low-confidence tokens, sharpening the student’s output distribution.
Experimental results across five reasoning benchmarks demonstrate that ACTD consistently outperforms existing cross-tokenizer methods, with an average improvement of 4.5 points in accuracy. The multi-teacher extension, Multi-ACTD, leverages multiple heterogeneous teachers, achieving an additional 4.9-point boost and surpassing strong baselines. These findings highlight the robustness and generalization of the approach across different model architectures and scales.
The significance of this work lies in its systematic tackling of heterogeneity in vocabulary and sequence structures, enabling more effective knowledge transfer. It opens new avenues for deploying lightweight models capable of complex reasoning, reducing costs and expanding AI accessibility. Despite some limitations related to vocabulary alignment and computational overhead, future work aims to optimize these aspects and extend the framework to multi-modal and multilingual settings, promising broader impact in AI research and applications.
Deep Analysis
Background
Recent years have seen exponential growth in large language models (LLMs) such as GPT, BERT, and their derivatives, which excel in reasoning and understanding tasks. Early knowledge distillation techniques like Hinton’s soft-label approach (2015) enabled model compression within homogeneous architectures. However, as models diversified with different tokenizers and structures, cross-model distillation became essential. Works like UOT (Boizard et al., 2024) and ALM (Minixhofer et al., 2025) addressed vocabulary mismatch, but still faced challenges in sequence alignment and noise control. With the increasing deployment of heterogeneous models, effective knowledge transfer across different vocabularies and architectures remains a pressing issue. This paper builds on these foundations, proposing a comprehensive framework to improve alignment and noise suppression, thus facilitating robust multi-model distillation.
Core Problem
The core challenge lies in aligning models with different vocabularies and sequence segmentations. Vocabulary mismatch causes distribution distortion, introducing noise into the distillation process. Sequence misalignment further complicates the transfer, especially in reasoning tasks requiring precise token-to-token correspondence. Existing methods often rely on approximate mappings or full distribution matching, which are susceptible to noise and information loss. These issues hinder the effectiveness of knowledge transfer, especially in multi-teacher settings where accumulated errors degrade performance. Addressing these problems requires a systematic alignment mechanism and noise mitigation strategy to ensure high-fidelity knowledge transfer across heterogeneous models.
Innovation
The paper’s key innovations include: 1) First-subtoken vocabulary alignment, which maps teacher tokens to student tokens based on the initial subtoken, reducing vocabulary mismatch. 2) Character boundary-based sequence alignment, ensuring positional correspondence despite different token segmentations. 3) Anchor-based loss focusing on high-probability tokens, capturing the most informative signals. 4) Residual regularization penalizing low-confidence tokens, suppressing noise and sharpening the student distribution. 5) Multi-teacher extension, aggregating supervision from diverse models to improve robustness. These innovations collectively form a novel framework that effectively addresses heterogeneity and noise issues in cross-model distillation, outperforming prior approaches.
Methodology
- �� Vocabulary alignment: Define a mapping Γ from teacher vocabulary VT to student vocabulary VS, prioritizing shared tokens and re-tokenizing unshared tokens via character boundary matching. • Sequence alignment: Use character boundary detection to align teacher and student token positions, ensuring accurate correspondence. • Anchor selection: For each position, select top-k teacher tokens with highest probabilities, map them to student tokens as anchors. • Anchor loss: Compute the divergence between teacher’s top-k distribution and student probabilities on anchor tokens, focusing on high-confidence signals. • Residual regularization: For residual tokens outside the anchor set, penalize their total probability mass with L1 norm, suppressing noise. • Multi-teacher extension: Aggregate losses from multiple teachers by averaging, enhancing robustness. • Optimization: Minimize combined anchor loss and residual regularization loss to train the student model.
Experiments
The evaluation employs OpenThoughts-114k math dataset, comparing ACTD with SFT, KD, ULD, ALM baselines across five reasoning benchmarks (AIME24/25, AMC23, Minerva, MATH500). Models include Qwen-3-1.7B, Llama-3.2-3B, and GLM-4-9B. Hyperparameters like top-k=128, residual weight λres, and sequence truncation are tuned via ablation studies. Performance metrics include AVG@8 and PASS@8, with statistical significance confirmed through multiple runs. Ablation experiments analyze the impact of prefix truncation, residual weight, and top-k size, validating design choices.
Results
ACTD consistently outperforms baseline cross-tokenizer methods, with an average gain of 4.5 points in accuracy across five benchmarks. The multi-teacher version, Multi-ACTD, further improves scores by 4.9 points, demonstrating the benefit of heterogeneous supervision. Ablation results show that removing prefix truncation reduces performance by 0.7–1.6 points, confirming its importance. Residual regularization effectively reduces entropy and sharpens distributions, especially in noisy long-tail scenarios. The optimal top-k value is 128, balancing coverage and noise suppression. Overall, results validate the effectiveness and robustness of the proposed framework.
Applications
This framework is directly applicable in deploying lightweight models for complex reasoning tasks in AI-powered applications such as intelligent tutoring systems, automated reasoning engines, and resource-constrained environments. It enables efficient knowledge transfer from large, diverse models, reducing computational costs while maintaining high accuracy. Long-term, the approach can facilitate multi-modal and multilingual model fusion, supporting broader AI deployment in industry, education, and scientific research, especially where model heterogeneity and resource limitations are critical constraints.
Limitations & Outlook
The reliance on accurate token boundary detection and vocabulary mapping may limit performance with highly divergent vocabularies or noisy data. Residual regularization might cause information loss in rare or long-tail tokens, impacting domain-specific tasks. The caching of teacher logits and alignment computations increase training overhead, restricting scalability. Future work should focus on adaptive alignment strategies, reducing computational costs, and extending to multi-modal data to enhance robustness and applicability across diverse real-world scenarios.
Plain Language Accessible to non-experts
想象你在学校里有很多不同的老师,每个老师用不同的教材和讲课方式。要让你理解所有老师的内容,老师们会用一些共同的关键词或重点句子(锚点)来帮助你抓住核心。老师还会特别强调那些重要的知识点(高概率区域),而忽略那些次要或模糊的内容(长尾词)。这样,你就能更快、更准确地掌握老师的精髓,而不会被一些不重要的细节干扰。这个过程就像老师用不同的教材教你,但通过一些巧妙的对齐和筛选,让你学得更好、更快。这种方法可以让不同老师(模型)之间的知识更好地传递,最终让你变得更聪明、更强大。
ELI14 Explained like you're 14
想象你在学校里有很多不同的老师,每个老师用不同的语言和教材教你东西。有时候,老师讲的内容不完全一样,词汇也不同。要让你听懂所有老师的课,老师们会用一些共同的关键词,比如“重要的点”或“核心内容”,来帮你抓住重点。老师还会特别强调那些经常出现、很重要的知识点,让你记得更牢。这就像在学习中,老师用不同的词汇讲同一件事,但你用一些“标记”把重要的部分圈出来,忽略那些次要的细节。这样,你就能更快理解老师的意思,不会被一些不重要的细节搞糊涂。这个方法让不同老师的知识都能更好地传达给你,让你变得更聪明、更懂事。
Abstract
Knowledge distillation effectively transfers reasoning capabilities from large language models to lightweight student models. To enable knowledge transfer across disparate model families, researchers increasingly explore cross-tokenizer distillation. However, cross-tokenizer distillation remains challenging due to vocabulary and sequence misalignment, while approximate vocabulary alignment can introduce additional noise into distillation. To address these challenges, we propose Anchor-Based Cross-Tokenizer Distillation with Residual Regularization (ACTD). ACTD bridges structural heterogeneity through vocabulary and sequence alignment, while mitigating alignment noise via a novel anchor loss with residual regularization. We further extend this framework to a multi-teacher setting. Evaluated across five reasoning benchmarks with three distinct teacher models, ACTD achieves state-of-the-art performance. Moreover, its multi-teacher extension outperforms the strongest single-teacher and multi-teacher baselines, further demonstrating the robustness of our method.