End-to-end training with back propagation is the standard method for training deep neural networks. However, as networks become deeper and bigger, end-to-end training becomes more challenging: highly non-convex models gets stuck easily in local optima, gradients signals are prone to vanish or explode during back-propagation, training requires computational resources and time. In this work, we propose to break away from the end-to-end paradigm in the context of Knowledge Distillation. Instead of distilling a model end-to-end, we propose to split it into smaller sub-networks - also called neighbourhoods - that are then trained independently. We empirically show that distilling networks in a non end-to-end fashion can be beneficial in a diverse range of use cases. First, we show that it speeds up Knowledge Distillation by exploiting parallelism and training on smaller networks. Second, we show that independently distilled neighbourhoods may be efficiently re-used for Neural Architecture Search. Finally, because smaller networks model simpler functions, we show that they are easier to train with synthetic data than their deeper counterparts.
TV-Regulated OPD: Direction Matters in On-Policy Distillation
The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));The University of Edinburgh(爱丁堡大学);The Hong Kong University of Science and Technology(香港科技大学)
When Sparse Reward Meets Dense Distillation: Training Dynamics of On-Policy Distillation
Peking University(北京大学);National Engineering Research Center of Software Engineering, Peking University(北京大学软件工程国家工程研究中心);School of Computer Science, Peking University(北京大学计算机学院);Key Laboratory of High Confidence Software Technologies, Ministry of Education(高可信软件技术教育部重点实验室);Center on Frontiers of Computing Studies, Peking University(北京大学计算前沿研究中心)
Convergence Theory of Knowledge Distillation in Asynchronous P2P Gossip Learning Network
University of California, Santa Cruz(加州大学圣克鲁兹分校);China University of Petroleum(中国石油大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));City University of Hong Kong(香港城市大学);University of Virginia(弗吉尼亚大学)
Reduce, Reuse, Recycle: Improving Training Efficiency with Distillation
Texas State University(德克萨斯州立大学);MosaicML(MosaicML公司);Brown University(布朗大学)
提高深度网络训练效率的方法(即达到给定模型质量水平所需的资源)对深度学习实践者来说是直接有益的。蒸馏通常用于压缩模型或提高模型质量,但尚不清楚蒸馏是否真的提高了训练效率。蒸馏的质量改进是否可以转化为训练的加速,或者它们只是提高了最终模型的质量而没有节省资源?我们进行了一系列实验,以研究蒸馏是否以及如何使用ImageNet上训练的ResNet-50和C4上训练的BERT来加速训练,并使用通用企业硬件(8 x NVIDIA A100)进行GLUE评估。我们发现,在ImageNet上训练的ResNet-50中,蒸馏可以将训练速度提高1.96倍,在GLUE上评估时,在BERT上可以提高1.42倍。此外,BERT的蒸馏仅在训练的前20-50%执行时产生最佳结果。我们还观察到,在ResNet-50和BERT中,使用蒸馏的训练几乎总是比不使用蒸馏的训练更有效,即使使用质量最差的模型作为老师。最后,我们发现,通过在每个步骤上从教师模型池中随机抽样一个教师,可以从具有O(n)运行时成本的教师模型集合中获得提取的好处,这只有O(1)运行时成本。综上所述,这些结果表明,蒸馏可以大大提高图像分类和语言建模的训练效率,并且对蒸馏协议进行一些简单的优化可以进一步提高这些效率。
Teacher-Student Gaps Are Not Enough: Outcome-Guided On-Policy Distillation for Multi-Turn Autonomous Agents
Qwen Large Model Application Team, Alibaba(阿里巴巴通义千问大模型应用团队);Peking University(北京大学);University of Chinese Academy of Sciences(中国科学院大学);Shanghai Jiao Tong University(上海交通大学)
Cross-Paradigm Knowledge Distillation: A Comprehensive Study of Bidirectional Transfer Between Random Forests and Deep Neural Networks for Big Data Applications
Knowledge Distillation for Variational Quantum Convolutional Neural Networks on Heterogeneous Data
College of Computer and Cyber Security, Fujian Normal University(福建师范大学计算机与网络安全学院);Digital Fujian Internet-of-Things Laboratory of Environmental Monitoring, Fujian Normal University(福建师范大学环境监测数字福建物联网实验室)