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

通过Learngene Pool构建可变尺寸模型

Building Variable-sized Models via Learngene Pool

Southeast University(东南大学);Key Laboratory of New Generation Artificial Intelligence Technology and Its Interdisciplinary Applications (Southeast University), Ministry of Education(新一代人工智能技术及其跨学科应用教育部重点实验室(东南大学))

Boyu Shi, Shiyu Xia, Xu Yang, Haokun Chen, Zhiqiang Kou, Xin Geng

AI总结:

针对可拼接神经网络SN-Net存储消耗高、难构建小模型、拼接层初始化限制性能的问题,提出基于Learngene框架的Learngene Pool方法,通过蒸馏单个预训练大模型构建学习基因池,结合可学习变换矩阵拼接可变尺寸模型,有效提升性能并降低存储需求。

摘要:

近期,可拼接神经网络(Stitchable Neural Networks, SN-Net)被提出,用于拼接多个预训练网络,以快速构建大量具有不同复杂度与性能权衡的网络。这种方式减轻了设计或训练可用于各类资源约束应用场景的可变尺寸网络的负担。然而,SN-Net仍面临若干挑战:1)从多个独立预训练的锚点网络进行拼接会带来高昂的存储资源消耗;2)SN-Net难以构建适用于低资源约束的更小尺寸模型;3)SN-Net对拼接层采用未经过学习的初始化方法,限制了最终性能。为克服这些挑战,受近期提出的Learngene框架启发,我们提出了一种名为Learngene Pool的新方法。简而言之,Learngene将大型预训练模型中的关键知识蒸馏到一个小部分(称为learngene,即学习基因)中,随后将该小部分扩展为多个可变尺寸的模型。在我们提出的方法中,我们将一个预训练大模型蒸馏为多个小模型,这些小模型的网络块将作为learngene实例构建learngene pool(学习基因池)。由于仅使用一个大模型,我们无需像SN-Net那样存储多个大模型,且在蒸馏后可生成更小的learngene实例来构建小模型,以满足低资源约束。我们还在实例之间插入可学习的变换矩阵,将它们拼接成可变尺寸模型,以提升这些模型的性能。我们开展了详尽的实验,结果验证了所提出的Learngene Pool相较于SN-Net的有效性。

英文摘要:

Recently, Stitchable Neural Networks (SN-Net) is proposed to stitch some pre-trained networks for quickly building numerous networks with different complexity and performance trade-offs. In this way, the burdens of designing or training the variable-sized networks, which can be used in application scenarios with diverse resource constraints, are alleviated. However, SN-Net still faces a few challenges. 1) Stitching from multiple independently pre-trained anchors introduces high storage resource consumption. 2) SN-Net faces challenges to build smaller models for low resource constraints. 3). SN-Net uses an unlearned initialization method for stitch layers, limiting the final performance. To overcome these challenges, motivated by the recently proposed Learngene framework, we propose a novel method called Learngene Pool. Briefly, Learngene distills the critical knowledge from a large pre-trained model into a small part (termed as learngene) and then expands this small part into a few variable-sized models. In our proposed method, we distill one pretrained large model into multiple small models whose network blocks are used as learngene instances to construct the learngene pool. Since only one large model is used, we do not need to store more large models as SN-Net and after distilling, smaller learngene instances can be created to build small models to satisfy low resource constraints. We also insert learnable transformation matrices between the instances to stitch them into variable-sized models to improve the performance of these models. Exhaustive experiments have been implemented and the results validate the effectiveness of the proposed Learngene Pool compared with SN-Net.

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

↑