As the recommendation systems behind commercial services scale up and apply more and more sophisticated machine learning models, it becomes important to optimize computational cost (capacity) and runtime latency, besides the traditional objective of user engagement. Caching recommended results and reusing them later is a common technique used to reduce capacity and latency. However, the standard caching approach negatively impacts user engagement. To overcome the challenge, this paper presents an approach to optimizing capacity, latency and engagement simultaneously. We propose a smart caching system including a lightweight adjuster model to refresh the cached ranking scores, achieving significant capacity savings without impacting ranking quality. To further optimize latency, we introduce a prefetching strategy which leverages the smart cache. Our production deployment on Facebook Marketplace demonstrates that the approach reduces capacity demand by 50% and p75 end-to-end latency by 35%. While Facebook Marketplace is used as a case study, the approach is applicable to other industrial recommendation systems as well.
CITATION STYLE
Khandelwal, H., Ha-Thuc, V., Dutta, A., Lu, Y., Du, N., Li, Z., & Hu, Q. (2021). Jointly optimize capacity, latency and engagement in large-scale recommendation systems. In RecSys 2021 - 15th ACM Conference on Recommender Systems (pp. 559–561). Association for Computing Machinery, Inc. https://doi.org/10.1145/3460231.3474606
Mendeley helps you to discover research relevant for your work.