mlsanityData to 14 Oct 2026

PICASO: Permutation-Invariant Context Composition with State Space Models

arXiv 2502.17605 ↗First posted 24 Feb 2025cs.CL cs.AI cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

Providing Large Language Models with relevant contextual knowledge at inference time has been shown to greatly improve the quality of their generations. This is often achieved by prepending informative passages of text, or 'contexts', retrieved from external knowledge bases to their input. However, processing additional contexts online incurs significant computation costs that scale with their length. State Space Models (SSMs) offer a promising solution by allowing a database of contexts to be mapped onto fixed-dimensional states from which to start the generation. A key challenge arises when attempting to leverage information present across multiple contexts, since there is no straightforward way to condition generation on multiple independent states in existing SSMs. To address this, we leverage a simple mathematical relation derived from SSM dynamics to compose multiple states into one that efficiently approximates the effect of concatenating raw context tokens. Since the temporal ordering of contexts can often be uninformative, we enforce permutation-invariance by efficiently averaging states obtained via our composition algorithm across all possible context orderings. We evaluate our resulting method on WikiText and MSMARCO in both zero-shot and fine-tuned settings, and show that we can match the strongest performing baseline while enjoying on average 5.4x speedup.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 32 of its 39 references that are in the map. First posted on arXiv 24 Feb 2025.

Builds on

32 of 39 references.

References · 32

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  5. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  6. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  7. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  8. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  9. 2016Pointer Sentinel Mixture Modelscited by 3,096
  10. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  11. 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
  12. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
20 more
  1. 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,605
  2. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
  3. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
  4. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  5. 2021Improving language models by retrieving from trillions of tokenscited by 1,293
  6. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
  7. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
  8. 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 952
  9. 2023In-Context Retrieval-Augmented Language Modelscited by 702
  10. 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 401
  11. 2022Demystifying Prompts in Language Models via Perplexity Estimationcited by 216
  12. 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 174
  13. 2022An Information-theoretic Approach to Prompt Engineering Without Ground Truth Labelscited by 89
  14. 2024In-context Learning with Retrieved Demonstrations for Language Models: A Surveycited by 70
  15. 2024B'MOJO: Hybrid State Space Realizations of Foundation Models with Eidetic and Fading Memorycited by 26
  16. 2023Tangent Model Composition for Ensembling and Continual Fine-tuningcited by 25
  17. 2024Accelerating Inference of Retrieval-Augmented Generation via Sparse Context Selectioncited by 25
  18. 2023Tangent Transformers for Composition, Privacy and Removalcited by 13
  19. 2023Prompt Algebra for Task Compositioncited by 6
  20. 2024State Soup: In-Context Skill Learning, Retrieval and Mixingcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 3.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Hierarchical Context Merging: Better Long Context Understanding for Pre-trained LLMs
  2. 2025L2M: Mutual Information Scaling Law for Long-Context Language Modeling
  3. 2024Improving Large Language Model (LLM) fidelity through context-aware grounding: A systematic approach to reliability and veracity
  4. 2025A Survey of Context Engineering for Large Language Models
  5. 2025Understanding the Skill Gap in Recurrent Language Models: The Role of the Gather-and-Aggregate Mechanism
  6. 2026Context Cartography: Toward Structured Governance of Contextual Space in Large Language Model Systems
  7. 2026Beyond the Parameters: A Technical Survey of Contextual Enrichment in Large Language Models: From In-Context Prompting to Causal Retrieval-Augmented Generation
  8. 2025Overcoming Long-Context Limitations of State-Space Models via Context-Dependent Sparse Attention