ExplorerData ScienceMachine Learning
Research PaperResearchia:202609.02067

LatentPress: Context Compression Beyond Text and Vision

Zhengze Zhou

Abstract

Compressed context is usually carried as human-readable text or as rendered images that must be decoded, even when its consumer is a language model. We introduce LatentPress, which writes conversational histories and long documents into a third representation: continuous memory tokens that a frozen decoder reads directly through its input-embedding interface, with no text reconstruction at inference. A small reader-matched writer compresses $4$-$16\times$ while training only an adapter (4.2M-26....

Submitted: September 2, 2026Subjects: Machine Learning; Data Science

Description / Details

Compressed context is usually carried as human-readable text or as rendered images that must be decoded, even when its consumer is a language model. We introduce LatentPress, which writes conversational histories and long documents into a third representation: continuous memory tokens that a frozen decoder reads directly through its input-embedding interface, with no text reconstruction at inference. A small reader-matched writer compresses 44-16×16\times while training only an adapter (4.2M-26.2M parameters,  ⁣0.1%\sim\!0.1\% of the decoder). On LongMemEval, LatentPress reaches 0.5040.504 accuracy at 7.70×7.70\times compression versus 0.4900.490 for uncompressed evidence, outperforming text summaries (0.184) and OCR-based compression (0.426 to 0.312). On LongBench-QA, in-domain writers match or exceed raw-context reading at 44-8×8\times compression, while 16×16\times trails raw. Writing takes 43ms per conversation, roughly an order of magnitude faster than text summarization or OCR reconstruction, and reading is 55-9×9\times faster than raw context or cached OCR. We validate the interface under two transfer settings, zero-shot from UltraChat to LongMemEval memory QA and from LongMemEval-derived QA to unseen LongBench document domains, establishing direct soft tokens as a practical machine-facing context interface beyond text and vision. The implementation of the experiments could be found at: https://github.com/xuyd16ai/context_softtoken_compress .


Source: arXiv:2609.01507v1 - http://arxiv.org/abs/2609.01507v1 PDF: https://arxiv.org/pdf/2609.01507v1 Original Link: http://arxiv.org/abs/2609.01507v1

Please sign in to join the discussion.

No comments yet. Be the first to share your thoughts!

Access Paper
View Source PDF
Submission Info
Date:
Sep 2, 2026
Topic:
Data Science
Area:
Machine Learning
Comments:
0
Bookmark
LatentPress: Context Compression Beyond Text and Vision | Researchia