# Apple proposes weighted state souping for long-context retrieval in SSMs

> Original title: Weighted State Souping for Efficient Long-Context Retrieval

- Source: Apple Machine Learning Research
- Published: 2026-11-10T00:00:00.000Z
- Bad Influence: https://badinfluence.news/items/b0bvmwdah2dxe961idtvmfpfm
- Original: https://machinelearning.apple.com/research/weighted-state-souping

## Summary

Apple researchers propose weighted state souping, a method that learns query-dependent weights for composing cached state space model states. The authors say it substantially improves long-context performance on document question answering, needle-in-a-haystack retrieval, variable tracking and tool use. A sparse variant reportedly keeps encoding cost near-constant with respect to context length.
