Continuous Prompts: LLM-Augmented Pipeline Processing over Unstructured Streams
Shu Chen, Deepti Raghavan, U\u{g}ur \c{C}etintemel

TL;DR
This paper introduces Continuous Prompts (CPs), a novel framework that enables persistent, semantics-aware reasoning over unstructured data streams using LLMs, with dynamic optimization for efficiency and accuracy trade-offs.
Contribution
The paper presents the first framework for continuous, semantics-aware stream processing with LLMs, including new semantic operators, optimization techniques, and an adaptive system implementation.
Findings
CPs enable persistent semantic queries over streams.
Optimizations improve efficiency with manageable accuracy loss.
Adaptive plans maintain performance under workload changes.
Abstract
Monitoring unstructured streams increasingly requires persistent, semantics-aware computation, yet today's LLM frameworks remain stateless and one-shot, limiting their usefulness for long-running analytics. We introduce Continuous Prompts (CPs), the first framework that brings LLM reasoning into continuous stream processing. CPs extend RAG to streaming settings, define continuous semantic operators, and provide multiple implementations, primarily focusing on LLM-based approaches but also reporting one embedding-based variants. Furthermore, we study two LLM-centric optimizations, tuple batching and operator fusion, to significantly improve efficiency while managing accuracy loss. Because these optimizations inherently trade accuracy for speed, we present a dynamic optimization framework that uses lightweight shadow executions and cost-aware multi-objective Bayesian optimization (MOBO)…
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
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Database Systems and Queries · Data Stream Mining Techniques · Time Series Analysis and Forecasting
