Adaptive Computation Modules: Granular Conditional Computation for Efficient Inference

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.

Authors

Institutions

Publication Details

Journal
Proceedings of the AAAI Conference on Artificial Intelligence
Published
2025-04-11
DOI
https://doi.org/10.1609/aaai.v39i20.35453
Citations
1
Primary Topic
Rough Sets and Fuzzy Logic
Type
article
Field-Weighted Citation Impact
2.18

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Adaptive Computation Modules: Granular Conditional Computation for Efficient Inference

Pasquale Minervini, Simone Scardapane, Alessio Devoto, Bartosz Wójcik et al.
1 citations
Proceedings of the AAAI Conference on Artificial Intelligence
Rough Sets and Fuzzy Logic
2.18
article

Adaptive Computation Modules: Granular Conditional Computation for Efficient Inference

Pasquale Minervini, Simone Scardapane, Alessio Devoto, Bartosz Wójcik, Karol Pustelnik
article en
1 citations

Abstract

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.

Proceedings of the AAAI Conference on Artificial IntelligenceVol. 39(20)
Jagiellonian University (PL), University of Warsaw (PL), Sapienza University of Rome (IT), University of Edinburgh (GB)
Infrastruktura PL-Grid, Academic Computer Centre Cyfronet, AGH University of Science and Technology
Openalex Percentile: Top 20%
Rough Sets and Fuzzy Logic
2.18
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Adaptive Computation Modules: Granular Conditional Computation for Efficient Inference — Pasquale Minervini, Simone Scardapane, et al. · Proceedings of the AAAI Conference on Artificial Intelligence (2025) | TGRS Research Map | TGRS