FrontierReplay
A prefix caching optimization scheme for hybrid language models. It saves exact checkpoints at predictable structural boundaries and uses a cross-layer state-only replay kernel to reconstruct recurrent-layer states at low cost, avoiding the scheduling overhead caused by interrupting prefill.
Timeline (last 90 days)
The core of FrontierReplay's design is to let the prefill forward pass run to completion without interruption, while recording a small window of recurrent-layer inputs, and then invoking a cross-layer, state-only replay kernel to construct the target state.
FrontierReplay's state-only replay kernel does not rerun the full attention computation and only reconstructs the state required by the recurrent layer, with a per-token cost 6 to 37 times lower than full recomputation, and it requires no host synchronization.
FrontierReplay adopts a frontier-aware retention policy: it prioritizes retaining active anchors and validated branches, and lends invalidated checkpoint slots to the attention KV cache.
Compared with existing exact caching schemes, FrontierReplay reduces median time to first token (TTFT) by 16% to 89%, reaching up to 8.9x speedup.
At an 80% service level objective (SLO), FrontierReplay increases capacity by up to 1.73x and goodput by up to 4.26x, and by 3.67x at larger scale.
While maintaining exact task accuracy, FrontierReplay achieves up to 1.54x higher goodput than approximate replay methods.
All Facts (6)
The core of FrontierReplay's design is to let the prefill forward pass run to completion without interruption, while recording a small window of recurrent-layer inputs, and then invoking a cross-layer, state-only replay kernel to construct the target state.
50%UnverifiedFrontierReplay's state-only replay kernel does not rerun the full attention computation and only reconstructs the state required by the recurrent layer, with a per-token cost 6 to 37 times lower than full recomputation, and it requires no host synchronization.
50%UnverifiedFrontierReplay adopts a frontier-aware retention policy: it prioritizes retaining active anchors and validated branches, and lends invalidated checkpoint slots to the attention KV cache.
50%UnverifiedCompared with existing exact caching schemes, FrontierReplay reduces median time to first token (TTFT) by 16% to 89%, reaching up to 8.9x speedup.
50%UnverifiedAt an 80% service level objective (SLO), FrontierReplay increases capacity by up to 1.73x and goodput by up to 4.26x, and by 3.67x at larger scale.
50%UnverifiedWhile maintaining exact task accuracy, FrontierReplay achieves up to 1.54x higher goodput than approximate replay methods.
50%