Proceedings

Fast and Fine-grained Autoscaler for Streaming Jobs with Reinforcement Learning

Video #1 Video #2 Download BibTeX Cite

Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence. Main Track. Pages 564-570.

https://doi.org/10.24963/ijcai.2022/80

Abstract

On computing clusters, the autoscaler is responsible for allocating resources for jobs or fine-grained tasks to ensure their Quality of Service. Due to a more precise resource management, fine-grained autoscaling can generally achieve better performance. However, the fine-grained autoscaling for streaming jobs needs intensive computation to model the complicated running states of tasks, and has not been adequately studied previously. In this paper, we propose a novel fine-grained autoscaler for streaming jobs based on reinforcement learning. We first organize the running states of streaming jobs as spatio-temporal graphs. To efficiently make autoscaling decisions, we propose a Neural Variational Subgraph Sampler to sample spatio-temporal subgraphs. Furthermore, we propose a mutual-information-based objective function to explicitly guide the sampler to extract more representative subgraphs. After that, the autoscaler makes decisions based on the learned subgraph representations. Experiments conducted on real-world datasets demonstrate the superiority of our method over six competitive baselines.

  1. [Anzai, 2012] Yuichiro Anzai. Pattern recognition and ma- chine learning. Elsevier, 2012.
  2. [Fahs et al., 2020] Ali J. Fahs, Guillaume Pierre, and Erik Elmroth. Voilà: Tail-latency-aware fog application repli- cas autoscaler. In MASCOTS, 2020.
  3. [Garí et al., 2021] Yisel Garí, David A Monge, Elina Pacini, Cristian Mateos, and Carlos García Garino. Reinforce- ment learning-based application autoscaling in the cloud: A survey. Eng. Appl. Artif. Intell., 2021.
  4. [Grandl et al., 2016] Robert Grandl, Srikanth Kandula, Sri- ram Rao, Aditya Akella, and Janardhan Kulkarni. {GRAPHENE}: Packing and dependency-aware schedul- ing for data-parallel clusters. In OSDI, 2016.
  5. [Guo et al., 2019] Shengnan Guo, Youfang Lin, Ning Feng, Chao Song, and Huaiyu Wan. Attention based spatial- temporal graph convolutional networks for traffic flow forecasting. In Proc. of AAAI, 2019.
  6. [Hamilton et al., 2017] William L Hamilton, Rex Ying, and Jure Leskovec. Inductive representation learning on large graphs. In Proc. of NeuIPS, 2017.
  7. [Huang and Zitnik, 2020] Kexin Huang and Marinka Zitnik. Graph meta learning via local subgraphs. NeuIPS, 2020.
  8. [Hueske and Kalavri, 2019] Fabian Hueske and Vasiliki Kalavri. Stream processing with Apache Flink: fundamen- tals, implementation, and operation of streaming applica- tions. O'Reilly Media, 2019.
  9. [Kingma et al., 2015] Durk P Kingma, Tim Salimans, and Max Welling. Variational dropout and the local reparame- terization trick. NeuIPS, 2015.
  10. [Kraskov et al., 2004] Alexander Kraskov, Harald Stögbauer, and Peter Grassberger. Estimating mutual information. Physical review E, 2004.
  11. [Mao et al., 2016] Hongzi Mao, Mohammad Alizadeh, Ishai Menache, and Srikanth Kandula. Resource management with deep reinforcement learning. In HotNets, 2016.
  12. [Mondal et al., 2021] Shanka Subhra Mondal, Nikhil Sheo- ran, and Subrata Mitra. Scheduling of time-varying work- loads using reinforcement learning. In Proc. of AAAI, 2021.
  13. [Nguyen et al., 2020] Thanh-Tung Nguyen, Yu-Jin Yeom, Taehong Kim, Dae-Heon Park, and Sehan Kim. Horizontal pod autoscaling in kubernetes for elastic container orches- tration. Sensors, 2020.
  14. [Ni et al., 2020] Xiang Ni, Jing Li, Mo Yu, Wang Zhou, and Kun-Lung Wu. Generalizable resource allocation in stream processing via deep reinforcement learning. In Proc. of AAAI, 2020.
  15. [Nowozin et al., 2016] Sebastian Nowozin, Botond Cseke, and Ryota Tomioka. f-gan: Training generative neural samplers using variational divergence minimization. In Proc. of NeuIPS, 2016.
  16. [Qiu et al., 2020] Haoran Qiu, Subho S Banerjee, Saurabh Jha, Zbigniew T Kalbarczyk, and Ravishankar K Iyer. {FIRM}: An intelligent fine-grained resource manage- ment framework for slo-oriented microservices. In OSDI, 2020.
  17. [Sun et al., 2019] Guang Sun, YingJie Song, ZiQin Gong, Xiya Zhou, Xinyi Zhou, and YiLin Bi. Survey on stream- ing data computing system. In ACM TUR-C, 2019.
  18. [Sun et al., 2020] Penghao Sun, Zehua Guo, Junchao Wang, Junfei Li, Julong Lan, and Yuxiang Hu. Deepweave: Ac- celerating job completion time with deep reinforcement learning-based coflow scheduling. In Proc. of IJCAI, 2020. IJCAI
  19. [Sun et al., 2021] Qingyun Sun, Jianxin Li, Hao Peng, Jia Wu, Yuanxing Ning, Philip S Yu, and Lifang He. Sugar: Subgraph neural network with reinforcement pooling and self-supervised mutual information mechanism. In Proc. of WWW, 2021.
  20. [Taherizadeh and Grobelnik, 2020] Salman Taherizadeh and Marko Grobelnik. Key influencing factors of the kuber- netes auto-scaler for computing-intensive microservice- native cloud-based applications. Adv. Eng. Softw, 2020.
  21. [Veličković et al., 2018] Petar Veličković, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Liò, and Yoshua Bengio. Graph attention networks. In ICLR, 2018.
  22. [Verma et al., 2015] Abhishek Verma, Luis Pedrosa, Mad- hukar Korupolu, David Oppenheimer, Eric Tune, and John Wilkes. Large-scale cluster management at google with borg. In Proc. of EuroSys, 2015.
  23. [Williams, 1992] Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforce- ment learning. Machine learning, 1992.
  24. [Ye et al., 2021] Junchen Ye, Leilei Sun, Bowen Du, Yanjie Fu, and Hui Xiong. Coupled layer-wise graph convolution for transportation demand prediction. In Proc. of AAAI, 2021.
  25. [Yu et al., 2018] Chao Yu, Yuebin Bai, Hailong Yang, Kun Cheng, Yuhao Gu, Zhongzhi Luan, and Depei Qian. Sm- guard: A flexible and fine-grained resource management framework for gpus. IEEE Transactions on Parallel and Distributed Systems, 2018.
  26. [Yu et al., 2020] Junchi Yu, Tingyang Xu, Yu Rong, Yatao Bian, Junzhou Huang, and Ran He. Graph information bottleneck for subgraph recognition. In Proc. of ICLR, 2020.
  27. [Zhi et al., 2021] Yuan Zhi, Zhan Tong, Limin Wang, and Gangshan Wu. Mgsampler: An explainable sampling strategy for video action recognition. In Proc. of ICCV, 2021.

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

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