Sign inGet started
Paper · arXiv

MemCode: Discrete Semantic Representations for Long-Term Agent Memory

Long-term memory remains a fundamental bottleneck for large language model (LLM) agents across sessions. Existing systems typically adopt a write-then-retrieve paradigm, storing context-dependent dialogue fragments and retrieving them via nearest-neighbor search in a continuous embedding space. This design yields unstable access units and systematically misses logically related but lexically distant evidence. We propose MemCode, a long-term agent memory framework that couples retrieval-oriented writing with discrete associative retrieval. MemCode rewrites dialogue into self-contained atomic memory units (AMUs), maps AMUs into a learnable codebook with isomorphic semantic quantization (ISQ...

AuthorsXin Li, Liang Hu, Duoqian Miao et al.
Primary categorycs.AI
Published14 October 2026
Last updated at source14 October 2026
cs.AI
Embed this entry
<iframe src="https://silytics.si/embed/item/cea9f5df-8562-4ab6-b2be-63a37a69c4b6" 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 15 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.