Proceedings

Efficient Inter-Operator Scheduling for Concurrent Recommendation Model Inference on GPU

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 2856-2864.

https://doi.org/10.24963/ijcai.2025/318

Abstract

Deep learning-based recommendation systems are increasingly important in the industry. To meet strict SLA requirements, serving frameworks must efficiently handle concurrent queries. However, current serving systems fail to serve concurrent queries due to the following problems: (1) inefficient operator (op) scheduling due to the query-wise op launching mechanism, and (2) heavy contention caused by the mutable nature of recommendation model inference. This paper presents RecOS, a system designed to optimize concurrent recommendation model inference on GPUs. RecOS efficiently schedules ops from different queries by monitoring GPU workloads and assigning ops to the most suitable streams. This approach reduces contention and enhances inference efficiency by leveraging inter-op parallelism and op characteristics. To maintain correctness across multiple CUDA streams, RecOS introduces a unified asynchronous tensor management mechanism. Evaluations demonstrate that RecOS improves online service performance, reducing latency by up to 68%.

  1. [Chen et al., 2018] Tianqi Chen, Thierry Moreau, Ziheng Jiang, Lianmin Zheng, Eddie Yan, Haichen Shen, Meghan Cowan, Leyuan Wang, Yuwei Hu, Luis Ceze, Carlos Guestrin, and Arvind Krishnamurthy. TVM: An auto- mated End-to-End optimizing compiler for deep learning. In 13th USENIX Symposium on Operating Systems Design and Implementation (OSDI 18), pages 578-594, Carlsbad, CA, October 2018. USENIX Association.
  2. [Chen et al., 2019] Qiwei Chen, Huan Zhao, Wei Li, Pipei Huang, and Wenwu Ou. Behavior sequence transformer for e-commerce recommendation in alibaba, 2019.
  3. [Chen et al., 2024] Aodong Chen, Fei Xu, Li Han, Yuan Dong, Li Chen, Zhi Zhou, and Fangming Liu. Opara: Ex- ploiting operator parallelism for expediting dnn inference on gpus, 2024.
  4. [Cheng et al., 2016] Heng-Tze Cheng, Levent Koc, Jeremiah Harmsen, Tal Shaked, Tushar Chandra, Hrishi Aradhye, Glen Anderson, Greg Corrado, Wei Chai, Mustafa Ispir, Rohan Anil, Zakaria Haque, Lichan Hong, Vihan Jain, Xiaobing Liu, and Hemal Shah. Wide & deep learning for recommender systems. In Proceedings of the 1st Workshop on Deep Learning for Recommender Systems, DLRS 2016, page 7-10, New York, NY, USA, 2016. Association for Computing Machinery.
  5. [Covington et al., 2016] Paul Covington, Jay Adams, and Emre Sargin. Deep Neural Networks for YouTube Recom- mendations. pages 191-198, Boston Massachusetts USA, September 2016. ACM.
  6. [Ke et al., 2020] Liu Ke, Udit Gupta, Benjamin Youngjae Cho, David Brooks, Vikas Chandra, Utku Diril, Amin Firoozshahian, Kim Hazelwood, Bill Jia, Hsien-Hsin S. Lee, Meng Li, Bert Maher, Dheevatsa Mudigere, Maxim Naumov, Martin Schatz, Mikhail Smelyanskiy, Xiaodong Wang, Brandon Reagen, Carole-Jean Wu, Mark Hemp- stead, and Xuan Zhang. RecNMP: Accelerating person- alized recommendation with near-memory processing. In 2020 ACM/IEEE 47th Annual International Symposium on Computer Architecture (ISCA), pages 790-803, Valencia, Spain, 2020. IEEE.
  7. [Koren et al., 2009] Yehuda Koren, Robert Bell, and Chris Volinsky. Matrix Factorization Techniques for Recom- mender Systems. Computer, 42(8):30-37, August 2009.
  8. [Kwon et al., 2019] Youngeun Kwon, Yunjae Lee, and Min- soo Rhu. TensorDIMM: A practical near-memory pro- cessing architecture for embeddings and tensor operations in deep learning. In Proceedings of the 52nd Annual IEEE/ACM International Symposium on Microarchitec- ture, pages 740-753, Columbus OH USA, 2019. ACM.
  9. [Naumov et al., 2019] Maxim Naumov, Dheevatsa Mudi- gere, Hao-Jun Michael Shi, Jianyu Huang, Narayanan Sundaraman, Jongsoo Park, Xiaodong Wang, Udit Gupta, Carole-Jean Wu, Alisson G. Azzolini, Dmytro Dzhul- gakov, Andrey Mallevich, Ilia Cherniavskii, Yinghai Lu, Raghuraman Krishnamoorthi, Ansha Yu, Volodymyr Kon- dratenko, Stephanie Pereira, Xianjie Chen, Wenlin Chen, Vijay Rao, Bill Jia, Liang Xiong, and Misha Smelyan- skiy. Deep Learning Recommendation Model for Per- sonalization and Recommendation Systems, May 2019. arXiv:1906.00091 [cs].
  10. [Niu et al., 2023] Yuean Niu, Zhizhen Xu, Chen Xu, and Jiaqiang Wang. Accelerating Recommendation Infer- ence via GPU Streams. volume 13943, pages 546-561. Springer Nature Switzerland, Cham, 2023.
  11. [NVIDIA, 2024a] NVIDIA. Multiple stream. https://developer.nvidia.com/blog/ gpu-pro-tip-cuda-7-streams-simplify-concurrency/, 2024. Link
  12. 2024b] NVIDIA. Nvidia nsight systems. https: //developer.nvidia.com/nsight-systems, 2024. Link
  13. 2024c] NVIDIA. Nvidia triton inference server. https://github.com/triton-inference-server/server, 2024. Link
  14. [Olston et al., 2017a] Christopher Olston, Noah Fiedel, Kiril Gorovoy, Jeremiah Harmsen, Li Lao, Fangwei Li, Vinu Rajashekhar, Sukriti Ramesh, and Jordan Soyke. Tensorflow-serving: Flexible, high-performance ml serv- ing, 2017.
  15. [Olston et al., 2017b] Christopher Olston, Fangwei Li, Jeremiah Harmsen, Jordan Soyke, Kiril Gorovoy, Li Lao, Noah Fiedel, Sukriti Ramesh, and Vinu Rajashekhar. Tensorflow-serving: Flexible, high-performance ml serving. In Workshop on ML Systems at NIPS 2017, 2017.
  16. [Pan et al., 2023] Zaifeng Pan, Zhen Zheng, Feng Zhang, Ruofan Wu, Hao Liang, Dalin Wang, Xiafei Qiu, Junjie Bai, and Wei Lin. RECom: A Compiler Approach to Ac- celerate Recommendation Model Inference with Massive Embedding Columns. 2023.
  17. [Wang et al., 2021] Yitu Wang, Zhenhua Zhu, Fan Chen, Mingyuan Ma, Guohao Dai, Yu Wang, Hai Li, and Yi- ran Chen. Rerec: In-reram acceleration with access- aware mapping for personalized recommendation. In 2021 IEEE/ACM International Conference On Computer Aided Design (ICCAD), pages 1-9, 2021.
  18. [Wang et al., 2022] Zehuan Wang, Yingcan Wei, Minseok Lee, Matthias Langer, Fan Yu, Jie Liu, Shijie Liu, Daniel G. Abel, Xu Guo, Jianbing Dong, Ji Shi, and Kun- lun Li. Merlin HugeCTR: GPU-accelerated recommender system training and inference. In Proceedings of the 16th ACM Conference on Recommender Systems, pages 534- 537, Seattle WA USA, 2022. ACM.
  19. [Xie et al., 2022] Minhui Xie, Youyou Lu, Jiazhen Lin, Qing Wang, Jian Gao, Kai Ren, and Jiwu Shu. Fleche: An efficient GPU embedding cache for personalized recom- mendations. In EuroSys '22: Seventeenth European Con- ference on Computer Systems, pages 402-416, Rennes France, 2022. ACM.
  20. [Zhao et al., 2019] Zhe Zhao, Lichan Hong, Li Wei, Jilin Chen, Aniruddh Nath, Shawn Andrews, Aditee Kumthekar, Maheswaran Sathiamoorthy, Xinyang Yi, and Ed Chi. Recommending what video to watch next: a multi- task ranking system. pages 43-51, Copenhagen Denmark, September 2019. ACM.
  21. [Zhao et al., 2023] Zhihe Zhao, Neiwen Ling, Nan Guan, and Guoliang Xing. Miriam: Exploiting Elastic Kernels for Real-time Multi-DNN Inference on Edge GPU, 2023.
  22. [Zhou et al., 2018a] Guorui Zhou, Xiaoqiang Zhu, Chenru Song, Ying Fan, Han Zhu, Xiao Ma, Yanghui Yan, Junqi Jin, Han Li, and Kun Gai. Deep Interest Network for Click-Through Rate Prediction. pages 1059-1068, Lon- don United Kingdom, July 2018. ACM.
  23. [Zhou et al., 2018b] Guorui Zhou, Xiaoqiang Zhu, Chenru Song, Ying Fan, Han Zhu, Xiao Ma, Yanghui Yan, Junqi Jin, Han Li, and Kun Gai. Deep Interest Network for Click-Through Rate Prediction. pages 1059-1068, Lon- don United Kingdom, July 2018. ACM.
  24. [Zhou et al., 2019] Guorui Zhou, Na Mou, Ying Fan, Qi Pi, Weijie Bian, Chang Zhou, Xiaoqiang Zhu, and Kun Gai. Deep Interest Evolution Network for Click-Through Rate Prediction. Proceedings of the AAAI Conference on Artifi- cial Intelligence, 33(01):5941-5948, July 2019.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards