PICASO: Permutation-Invariant Context Composition with State Space Models
Tian Yu Liu, Alessandro Achille, Matthew Trager, Aditya Golatkar, Luca, Zancato, Stefano Soatto

TL;DR
PICASO introduces a permutation-invariant method for composing multiple context states in State Space Models, enabling efficient, order-agnostic integration of external knowledge to improve large language model inference with significant speed gains.
Contribution
The paper proposes a novel state composition technique for SSMs that is permutation-invariant and efficiently combines multiple contexts, addressing a key challenge in leveraging external knowledge.
Findings
Achieves 5.4x speedup over baselines.
Matches top performance on WikiText and MSMARCO.
Enables effective zero-shot and fine-tuned context integration.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsSemantic Web and Ontologies · Machine Learning and Algorithms · Advanced Database Systems and Queries
