Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3514221.3517901acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
research-article

Serenade - Low-Latency Session-Based Recommendation in e-Commerce at Scale

Published: 11 June 2022 Publication History

Abstract

Session-based recommendation predicts the next item with which a user will interact, given a sequence of her past interactions with other items. This machine learning problem targets a core scenario in e-commerce platforms, which aim to recommend interesting items to buy to users browsing the site. Session-based recommenders are difficult to scale due to their exponentially large input space of potential sessions. This impedes offline precomputation of the recommendations, and implies the necessity to maintain state during the online computation of next-item recommendations.
We propose VMIS-kNN, an adaptation of a state-of-the-art nearest neighbor approach to session-based recommendation, which leverages a prebuilt index to compute next-item recommendations with low latency in scenarios with hundreds of millions of clicks to search through. Based on this approach, we design and implement the scalable session-based recommender system Serenade, which is in production usage at bol.com, a large European e-commerce platform.
We evaluate the predictive performance of VMIS-kNN, and show that Serenade can answer a thousand recommendation requests per second with a 90th percentile latency of less than seven milliseconds in scenarios with millions of items to recommend. Furthermore, we present results from a three week long online A/B test with up to 600 requests per second for 6.5 million distinct items on more than 45 million user sessions from our e-commerce platform. To the best of our knowledge, we provide the first empirical evidence that the superior predictive performance of nearest neighbor approaches to session-based recommendation in offline evaluations translates to superior performance in a real world e-commerce setting.

References

[1]
2021. Actix Web. https://actix.rs.
[2]
2021. d-ary heap. https://docs.rs/dary_heap/0.3.0/dary_heap/.
[3]
2021. Istio sidecars. https://istio.io/latest/docs/reference/config/networking/sidecar/.
[4]
2021. Kubernetes networking services. https://kubernetes.io/docs/concepts/services-networking/service/.
[5]
2021. Performance Comparison of Neural and Non-Neural Approaches to Session-based Recommendation - Additional Information. https://rn5l.github.io/session-rec/.
[6]
2021. RocksDB. https://rocksdb.org.
[7]
2021. VS-kNN reference implementation. https://github.com/rn5l/session-rec/blob/master/algorithms/knn/vsknn.py.
[8]
Xavier Amatriain. 2012. Building Industrial-scale Real-world Recommender Systems. RecSys (2012), 7--8.
[9]
Ioannis Arapakis, Xiao Bai, and B Barla Cambazoglu. 2014. Impact of response latency on user behavior in web search. In Proceedings of the 37th international ACM SIGIR conference on Research & development in information retrieval. 103--112.
[10]
Badrish Chandramouli, Justin J Levandoski, Ahmed Eldawy, and Mohamed F Mokbel. 2011. StreamRec: a real-time recommender system. SIGMOD (2011), 1243--1246.
[11]
Tong Chen, Hongzhi Yin, Hongxu Chen, Rui Yan, Quoc Viet Hung Nguyen, and Xue Li. 2019. Air: Attentional intention-aware recommender systems. In 2019 IEEE 35th International Conference on Data Engineering (ICDE). IEEE, 304--315.
[12]
Kyung-Jae Cho, Yeon-Chang Lee, Kyungsik Han, Jaeho Choi, and Sang-Wook Kim. 2019. No, that's not my feedback: TV show recommendation using watchable interval. In 2019 IEEE 35th International Conference on Data Engineering (ICDE). IEEE, 316--327.
[13]
Abhinandan S Das, Mayur Datar, Ashutosh Garg, and Shyam Rajaram. 2007. Google news personalization: scalable online collaborative filtering. WWW (2007), 271--280.
[14]
James Davidson, Benjamin Liebald, Junning Liu, Palash Nandy, Taylor Van Vleet, Ullas Gargi, Sujoy Gupta, Yu He, Mike Lambert, Blake Livingston, and Dasarathi Sampath. 2010. The YouTube video recommendation system. RecSys (2010), 293--296.
[15]
Ted Dunning and Ellen Friedman. 2014. Practical Machine Learning: Innovations in Recommendation. " O'Reilly Media, Inc.".
[16]
Mohamed Y Eltabakh, Yuanyuan Tian, Fatma Özcan, Rainer Gemulla, Aljoscha Krettek, and John McPherson. 2011. CoHadoop: flexible data placement and its exploitation in Hadoop. Proceedings of the VLDB Endowment 4, 9 (2011), 575--585.
[17]
Chen Gao, Xiangnan He, Dahua Gan, Xiangning Chen, Fuli Feng, Yong Li, Tat-Seng Chua, and Depeng Jin. 2019. Neural multi-task recommendation from multi-behavior data. In 2019 IEEE 35th International Conference on Data Engineering (ICDE). IEEE, 1554--1557.
[18]
Lei Guo, Hongzhi Yin, Qinyong Wang, Bin Cui, Zi Huang, and Lizhen Cui. 2020. Group recommendation with latent voting mechanism. In 2020 IEEE 36th International Conference on Data Engineering (ICDE). IEEE, 121--132.
[19]
Jiayuan He, Jianzhong Qi, and Kotagiri Ramamohanarao. 2019. A joint context-aware embedding for trip recommendations. In 2019 IEEE 35th International Conference on Data Engineering (ICDE). IEEE, 292--303.
[20]
Balázs Hidasi, Alexandros Karatzoglou, Linas Baltrunas, and Domonkos Tikk. 2015. Session-based recommendations with recurrent neural networks. arXiv:1511.06939 (2015).
[21]
Haoji Hu, Xiangnan He, Jinyang Gao, and Zhi-Li Zhang. 2020. Modeling personalized item frequency information for next-basket recommendation. In Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval. 1071--1080.
[22]
Yanxiang Huang, Bin Cui, Wenyu Zhang, Jie Jiang, and Ying Xu. 2015. TencentRec: Real-time Stream Recommendation in Practice. SIGMOD (2015), 227--238.
[23]
Dietmar Jannach and Malte Ludewig. 2017. When recurrent neural networks meet the neighborhood for session-based recommendation. RecSys (2017), 306--310.
[24]
Barrie Kersbergen and Sebastian Schelter. 2021. Learnings from a Retail Recommendation System on Billions of Interactions at bol.com. ICDE (2021).
[25]
Yehuda Koren, Robert Bell, and Chris Volinsky. 2009. Matrix factorization techniques for recommender systems. Computer 42, 8 (2009).
[26]
Justin J Levandoski, Mohamed Sarwat, Mohamed F Mokbel, and Michael D Ekstrand. 2012. RecStore: an extensible and adaptive framework for online recommender queries inside the database engine. EDBT (2012), 86--96.
[27]
Jing Li, Pengjie Ren, Zhumin Chen, Zhaochun Ren, Tao Lian, and Jun Ma. 2017. Neural attentive session-based recommendation. CIKM (2017), 1419--1428.
[28]
Ming Li, Sami Jullien, Mozhdeh Ariannezhad, and Maarten de Rijke. 2021. A Next Basket Recommendation Reality Check. arXiv preprint arXiv:2109.14233 (2021).
[29]
Qiao Liu, Yifu Zeng, Refuoe Mokhosi, and Haibin Zhang. 2018. STAMP: short-term attention/memory priority model for session-based recommendation. KDD (2018), 1831--1839.
[30]
Malte Ludewig, Noemi Mauro, Sara Latifi, and Dietmar Jannach. 2019. Performance comparison of neural and non-neural approaches to session-based recommendation. In Proceedings of the 13th ACM Conference on Recommender Systems. 462--466.
[31]
Sreekanth Madisetty. 2019. Event recommendation using social media. In 2019 IEEE 35th International Conference on Data Engineering (ICDE). IEEE, 2106--2110.
[32]
Frank McSherry, Derek Gordon Murray, Rebecca Isaacs, and Michael Isard. 2013. Differential Dataflow. In CIDR.
[33]
Xiangrui Meng, Joseph Bradley, Burak Yavuz, Evan Sparks, Shivaram Venkataraman, Davies Liu, Jeremy Freeman, DB Tsai, Manish Amde, Sean Owen, et al. 2016. Mllib: Machine learning in apache spark. The Journal of Machine Learning Research 17, 1 (2016), 1235--1241.
[34]
Sean Owen. 2012. Mahout in action. Vol. 10. Manning Shelter Island, NY.
[35]
Andreas Pfadler, Huan Zhao, Jizhe Wang, Lifeng Wang, Pipei Huang, and Dik Lun Lee. 2020. Billion-scale Recommendation with Heterogeneous Side Information at Taobao. In 36th IEEE International Conference on Data Engineering, ICDE 2020, Dallas, TX, USA, April 20--24, 2020. IEEE, 1667--1676. https://doi.org/10.1109/ICDE48307.2020.00148
[36]
Mark Raasveldt and Hannes Mühleisen. 2019. DuckDB: an embeddable analytical database. In Proceedings of the 2019 International Conference on Management of Data. 1981--1984.
[37]
Pengjie Ren, Zhumin Chen, Jing Li, Zhaochun Ren, Jun Ma, and Maarten De Rijke. 2019. Repeatnet: A repeat aware neural recommendation machine for session-based recommendation. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 33. 4806--4813.
[38]
Francesco Ricci, Lior Rokach, and Bracha Shapira. 2011. Introduction to recommender systems. In Recommender systems handbook. 1--35.
[39]
Badrul Sarwar, George Karypis, Joseph Konstan, and John Riedl. 2001. Item-based collaborative filtering recommendation algorithms. In Proceedings of the 10th international conference on World Wide Web. 285--295.
[40]
Sebastian Schelter, Christoph Boden, and Volker Markl. 2012. Scalable similarity- based neighborhood methods with mapreduce. RecSys (2012), 163--170.
[41]
Sebastian Schelter, Ufuk Celebi, and Ted Dunning. 2019. Efficient incremental cooccurrence analysis for item-based collaborative filtering. In Proceedings of the 31st International Conference on Scientific and Statistical Database Management. 61--72.
[42]
Junshuai Song, Zhao Li, Zehong Hu, Yucheng Wu, Zhenpeng Li, Jian Li, and Jun Gao. 2020. Poisonrec: an adaptive data poisoning framework for attacking black-box recommender systems. In 2020 IEEE 36th International Conference on Data Engineering (ICDE). IEEE, 157--168.
[43]
Manos Tsagkias, Tracy Holloway King, Surya Kallumadi, Vanessa Murdock, and Maarten de Rijke. 2021. Challenges and research opportunities in ecommerce search and recommendations. In ACM SIGIR Forum, Vol. 54. ACM New York, NY, USA, 1--23.
[44]
Chi-Man Wong, Fan Feng, Wen Zhang, Chi-Man Vong, Hui Chen, Yichi Zhang, Peng He, Huan Chen, Kun Zhao, and Huajun Chen. 2021. Improving Conversational Recommendation System by Pretraining on Billions Scale of Knowledge Graph. ICDE (2021).
[45]
Xu Xie, Fei Sun, Xiaoyong Yang, Zhao Yang, Jinyang Gao, Wenwu Ou, and Bin Cui. 2021. Explore User Neighborhood for Real-time E-commerce Recommendation. ICDE (2021).
[46]
Hongzhi Yin, Qinyong Wang, Kai Zheng, Zhixu Li, Jiali Yang, and Xiaofang Zhou. 2019. Social influence-based group representation learning for group recommendation. In 2019 IEEE 35th International Conference on Data Engineering (ICDE). IEEE, 566--577.
[47]
Fajie Yuan, Alexandros Karatzoglou, Ioannis Arapakis, Joemon M Jose, and Xiangnan He. 2019. A simple convolutional generative network for next item recommendation. WSDM (2019), 582--590.
[48]
Yu Zheng, Chen Gao, Xiangnan He, Yong Li, and Depeng Jin. 2020. Price-aware recommendation with graph convolutional networks. In 2020 IEEE 36th International Conference on Data Engineering (ICDE). IEEE, 133--144.
[49]
Xiangmin Zhou, Dong Qin, Xiaolu Lu, Lei Chen, and Yanchun Zhang. 2019. Online social media recommendation over streams. In 2019 IEEE 35th International Conference on Data Engineering (ICDE). IEEE, 938--949.
[50]
Zainab Zolaktaf, Reza Babanezhad, and Rachel Pottinger. 2018. A generic top-n recommendation framework for trading-off accuracy, novelty, and coverage. In 2018 IEEE 34th International Conference on Data Engineering (ICDE). IEEE, 149--160.

