Finite-Precision Streaming Attention: Space Bounds and the Role of Randomness
Abstract
We characterize the memory required for streaming attention on a prescribed finite input grid, charging state and arithmetic in bits under the error scale . The lower bounds encode multi-bit symbols in binary occurrence frequencies: one terminal query recovers a selected symbol while respecting the input grid, stream length, and original token energy. Let and let count unit-ball keys on . For scalar values and with fixed , optimal space is at fixed and , and at fixed and polylogarithmic . The arbitrary-state lower bounds match deterministic histograms or rounded moments, including under output feedback. For fixed and failure probability, uniformly over , randomized space is instead with or without feedback, while deterministic space is in the charged-clock model. An all-prefix approximate-counting certificate establishes this separation with finite numerical workspace. The results concern bounded logits, with fixed-temperature and input-perturbation extensions. Finite checks certify decoding and active randomized updates; the measured configuration still favors exact histograms in total encoded state.
est. 32% chance this paper gets accepted at ICLR 2027.
What do you think this paper will get?
All positions stay anonymous.