Self-Supervised Weight Templates for Scalable Vision Model Initialization
Yucheng Xie, Fu Feng, Ruixiao Shi, Jing Wang, Yong Rui, Xin Geng
TL;DR
SWEET tackles the problem of deploying vision models across varied architectures without costly full-model pre-training. It learns a size-agnostic weight template under Tucker-based constraints and augments it with width-wise stochastic scaling to ensure cross-width generalization, enabling fast, low-resource initialization for downstream tasks. The approach yields consistent gains across classification, detection, segmentation, and generation, and ablations confirm the importance of the Tucker bottleneck and width-robust training. This framework offers a scalable, task-agnostic pathway to transfer knowledge across model sizes, reducing computational burden while preserving performance across domains.
Abstract
The increasing scale and complexity of modern model parameters underscore the importance of pre-trained models. However, deployment often demands architectures of varying sizes, exposing limitations of conventional pre-training and fine-tuning. To address this, we propose SWEET, a self-supervised framework that performs constraint-based pre-training to enable scalable initialization in vision tasks. Instead of pre-training a fixed-size model, we learn a shared weight template and size-specific weight scalers under Tucker-based factorization, which promotes modularity and supports flexible adaptation to architectures with varying depths and widths. Target models are subsequently initialized by composing and reweighting the template through lightweight weight scalers, whose parameters can be efficiently learned from minimal training data. To further enhance flexibility in width expansion, we introduce width-wise stochastic scaling, which regularizes the template along width-related dimensions and encourages robust, width-invariant representations for improved cross-width generalization. Extensive experiments on \textsc{classification}, \textsc{detection}, \textsc{segmentation} and \textsc{generation} tasks demonstrate the state-of-the-art performance of SWEET for initializing variable-sized vision models.
