Back to Search
Start Over
GreenFlow: A Computation Allocation Framework for Building Environmentally Sound Recommendation System
- Source :
- Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence AI for Good. Pages 6103-6111
- Publication Year :
- 2023
-
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.
- Subjects :
- Computer Science - Information Retrieval
Computer Science - Machine Learning
Subjects
Details
- Database :
- arXiv
- Journal :
- Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence AI for Good. Pages 6103-6111
- Publication Type :
- Report
- Accession number :
- edsarx.2312.16176
- Document Type :
- Working Paper
- Full Text :
- https://doi.org/10.24963/ijcai.2023/677