Sign inGet started
Paper · arXiv

Memory as a cache: Exact context reuse and deletion by construction

The KV cache of a transformer entangles every token's representation with its entire prefix: a passage encoded once cannot be reused under a different prefix or removed without recomputing everything after it, so exact cache reuse is limited to shared prefixes. We present SMem, an architecture whose context representation is a cache by construction. A block-local encoder maps each block to memory rows independently of other blocks, and a reader conditions generation on their union through cross-attention. For every parameter setting, memory composes exactly at fixed block indices, deleting a block is an exact $O(b)$ update for $b$-token blocks, and the memory state is independent of the e...

AuthorsShengyao Wang, Jiang Liu
Primary categorycs.AI
Published26 September 2026
Last updated at source26 September 2026
cs.AIcs.LG
Embed this entry
<iframe src="https://silytics.si/embed/item/921a23b0-edb4-451d-8e36-9679c107a5d0" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.