mlsanityData to 14 Oct 2026

Adaptive Computation Modules: Granular Conditional Computation For Efficient Inference

arXiv 2312.10193 ↗First posted 15 Dec 2023cs.LGcited by 6

Not on the map. Why?

Abstract (arXiv)

While transformer models have been highly successful, they are computationally inefficient. We observe that for each layer, the full width of the layer may be needed only for a small subset of tokens inside a batch and that the "effective" width needed to process a token can vary from layer to layer. Motivated by this observation, we introduce the Adaptive Computation Module (ACM), a generic module that dynamically adapts its computational load to match the estimated difficulty of the input on a per-token basis. An ACM consists of a sequence of learners that progressively refine the output of their preceding counterparts. An additional gating mechanism determines the optimal number of learners to execute for each token. We also propose a distillation technique to replace any pre-trained model with an "ACMized" variant. Our evaluation of transformer models in computer vision and speech recognition demonstrates that substituting layers with ACMs significantly reduces inference costs without degrading the downstream accuracy for a wide interval of user-defined budgets.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 72 of its 78 references that are in the map. First posted on arXiv 15 Dec 2023.

Builds on

72 of 78 references.

References · 72

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  5. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  6. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  7. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
  8. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
  9. 2020wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representationscited by 3,905
  10. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
  11. 2016Wide Residual Networkscited by 3,070
  12. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
38 more
  1. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,739
  2. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
  3. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
  4. 2020Knowledge Distillation: A Surveycited by 1,603
  5. 2019Common Voice: A Massively-Multilingual Speech Corpuscited by 1,384
  6. 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,254
  7. 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,148
  8. 2022Token Merging: Your ViT But Fastercited by 1,021
  9. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
  10. 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 864
  11. 2021Scaling Vision with Sparse Mixture of Expertscited by 747
  12. 2022Mixture-of-Experts with Expert Choice Routingcited by 623
  13. 2021XLS-R: Self-supervised Cross-lingual Speech Representation Learning at Scalecited by 601
  14. 2017BranchyNet: Fast Inference via Early Exiting from Deep Neural Networkscited by 596
  15. 2021Sparsity in Deep Learning: Pruning and growth for efficient inference and training in neural networkscited by 527
  16. 2016Adaptive Computation Time for Recurrent Neural Networkscited by 506
  17. 2022DeiT III: Revenge of the ViTcited by 419
  18. 2021Dynamic Neural Networks: A Surveycited by 408
  19. 2021AdaViT: Adaptive Tokens for Efficient Vision Transformercited by 362
  20. 2021BASE Layers: Simplifying Training of Large, Sparse Modelscited by 320
  21. 2022Confident Adaptive Language Modelingcited by 310
  22. 2022The case for 4-bit precision: k-bit Inference Scaling Lawscited by 251
  23. 2023From Sparse to Soft Mixtures of Expertscited by 248
  24. 2021AdaViT: Adaptive Vision Transformers for Efficient Image Recognitioncited by 228
  25. 2023Token Merging for Fast Stable Diffusioncited by 224
  26. 2019Stochastic Beams and Where to Find Them: The Gumbel-Top-k Trick for Sampling Sequences Without Replacementcited by 211
  27. 2020Integer Quantization for Deep Learning Inference: Principles and Empirical Evaluationcited by 188
  28. 2022The Carbon Footprint of Machine Learning Training Will Plateau, Then Shrinkcited by 184
  29. 2015Conditional Computation in Neural Networks for faster modelscited by 167
  30. 2017Adaptive Neural Networks for Efficient Inferencecited by 163
  31. 2022On the Representation Collapse of Sparse Mixture of Expertscited by 157
  32. 2021MoEfication: Transformer Feed-forward Layers are Mixtures of Expertscited by 152
  33. 2023Pushing Mixture of Experts to the Limit: Extremely Parameter Efficient MoE for Instruction Tuningcited by 150
  34. 2022A Review of Sparse Expert Models in Deep Learningcited by 148
  35. 2021Not All Images are Worth 16x16 Words: Dynamic Transformers for Efficient Image Recognitioncited by 144
  36. 2016Spatially Adaptive Computation Time for Residual Networkscited by 118
  37. 2022StableMoE: Stable Routing Strategy for Mixture of Expertscited by 100
  38. 2021Implicit MLE: Backpropagating Through Discrete Exponential Family Distributionscited by 98

50 most cited of 72 All 72 (JSON)

Built on by

Cited by year

Citing papers per year: 2024: 4; 2025: 2.

6 papers.