POA:一次预训练适用于所有规模的模型
POA: Pre-training Once for Models of All Sizes
AI总结:
本文提出三分支自监督框架 POA,通过引入弹性学生分支,在一次预训练中同时产出约百个不同规模的模型,并在多种骨干网络和下游任务上取得最先进性能。
摘要:
大规模自监督预训练已经为一个基础模型处理许多不同视觉任务铺平了道路。大多数预训练方法一次只训练一个特定规模的模型。然而,现实场景中的各种计算或存储约束需要付出大量努力来开发一系列不同规模的模型以供部署。因此,在本研究中,我们提出了一种新颖的三分支自监督训练框架,称为 POA(Pre-training Once for All,一次预训练适用于所有规模),以解决上述问题。我们的方法将一个创新的弹性学生分支引入现代自蒸馏范式。在每个预训练步骤中,我们随机从原始学生中采样一个子网络以形成弹性学生,并以自蒸馏方式训练所有分支。一旦预训练完成,POA 允许提取不同规模的预训练模型用于下游任务。值得注意的是,弹性学生促进了多个不同规模模型的同时预训练,同时也充当了各种规模模型的额外集成,以增强表示学习。包括 k 近邻、线性探测评估以及在多个下游任务上的评估在内的广泛实验证明了我们 POA 的有效性和优势。它使用 ViT、Swin Transformer 和 ResNet 骨干网络取得了最先进的性能,通过一次预训练会话产生约一百个不同规模的模型。代码可在以下地址获取:https://github.com/Qichuzyy/POA。
英文摘要:
Large-scale self-supervised pre-training has paved the way for one foundation model to handle many different vision tasks. Most pre-training methodologies train a single model of a certain size at one time. Nevertheless, various computation or storage constraints in real-world scenarios require substantial efforts to develop a series of models with different sizes to deploy. Thus, in this study, we propose a novel tri-branch self-supervised training framework, termed as POA (Pre-training Once for All), to tackle this aforementioned issue. Our approach introduces an innovative elastic student branch into a modern self-distillation paradigm. At each pre-training step, we randomly sample a sub-network from the original student to form the elastic student and train all branches in a self-distilling fashion. Once pre-trained, POA allows the extraction of pre-trained models of diverse sizes for downstream tasks. Remarkably, the elastic student facilitates the simultaneous pre-training of multiple models with different sizes, which also acts as an additional ensemble of models of various sizes to enhance representation learning. Extensive experiments, including k-nearest neighbors, linear probing evaluation and assessments on multiple downstream tasks demonstrate the effectiveness and advantages of our POA. It achieves state-of-the-art performance using ViT, Swin Transformer and ResNet backbones, producing around a hundred models with different sizes through a single pre-training session. The code is available at: https://github.com/Qichuzyy/POA.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。