[Paper Review] Reusing Pretrained Models by Multi-linear Operators for Efficient Training
This paper proposes Mango, a multi-linear operator that enables full-weight mapping from a small pretrained model to a larger target model, capturing inter- and intra-weight correlations across the entire network. By decomposing the large mapping tensor using tensor ring structures, Mango reduces computational and memory costs while achieving 76% lower FLOPs on DeiT-base transfer and outperforming bert2BERT and LiGO by 12.0% and 20.7% respectively in training efficiency.
Training large models from scratch usually costs a substantial amount of resources. Towards this problem, recent studies such as bert2BERT and LiGO have reused small pretrained models to initialize a large model (termed the ``target model''), leading to a considerable acceleration in training. Despite the successes of these previous studies, they grew pretrained models by mapping partial weights only, ignoring potential correlations across the entire model. As we show in this paper, there are inter- and intra-interactions among the weights of both the pretrained and the target models. As a result, the partial mapping may not capture the complete information and lead to inadequate growth. In this paper, we propose a method that linearly correlates each weight of the target model to all the weights of the pretrained model to further enhance acceleration ability. We utilize multi-linear operators to reduce computational and spacial complexity, enabling acceptable resource requirements. Experiments demonstrate that our method can save 76\% computational costs on DeiT-base transferred from DeiT-small, which outperforms bert2BERT by +12.0\% and LiGO by +20.7\%, respectively.
Motivation & Objective
- To address the inefficiency of partial weight mapping in existing model distillation and growth methods.
- To exploit inter- and intra-weight correlations across entire models to improve initialization quality.
- To reduce the computational and memory cost of full mapping between small and large models.
- To enable faster, more efficient training of large-scale Transformers using pretrained small models.
- To support Green AI by minimizing resource consumption and carbon emissions in model training.
Proposed method
- Propose a full mapping strategy that correlates each weight in the target model with all weights in the pretrained model, rather than partial or layer-specific mappings.
- Introduce Mango, a multi-linear operator based on tensor ring decomposition, to efficiently represent the large full-mapping tensor with reduced space and computation.
- Use four low-rank tensors bonded by ranks to approximate the full mapping, enabling scalable and trainable parameterization.
- Train the Mango operator end-to-end with the target model, allowing it to learn optimal transformations from the small model to the large one.
- Apply the method to vision (DeiT), NLP (BERT), and language models (GPT), demonstrating generalization across architectures.
- Use standard training protocols with AdamW, learning rate 1e-4, weight decay 1e-2, and batch size 512 for evaluation.
Experimental results
Research questions
- RQ1Can full-weight mapping across all model parameters improve training efficiency compared to partial weight mapping?
- RQ2Can multi-linear operators like Mango effectively compress the full mapping tensor without sacrificing performance?
- RQ3Does leveraging inter- and intra-weight correlations across models lead to faster convergence and better accuracy?
- RQ4How does the proposed method compare to state-of-the-art methods like bert2BERT and LiGO in terms of FLOPs and training speed?
- RQ5Can Mango be generalized across different architectures such as ViT, BERT, and GPT?
Key findings
- Mango reduces FLOPs by 76% when transferring DeiT-base from DeiT-small, significantly outperforming baseline methods.
- On GLUE benchmark, Mango achieves 90.60% average accuracy, surpassing bert2BERT (+12.0%) and LiGO (+20.7%) in training efficiency.
- On SQuADv1.1, Mango achieves 90.17% F1, outperforming bert2BERT (90.02%) and LiGO (90.09%) with lower FLOPs.
- On GPT-Base transfer from GPT-Small, Mango achieves a 59.9% training acceleration ratio, exceeding bert2BERT and LiGO in convergence speed.
- Mango maintains the lowest training loss throughout the process and achieves +16.7% and +21.8% better performance than bert2BERT and LiGO on GPT, respectively.
- The method demonstrates consistent gains across vision, NLP, and language modeling tasks, proving its generalization and scalability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.