paper-with-me

홈 › Papers

Multi-Level Optimal Transport for Universal Cross-Tokenizer Knowledge Distillation on Language Models

2024-12-19 · Xiao Cui, Mo Zhu, Yulei Qin, Liang Xie, Wengang Zhou, Houqiang Li

Knowledge distillation (KD) has become a prevalent technique for compressing large language models (LLMs). Existing KD methods are constrained by the need for identical tokenizers (i.e., vocabularies) between teacher and student models, limiting their versatility in handling LLMs of different architecture families. In this paper, we introduce the Multi-Level Optimal Transport (MultiLevelOT), a novel approach that advances the optimal transport for universal cross-tokenizer knowledge distillation. Our method aligns the logit distributions of the teacher and the student at both token and sequence levels using diverse cost matrices, eliminating the need for dimensional or token-by-token correspondence. At the token level, MultiLevelOT integrates both global and local information by jointly optimizing all tokens within a sequence to enhance robustness. At the sequence level, we efficiently capture complex distribution structures of logits via the Sinkhorn distance, which approximates the Wasserstein distance for divergence measures. Extensive experiments on tasks such as extractive QA, generative QA, and summarization demonstrate that the MultiLevelOT outperforms state-of-the-art cross-tokenizer KD methods under various settings. Our approach is robust to different student and teacher models across model families, architectures, and parameter sizes. Codes and models are available at https://github.com/2018cx/Multi-Level-OT.

📄 PDF Abstract BibTeX arXiv:2412.14528

Code (1)

2018cx/multi-level-ot 공식 구현 pytorch

Tasks

Knowledge Distillation

Similar Papers 제목 키워드 기반

Universal Representation of Generalized Convex Functions and their Gradients

2025-08-30 · Moeen Nehzati arxiv

A wide range of optimization problems can often be written in terms of generalized convex functions (GCFs). When this structure is present, it can convert certain nested bilevel objectives into single-level problems amen…

Neural Optimal Transport

2022-01-28 · Alexander Korotin, Daniil Selikhanovych, Evgeny Burnaev

We present a novel neural-networks-based algorithm to compute optimal transport maps and plans for strong and weak transport costs. To justify the usage of neural networks, we prove that they are universal approximators …

Image-to-Image TranslationTranslation

Universal Neural Optimal Transport

2022-11-30 · Jonathan Geuter, Gregor Kornhardt, Ingimar Tomasson, Vaios Laschos

Optimal Transport (OT) problems are a cornerstone of many applications, but solving them is computationally expensive. To address this problem, we propose UNOT (Universal Neural Optimal Transport), a novel framework capa…

CoT2Align: Cross-Chain of Thought Distillation via Optimal Transport Alignment for Language Models with Different Tokenizers

2025-02-24 · Anh Duc Le, Tu Vu, Nam Le Hai, Nguyen Thi Ngoc Diep 외

Large Language Models (LLMs) achieve state-of-the-art performance across various NLP tasks but face deployment challenges due to high computational costs and memory constraints. Knowledge distillation (KD) is a promising…

Knowledge Distillation

Universal Prototype Transport for Zero-Shot Action Recognition and Localization

2022-03-08 · Pascal Mettes

This work addresses the problem of recognizing action categories in videos when no training examples are available. The current state-of-the-art enables such a zero-shot recognition by learning universal mappings from vi…

Action RecognitionObjectPositionTemporal Localization+3