LatentPress: Context Compression Beyond Text and Vision

Zhengze Zhou, Hejian Sang

Cornell University · Arizona State University

Published September 1, 2026 · on the feed September 4, 2026 · ▲ 74 · arXiv 2609.01507

Efficiency & inferenceVision & multimodal Dead link arXiv ↗Hugging Face ↗

The 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-16times while training only an adapter (4.2M-26.2M parameters, sim!0.1% of the decoder). On LongMemEval, LatentPress reaches 0.504 accuracy at 7.70times compression versus 0.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 4-8times compression, while 16times trails raw. Writing takes 43ms per conversation, roughly an order of magnitude faster than text summarization or OCR reconstruction, and reading is 5-9times 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 .

The Brief

2:12

A short podcast summary of the paper. Written and voiced by AI.

Transcript

LatentPress. Context Compression Beyond Text and Vision. By Zhengze Zhou and one other, from Cornell University and Arizona State University. Published on the first of September. It links to a code repository that is no longer there.

When a long history has to be compressed, it is usually compressed into something a person could read: a text summary, or a rendered image that gets decoded again. That happens even when the only consumer is a language model, which never needed the human-readable step and has to pay to undo it.

LatentPress writes conversational histories and long documents into a third representation. Continuous memory tokens, which a frozen decoder reads directly through its input-embedding interface, with no text reconstruction at inference at all. The claim is that soft tokens are a practical machine-facing context interface, sitting alongside text and vision rather than beneath them.

A small writer, matched to the reader, does the compression at ratios from four to sixteen times. Only an adapter is trained, between four point two and twenty-six point two million parameters, which is around a tenth of a percent of the decoder. The decoder itself is untouched, which is what makes this an interface rather than a model change.

On a long-term memory benchmark it reaches zero point five zero four accuracy at seven point seven times compression, against zero point four nine zero for the uncompressed evidence, so compressing does not cost accuracy here. Text summaries manage zero point one eight four and OCR-based compression falls from zero point four two six to zero point three one two. On a long-document question benchmark, in-domain writers match or exceed raw-context reading at four to eight times, while sixteen times trails. The speed numbers are the more practical half. Writing takes forty-three milliseconds per conversation, roughly an order of magnitude faster than text summarization or OCR reconstruction, and reading is five to nine times faster than raw context or cached OCR.

Two transfer settings were tested rather than one, moving between different sources and unseen document domains, which is what distinguishes an interface claim from a benchmark result. The question the work leaves open is what breaks above sixteen times, since that is where the reported gains stop.

The deep dive

5:34

A longer episode, written from the whole paper. Written and voiced by AI.

Transcript

LatentPress. Context Compression Beyond Text and Vision. By Zhengze Zhou and one other, from Cornell University and Arizona State University. Published on the first of September. This is the long version: the whole paper rather than the abstract.

Assistants and agents accumulate more history than they can afford to reread. A deployment trace holds instructions, dialogue, plans, tool calls, observations and environment feedback, and a later decision usually depends on only a small part of it. The same pressure appears whenever a model reads long documents to answer a question. In both cases the default machine-facing interface is still discrete text: systems retrieve text, summarize text, prune text, or reconstruct text from another modality before a language model can use it.

The observation the paper builds on is that this is a convention rather than a requirement. Text is convenient for people and interoperable across systems, but a model does not need its stored or compressed context to be human-readable. So the question becomes whether long context can be written into a compact continuous representation that a frozen language model reads without first recovering the text. The framing is deliberately narrow, and the authors are careful about it. They separate context use into a write step, mapping text to a compact state, and a read step, supplying that state to a frozen decoder. That abstraction covers conversational histories and long documents alike, and it does not attempt to replace retrieval, reflection, update policies or conflict resolution in a complete memory system. It asks only what representation should cross the boundary between stored context and the model consuming it.

The mechanism is a direct-read soft-token interface. A reader-matched writer reuses two frozen decoder layers together with a small trainable adapter to map text segments into continuous vectors, and those vectors enter the frozen decoder through its input-embedding interface, followed by the question. The decoder then answers directly, with no text reconstruction anywhere. The adapter is between four point two and twenty-six point two million parameters, roughly a tenth of a percent of the decoder, and the decoder itself is never touched. What distinguishes this from the established family of continuous-vector compression is stated up front: earlier approaches train or adapt a reader or encoder at model scale, whereas this leaves the downstream decoder alone entirely.

On the long-term memory benchmark, the interface reaches zero point five zero four accuracy at seven point seven times compression, against zero point four nine zero for uncompressed evidence. Compressing does not cost accuracy there; it slightly helps, which is the sort of result that usually means the compression is also discarding distraction. Text summaries manage zero point one eight four and OCR-based compression falls from zero point four two six to zero point three one two. On long-document questions, in-domain writers match or exceed raw-context reading at four to eight times compression, while sixteen times trails. The speed figures are the more immediately practical half: writing takes forty-three milliseconds per conversation, roughly an order of magnitude faster than text summarization or OCR reconstruction, and reading is five to nine times faster than raw context or cached OCR.

The limitations are unusually well aligned with the claims. The work isolates compression and reading using oracle evidence sessions, which deliberately leaves out integration with retrieval, memory updates and conflict resolution, so this is a component for a memory system rather than a memory system. The central future direction is dynamic compression: the role-based and uniform rates here are hand-specified heuristics, and a learned policy could choose a rate per segment, preserving detail only where it matters. They suggest optimising such a policy against downstream answer reward under a latency or memory budget. What none of this establishes is what breaks above sixteen times compression, which is where the reported gains stop.

The idea to keep is that the human-readability of an intermediate representation is a cost, not a feature, when no human reads it. Everything between a stored context and the model consuming it has been text by default, and the reconstruction step that default imposes is paid on every single read.

Paper Quest · 7 chapters · about 40 min

Play this paper

Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.

Chapter 1 🧩 · The problem

Every quest starts with a wall. Here it is a history too long to reread.

Your assistant has piled up more conversation history than it can afford to reread. You need to compress it before the language model uses it.

The road ahead

  1. 1 · The problem ~6 min A long conversation history must be shrunk before a language model reads it, but the usual shrinking methods produce something made for human eyes.
  2. 2 · What came before ~3 min
  3. 3 · The key idea ~9 min Write the context straight into short vectors in the model's own embedding space, and let a frozen decoder read them directly with no text step.
  4. 4 · Choose your own research ~3 min
  5. 5 · Build the method ~8 min Segment the context, compress each segment with a small reader-matched writer, feed the vectors in at the input embeddings, and let the frozen decoder answer.
  6. 6 · The experiment ~6 min You’ll guess: On a long-term memory benchmark at 7.70 times compression, how did LatentPress compare with reading the uncompressed evidence?
  7. 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Join free to play the whole quest ›

Free, with Google or an email address. Your stars and progress are kept.

KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.