Clipper: A Low-Latency Online Prediction Serving System
Open accessAbstract
Machine learning is being deployed in a growing number of applications which demand real-time, accurate, and robust predictions under heavy query load. However, most machine learning frameworks and systems only address model training and not deployment. In this paper, we introduce Clipper, a general-purpose low-latency prediction serving system. Interposing between end-user applications and a wide range of machine learning frameworks, Clipper introduces a modular architecture to simplify model deployment across frameworks and applications. Furthermore, by introducing caching, batching, and adaptive model selection techniques, Clipper reduces prediction latency and improves prediction throughput, accuracy, and robustness without modifying the underlying machine learning frameworks. We evaluate Clipper on four common machine learning benchmark datasets and demonstrate its ability to meet the latency, accuracy, and throughput demands of online serving applications. Finally, we compare Clipper to the TensorFlow Serving system and demonstrate that we are able to achieve comparable throughput and latency while enabling model composition and online learning to improve accuracy and render more robust predictions.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
General model serving systems fail to take into account the autoregressive property and token state of LLM inference, resulting in missed opportunities for optimization.
“However, these general systems fail to take into account the autoregressive property and token state of LLM inference, resulting in missed opportunities for optimization.”
From Efficient Memory Management for Large Language Model Serving with PagedAttention (2023) · cites this paper as [11]
Section 7 (Limitations; page not available) says Clipper treats models as black boxes and does not optimize their execution, supporting the general point that its serving architecture misses model-specific optimizations. The paper does not address LLM inference, autoregressive generation, or token state, and it does not establish the claim about general serving systems as a group. (LLM, conf=0.78)
Experimental — accuracy not yet measured
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
Deep Residual Learning for Image Recognition
He, K., Zhang, X., Ren, S., & Sun, J. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.90 · Cited by 235,474 · see citing works
ImageNet classification with deep convolutional neural networks
Krizhevsky, A., Sutskever, I., & Hinton, G. E. (2017) · Communications of the ACM · doi:10.1145/3065386 · Cited by 112,155 · see citing works
TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systems
Abadi, M., Agarwal, A., Barham, P., Brevdo, E., Chen, Z., Citro, C., Corrado, G. S., Davis, A., Dean, J., Devin, M., et al. (2016) · arXiv · doi:10.48550/arxiv.1603.04467 · Cited by 9,408 · see citing works
Flagged first, then by citations
Research works printed but not linked: 42
- [2][2] A. Agarwal, S. Bird, M. Cozowicz, L. Hoang, J. Lang- ford, S. Lee, J. Li, D. Melamed, G. Oshri, O. Ribas, et al. A multiworld testing decision service. arXiv preprint arXiv:1606.03966, 2016. · arXiv
- [3][3] D. Agarwal, B. Long, J. Traupman, D. Xin, and L. Zhang. Laser: A scalable response prediction platform for online advertising. In WSDM, pages 173–182, 2014.
- [4][4] S. Agarwal and J. R. Lorch. Matchmaking for online games and other latency-sensitive p2p systems. In ACM SIGCOMM Computer Communication Review, volume 39, pages 315–326. ACM, 2009.
- [5][5] A. Ahmed, M. Aly, J. Gonzalez, S. Narayanamurthy, and A. J. Smola. Scalable inference in latent variable models. In WSDM, pages 123–132, 2012.
- [6][6] P. Auer, N. Cesa-Bianchi, Y. Freund, and R. E. Schapire. The nonstochastic multiarmed bandit problem. SIAM J. Comput., 32(1):48–77, Jan. 2003.
- [7][7] J. Bergstra, O. Breuleux, F. Bastien, P. Lamblin, R. Pas- canu, G. Desjardins, J. Turian, D. Warde-Farley, and Y. Bengio. Theano: a cpu and gpu math expression com- piler. In Proceedings of the Python for scientific computing conference (SciPy), volume 4, page 3. Austin, TX, 2010.
- [8][8] C. M. Bishop. Pattern Recognition and Machine Learning. Springer-Verlag, Secaucus, NJ, USA, 2006.
- [9][9] L. Breiman. Bagging predictors. Mach. Learn., 24(2):123– 140, Aug. 1996.
- [10][10] C. Chelba, D. Bikel, M. Shugrina, P. Nguyen, and S. Ku- mar. Large scale language modeling in automatic speech recognition. arXiv preprint arXiv:1210.8440, 2012. · arXiv
- [11][11] J. Chen, R. Monga, S. Bengio, and R. Jozefowicz. Re- visiting Distributed Synchronous SGD. arXiv.org, Apr. 2016.
- [12][12] T. Chen and C. Guestrin. XGBoost: A Scalable Tree Boosting System. arXiv.org, Mar. 2016.
- [13][13] T. Chen, M. Li, Y. Li, M. Lin, N. Wang, M. Wang, T. Xiao, B. Xu, C. Zhang, and Z. Zhang. Mxnet: A flexible and efficient machine learning library for heterogeneous dis- tributed systems. arXiv preprint arXiv:1512.01274, 2015. · arXiv
- [14][14] T. Chilimbi, Y. Suzue, J. Apacible, and K. Kalyanaraman. Project adam: Building an efficient and scalable deep learn- ing training system. In OSDI, pages 571–582, 2014.
- [15][15] D.-M. Chiu and R. Jain. Analysis of the increase and decrease algorithms for congestion avoidance in computer networks. Comput. Netw. ISDN Syst., 17(1):1–14, June 1989.
- [16][16] R. Collobert, K. Kavukcuoglu, and C. Farabet. Torch7: A matlab-like environment for machine learning. In BigLearn, NIPS Workshop, number EPFL-CONF-192376, 2011.
- [20][20] J. Davidson, B. Liebald, J. Liu, P. Nandy, T. Van Vleet, U. Gargi, S. Gupta, Y. He, M. Lambert, B. Livingston, and D. Sampath. The YouTube video recommendation system. RecSys, pages 293–296, 2010.
- [21][21] J. Dean, G. Corrado, R. Monga, K. Chen, M. Devin, M. Mao, M. aurelio Ranzato, A. Senior, P. Tucker, K. Yang, Q. V. Le, and A. Y. Ng. Large scale distributed deep net- works. In NIPS, pages 1223–1231. 2012.
- [23][23] A. Ganjam, F. Siddiqui, J. Zhan, X. Liu, I. Stoica, J. Jiang, V. Sekar, and H. Zhang. C3: Internet-Scale Control Plane for Video Quality Optimization. NSDI '15, pages 131–144, 2015.
- [25][25] J. E. Gonzalez, Y. Low, H. Gu, D. Bickson, and C. Guestrin. Powergraph: Distributed graph-parallel computation on natural graphs. OSDI, pages 17–30, 2012.
- [27][27] T. Graepel, J. Q. Candela, T. Borchert, and R. Herbrich. Web-Scale Bayesian Click-Through rate Prediction for Sponsored Search Advertising in Microsoft's Bing Search Engine. ICML, pages 13–20, 2010.
- [30][30] G. Hinton, O. Vinyals, and J. Dean. Distilling the Knowl- edge in a Neural Network. arXiv.org, Mar. 2015.
- [31][31] Y. Jia, E. Shelhamer, J. Donahue, S. Karayev, J. Long, R. Girshick, S. Guadarrama, and T. Darrell. Caffe: Con- volutional architecture for fast feature embedding. In Pro- ceedings of the ACM International Conference on Multi- media, pages 675–678. ACM, 2014.
- [36][36] X. Lei, A. W. Senior, A. Gruenstein, and J. Sorensen. Ac- curate and compact large vocabulary speech recognition on mobile devices. INTERSPEECH, pages 662–665, 2013.
- [37][37] R. Lerallut, D. Gasselin, and N. Le Roux. Large-Scale Real-Time Product Recommendation at Criteo. In RecSys, pages 232–232, 2015.
- [38][38] M. Li, D. G. Andersen, J. W. Park, A. J. Smola, A. Ahmed, V. Josifovski, J. Long, E. J. Shekita, and B.-Y. Su. Scaling distributed machine learning with the parameter server. In OSDI, pages 583–598, 2014.
- [39][39] H. B. McMahan, G. Holt, D. Sculley, M. Young, D. Ebner, J. Grady, L. Nie, T. Phillips, E. Davydov, D. Golovin, S. Chikkerur, D. Liu, M. Wattenberg, A. M. Hrafnkelsson, T. Boulos, and J. Kubica. Ad click prediction: a view from the trenches. In KDD, page 1222, 2013.
- [40][40] X. Meng, J. Bradley, B. Yavuz, E. Sparks, S. Venkatara- man, D. Liu, J. Freeman, D. Tsai, M. Amde, S. Owen, D. Xin, R. Xin, M. J. Franklin, R. Zadeh, M. Zaharia, and A. Talwalkar. Mllib: Machine learning in apache spark. Journal of Machine Learning Research, 17(34):1–7, 2016.
- [41][41] V. Mnih, N. Heess, A. Graves, et al. Recurrent models of visual attention. In NIPS, pages 2204–2212, 2014.
- [43][43] K. P. Murphy. Machine Learning: A Probabilistic Perspec- tive. The MIT Press, 2012.
- [44][44] J. Nagle. Congestion control in ip/tcp internetworks. SIG- COMM Comput. Commun. Rev., 14(4):11–17, Oct. 1984.
- [46][46] V. S. Pai, P. Druschel, and W. Zwaenepoel. Flash: An effi- cient and portable Web server. USENIX Annual Technical Conference, General Track, pages 199–212, 1999.
- [49][49] O. Russakovsky, J. Deng, H. Su, J. Krause, S. Satheesh, S. Ma, Z. Huang, A. Karpathy, A. Khosla, M. Bernstein, A. C. Berg, and L. Fei-Fei. ImageNet Large Scale Visual Recognition Challenge. International Journal of Com- puter Vision (IJCV), 115(3):211–252, 2015.
- [50][50] D. C. Schmidt. Pattern languages of program design. chap- ter Reactor: An Object Behavioral Pattern for Concurrent Event Demultiplexing and Event Handler Dispatching, pages 529–545. 1995.
- [52][52] D. Sculley, G. Holt, D. Golovin, E. Davydov, T. Phillips, D. Ebner, V. Chaudhary, M. Young, J.-F. Crespo, and D. Dennison. Hidden Technical Debt in Machine Learning Systems. NIPS, 2015.
- [54][54] K. Simonyan and A. Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014. · arXiv
- [57][57] C. Szegedy, W. Liu, Y. Jia, P. Sermanet, S. Reed, D. Anguelov, D. Erhan, V. Vanhoucke, and A. Rabinovich. Going deeper with convolutions. In CVPR, pages 1–9, 2015.
- [58][58] C. Szegedy, V. Vanhoucke, S. Ioffe, J. Shlens, and Z. Wo- jna. Rethinking the inception architecture for computer vision. arXiv preprint arXiv:1512.00567, 2015. · arXiv
- [61][61] M. Welsh, D. E. Culler, and E. A. Brewer. SEDA: An Architecture for Well-Conditioned, Scalable Internet Ser- vices. SOSP, pages 230–243, 2001.
- [62][62] E. P. Xing, Q. Ho, W. Dai, J.-K. Kim, J. Wei, S. Lee, X. Zheng, P. Xie, A. Kumar, and Y. Yu. Petuum: A new platform for distributed machine learning on big data. In KDD, pages 1335–1344. ACM, 2015.
- [63][63] S. J. Young, G. Evermann, M. J. F. Gales, T. Hain, D. Kershaw, G. Moore, J. Odell, D. Ollason, D. Povey, V. Valtchev, and P. C. Woodland. The HTK Book, ver- sion 3.4. Cambridge University Engineering Department, Cambridge, UK, 2006.
- [64][64] J.-M. Yun, Y. He, S. Elnikety, and S. Ren. Optimal aggre- gation policy for reducing tail latency of web search. In SIGIR, pages 63–72, 2015.
- [65][65] M. Zaharia et al. Resilient distributed datasets: A fault- tolerant abstraction for in-memory cluster computing. In NSDI, 2012. 15 https://www.tensorflow.org/versions/r0.10/tutorials/mnist/pros/index.html https://www.tensorflow.org/versions/r0.10/tutorials/mnist/pros/index.html https://www.tensorflow.org/versions/r0.10/tutorials/mnist/pros/index.html http://nginx.org/en/ http://dmg.org/pfa/index.html http://dmg.org/pfa/index.html http://dmg.org/pmml/v4-2-1/GeneralStructure.html http://dmg.org/pmml/v4-2-1/GeneralStructure.html http://scikit-learn.org http://scikit-learn.org http://www.apple.com/ios/siri/ https://www.skype.com/en/features/skype-translator/ https://www.skype.com/en/features/skype-translator/ https://tensorflow.github.io/serving https://tensorflow.github.io/serving https://turi.com
Cited by
Sorted by citations
Efficient Memory Management for Large Language Model Serving with PagedAttention
Kwon, W., Li, Z., Zhuang, S., Sheng, Y., Zheng, L., Yu, C. H., Gonzalez, J., Zhang, H., & Stoica, I. (2023) · Proceedings of the 29th Symposium on Operating Systems Principles · doi:10.1145/3600006.3613165 · Cited by 1,817 · see citing works
Self-citationDevelopments in MLflow: A System to Accelerate the Machine Learning Lifecycle
Chen, A., Chow, A., Davidson, A., DCunha, A., Ghodsi, A., Hong, S. A., Konwinski, A., Mewald, C., Murching, S., Nykodym, T., et al. (2020) · Proceedings of the Fourth International Workshop on Data Management for End-to-End Machine Learning · doi:10.1145/3399579.3399867 · Cited by 112 · see citing works
New Frontiers in IoT: Networking, Systems, Reliability, and Security Challenges
Bagchi, S., Abdelzaher, T. F., Govindan, R., Shenoy, P., Atrey, A., Ghosh, P., & Xu, R. (2020) · IEEE Internet of Things Journal · doi:10.1109/jiot.2020.3007690 · Cited by 72 · see citing works
Low latency RNN inference with cellular batching
Gao, P., Yu, L., Wu, Y., & Li, J. (2018) · Proceedings of the Thirteenth EuroSys Conference · doi:10.1145/3190508.3190541 · Cited by 66 · see citing works
A Case for Managed and Model-less Inference Serving
Yadwadkar, N. J., Romero, F., Li, Q., & Kozyrakis, C. (2019) · Proceedings of the Workshop on Hot Topics in Operating Systems · doi:10.1145/3317550.3321443 · Cited by 31 · see citing works
Cache-Craft: Managing Chunk-Caches for Efficient Retrieval-Augmented Generation
Agarwal, S., Sundaresan, S., Mitra, S., Mahapatra, D., Gupta, A., Sharma, R., Kapu, N. J., Yu, T., & Saini, S. (2025) · Proceedings of the ACM on Management of Data · doi:10.1145/3725273 · Cited by 21 · see citing works
Migrating a Recommendation System to Cloud Using ML Workflow
Chahal, D., Ojha, R., Choudhury, S. R., & Nambiar, M. (2020) · Companion of the ACM/SPEC International Conference on Performance Engineering · doi:10.1145/3375555.3384423 · Cited by 10 · see citing works
On the Cost of Model-Serving Frameworks: An Experimental Evaluation
De Rosa, P., Bromberg, Y.-D., Felber, P., Mvondo, D., & Schiavoni, V. (2024) · 2024 IEEE International Conference on Cloud Engineering (IC2E) · doi:10.1109/ic2e61754.2024.00032 · Cited by 6 · see citing works
“While the training phase is time-consuming, the inference should normally execute in almost real-time, as is typically embedded in user-facing applications that provide low-latency predictions at scale [45].”
Influential
- Authors
- Crankshaw, D., Wang, X., Zhou, G., Franklin, M. J., Gonzalez, J. E., & Stoica, I.
- Affiliations
- University of California, Berkeley (US)
- University of Chicago (US)
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2016
- Pages
- 613-627
- ISSN
- 2331-8422 (ISSN-L)
- arXiv
- 1612.03079
- OpenAlex
- W2964108773
- Cited by
- 415
- References
- 3
- Citations by year
- 2026: 5 · 2025: 31 · 2024: 52 · 2023: 48 · 2022: 44 · 2021: 62 · 2020: 61 · 2019: 65 · 2018: 35 · 2017: 10 · 2016: 1 · 2015: 1
- Type
- posted content
- Language
- en
- Open access
- green
- arxiv.org
- Locations
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Networked Systems Design and Implementation
- Funders
- National Science Foundation (SN10040 DE-SC0012463, 1139158)
- U.S. Department of Energy
- Amazon Web Services
- VMware
- Ant Financial Services Group
- Directorate for Computer and Information Science and Engineering (CCF-1139158)
- Topics
- Physical Sciences › Computer Science › Information Systems › Cloud Computing and Resource Management
- Physical Sciences › Computer Science › Artificial Intelligence › Data Stream Mining Techniques
- Physical Sciences › Computer Science › Computer Networks and Communications › Software System Performance and Reliability
- Keywords
- online prediction, low-latency inference, model deployment, caching, request batching, adaptive model selection, model composition, online learning, inference latency
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review