POA: Pre-training Once for Models of All Sizes

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zhang, Yingying, Guo, Xin, Lao, Jiangwei, Yu, Lei, Ru, Lixiang, Wang, Jian, Ye, Guo, He, Huimei, Chen, Jingdong, Yang, Ming
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913456125378560
author Zhang, Yingying
Guo, Xin
Lao, Jiangwei
Yu, Lei
Ru, Lixiang
Wang, Jian
Ye, Guo
He, Huimei
Chen, Jingdong
Yang, Ming
author_facet Zhang, Yingying
Guo, Xin
Lao, Jiangwei
Yu, Lei
Ru, Lixiang
Wang, Jian
Ye, Guo
He, Huimei
Chen, Jingdong
Yang, Ming
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2408_01031
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle POA: Pre-training Once for Models of All Sizes
Zhang, Yingying
Guo, Xin
Lao, Jiangwei
Yu, Lei
Ru, Lixiang
Wang, Jian
Ye, Guo
He, Huimei
Chen, Jingdong
Yang, Ming
Computer Vision and Pattern Recognition
68T07
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.
title POA: Pre-training Once for Models of All Sizes
topic Computer Vision and Pattern Recognition
68T07
url https://arxiv.org/abs/2408.01031