WAVE: Weight Templates for Adaptive Initialization of Variable-sized Models
The growing complexity of model parameters underscores the significance of pre-trained models. However, deployment constraints often necessitate models of varying sizes, exposing limitations in the conventional pre-training and fine-tuning paradigm, particularly when target model sizes are incompatible with pre-trained ones. To address this challenge, we propose WAVE, a novel approach that reformulates variable-sized model initialization from a multi-task perspective, where initializing each model size is treated as a distinct task. WAVE employs shared, size-agnostic weight templates alongside size-specific weight scalers to achieve consistent initialization across various model sizes. These weight templates, constructed within the Learngene framework, integrate knowledge from pre-trained models through a distillation process constrained by Kronecker-based rules. Target models are then initialized by concatenating and weighting these templates, with adaptive connection rules established by lightweight weight scalers, whose parameters are learned from minimal training data. Extensive experiments demonstrate the efficiency of WAVE, achieving state-of-the-art performance in initializing models of various depth and width. The knowledge encapsulated in weight templates is also task-agnostic, allowing for seamless transfer across diverse downstream datasets. Code will be made available at https://github.com/fu-feng/WAVE.
Code (1)
Similar Papers 제목 키워드 기반
WAVE: Weight Template for Adaptive Initialization of Variable-sized Models
The expansion of model parameters underscores the significance of pre-trained models; however, the constraints encountered during model deployment necessitate models of variable sizes. Consequently, the traditional pre-t…
Knowledge DistillationTransfer LearningConstraint-based Pre-training: From Structured Constraints to Scalable Model Initialization
The pre-training and fine-tuning paradigm has become the dominant approach for model adaptation. However, conventional pre-training typically yields models at a fixed scale, whereas practical deployment often requires mo…
Image ClassificationImage GenerationWaveform Design Based on Mutual Information Upper Bound For Joint Detection and Estimation
Adaptive radar waveform design grounded in information-theoretic principles is critical for advancing cognitive radar performance in complex environments. This paper investigates the optimization of phase-coded waveforms…
parameter estimationRadar waveform designMulti-frequency wavefield solutions for variable velocity models using meta-learning enhanced low-rank physics-informed neural network
Physics-informed neural networks (PINNs) face significant challenges in modeling multi-frequency wavefields in complex velocity models due to their slow convergence, difficulty in representing high-frequency details, and…
Computational EfficiencyMeta-LearningSelf-Supervised Weight Templates for Scalable Vision Model Initialization
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-t…