TECHNOLOGY

Apt-Serve: hidden-state caching trades reconstruction work for a different scheduling budget

In this article
THE QUICK TAKE

Judge Apt-Serve by the request mix and joint latency target; its compact cache needs reconstruction, and the reported gains depend on which workload and threshold are selected.

Cache representation is part of scheduling

The Apt-Serve paper, first submitted on 10 April 2025, proposes retaining either projected keys and values or reusable input hidden states for selected requests. The hidden representation can be converted into keys and values when needed. The scheduler jointly chooses requests and cache types under a memory constraint.

The paper’s basic equal-vector-dimension example stores one hidden vector in place of two projected vectors. That explains the capacity opportunity in its stated model; it is not a universal assertion that every attention architecture’s hidden representation is half its KV size. Additional projection work also means that reduced storage does not automatically reduce each decoding iteration’s compute time.

The target is useful request rate under latency limits

The study defines effective throughput through the largest arrival rate sustained at a selected SLO-attainment level. A request must satisfy both its first-token target and its percentile inter-token target to count as meeting the joint objective.

A result at 90 percent attainment therefore permits a different fraction of missed objectives than one at 60 percent. Neither label means every request has the same latency or that the entire service has a matching request-latency percentile. The KV-cache guide explains why state occupancy and request lifetime must accompany a capacity comparison.

The main workload has explicit boundaries

The authors test FP16 OPT models on A100 accelerators with 40 GB each and available NVLink. The main configurations use one accelerator for the 13B model, two for 30B and four for 66B. They sample 1000 requests per task and generate Poisson arrivals because the underlying datasets lack request timestamps.

The workloads come from ShareGPT, HumanEval and LongBench. In the main OPT experiments, the latter is length-limited because that model family supports a context of 2048 tokens. It would be misleading to describe every main result as an unrestricted long-context benchmark merely because the source dataset has a long-context name.

The incoming gains belong to one task

The supplied note listed gains of 1.7 times over vLLM at 90 percent attainment and 3.0 times at 60 percent. The full paper identifies those as HumanEval averages, rather than averages across the complete experiment. Its overall corresponding averages against vLLM are 2.3 and 4.9 times.

These are author-reported request-rate comparisons under the selected budgets. They do not measure a universal token-generation multiplier. Longer outputs and different request-length variation change cache lifetime and scheduling opportunities, which is why the task-specific denominator matters. A later generalization experiment also acknowledges difficulty meeting inter-token objectives with very long inputs.

The repository is a research prototype

The author repository identifies vLLM 0.5.0 post1 as its base and explicitly says that the prototype does not support the complete feature set of current vLLM. It describes additional scheduler designs and custom cache kernels, rather than a setting guaranteed to exist in a contemporary production release.

No installation, CUDA compilation or serving experiment was executed here. A present-day reproduction would need exact source revisions, cache dimensions, matched memory budgets and the same arrival trace. The benchmark guide provides that record. The verified contribution is a concrete cache-and-scheduler research design, with workload-specific evidence and explicit integration limits.

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