mlsanityData to 7 Oct 2026

Attention Is All You Need For Mixture-of-Depths Routing

arXiv 2412.20875 ↗First posted 30 Dec 2024cs.CVcited by 6

Not on the map. Why?

Abstract (arXiv)

Advancements in deep learning are driven by training models with increasingly larger numbers of parameters, which in turn heightens the computational demands. To address this issue, Mixture-of-Depths (MoD) models have been proposed to dynamically assign computations only to the most relevant parts of the inputs, thereby enabling the deployment of large-parameter models with high efficiency during inference and training. These MoD models utilize a routing mechanism to determine which tokens should be processed by a layer, or skipped. However, conventional MoD models employ additional network layers specifically for the routing which are difficult to train, and add complexity and deployment overhead to the model. In this paper, we introduce a novel attention-based routing mechanism A-MoD that leverages the existing attention map of the preceding layer for routing decisions within the current layer. Compared to standard routing, A-MoD allows for more efficient training as it introduces no additional trainable parameters and can be easily adapted from pretrained transformer models. Furthermore, it can increase the performance of the MoD model. For instance, we observe up to 2% higher accuracy on ImageNet compared to standard routing and isoFLOP ViT baselines. Furthermore, A-MoD improves the MoD training convergence, leading to up to 2x faster transfer learning.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 15 of its 47 references that are in the map. First posted on arXiv 30 Dec 2024.

Builds on

15 of 47 references.

References · 15

  1. 2020Scaling Laws for Neural Language Modelscited by 6,411
  2. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  3. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  4. 2022Emergent Abilities of Large Language Modelscited by 2,483
  5. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
  6. 2024Mixtral of Expertscited by 1,785
  7. 2017Decoupled Weight Decay Regularizationcited by 1,722
  8. 2024YOLOv10: Real-Time End-to-End Object Detectioncited by 508
  9. 2022ST-MoE: Designing Stable and Transferable Sparse Expert Modelscited by 391
  10. 2024Mixture-of-Depths: Dynamically allocating compute in transformer-based language modelscited by 242
  11. 2024A Survey on Mixture of Experts in Large Language Modelscited by 233
  12. 2020The Computational Limits of Deep Learningcited by 188
3 more
  1. 2015Conditional Computation in Neural Networks for faster modelscited by 166
  2. 2022A Review of Sparse Expert Models in Deep Learningcited by 147
  3. 2024Mixture of Nested Experts: Adaptive Processing of Visual Tokenscited by 25

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 3; 2026: 3.

6 papers.