arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2311.18823cs.LGcs.CV
收藏

用更大的模型初始化模型

Initializing Models with Larger Ones

University of Pennsylvania(宾夕法尼亚大学);UC Berkeley(加州大学伯克利分校);MBZUAI(穆罕默德·本·扎耶德人工智能大学);Meta AI Research(Meta人工智能研究院)

Zhiqiu Xu, Yanjie Chen, Kirill Vishniakov, Yida Yin, Zhiqiang Shen, Trevor Darrell, Lingjie Liu, Zhuang Liu

AI总结:

本文提出权重选择方法,通过从预训练大模型中选择权重子集来初始化小模型,实现知识迁移,显著提升小模型性能并减少训练时间,且可与知识蒸馏结合使用。

摘要:

权重初始化在神经网络训练中起着重要作用。广泛使用的初始化方法是针对从零开始训练的网络提出和评估的。然而,越来越多的预训练模型现在为解决权重初始化这一经典问题提供了新的机会。在这项工作中,我们引入了权重选择(weight selection),这是一种通过从预训练的更大模型中选择权重子集来初始化较小模型的方法。这使得知识能够从预训练权重迁移到较小的模型中。我们的实验表明,权重选择可以显著提升小模型的性能并减少其训练时间。值得注意的是,它还可以与知识蒸馏(knowledge distillation)一起使用。权重选择为在资源受限环境中利用预训练模型的能力提供了一种新方法,我们希望它能成为大模型时代训练小模型的有用工具。代码可在 https://github.com/OscarXZQ/weight-selection 获取。

英文摘要:

Weight initialization plays an important role in neural network training. Widely used initialization methods are proposed and evaluated for networks that are trained from scratch. However, the growing number of pretrained models now offers new opportunities for tackling this classical problem of weight initialization. In this work, we introduce weight selection, a method for initializing smaller models by selecting a subset of weights from a pretrained larger model. This enables the transfer of knowledge from pretrained weights to smaller models. Our experiments demonstrate that weight selection can significantly enhance the performance of small models and reduce their training time. Notably, it can also be used together with knowledge distillation. Weight selection offers a new approach to leverage the power of pretrained models in resource-constrained settings, and we hope it can be a useful tool for training small models in the large-model era. Code is available at https://github.com/OscarXZQ/weight-selection.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