Back to AI Research

AI Research

AVERT routes token-level layer execution to match each request’s compute budget

Key Takeaways

  • AVERT varies executed layers across tokens and matches request-level budgets.
  • Tests cover three LLaMA backbones, six quality metrics and 13 budgets.
  • AVERT routes layer execution token by token while targeting an average depth for each request.
  • Its reported timing gains apply to underfilled batches.
  • AVERT allocates model computation across generated tokens while trying to keep each request close to its assigned average execution depth.

AVERT allocates model computation across generated tokens while trying to keep each request close to its assigned average execution depth. The paper studies how to use a request's compute budget, rather than assuming that every token should execute the same number of layers.

How does AVERT decide which layers run?

A router reads the current token state and the request's budget at each routed layer. It decides whether to execute the Transformer block. A skipped block is replaced by a lightweight residual adapter, and that token writes no key/value entry at the skipped layer.
The target is the mean depth across the whole request. That leaves individual tokens room to use different amounts of computation while preserving the requested average. The authors also describe a single checkpoint serving differently budgeted requests in the same batch.

What quality and budget results are reported?

The evaluation covers three LLaMA backbones, six quality metrics and 13 budgets. The authors report that AVERT is best or tied for best in 206 of 234 comparisons. Those comparisons belong to the tested setup; the count does not imply superiority on every model or downstream task.
Across single-budget and mixed-budget batches, mean absolute per-request budget error is at most 1.15 percentage points. This measures adherence to the assigned execution budget, rather than answer accuracy. The paper evaluates quality and budget tracking as separate quantities.

When did mixing budgets improve timing?

When grouping requests by budget leaves batches underfilled, the authors report that mixing budgets reduces decoding time per output token by 4.3%–21.2%. The underfilled-batch condition is part of the result, not a detail that can be dropped from the speed claim.
The work is relevant to model-serving researchers choosing how to allocate a limited execution budget across a response. Franklin analysis: reproduce quality, budget error and timing together under the intended batch mix. A method that tracks average depth accurately does not by itself establish acceptable answer quality or the same latency benefit in a fully occupied serving system.

Comments