TECHNOLOGY

AdapterDrop: skipping lower adapters while retaining transformer layers

In this article
THE QUICK TAKE

AdapterDrop reduces adapter computation in selected layers; the underlying transformer backbone remains part of the forward pass.

AdapterDrop studies removing adapters from lower transformer layers during training and inference. It targets the overhead of adaptation modules while retaining the backbone network. The idea is particularly relevant when several task adapters or fusion components add work to a shared model, and a controlled omission policy can reduce that extra computation.

Identify the omitted modules

An omitted adapter is not an omitted transformer block. Attention, feed-forward computation and the backbone’s residual path remain unless another independent method changes them. Describe the selected adapter locations explicitly. This prevents the depth of an adapter configuration from being confused with the effective depth of the original language model.

Match training to the intended omissions

Training under adapter omission and deleting modules only after ordinary training are different experiments. Preserve the training policy and the inference omission set. A trained model may tolerate some configurations better than others. For an illustrative task collection, evaluate each intended depth setting rather than assuming that success at one setting validates arbitrary runtime removal.

Separate omission configuration from activation

AdapterHub exposes configuration for leaving modules out at selected layers, while composition determines which adapters run. Verify both. Loading a named adapter does not prove it is active, and activating it does not describe which layers actually contain its modules. Inspect the instantiated model alongside the saved configuration before measuring latency.

Measure quality along the trade-off

Compare the complete adapter path and selected reduced paths on independent task examples. Use the same base revision, input lengths and decoding or prediction rules. Report task-specific regressions as well as an aggregate result. A small average change can hide a larger loss on one specialist task, especially when the lower adapters supplied information important to that task.

Test the complete serving composition

The original work also explores pruning within AdapterFusion and parallel task inference. Those experiments concern particular architectures and workloads. Save the omission rule with the adapter or fusion inventory and required heads. Measure the actual implementation under the intended batch mix, since reduced adapter work may be a small fraction of total transformer cost. AdapterDrop is useful when its measured quality-latency trade-off meets the deployment requirement without misrepresenting the backbone computation that remains.

Primary references

AdapterDrop original paper.

AdapterDrop published version.

AdapterHub adapter configuration.

Related explanations: active task compositions; adapter serving measurements.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles