Reproduce “Cache the Encoder Within:Compact, Reusable Memory across LLM Queries” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Hanzuo Liu, Chunyu Liu, Chaofan Lin, Alex Lamb, Mingyu Gao
EncBank stores intermediate states so later queries can reuse lower-layer computation. It processes chunks through lower layers once, then retrieves states for an adapted upper-layer reader. H4 quantizes stored states to 4 bits without changing model arithmetic. On Qwen3-8B, H4 uses 28.1% of H16’s persistent GPU store, while RULER changes from 97.27 to 97.05, an aggregate comparison that does not guarantee every task.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.