mlsanityData to 14 Oct 2026

Studying the Soupability of Documents in State Space Models

arXiv 2505.24033 ↗First posted 29 May 2025cs.CL cs.CE cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

We investigate whether hidden states from Structured State Space Models (SSMs) can be merged post hoc to support downstream reasoning. Inspired by model souping, we study document souping, a strategy where documents are encoded independently, and their representations are pooled, via simple operations like averaging, into a single context state. This approach enables modular encoding and reuse without reprocessing the full input for each query. We demonstrate that finetuned Mamba2 models with souped representations achieve competitive or superior performance across multi-hop QA, sparse retrieval, and long-document reasoning tasks compared to the standard monolithic encoding approach. For example, on the RACE and QuALITY benchmarks for long document question answering, this method substantially outperforms a traditional concatenation approach. Crucially, this modular design scales to hundreds of segments (we test up to 256) while delivering substantial savings in inference cost, unlocking new possibilities for large-scale corpus reasoning.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 30 of its 39 references that are in the map. First posted on arXiv 29 May 2025.

Builds on

30 of 39 references.

References · 30

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  3. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  4. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  5. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  6. 2020Longformer: The Long-Document Transformercited by 3,413
  7. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  8. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  9. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  10. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  11. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  12. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
18 more
  1. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
  2. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  3. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  4. 2022Token Merging: Your ViT But Fastercited by 1,021
  5. 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 861
  6. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 832
  7. 2022Simplified State Space Layers for Sequence Modelingcited by 788
  8. 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 608
  9. 2022Memorizing Transformerscited by 226
  10. 2021QuALITY: Question Answering with Long Input Texts, Yes!cited by 208
  11. 2024An Empirical Study of Mamba-based Language Modelscited by 186
  12. 2023Token Fusion: Bridging the Gap between Token Pruning and Token Mergingcited by 125
  13. 2022Not All Tokens Are Equal: Human-centric Visual Analysis via Token Clustering Transformercited by 101
  14. 2024Model Tells You Where to Merge: Adaptive KV Cache Merging for LLMs on Long-Context Taskscited by 96
  15. 2024Merging Multi-Task Models via Weight-Ensembling Mixture of Expertscited by 85
  16. 2024Block-Attention for Efficient Prefillingcited by 37
  17. 2024Mamba Retriever: Utilizing Mamba for Effective and Efficient Dense Retrievalcited by 8
  18. 2025PICASO: Permutation-Invariant Context Composition with State Space Modelscited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Context Compression Is Not One Thing: Readable Symbolic Re-expression vs. Coherent Summary at Matched Budget
  2. 2026Difficulty-Gated Fusion of Reasoning Views for Temporal Retrieval
  3. 2025LLM-guided Hierarchical Search for End-to-end Reasoning Intensive Retrieval
  4. 2026Doc-to-Atom: Learning to Compile and Compose Memory Atoms
  5. 2026Query, Decompose, Compress: Structured Query Expansion for Efficient Multi-Hop Retrieval
  6. 2025PluriHopRAG: Exhaustive, Recall-Sensitive QA Through Corpus-Specific Document Structure Learning
  7. 2024ALR2: A Retrieve-then-Reason Framework for Long-context Question Answering
  8. 2026PAR2-RAG: Planned Active Retrieval and Reasoning for Multi-Hop Question Answering