Experts Weights Averaging: A New General Training Scheme for Vision Transformers
On the map: Mixture-of-experts → Vision mixture-of-experts
Abstract (arXiv)
Structural re-parameterization is a general training scheme for Convolutional Neural Networks (CNNs), which achieves performance improvement without increasing inference cost. As Vision Transformers (ViTs) are gradually surpassing CNNs in various visual tasks, one may question: if a training scheme specifically for ViTs exists that can also achieve performance improvement without increasing inference cost? Recently, Mixture-of-Experts (MoE) has attracted increasing attention, as it can efficiently scale up the capacity of Transformers at a fixed cost through sparsely activated experts. Considering that MoE can also be viewed as a multi-branch structure, can we utilize MoE to implement a ViT training scheme similar to structural re-parameterization? In this paper, we affirmatively answer these questions, with a new general training strategy for ViTs. Specifically, we decouple the training and inference phases of ViTs. During training, we replace some Feed-Forward Networks (FFNs) of the ViT with specially designed, more efficient MoEs that assign tokens to experts by random uniform partition, and perform Experts Weights Averaging (EWA) on these MoEs at the end of each iteration. After training, we convert each MoE into an FFN by averaging the experts, transforming the model back into original ViT for inference. We further provide a theoretical analysis to show why and how it works. Comprehensive experiments across various 2D and 3D visual tasks, ViT architectures, and datasets validate the effectiveness and generalizability of the proposed training scheme. Besides, our training scheme can also be applied to improve performance when fine-tuning ViTs. Lastly, but equally important, the proposed EWA technique can significantly improve the effectiveness of naive MoE in various 2D visual small datasets and 3D visual tasks.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Placed in Vision mixture-of-experts, one of 12 directions in Mixture-of-experts. Builds on 44 of its 51 references that are in the map. First posted on arXiv 11 Aug 2023.
Builds on
44 of 51 references.
Closest ancestors · 3
Same direction, newest first
- 2022One Student Knows All Experts Know: From Sparse to Dense26 Jan
- 2021Go Wider Instead of Deeper25 Jul
- 2021Scaling Vision with Sparse Mixture of Experts10 Jun
Other references · 41
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,631
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,209
- 2016Deep Networks with Stochastic Depthcited by 979
- 2017Revisiting Unreasonable Effectiveness of Data in Deep Learning Eracited by 919
- 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 897
- 2021Robust fine-tuning of zero-shot modelscited by 797
- 2021Point-BERT: Pre-training 3D Point Cloud Transformers with Masked Point Modelingcited by 653
- 2022Mixture-of-Experts with Expert Choice Routingcited by 623
29 more
- 2021ImageNet-21K Pretraining for the Massescited by 613
- 2021RepVGG: Making VGG-style ConvNets Great Againcited by 522
- 2022DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scalecited by 404
- 2021BASE Layers: Simplifying Training of Large, Sparse Modelscited by 320
- 2022Unified Scaling Laws for Routed Language Modelscited by 253
- 2021Hash Layers For Large Sparse Modelscited by 237
- 2022Sparse Upcycling: Training Mixture-of-Experts from Dense Checkpointscited by 209
- 2022Multimodal Contrastive Learning with LIMoE: the Language-Image Mixture of Expertscited by 203
- 2022Tutel: Adaptive Mixture-of-Experts at Scalecited by 201
- 2019ACNet: Strengthening the Kernel Skeletons for Powerful CNN via Asymmetric Convolution Blockscited by 178
- 2021Efficient Large Scale Language Modeling with Mixtures of Expertscited by 175
- 2022Diverse Weight Averaging for Out-of-Distribution Generalizationcited by 148
- 2021Vision Transformer for Small-Size Datasetscited by 122
- 2021Taming Sparsely Activated Transformer with Stochastic Expertscited by 113
- 2021FastMoE: A Fast Mixture-of-Expert Training Systemcited by 112
- 2019Grid-GCN for Fast and Scalable Point Cloud Learningcited by 103
- 2021Diverse Branch Block: Building a Convolution as an Inception-like Unitcited by 87
- 2020ResRep: Lossless CNN Pruning via Decoupling Remembering and Forgettingcited by 85
- 2022Mixture of Attention Heads: Selecting Attention Heads Per Tokencited by 60
- 2020Peer Collaborative Learning for Online Knowledge Distillationcited by 58
- 2018ExpandNets: Linear Over-parameterization to Train Compact Convolutional Networkscited by 53
- 2023FlexMoE: Scaling Large-scale Sparse Pre-trained Model Training via Dynamic Device Placementcited by 53
- 2021SpeechMoE: Scaling to Large Acoustic Models with Dynamic Routing Mixture of Expertscited by 48
- 2021RepMLP: Re-parameterizing Convolutions into Fully-connected Layers for Image Recognitioncited by 40
- 2022HetuMoE: An Efficient Trillion-scale Mixture-of-Expert Distributed Training Systemcited by 36
- 2017Combining Weakly and Webly Supervised Learning for Classifying Food Imagescited by 17
- 2022Mod-Squad: Designing Mixture of Experts As Modular Multi-Task Learnerscited by 15
- 2021RepNAS: Searching for Efficient Re-parameterizing Blockscited by 11
- 2022DropKeycited by 3
Built on by
Citing papers per year: 2023: 3; 2024: 4; 2025: 3; 2026: 2.
12 papers.
- 2024A Survey on Mixture of Experts in Large Language Modelscited by 237
- 2023Deep Model Fusion: A Surveycited by 91
- 2024A Survey on Inference Optimization Techniques for Mixture of Experts Modelscited by 47
- 2025FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Modelscited by 17
- 2023Image Super-resolution Via Latent Diffusion: A Sampling-space Mixture Of Experts And Frequency-augmented Decoder Approachcited by 13
- 2024Learning More Generalized Experts by Merging Experts in Mixture-of-Expertscited by 12
- 2024XFT: Unlocking the Power of Code Instruction Tuning by Simply Merging Upcycled Mixture-of-Expertscited by 7
- 2023Boosting Residual Networks with Group Knowledgecited by 3
- 2025Mixture of Group Experts for Learning Invariant Representationscited by 1
- 2025Faster, Smaller, and Smarter: Task-Aware Expert Merging for Online MoE Inferencecited by 0
- 2026ExFusion: Efficient Transformer Training via Multi-Experts Fusioncited by 0
- 2026Towards Privacy-Preserving Federated Prompt Tuning under Data Heterogeneity: A Subspace-Decomposed Expert Approachcited by 0
- 2026Towards Privacy-Preserving Federated Prompt Tuning under Data Heterogeneity: A Subspace-Decomposed Expert Approach23 Jul 2026
- 2026ExFusion: Efficient Transformer Training via Multi-Experts Fusion30 Mar 2026
- 2025Faster, Smaller, and Smarter: Task-Aware Expert Merging for Online MoE Inference24 Sep 2025
- 2025Mixture of Group Experts for Learning Invariant Representations12 Apr 2025
- 2025FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models18 Jan 2025
- 2024A Survey on Inference Optimization Techniques for Mixture of Experts Models18 Dec 2024
- 2024A Survey on Mixture of Experts in Large Language Models26 Jun 2024
- 2024Learning More Generalized Experts by Merging Experts in Mixture-of-Experts19 May 2024
- 2024XFT: Unlocking the Power of Code Instruction Tuning by Simply Merging Upcycled Mixture-of-Experts23 Apr 2024
- 2023Image Super-resolution Via Latent Diffusion: A Sampling-space Mixture Of Experts And Frequency-augmented Decoder Approach18 Oct 2023
- 2023Deep Model Fusion: A Survey27 Sep 2023
- 2023Boosting Residual Networks with Group Knowledge26 Aug 2023
Similar, not cited
Close in wording, no citation either way
- 2022Residual Mixture of Experts
- 2024How Lightweight Can A Vision Transformer Be
- 2025Efficient Data Driven Mixture-of-Expert Extraction from Trained Networks
- 2024ViMoE: An Empirical Study of Designing Vision Mixture-of-Experts
- 2024Mixture of Experts in Image Classification: What's the Sweet Spot?
- 2024Multilinear Mixture of Experts: Scalable Expert Specialization through Factorization
- 2023Mobile V-MoEs: Scaling Down Vision Transformers via Sparse Mixture-of-Experts
- 2023From Sparse to Soft Mixtures of Experts