Average-Depth Variable Execution via Request-Local Token Routing
The paper introduces AVERT, a method that lets individual tokens execute different numbers of Transformer layers while matching each request's mean executed depth to a continuous budget. At each routed layer, a router reads the token state and the request's budget to decide whether to run the block; skipped tokens pass through a lightweight residual adapter and write no K/V entry. A single checkpoint can serve requests with different budgets in the same batch. Across three LLaMA backbones, six quality metrics and 13 budgets, AVERT was best or tied for best in 206 of 234 comparisons, with mean absolute per-request budget error of at most 1.15 percentage points and 4.3–21.2% lower decode time per output token when mixing budgets.
It offers a concrete inference-efficiency technique that enforces per-request compute budgets while enabling mixed-budget batching.
Comments & Questions (0)
No comments yet
Be the first to comment!