The advent of large language models has revolutionized natural language processing, but their increasing complexity has led to substantial training costs, resource demands, and environmental impacts. In response, sparse Mixture-of-Experts (MoE) models have emerged as a promising alternative to dense models. Since training MoE models from scratch can be prohibitively expensive, recent studies have explored leveraging knowledge from pre-trained non-MoE models. However, existing approaches have limitations, such as requiring significant hardware resources and data. We propose a novel algorithm, LaDiMo, which efficiently converts a Transformer-based non-MoE model into a MoE model with minimal additional training cost. LaDiMo consists of two stages: layer-wise expert construction and routing policy decision. By harnessing the concept of Knowledge Distillation, we compress the model and rapidly recover its performance. Furthermore, we develop an adaptive router that optimizes inference efficiency by profiling the distribution of routing weights and determining a layer-wise policy that balances accuracy and latency. We demonstrate the effectiveness of our method by converting the LLaMA2-7B model to a MoE model using only 100K tokens, reducing activated parameters by over 20% while keeping accuracy. Our approach offers a flexible and efficient solution for building and deploying MoE models.
CoT2Align: Cross-Chain of Thought Distillation via Optimal Transport Alignment for Language Models with Different Tokenizers
Hanoi University of Science and Technology(河内理工大学);Oraichain Labs Inc.(Oraichain实验室公司);ByteDance Inc(字节跳动公司);VNU University of Engineering and Technology(越南国家大学工程技术大学);Monash University(莫纳什大学);University of Oregon(俄勒冈大学)
Feature Alignment and Representation Transfer in Knowledge Distillation for Large Language Models
Pingtan Research Institute of Xiamen University(厦门大学滨海研究院);Imperial College London(伦敦帝国理工学院);University of Sussex(苏塞克斯大学);Purdue University(普渡大学);University of Liverpool(利物浦大学);JTB Technology Corp.(JTB技术公司);Emory University(埃默里大学);The University of Texas at Dallas(德克萨斯大学达拉斯分校);Kyoto University(京都大学);AppCubic;Georgia Institute of Technology(佐治亚理工学院);AI Agent Lab(AI代理实验室)
Teaching Audio Models to Reason: A Unified Framework for Source- and Layer-wise Distillation
Jiutian Artificial Intelligence Research Institute, China Mobile, Beijing, China(九天人工智能研究院,中国移动,北京);The State Key Laboratory of Multimedia Information Processing, Peking University, Beijing, China(多媒体信息处理国家重点实验室,北京大学,北京)
Nix-TTS: Lightweight and End-to-End Text-to-Speech via Module-wise Distillation
Amazon(亚马逊)
几种轻量级TTS的解决方案已经显示出有希望的结果。尽管如此,它们要么依赖于手工设计,达到非最佳尺寸,要么使用神经架构搜索,但通常会付出培训成本。我们提出了Nix-TTS,一个轻量级的TTS实现通过知识蒸馏到一个高质量的,但大尺寸的,非自回归,和端到端(无声码器)的TTS教师模型。具体来说,我们提供模块式蒸馏,使编码器和解码器模块能够灵活和独立地蒸馏。由此产生的Nix-TTS继承了教师的非自回归和端到端的有利特性,但尺寸明显更小,只有5.23M参数或高达89.34%的教师模型减少;它还在英特尔上实现了超过3.04倍和8.36倍的推理加速,i7 CPU和Raspberry Pi 3B分别,与教师模型相比,仍然保留了公平的声音自然度和可理解性。我们提供Nix-TTS的预训练模型和音频样本。
SOD: Step-wise On-policy Distillation for Small Language Model Agents
Zhejiang University(浙江大学);Large Language Model Department, Tencent(腾讯大语言模型部门);University of Science and Technology of China(中国科学技术大学);National University of Singapore(新加坡国立大学)
f-Divergence Minimization for Sequence-Level Knowledge Distillation
University of Alberta(阿尔伯塔大学);Alberta Machine Intelligence Institute (Amii)(阿尔伯塔机器智能研究所(Amii));Mila(米拉研究所);McGill University(麦吉尔大学);The University of Hong Kong(香港大学)