Cited By

View all
  • (2024)The Image Calculator: 10x Faster Image-AI Inference by Replacing JPEG with Self-designing Storage FormatProceedings of the ACM on Management of Data10.1145/36393072:1(1-31)Online publication date: 26-Mar-2024
  • (2024)Multi-perspective learning for enhanced user preferences for session-based recommendationKnowledge-Based Systems10.1016/j.knosys.2024.111997298(111997)Online publication date: Aug-2024
  • (2023)A Survey of Sequential Pattern Based E-Commerce Recommendation SystemsAlgorithms10.3390/a1610046716:10(467)Online publication date: 3-Oct-2023
  • Show More Cited By

Index Terms

  1. Serenade - Low-Latency Session-Based Recommendation in e-Commerce at Scale

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    SIGMOD '22: Proceedings of the 2022 International Conference on Management of Data
    June 2022
    2597 pages
    ISBN:9781450392495
    DOI:10.1145/3514221
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 11 June 2022

    Permissions

    Request permissions for this article.

    Check for updates

    Qualifiers

    • Research-article

    Funding Sources

    • Ahold Delhaize

    Conference

    SIGMOD/PODS '22
    Sponsor:

    Acceptance Rates

    Overall Acceptance Rate 785 of 4,003 submissions, 20%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)62
    • Downloads (Last 6 weeks)2
    Reflects downloads up to 11 Sep 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)The Image Calculator: 10x Faster Image-AI Inference by Replacing JPEG with Self-designing Storage FormatProceedings of the ACM on Management of Data10.1145/36393072:1(1-31)Online publication date: 26-Mar-2024
    • (2024)Multi-perspective learning for enhanced user preferences for session-based recommendationKnowledge-Based Systems10.1016/j.knosys.2024.111997298(111997)Online publication date: Aug-2024
    • (2023)A Survey of Sequential Pattern Based E-Commerce Recommendation SystemsAlgorithms10.3390/a1610046716:10(467)Online publication date: 3-Oct-2023
    • (2023)Forget Me Now: Fast and Exact Unlearning in Neighborhood-based RecommendationProceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval10.1145/3539618.3591989(2011-2015)Online publication date: 18-Jul-2023
    • (2023)A Personalized Neighborhood-based Model for Within-basket Recommendation in Grocery ShoppingProceedings of the Sixteenth ACM International Conference on Web Search and Data Mining10.1145/3539597.3570417(87-95)Online publication date: 27-Feb-2023
    • (2023)Hierarchical Interest Modeling of Long-tailed Users for Click-Through Rate Prediction2023 IEEE 39th International Conference on Data Engineering (ICDE)10.1109/ICDE55515.2023.00234(3058-3071)Online publication date: Apr-2023

    View Options

    Get Access

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media