This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

On-Device Recommender Systems: A Tutorial on
The New-Generation Recommendation Paradigm

Hongzhi Yin The University of QueenslandBrisbaneQLDAustralia [email protected] Tong Chen The University of QueenslandBrisbaneQLDAustralia4067 [email protected] Liang Qu The University of QueenslandBrisbaneQLDAustralia [email protected]  and  Bin Cui Peking UniversityBeijingChina [email protected]
(2024)
Abstract.

Given the sheer volume of contemporary e-commerce applications, recommender systems (RSs) have gained significant attention in both academia and industry. However, traditional cloud-based RSs face inevitable challenges, such as resource-intensive computation, reliance on network access, and privacy breaches. In response, a new paradigm called on-device recommender systems (ODRSs) has emerged recently in various industries like Taobao, Google, and Kuaishou. ODRSs unleash the computational capacity of user devices with lightweight recommendation models tailored for resource-constrained environments, enabling real-time inference with users’ local data. This tutorial aims to systematically introduce methodologies of ODRSs, including (1) an overview of existing research on ODRSs; (2) a comprehensive taxonomy of ODRSs, where the core technical content to be covered span across three major ODRS research directions, including on-device deployment and inference, on-device training, and privacy/security of ODRSs; (3) limitations and future directions of ODRSs. This tutorial expects to lay the foundation and spark new insights for follow-up research and applications concerning this new recommendation paradigm.

On-device Learning, Recommender Systems, Federated Learning, Privacy and Security
copyright: acmcopyrightjournalyear: 2024doi: TBDconference: The Web Conference 2024; May 13–17, 2024; Singaporeprice: 15.00isbn: 978-1-4503-XXXX-X/18/06ccs: Information systems Recommender systems

1. Topic and relevance

As an indispensable means for web users to counteract information overload, recommender systems (RSs) that can automatically match user interests with relevant items (e.g., products, services, information) have seen a substantial amount of research interest over the last decade. In the digital industry, prosperous enterprise-level applications are projected to drive the global RS market to an unprecedented value of USD $54 billion by 2030111https://straitsresearch.com/report/recommendation/.

Traditional RSs are subsumed under a fully cloud-based paradigm, where the cloud server trains the RS model with all the user data it hosts and pushes recommendation results to users’ personal devices upon request. Though this paradigm enjoys benefits from the “infinite” computing power to support sophisticated RS models, some increasingly harsh obstacles are arising in the meantime, including the high resource and energy consumption (Wang et al., 2020), reliance on network access for timeliness (Long et al., 2023b), and threat to user privacy (Muhammad et al., 2020), which challenge the sustainability and trustworthiness of cloud-based RSs.

To this end, recent years have witnessed the development of a new yet fast-evolving recommendation paradigm – on-device recommender systems (ODRSs). Compared with cloud-based RSs, the most significant difference of ODRSs is that users’ devices become a key part of the computation on top of their original role of displaying generated recommendations. Typical ODRSs are optimized towards three objectives: (1) on-device deployment and inference that aims to derive a resource-efficient model with minimum accuracy degradation; (2) on-device training and updating that enables the lightweight model to stay up-to-date; and (3) privacy and security mechanisms that respectively keep users and on-device models from malicious attacks. As a result, the heavy cloud-based RS models could be replaced by their lightweight on-device counterparts, such that the inference can be efficiently performed on resource-constrained user devices with locally stored user data (Chen et al., 2021). In the industry, ODRSs have seen an emerging list of applications, including Taobao’s mobile service (Gong et al., 2020), Google’s TensorFlow Lite Recommendation API222https://www.tensorflow.org/lite/examples/recommendation/overview, real-time short video recommendation on Kuaishou (Gong et al., 2022), and the built-in recommendation engine in the Brave Web Browser333https://brave.com/federated-learning/.

