Proceedings

GreenFlow: A Computation Allocation Framework for Building Environmentally Sound Recommendation System

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. AI for Good. Pages 6103-6111.

https://doi.org/10.24963/ijcai.2023/677

Abstract

Given the enormous number of users and items, industrial cascade recommendation systems (RS) are continuously expanded in size and complexity to deliver relevant items, such as news, services, and commodities, to the appropriate users. In a real-world scenario with hundreds of thousands requests per second, significant computation is required to infer personalized results for each request, resulting in a massive energy consumption and carbon emission that raises concern.

This paper proposes GreenFlow, a practical computation allocation framework for RS, that considers both accuracy and carbon emission during inference. For each stage (e.g., recall, pre-ranking, ranking, etc.) of a cascade RS, when a user triggers a request, we define two actions that determine the computation: (1) the trained instances of models with different computational complexity; and (2) the number of items to be inferred in the stage. We refer to the combinations of actions in all stages as action chains. A reward score is estimated for each action chain, followed by dynamic primal-dual optimization considering both the reward and computation budget. Extensive experiments verify the effectiveness of the framework, reducing computation consumption by 41% in an industrial mobile application while maintaining commercial revenue. Moreover, the proposed framework saves approximately 5000kWh of electricity and reduces 3 tons of carbon emissions per day.

  1. [Aggarwal et al., 2011] Gagan Aggarwal, Gagan Goel, Chinmay Karande, and Aranyak Mehta. Online vertex- weighted bipartite matching and single-bid budgeted allocations. In Proceedings of the twenty-second annual ACM-SIAM symposium on Discrete Algorithms, pages 1253-1264. SIAM, 2011.
  2. [Agrawal et al., 2014] Shipra Agrawal, Zizhuo Wang, and Yinyu Ye. A dynamic near-optimal algorithm for online linear programming. Operations Research, 62(4):876- 890, 2014.
  3. [Chen et al., 2012] Kailong Chen, Tianqi Chen, Guoqing Zheng, Ou Jin, Enpeng Yao, and Yong Yu. Collaborative personalized tweet recommendation. In Annual Interna- tional ACM SIGIR Conference on Research and Develop- ment in Information Retrieval, 2012.
  4. [Covington et al., 2016] Paul Covington, Jay K. Adams, and Emre Sargin. Deep neural networks for youtube recom- mendations. Proceedings of the 10th ACM Conference on Recommender Systems, 2016.
  5. [Han et al., 2016] Song Han, Xingyu Liu, Huizi Mao, Jing Pu, Ardavan Pedram, Mark Horowitz, and William J. Dally. Eie: Efficient inference engine on compressed deep neural network. 2016 ACM/IEEE 43rd Annual In- ternational Symposium on Computer Architecture (ISCA), pages 243-254, 2016.
  6. [Howard et al., 2017] Andrew G. Howard, Menglong Zhu, Bo Chen, Dmitry Kalenichenko, Weijun Wang, Tobias Weyand, Marco Andreetto, and Hartwig Adam. Mo- bilenets: Efficient convolutional neural networks for mo- bile vision applications. ArXiv, abs/1704.04861, 2017.
  7. [Huang et al., 2013] Po-Sen Huang, Xiaodong He, Jianfeng Gao, Li Deng, Alex Acero, and Larry Heck. Learning deep structured semantic models for web search using clickthrough data. Proceedings of the 22nd ACM interna- tional conference on Information & Knowledge Manage- ment, 2013.
  8. [Huang et al., 2018] Yanping Huang, Yonglong Cheng, De- hao Chen, HyoukJoong Lee, Jiquan Ngiam, Quoc V. Le, and Z. Chen. Gpipe: Efficient training of giant neural net- works using pipeline parallelism. ArXiv, abs/1811.06965, 2018.
  9. [Jiang et al., 2020] Biye Jiang, Pengye Zhang, Rihan Chen, Xinchen Luo, Yin Yang, Guan Wang, Guorui Zhou, Xi- aoqiang Zhu, and Kun Gai. Dcaf: A dynamic computa- tion allocation framework for online serving system. arXiv preprint arXiv:2006.09684, 2020.
  10. [Khosravi et al., 2017] Atefeh Khosravi, Lachlan L. H. An- drew, and Rajkumar Buyya. Dynamic vm placement method for minimizing energy and carbon cost in geo- graphically distributed cloud data centers. IEEE Trans- actions on Sustainable Computing, 2:183-196, 2017.
  11. [Kitaev et al., 2020] Nikita Kitaev, Lukasz Kaiser, and Anselm Levskaya. Reformer: The efficient transformer. ArXiv, abs/2001.04451, 2020.
  12. [Lacoste et al., 2019] Alexandre Lacoste, Alexandra Sasha Luccioni, Victor Schmidt, and Thomas Dandres. Quan- tifying the carbon emissions of machine learning. ArXiv, abs/1910.09700, 2019.
  13. [Li et al., 2020] Xiaocheng Li, Chunlin Sun, and Yinyu Ye. Simple and fast algorithm for binary integer and online lin- ear programming. arXiv preprint arXiv:2003.02513, 2020.
  14. [Liu et al., 2021] Xin Liu, Mingyu Yan, Lei Deng, Guoqi Li, Xiaochun Ye, and Dongrui Fan. Sampling methods for efficient training of graph convolutional networks: A sur- vey. IEEE/CAA Journal of Automatica Sinica, 9:205-234, 2021.
  15. [Ma et al., 2018] Xiao Ma, Liqin Zhao, Guan Huang, Zhi Wang, Zelin Hu, Xiaoqiang Zhu, and Kun Gai. Entire space multi-task model: An effective approach for estimat- ing post-click conversion rate. In The 41st International ACM SIGIR Conference on Research & Development in Information Retrieval, pages 1137-1140, 2018.
  16. [Molchanov et al., 2016] Pavlo Molchanov, Stephen Tyree, Tero Karras, Timo Aila, and Jan Kautz. Pruning convo- lutional neural networks for resource efficient inference. arXiv: Learning, 2016.
  17. [Pan et al., 2019] Feiyang Pan, Xiang Ao, Pingzhong Tang, Min Lu, Dapeng Liu, Lei Xiao, and Qing He. Field-aware calibration: A simple and empirically strong method for reliable probabilistic predictions. Proceedings of The Web Conference 2020, 2019.
  18. [Qin et al., 2022] Jiarui Qin, Jiachen Zhu, Bo Chen, Zhirong Liu, Weiwen Liu, Ruiming Tang, Rui Zhang, Yong Yu, and Weinan Zhang. Rankflow: Joint optimization of multi- stage cascade ranking systems as flows. Proceedings of the 45th International ACM SIGIR Conference on Research and Development in Information Retrieval, 2022.
  19. [Schwartz et al., 2019] Roy Schwartz, Jesse Dodge, Noah Smith, and Oren Etzioni. Green ai. Communications of the ACM, 63:54 -63, 2019.
  20. [Shukur et al., 2020] Hanan M. Shukur, Subhi R. M. Zee- baree, Abdulraheem Jamil Ahmed, Rizgar R. Zebari, Omar M. Ahmed, Bareen Shams Aldeen Tahir, and Mo- hammed A. M. Sadeeq. A state of art survey for concur- rent computation and clustering of parallel computing for distributed systems. Journal of Applied Science and Tech- nology Trends, 2020.
  21. [Tirmazi et al., 2020] Muhammad Tirmazi, Adam Barker, Nan Deng, Md Ehtesam Haque, Zhijing Gene Qin, Steven Hand, Mor Harchol-Balter, and John Wilkes. Borg: the next generation. In EuroSys'20, Heraklion, Crete, 2020.
  22. [Wang et al., 2011] Lidan Wang, Jimmy J. Lin, and Donald Metzler. A cascade ranking model for efficient ranked re- trieval. Proceedings of the 34th international ACM SIGIR conference on Research and development in Information Retrieval, 2011.
  23. [Xu et al., 2021] Jingjing Xu, Wangchunshu Zhou, Zhiyi Fu, Hao Zhou, and Lei Li. A survey on green deep learning. ArXiv, abs/2111.05193, 2021.
  24. [Yang et al., 2021] Xun Yang, Yunli Wang, Cheng Chen, Qing Tan, Chuan Yu, Jian Xu, and Xiaoqiang Zhu. Com- putation resource allocation solution in recommender sys- tems. ArXiv, abs/2103.02259, 2021.
  25. [Yigitcanlar et al., 2021] Tan Yigitcanlar, Rashid Mehmood, and Juan Manuel Corchado. Green artificial intelligence: Towards an efficient, sustainable and equitable technology for smart cities and futures. Sustainability, 2021.
  26. [Zhou et al., 2017] Guorui Zhou, Cheng-Ning Song, Xiao- qiang Zhu, Xiao Ma, Yanghui Yan, Xi-Wang Dai, Han Zhu, Junqi Jin, Han Li, and Kun Gai. Deep interest net- work for click-through rate prediction. Proceedings of the 24th ACM SIGKDD International Conference on Knowl- edge Discovery & Data Mining, 2017.
  27. [Zhou et al., 2018] 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 pre- diction. In AAAI Conference on Artificial Intelligence, 2018.

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

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