---
title: "Long-Context Retrieval"
description: "1 posts about Long-Context Retrieval, summarised, each linking to the original."
---

# Long-Context Retrieval
> 1 posts about Long-Context Retrieval, summarised, each linking to the original.

## Articles

### [Weighted State Souping for Efficient Long-Context Retrieval](https://yomu.fyi/post/weighted-state-souping-for-efficient-long-context-retrieval.md)
- Company: [Apple](https://yomu.fyi/company/apple.md)
- Published: Nov 10, 2026
- Type: Problem & solution

State space models (SSMs) offer fast inference and fixed state size, and state souping independently encodes chunks like documents to cache and recombine states for downstream queries. However, both standard SSMs and state souping degrade on long, crowded contexts, limiting their use in long-horizon tasks. Weighted state souping addresses this by learning query-dependent weights for composing cached states, improving performance on single- and multi-hop document question answering, needle-in-a-haystack retrieval, variable tracking, and tool use. The method can be adapted into a sparse variant that achieves near-constant encoding cost relative to context length while preserving or improving performance. Theoretical arguments explain why souping works and when it may fail, and weighted souping combines reusable context representations with selective retrieval for efficient language modeling over large collections.