Rationale of The Tutorial. Given the rapidly growing research community and widening market for ODRSs, as well as the surging wave of edge intelligence, we find our proposed tutorial a timely opportunity to provide an overview of existing research on this new-generation lightweight recommendation paradigm and an outlook on the future development of ODRSs. This tutorial, or any form of its variation, has not been previously presented in a different venue by any member of the tutorial team. Furthermore, we have conducted a thorough search for relevant ODRSs tutorials with the keyword recommendation or recommender systems at all the top computer science conferences in the recent five years and only identified one relevant tutorial presented at the IJCAI’20, called Federated Recommender Systems444https://www.fedai.org/research/conferences/ijcai-2020-tutorial/. This tutorial introduced the concepts of vertical and horizontal federated RSs, where two case studies on news recommendation and online advertising were presented. However, federated recommendation is only one of the possible technical pathways with on-device training, which in turn is a subset of ODRSs. Our tutorial will not only introduce additional on-device training methods, such as semi-decentralized on-device recommendation and on-device recommender finetuning but will also cover on-device deployment and inference as well as privacy and security mechanisms in ODRSs. To our knowledge, the proposed tutorial will debut the very first comprehensive summary of the fundamentals and recent advances of on-device recommender systems in the research community.

Relevance to the Web Conference (WWW). Every year, WWW attracts a considerable proportion of high-quality papers and conference attendees working on RSs. The growing significance of RSs is evident, as demonstrated by the dedicated recommendation research track at WWW, as well as the increasing number of research papers and industry participation. For instance, in WWW’23, 19.3% accepted regular papers (79/409) contained the keyword recommendation or recommender systems, highlighting the substantial interest in this field. The dense population of experts in relevant areas ensures a vibrant environment for knowledge exchange, constructive discussions, and the exploration of innovative ideas that can shape the future of RSs.

Furthermore, the regular industry sponsors of WWW, including renowned companies like Google, Amazon, Baidu, Ebay, Netflix, and Booking, have dedicated commercial branches focused on recommendation services. Their involvement signifies the practical implications and economic potential of RSs, further solidifying WWW’s status as a prominent conference for promoting next-generation ODRSs.

Given the conference’s widespread presence of research and industry leaders in the recommendation domain, WWW’24 holds great promise as an ideal platform to disseminate fundamental knowledge, promote recent research outcomes, and foster collaborative efforts to enhance ODRSs. By embracing the wisdom and collective expertise of the conference participants, this tutorial expects to advance the field and address the open challenges associated with on-device recommendation technologies.

1.1. THE TUTORIAL TEAM

Prof. Hongzhi Yin and his research group are the pioneers of this emerging research field and have consistently worked on recommender systems for years. Together with co-authors, their work on on-device recommender systems has been published in top-tier venues such as KDD, WWW, SIGIR, AAAI, TKDE, WSDM, TOIS and etc.

1.1.1. Brief Bio of Organizers

  • Prof. Hongzhi Yin works as an ARC Future Fellow, Full Professor, and Director of the Responsible Big Data Intelligence Lab (RBDI) at The University of Queensland, Australia. He has published 260+ papers with an H-index of 66, making notable contributions to recommendation systems, graph learning, decentralized learning, and edge intelligence. His research has won 8 international and national Best Paper Awards, including Best Paper Award (Honorable Mention) at WSDM 2023, Best Paper Award at ICDE 2019, and Best Student Paper Award at DASFAA 2020. He has received the prestigious 2023 AIPS Young Tall Poppy Science Awards, 2022 IEEE Computer Society AI’s 10 to Watch, 2021 ARC Future Fellowship, and 2016 ARC DECRA Fellowship. He has been an SPC or area chair for many top conferences, such as WWW, IJCAI, AAAI, KDD, SIGIR, WSDM, ICDE, CIKM, and DASFAA. Prof. Yin has rich lecture experience and taught five relevant courses, such as information retrieval and web search, data mining, social media analytics, and responsible data science. He won the Faculty Teaching and Learning Excellence Award 2022 and the University Teaching and Learning Excellence Award 2022 (finalist). In addition, he has delivered 20+ keynotes and tutorials at the top international conferences like DASFAA’23, WWW’22, BESC’22, ADMA’19, WWW’17, and KDD’17.

  • Dr. Tong Chen is a senior lecturer at The University of Queensland, and an awardee of the 2023 Discovery Early Career Researcher Award from the Australian Research Council (ARC). Dr. Chen’s research on lightweight and on-device recommender systems has been published on top-tier international venues such as KDD, SIGIR, WWW, TKDE, WSDM, TNNLS, TOIS, and CIKM. Dr. Chen has ample track records in lecturing, witnessed by his course design and delivery experience in business analytics, teaching experience in social media analytics, as well as invited talks on cutting-edge recommender systems at the DASFAA’23 Tutorial, WWW’22 Tutorial, and ICDM’20 NeuRec Workshop.

  • Mr. Liang Qu is currently pursuing his Ph.D. under a joint program between The University of Queensland and Southern University of Science and Technology. In 2017, he earned his B.E. in Applied Physics from the South China University of Technology, followed by an M.S. in Computer Science in 2019 from the Harbin Institute of Technology. His research work has been published on top data mining venues such as KDD, SIGIR, WWW, and TOIS. In addition, he has been an PC and/or reviewer for many top venues, such as KDD, WWW, CIKM, and VLDB. His research interest primarily lies in the development of lightweight, privacy-preserving, and trustworthy recommender systems, such as federated recommendation and on-device recommendation.

  • Prof. Bin Cui is a Cheung Kong Distinguished Professor, Vice Dean of the School of Computer Science at Peking University, and Director of Peking University-Tencent Joint Innovation Laboratory. His research interests include recommendation and search system architectures, query and index techniques, big data management and mining, and distributed machine learning systems. He has served on the Technical Program Committee of various international conferences, including SIGMOD, VLDB, ICDE, WWW, KDD, and as Area Chair of ICDE 2011&2018, Demo Co-Chair of ICDE 2014, Area Chair of VLDB 2014, PC Co-Chair of APWeb 2015, WAIM 2016 and DASFAA 2020. He serves as Vice Chair of Technical Committee on Database China Computer Federation (CCF) and Trustee Board Member of VLDB Endowment. He is also on the Editorial Board of Distributed and Parallel Databases, Journal of Computer Science and Technology, and SCIENCE CHINA Information Sciences, and was an associate editor of IEEE Transactions on Knowledge and Data Engineering (TKDE) and VLDB Journal. He was awarded Microsoft Young Professorship Award (MSRA 2008), CCF Young Scientist Award (2009), Second Prize of Natural Science Award of MOE China (2014), and appointed as Cheung Kong Distinguished Professor by MOE in 2016.

1.1.2. Relevant Publications by Organizers

In order to further demonstrate that the presenters are qualified for a high-quality introduction of the ODRSs, below we list the relevant papers on ODRSs published by the presenters.

  • Deployment and inference for ODRSs (Qu et al., 2023b; Xia et al., 2022; Chen et al., 2021; Yang et al., 2023; Liang et al., 2023; Qu et al., 2023a; Xia et al., 2023b, a)

  • Training for ODRSs (Imran et al., 2023; Long et al., 2023b; Qu et al., 2023c; Long et al., 2023a; Wang et al., 2021)

  • Privacy and security for ODRSs (Yuan et al., 2023b, c; Zhang et al., 2022; Yuan et al., 2023a; Zhang et al., 2023b)

Overall, this tutorial aims to benefit the participating audience from the following three aspects:

  • We aim to furnish participants with a comprehensive and current picture of ODRSs, enabling them to grasp the current state-of-the-art technologies and methodologies employed in ODRSs.

  • We will lay out a systematic categorization of ODRSs for participants, facilitating a structured understanding of the various methods involved. Each category will be explored in detail, discussing the technical aspects that differentiate them.

  • We will outline potential future research directions in the ODRS, aiding participants in identifying areas where they can contribute and further the body of knowledge in this field.

2. Style

This tutorial is delivered as a lecture-style tutorial, which aims to provide a comprehensive introduction to research on ODRSs, from pioneering work to state-of-the-art research, and also discuss future research directions and challenges.

3. Schedule

The content is planned for 3 hours and consists of five sections. In what follows, we provide an outline of our tutorial.

Section 1. Welcome and Introduction (10 mins)
Presenter: Prof. Hongzhi Yin

1.1 Overview of Recommender Systems (RSs) (Koren et al., 2021)
1.2 On-Device Recommender Systems (ODRSs): Background and Applications (Gong et al., 2020, 2022; Lv et al., 2023; Wang et al., 2020)

Section 2. Definition and Taxonomy of ODRSs (20 mins)
Presenter: Prof. Hongzhi Yin

2.1 Definition of On-Device Recommendation Tasks
2.2 Categorization of Existing ODRSs

