Skip to content
Research · Dec 4, 2026

Apple proposes weighted state souping to improve long-context retrieval in state space models

A new method from Apple’s ML Research combines cached state encodings with query-dependent weighting to reduce long-context degradation in state space models, with a sparse variant offering near-constant encoding cost.

Trust79
HypeLow hype

1 source · cross-referenced

ShareXLinkedInEmail
TL;DR
  • Apple’s ML Research proposes weighted state souping, a method that learns query-dependent weights to compose cached state encodings in state space models (SSMs).
  • The approach improves long-context performance across tasks like multi-hop document QA, needle-in-a-haystack retrieval, variable tracking, and tool use.
  • A sparse variant of the method achieves near-constant encoding cost with respect to context length while preserving or improving performance.
  • The paper was accepted at the Workshop on Personalized, Aligned, Long-term Memory for AI Systems (PALM) at NeurIPS 2026.

Apple’s Machine Learning Research team proposes weighted state souping, a method designed to address the degradation of state space models (SSMs) in long, crowded contexts. Unlike vanilla SSMs, which encode tokens sequentially with a fixed state size, state souping independently encodes chunks of tokens—such as documents, tool definitions, or memory records—and caches the resulting state encodings for reuse. These cached states can then be recombined to construct a context for downstream queries.

The team identifies a key limitation: both state souping and vanilla SSMs deteriorate as context length grows, which constrains their utility for long-horizon domains. To mitigate this, they introduce weighted state souping, a technique that learns query-dependent weights for composing cached states. This approach substantially improves long-context performance across several tasks, including single- and multi-hop document question answering, needle-in-a-haystack retrieval, variable tracking, and tool use.

The researchers also propose a sparse variant of weighted state souping, which achieves near-constant encoding cost with respect to context length while preserving or even improving performance. This adaptation is particularly relevant for agentic workloads that demand efficient processing of large collections of documents, tools, and structured context.

In addition to empirical results, the team provides theoretical arguments explaining why state souping works and when it may fail. They also discuss the advantages of weighted souping informally, emphasizing its potential to combine reusable context representations with selective retrieval—a combination that could be valuable for modern AI systems operating over long contexts.

Sources
  1. 01Apple — Machine Learning Research — Weighted State Souping for Efficient Long-Context Retrieval
Also on Research

Stories may contain errors. Dispatch is assembled with AI assistance and curated by human editors; despite the trust-score filter, mistakes happen. We correct publicly — every article links to its revision history. Nothing here is financial, legal, or medical advice. Verify before relying on any claim.

© 2026 Dispatch. No ads. No sponsorships. No paid placement. Reader-supported via Ko-fi.

Built by a person who cares about honest AI news.