The pitch in this arXiv paper runs against a year of “bigger window” marketing: frequent compaction keeps contexts short and, across long-horizon and long-input tasks, costs almost nothing in accuracy. The part that lands for anyone running production inference is the economics — later tokens can cost up to 7x more to generate than early ones on frontier open-weight models. A million-token window isn’t just a recall problem; it’s a line item.
I’ve spent enough time on context engineering for RAG to be sympathetic. Most of the “we need longer context” requests I see are really “our retrieval is dumping too much in.” Compaction — summarize, evict, re-ground — is the move we already make by hand in agent loops, and the paper’s long-horizon software-engineering result, where performance holds even at one action per context, says the loop tolerates far more aggressive eviction than most teams assume. The authors push this toward what they call semantic state space models: carry a compact semantic state forward instead of the full transcript.
What I’d actually do with this is stop treating window size as the knob and start measuring accuracy-per-token on my own eval harness, with a compaction pass between agent steps. The risk the paper underplays is lossy compaction on tasks where the buried detail is the task — needle-in-haystack retrieval, long multi-hop reasoning — where a semantic state can throw away the needle. The HF paper page is worth watching for how that holds up under scrutiny.
My bet: within a year, “context length” stops being a headline spec and compaction quality becomes the thing vendors quietly compete on.
tags: [ rag ] [ llm-ops ] [ research ]