Low-Discrepancy Dither for Quantized Recurrent State Caches

Snigdha Chandan Khilar
9/30/2026
cs.LG

No confident code implementation found for this paper.

Abstract

Mamba-style and hybrid language models compress their past into a fixed-size recurrent state that is rewritten at every generated token. Storing this state in low precision saves memory bandwidth, but every rounding error is fed back into the next update and can accumulate over long generations. Production systems round the state stochastically; we ask which rounding rule such caches should use. We find that a deterministic golden-ratio Weyl dither, which needs no random numbers, consistently brings the quantized model closer to the full-precision one than stochastic rounding, across pure and hybrid models, storage formats, and long decoding horizons, at no extra cost. Round-to-nearest behaves differently: because it discards small updates, its error keeps growing, so it can look best in short evaluations yet falls far behind over long generations. A discrepancy analysis explains this ordering, and we document implementation pitfalls that silently remove the benefit.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{khilar2026lowdiscrepancy,
  title  = {Low-Discrepancy Dither for Quantized Recurrent State Caches},
  author = {Snigdha Chandan Khilar},
  year   = {2026},
  eprint = {2609.39185},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.39185v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.39185.svg)](https://codeofpaper.com/paper/2609.39185)

Discussion