atlas

Research map / Architectures and efficiency / Attention and transformers

Adaptive Computation Modules: Granular Conditional Computation for Efficient Inference

AAAI 2025 · Architectures and efficiency › Attention and transformers · approach: Transformer block and depth design · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces Adaptive Computation Modules (ACMs), per-token width-adaptive blocks of nested learners with a gate, and a distillation-based procedure to convert pre-trained transformers (ViT-B, XLS-R-300M) into ACMized models with lower FLOPs.

Problem

Transformer layers use full width for every token, although many tokens need only a fraction of capacity; existing conditional computation methods are coarse (whole-input exits, token dropping, MoE routing) or hard to run efficiently on GPUs.

Approach

A module of ordered learners whose outputs are summed progressively; a per-token gate (Gumbel-Softmax) chooses how many learners to run, so computation width varies per token and per layer. Pre-trained models are converted by distilling each replaced block into learners, pre-training gates with heuristic labels, then end-to-end fine-tuning with budget and diversity losses.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use ACMs instead of MoEficationXLS-R-300M on CommonVoice · CommonVoice-esWERHelped
Use ACMs instead of the tested conditional-computation baselinesViT-B · ImageNet-1kperformance-efficiency trade-offHelped
Use ACMs instead of the tested conditional-computation baselines below 12.5 GFLOPsViT-B · ImageNet-1kperformance-efficiency trade-offHelped
Add the entropy loss to budget loss (ablation)ACMized ViT-B · ImageNet-1k validationwithin-image computation diversityHelped
Add the entropy loss to budget loss (ablation)ACMized ViT-B · ImageNet-1k validationbetween-image computation diversityNo clear effect
Use the diversity loss instead of the entropy loss (ablation)ACMized ViT-B · ImageNet-1k validationbetween-image computation diversityHelped
Use the diversity loss instead of the entropy loss (ablation)ACMized ViT-B · within-image computation diversitywithin-image computation diversityHurt
Add both entropy and diversity losses alongside budget loss (ablation)ACMized ViT-B · ImageNet-1k validationcomputation allocation diversityHelped
Increase the average number of executed learnersACM layer on A100 · 128-sample batchlatencyHurt

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1k CommonVoice

Benchmarks: ImageNet-1k CommonVoice-es

Metrics: top-1 accuracy GFLOPs word error rate (WER)

Baselines: A-ViT MoEfication Zero Time Waste

Builds on: Mixture-of-Experts Gumbel-Softmax A-ViT MoEfication Zero Time Waste

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy