ReplaySSM: Cache SSM Inputs, Not State
TL;DR - ReplaySSM caches recent state-space model inputs alongside periodic state checkpoints, reducing recurrent-state memory traffic and enabling cheap speculative rollback. Its vLLM implementation improves decoding speed and accuracy under state quantization for Mamba-2 and Gated DeltaNet hybrid models.
- Periodic checkpoint updates eliminate most per-token state writes and roughly halve dominant state memory traffic.
- Input buffering turns speculative rollback into a pointer operation and supports verification without materializing intermediate states.
- At batch size 256, standard decoding is 1.20–1.47× faster than a tuned vLLM baseline across four hybrid models.
- On two 120B-class models, speculative decoding reaches about 1.8× vLLM’s throughput; separate checkpoint precisions also reduce output divergence and downstream accuracy loss.