Towards a Multimodal Stream Processing System
Uélison Jean Lopes dos Santos, Alessandro Ferri, Szilard Nistor, Riccardo Tommasini, Carsten Binnig, Manisha Luthra
TL;DR
This work addresses the challenge of enabling real-time multimodal analytics in streaming systems by introducing Samsāra, a super-optimizer that coalesces semantic, logical, and physical optimizations to run multimodal queries efficiently. By leveraging MLLMs as first-class operators and automating data-reduction strategies through LLM-guided reasoning, the approach achieves substantial throughput gains while controlling accuracy degradation. The Toll Booth case study and end-to-end results on 13 queries demonstrate the potential of deep plan specialization for streaming workloads. The paper also outlines a roadmap for formalizing semantic rewrites, adaptive model synthesis, and broader multimodal streaming capabilities, highlighting both the opportunities and research challenges in this nascent area.
Abstract
In this paper, we present a vision for a new generation of multimodal streaming systems that embed MLLMs as first-class operators, enabling real-time query processing across multiple modalities. Achieving this is non-trivial: while recent work has integrated MLLMs into databases for multimodal queries, streaming systems require fundamentally different approaches due to their strict latency and throughput requirements. Our approach proposes novel optimizations at all levels, including logical, physical, and semantic query transformations that reduce model load to improve throughput while preserving accuracy. We demonstrate this with Samsara, a prototype leveraging such optimizations to improve performance by more than an order of magnitude. Moreover, we discuss a research roadmap that outlines open research challenges for building a scalable and efficient multimodal stream processing systems.