Section 3. A Review of ODRSs (110 mins)
Presenters: Dr. Tong Chen and Mr. Liang Qu

3.1 On-Device Deployment and Inference:
Binary Code-based Methods (Zhang et al., 2016, 2017) Embedding Sparsification Methods (Liu et al., 2021; Qu et al., 2023b) Compositional Embedding Methods (Wang et al., 2020; Shi et al., 2020; Lian et al., 2020; Xia et al., 2022, 2023a) Variable Size Embedding Methods (Liu et al., 2020; Chen et al., 2021; Kang et al., 2021) Sustainable Deployment (Xia et al., 2023b) 3.2 On-Device Training: Server-coordinated/Federated Learning for On-device Recommendation (Muhammad et al., 2020; Imran et al., 2023; Zhang et al., 2023a) Semi-decentralized ODRSs (Long et al., 2023b; Qu et al., 2023c; Long et al., 2023a) On-device Recommender Finetuning (Wang et al., 2021; Yao et al., 2021; Yan et al., 2022) 3.3 Privacy and Security: Privacy Risks and Countermeasures (Yuan et al., 2023b; Chai et al., 2022; Yuan et al., 2023c; Zhang et al., 2023b) Poisoning Attacks and Defense Methods (Zhang et al., 2022; Wu et al., 2022; Yuan et al., 2023a)

Section 4. Limitations and New Trends (20 mins)
Presenter: Prof. Bin Cui
4.1 Open Challenges for Existing ODRSs
4.2 Emerging Research Directions

Section 5. Open Discussions (20 mins)
Presenters: Prof. Hongzhi Yin, Dr. Tong Chen, Mr. Liang Qu and Prof. Bin Cui
5.1 Questions and Answers
5.2 Reflections, Suggestions, and Link to Our Resources

4. Audience

This tutorial targets a diverse audience cohort from both academia and industry, with a background of recommendation or any relevant areas, including but not limited to information retrieval, web mining, and internet-of-things (IoT). For prerequisites, basic knowledge of recommender systems is preferred, while the tutorial will also cover all necessary foundations for better audience engagement. After the tutorial, we expect the audience to form an up-to-date picture of different application scenarios of ODRSs, as well as their core technical building blocks. Considering the high accessibility of the conference, we expect around a hundred participants for the tutorial.

5. TUTORIAL MATERIALS

Upon acceptance of the tutorial, the slides and video recordings will be made available to all attendees on our tutorial website two weeks before the scheduled conference date.

6. VIDEO TEASER

The video teaser is available at https://bit.ly/odrs.

Acknowledgment

This work is supported by the Australian Research Council under the streams of Future Fellowship (No. FT210100624), Discovery Project (No. DP190101985, DP240101108, DP240101814), and Discovery Early Career Researcher Award (No. DE230101033).

