NeuStream: Bridging Deep Learning Serving and Stream Processing
Modern Deep Neural Network (DNN) exhibits a pattern where multiple sub-models are executed, guided by control flows such as loops and switch/merge operations. This dynamic nature introduces complexities in batching the requests of such DNNs for efficient execution on GPUs. In this paper, we present NeuStream, a programming model and runtime system for serving deep learning workloads using stream processing. NeuStream decomposes the inference workflow into modules and forms them into a streaming processing system where a request flows through. Based on such abstraction, NeuStream is able to batch requests at fine-grained module granularity. To maximize serving goodput, NeuStream exploits a two-level scheduling approach to decide the best batching requests and resource allocation for each module while satisfying service level objectives (SLOs). Our evaluation of NeuStream on a set of modern DNNs like Large Language Models (LLM) and diffusion models, etc., shows that NeuStream significantly improves goodput compared to state-of-the-art DNN serving systems.
Authors
- Haochen Yuan (ORCID: https://orcid.org/0000-0002-7903-8655)
- Yuanqing Wang
- Ziming Miao (ORCID: https://orcid.org/0000-0001-7466-2128)
- Yu Cheng (ORCID: https://orcid.org/0009-0003-9436-674X)
- Jilong Xue (ORCID: https://orcid.org/0000-0002-4495-1997)
- Zhi Yang (ORCID: https://orcid.org/0000-0002-8219-4499)
- Lingxiao Ma (ORCID: https://orcid.org/0009-0009-9524-5476)
- Wenqiang Xie
Institutions
- Peking University (CN)
- Microsoft Research (United Kingdom) (GB)
Publication Details
- Published
- 2025-03-26
- DOI
- https://doi.org/10.1145/3689031.3717489
- Citations
- 1
- Primary Topic
- Data Stream Mining Techniques
- Type
- article
- Field-Weighted Citation Impact
- 2.48