Metraipolis › archive › dc_8fcc1802e1d5

Cache the Encoder Within:Compact, Reusable Memory across LLM Queries — arXiv:2610.10058

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.10058
License (as archived)
CC0-1.0
Archived
2026-10-08T11:26:17.104Z
SHA-256 of the archived text
007d8829838275371683d0e2b7380846d13f44f284ab5cbefa42b260bfc2cd4b
Stable URL of this page
https://metraipolis.com/documento/dc_8fcc1802e1d5

How to cite

Cache the Encoder Within:Compact, Reusable Memory across LLM Queries — arXiv:2610.10058 — arXiv (en), https://arxiv.org/abs/2610.10058 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_8fcc1802e1d5 (Metraipolis archive dc_8fcc1802e1d5, sha256 007d8829838275371683d0e2b7380846d13f44f284ab5cbefa42b260bfc2cd4b)
BibTeX
@misc{dc8fcc1802e1d5,
  title = {Cache the Encoder Within:Compact, Reusable Memory across LLM Queries — arXiv:2610.10058},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.10058},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_8fcc1802e1d5; sha256 007d8829838275371683d0e2b7380846d13f44f284ab5cbefa42b260bfc2cd4b},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.10058. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Repeated queries over shared documents incur redundant encoding, while caching model states introduces persistent storage costs. Building on CoMem's intermediate-state interface, EncBank treats a pretrained LLM's lower layers as a reusable document encoder and compactly stores their outputs for an adapted upper-layer reader. A self-distilled suffix adapter is shared across storage precisions within each backbone, without quantization-specific retraining. Across five benchmark suites on three Qwen backbones spanning different sizes and full-attention and hybrid architectures, 4-bit storage keeps each reported benchmark aggregate within one score point of native-precision EncBank. In a fixed Qwen3-8B workload, it retains 28.1% of the native-precision persistent GPU store. Separate native-precision controls yield a 1.40x selected-pack prefill speedup over same-evidence, same-adapter text replay, at a 3.12-point RULER accuracy cost. A native-precision Qwen3.8-27B configuration also passes 70 of 89 Terminal-Bench 2.1 tasks. EncBank thus combines reusable computation with compact memory, while task fidelity and end-to-end benefits remain dependent on the workload, preparation costs, and reuse frequency.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.CL, nuovi lavori del giorno).
Categorie arXiv: Computation and Language (cs.CL).
Pagina del lavoro: https://arxiv.org/abs/2610.10058 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-08T10:24:06.342Z dalla pagina https://arxiv.org/list/cs.CL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).