Metraipolis › archive › dc_d1a7d0057272
Linear-Time Context Compression with State-Space Encoding — arXiv:2610.33006
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.33006
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-27T08:10:39.980Z
- SHA-256 of the archived text
73b2d660afeb95c629eb4fdbfddbce807790224985b4ff78f7b956c16ac2f55f- Stable URL of this page
https://metraipolis.com/documento/dc_d1a7d0057272
How to cite
Linear-Time Context Compression with State-Space Encoding — arXiv:2610.33006 — arXiv (en), https://arxiv.org/abs/2610.33006 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_d1a7d0057272 (Metraipolis archive dc_d1a7d0057272, sha256 73b2d660afeb95c629eb4fdbfddbce807790224985b4ff78f7b956c16ac2f55f)
BibTeX
@misc{dcd1a7d0057272,
title = {Linear-Time Context Compression with State-Space Encoding — arXiv:2610.33006},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.33006},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_d1a7d0057272; sha256 73b2d660afeb95c629eb4fdbfddbce807790224985b4ff78f7b956c16ac2f55f},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.33006. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Transformer-based large language models (LLMs) impose substantial computation and memory costs as context sizes increase, motivating methods that compress a context into a shorter representation before inference. Existing soft-prompt compression methods typically use the same Transformer backbone as used in the target model, where producing the compressed representation leads to significant latency overheads. This restricts them to the offline setting where context is compressed once and then reused across many queries. We propose the Boa Compressor, a plug-and-play online context compressor built on a Mamba state-space model (SSM) that encodes arbitrary-length context in a single linear-time pass, producing a representation on which we condition a frozen target LLM. The SSM is trained by distillation, matching the next-token logit distribution from the LLM ingesting the full context (as teacher) to the same LLM ingesting the compressed representation (as the student). At equal compression ratios, Boa matches or surpasses the performance of existing state-of-the-art offline compression baselines, while being an order of magnitude faster than Transformer-based implementations, thereby reducing end-to-end latency rather than adding compression time overhead. We demonstrate that Boa also scales well to longer contexts and to compression ratios as aggressive as 16x. By enabling effective compression that is cheap enough to run on every query at inference time, Boa becomes a practical and general tool for efficient long-context inference. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.CL, nuovi lavori del giorno). Categorie arXiv: Computation and Language (cs.CL) ; Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2610.33006 — 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-27T07:56:00.178Z dalla pagina https://arxiv.org/list/cs.CL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).