References

  • (1)
  • Chai et al. (2022) Di Chai, Leye Wang, Kai Chen, and Qiang Yang. 2022. Efficient Federated Matrix Factorization Against Inference Attacks. TIST 13, 4 (2022), 1–20.
  • Chen et al. (2021) Tong Chen, Hongzhi Yin, Yujia Zheng, Zi Huang, Yang Wang, and Meng Wang. 2021. Learning elastic embeddings for customizing on-device recommenders. In SIGKDD. 138–147.
  • Gong et al. (2022) Xudong Gong, Qinlin Feng, Yuan Zhang, Jiangling Qin, Weijie Ding, Biao Li, Peng Jiang, and Kun Gai. 2022. Real-time Short Video Recommendation on Mobile Devices. In CIKM. 3103–3112.
  • Gong et al. (2020) Yu Gong, Ziwen Jiang, Yufei Feng, Binbin Hu, Kaiqi Zhao, Qingwen Liu, and Wenwu Ou. 2020. EdgeRec: recommender system on edge in Mobile Taobao. In CIKM. 2477–2484.
  • Imran et al. (2023) Mubashir Imran, Hongzhi Yin, Tong Chen, Quoc Viet Hung Nguyen, Alexander Zhou, and Kai Zheng. 2023. ReFRS: Resource-efficient federated recommender system for dynamic and diversified user preferences. TOIS 41, 3 (2023), 1–30.
  • Kang et al. (2021) Wang-Cheng Kang, Derek Zhiyuan Cheng, Tiansheng Yao, Xinyang Yi, Ting Chen, Lichan Hong, and Ed H Chi. 2021. Learning to embed categorical features without embedding tables for recommendation. In SIGKDD. 840–850.
  • Koren et al. (2021) Yehuda Koren, Steffen Rendle, and Robert Bell. 2021. Advances in collaborative filtering. Recommender systems handbook (2021), 91–142.
  • Lian et al. (2020) Defu Lian, Haoyu Wang, Zheng Liu, Jianxun Lian, Enhong Chen, and Xing Xie. 2020. LightRec: A Memory and Search-Efficient Recommender System. In The Web Conference. 695–705.
  • Liang et al. (2023) Xurong Liang, Tong Chen, Quoc Viet Hung Nguyen, Jianxin Li, and Hongzhi Yin. 2023. Learning Compact Compositional Embeddings via Regularized Pruning for Recommendation. arXiv preprint arXiv:2309.03518 (2023).
  • Liu et al. (2020) Haochen Liu, Xiangyu Zhao, Chong Wang, Xiaobing Liu, and Jiliang Tang. 2020. Automated Embedding Size Search in Deep Recommender Systems. In SIGIR. 2307–2316.
  • Liu et al. (2021) Siyi Liu, Chen Gao, Yihong Chen, Depeng Jin, and Yong Li. 2021. Learnable Embedding sizes for Recommender Systems. In ICLR.
  • Long et al. (2023a) Jing Long, Tong Chen, Nguyen Quoc Viet Hung, Guandong Xu, Kai Zheng, and Hongzhi Yin. 2023a. Model-Agnostic Decentralized Collaborative Learning for On-Device POI Recommendation. SIGIR (2023).
  • Long et al. (2023b) Jing Long, Tong Chen, Quoc Viet Hung Nguyen, and Hongzhi Yin. 2023b. Decentralized collaborative learning framework for next POI recommendation. TOIS 41, 3 (2023), 1–25.
  • Lv et al. (2023) Zheqi Lv et al. 2023. DUET: A Tuning-Free Device-Cloud Collaborative Parameters Generation Framework for Efficient Device Model Generalization. In Proceedings of the ACM Web Conference 2023. 3077–3085.
  • Muhammad et al. (2020) Khalil Muhammad, Qinqin Wang, Diarmuid O’Reilly-Morgan, Elias Tragos, Barry Smyth, Neil Hurley, James Geraci, and Aonghus Lawlor. 2020. Fedfast: Going beyond average for faster training of federated recommender systems. In SIGKDD. 1234–1242.
  • Qu et al. (2023c) Liang Qu, Ningzhi Tang, Ruiqi Zheng, Quoc Viet Hung Nguyen, Zi Huang, Yuhui Shi, and Hongzhi Yin. 2023c. Semi-decentralized Federated Ego Graph Learning for Recommendation. In WWW. 339–348.
  • Qu et al. (2023a) Yunke Qu, Tong Chen, Quoc Viet Hung Nguyen, and Hongzhi Yin. 2023a. Budgeted Embedding Table For Recommender Systems. arXiv preprint arXiv:2310.14884 (2023).
  • Qu et al. (2023b) Yunke Qu, Tong Chen, Xiangyu Zhao, Lizhen Cui, Kai Zheng, and Hongzhi Yin. 2023b. Continuous Input Embedding Size Search For Recommender Systems. SIGIR (2023).
  • Shi et al. (2020) Hao-Jun Michael Shi, Dheevatsa Mudigere, Maxim Naumov, and Jiyan Yang. 2020. Compositional embeddings using complementary partitions for memory-efficient recommendation systems. In SIGKDD. 165–175.
  • Wang et al. (2020) Qinyong Wang, Hongzhi Yin, Tong Chen, Zi Huang, Hao Wang, Yanchang Zhao, and Nguyen Quoc Viet Hung. 2020. Next Point-of-Interest Recommendation on Resource-Constrained Mobile Devices. In The Web Conference. 906–916.
  • Wang et al. (2021) Qinyong Wang, Hongzhi Yin, Tong Chen, Junliang Yu, Alexander Zhou, and Xiangliang Zhang. 2021. Fast-adapting and privacy-preserving federated recommender system. VLDBJ (2021), 1–20.
  • Wu et al. (2022) Chuhan Wu, Fangzhao Wu, Tao Qi, Yongfeng Huang, and Xing Xie. 2022. FedAttack: Effective and covert poisoning attack on federated recommendation via hard sampling. In SIGKDD. 4164–4172.
  • Xia et al. (2022) Xin Xia, Hongzhi Yin, Junliang Yu, Qinyong Wang, Guandong Xu, and Quoc Viet Hung Nguyen. 2022. On-Device Next-Item Recommendation with Self-Supervised Knowledge Distillation. In SIGIR. 546–555.
  • Xia et al. (2023a) Xin Xia, Junliang Yu, Qinyong Wang, Chaoqun Yang, Nguyen Quoc Viet Hung, and Hongzhi Yin. 2023a. Efficient on-device session-based recommendation. ACM Transactions on Information Systems 41, 4 (2023), 1–24.
  • Xia et al. (2023b) Xin Xia, Junliang Yu, Guandong Xu, and Hongzhi Yin. 2023b. Towards Communication-Efficient Model Updating for On-Device Session-Based Recommendation. In Proceedings of the 32nd ACM International Conference on Information and Knowledge Management. 2795–2804.
  • Yan et al. (2022) Yikai Yan, Chaoyue Niu, Renjie Gu, Fan Wu, Shaojie Tang, Lifeng Hua, Chengfei Lyu, and Guihai Chen. 2022. On-Device Learning for Model Personalization with Large-Scale Cloud-Coordinated Domain Adaption. In SIGKDD. 2180–2190.
  • Yang et al. (2023) Ling Yang, Ye Tian, Minkai Xu, Zhongyi Liu, Shenda Hong, Wei Qu, Wentao Zhang, Bin Cui, Muhan Zhang, and Jure Leskovec. 2023. VQGraph: Graph Vector-Quantization for Bridging GNNs and MLPs. arXiv preprint arXiv:2308.02117 (2023).
  • Yao et al. (2021) Jiangchao Yao, Feng Wang, Kunyang Jia, Bo Han, Jingren Zhou, and Hongxia Yang. 2021. Device-cloud collaborative learning for recommendation. In SIGKDD. 3865–3874.
  • Yuan et al. (2023a) Wei Yuan, Quoc Viet Hung Nguyen, Tieke He, Liang Chen, and Hongzhi Yin. 2023a. Manipulating Federated Recommender Systems: Poisoning with Synthetic Users and Its Countermeasures. SIGIR (2023).
  • Yuan et al. (2023b) Wei Yuan, Chaoqun Yang, Quoc Viet Hung Nguyen, Lizhen Cui, Tieke He, and Hongzhi Yin. 2023b. Interaction-level Membership Inference Attack Against Federated Recommender Systems. In WWW. 1053–1062.
  • Yuan et al. (2023c) Wei Yuan, Hongzhi Yin, Fangzhao Wu, Shijie Zhang, Tieke He, and Hao Wang. 2023c. Federated unlearning for on-device recommendation. In WSDM. 393–401.
  • Zhang et al. (2023a) Honglei Zhang, Fangyuan Luo, Jun Wu, Xiangnan He, and Yidong Li. 2023a. LightFR: Lightweight federated recommendation with privacy-preserving matrix factorization. TOIS 41, 4 (2023), 1–28.
  • Zhang et al. (2016) Hanwang Zhang, Fumin Shen, Wei Liu, Xiangnan He, Huanbo Luan, and Tat-Seng Chua. 2016. Discrete collaborative filtering. In SIGIR. 325–334.
  • Zhang et al. (2022) Shijie Zhang, Hongzhi Yin, Tong Chen, Zi Huang, Quoc Viet Hung Nguyen, and Lizhen Cui. 2022. Pipattack: Poisoning federated recommender systems for manipulating item promotion. In WSDM. 1415–1423.
  • Zhang et al. (2023b) Shijie Zhang, Wei Yuan, and Hongzhi Yin. 2023b. Comprehensive privacy analysis on federated recommender system against attribute inference attacks. IEEE Transactions on Knowledge and Data Engineering (2023).
  • Zhang et al. (2017) Yan Zhang, Defu Lian, and Guowu Yang. 2017. Discrete personalized ranking for fast collaborative filtering from implicit feedback. In AAAI, Vol. 31.