mlsanityData to 14 Oct 2026

Experts Weights Averaging: A New General Training Scheme for Vision Transformers

arXiv 2308.06093 ↗First posted 11 Aug 2023cs.CV cs.LGcited by 12

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

  1. 2022One Student Knows All Experts Know: From Sparse to Dense26 Jan
  2. 2021Go Wider Instead of Deeper25 Jul
  3. 2021Scaling Vision with Sparse Mixture of Experts10 Jun

Other references · 41

  1. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
  2. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
  3. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
  4. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,631
  5. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
  6. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,209
  7. 2016Deep Networks with Stochastic Depthcited by 979
  8. 2017Revisiting Unreasonable Effectiveness of Data in Deep Learning Eracited by 919
  9. 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 897
  10. 2021Robust fine-tuning of zero-shot modelscited by 797
  11. 2021Point-BERT: Pre-training 3D Point Cloud Transformers with Masked Point Modelingcited by 653
  12. 2022Mixture-of-Experts with Expert Choice Routingcited by 623
29 more
  1. 2021ImageNet-21K Pretraining for the Massescited by 613
  2. 2021RepVGG: Making VGG-style ConvNets Great Againcited by 522
  3. 2022DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scalecited by 404
  4. 2021BASE Layers: Simplifying Training of Large, Sparse Modelscited by 320
  5. 2022Unified Scaling Laws for Routed Language Modelscited by 253
  6. 2021Hash Layers For Large Sparse Modelscited by 237
  7. 2022Sparse Upcycling: Training Mixture-of-Experts from Dense Checkpointscited by 209
  8. 2022Multimodal Contrastive Learning with LIMoE: the Language-Image Mixture of Expertscited by 203
  9. 2022Tutel: Adaptive Mixture-of-Experts at Scalecited by 201
  10. 2019ACNet: Strengthening the Kernel Skeletons for Powerful CNN via Asymmetric Convolution Blockscited by 178
  11. 2021Efficient Large Scale Language Modeling with Mixtures of Expertscited by 175
  12. 2022Diverse Weight Averaging for Out-of-Distribution Generalizationcited by 148
  13. 2021Vision Transformer for Small-Size Datasetscited by 122
  14. 2021Taming Sparsely Activated Transformer with Stochastic Expertscited by 113
  15. 2021FastMoE: A Fast Mixture-of-Expert Training Systemcited by 112
  16. 2019Grid-GCN for Fast and Scalable Point Cloud Learningcited by 103
  17. 2021Diverse Branch Block: Building a Convolution as an Inception-like Unitcited by 87
  18. 2020ResRep: Lossless CNN Pruning via Decoupling Remembering and Forgettingcited by 85
  19. 2022Mixture of Attention Heads: Selecting Attention Heads Per Tokencited by 60
  20. 2020Peer Collaborative Learning for Online Knowledge Distillationcited by 58
  21. 2018ExpandNets: Linear Over-parameterization to Train Compact Convolutional Networkscited by 53
  22. 2023FlexMoE: Scaling Large-scale Sparse Pre-trained Model Training via Dynamic Device Placementcited by 53
  23. 2021SpeechMoE: Scaling to Large Acoustic Models with Dynamic Routing Mixture of Expertscited by 48
  24. 2021RepMLP: Re-parameterizing Convolutions into Fully-connected Layers for Image Recognitioncited by 40
  25. 2022HetuMoE: An Efficient Trillion-scale Mixture-of-Expert Distributed Training Systemcited by 36
  26. 2017Combining Weakly and Webly Supervised Learning for Classifying Food Imagescited by 17
  27. 2022Mod-Squad: Designing Mixture of Experts As Modular Multi-Task Learnerscited by 15
  28. 2021RepNAS: Searching for Efficient Re-parameterizing Blockscited by 11
  29. 2022DropKeycited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 3; 2024: 4; 2025: 3; 2026: 2.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2022Residual Mixture of Experts
  2. 2024How Lightweight Can A Vision Transformer Be
  3. 2025Efficient Data Driven Mixture-of-Expert Extraction from Trained Networks
  4. 2024ViMoE: An Empirical Study of Designing Vision Mixture-of-Experts
  5. 2024Mixture of Experts in Image Classification: What's the Sweet Spot?
  6. 2024Multilinear Mixture of Experts: Scalable Expert Specialization through Factorization
  7. 2023Mobile V-MoEs: Scaling Down Vision Transformers via Sparse Mixture-of-Experts
  8. 2023From Sparse to Soft Mixtures of Experts