EdgeRec: Recommender System on Edge in Mobile Taobao

Yu Gong, Ziwen Jiang, Yufei Feng, Binbin Hu, Kaiqi Zhao, Qingwen Liu, Wenwu Ou

Abstract

Traditional mobile recommender systems rely on cloud-based architectures, leading to significant feedback and perception delays. This paper introduces EdgeRec, a large-scale recommender system deployed on Mobile Taobao that performs real-time reranking directly on user devices. By shifting the final reranking stage to the edge, EdgeRec responds to micro-behaviors in milliseconds, resulting in a 10.92% increase in Gross Merchandise Volume (GMV).

1. Introduction

Modern mobile applications typically employ a "waterfall" feed where a cloud server delivers batches of items. This architecture suffers from two primary issues:

  • System Feedback Delay: The cloud cannot adjust the current batch based on immediate user actions (e.g., clicking an item) until a new page request is triggered.
  • User Perception Delay: Network latency means it can take up to a minute for the cloud to process the latest user interactions, by which time user intent may have shifted.

2. Methodology

EdgeRec addresses these delays by partitioning the recommendation pipeline between the cloud and the mobile device. The cloud handles candidate generation and stores large embedding matrices, while the mobile device runs a lightweight neural network for context-aware reranking.

System architecture of EdgeRec showing the split between Client and Cloud Services.

2.1 Heterogeneous User Behavior Sequence Modeling (HUBSM)

EdgeRec introduces HUBSM to capture diverse user signals by separating "Item Exposure" (IE) from "Item Page-View" (IPV). This allows the system to utilize negative feedback—such as scrolling past an item quickly—as a powerful signal for reranking.

  • Item Exposure (IE): Captures passive signals such as scroll speed, dwell time, and item deletions.
  • Item Page-View (IPV): Captures active signals like adding to cart, reading comments, or seller inquiries.

To maintain performance, a Gated Recurrent Unit (GRU) runs asynchronously in the background to produce behavior encodings, which are stored in an on-device database for instant retrieval during reranking.

3. Key Results

EdgeRec was evaluated via offline logs and a live A/B test on Mobile Taobao involving millions of users. The system significantly improved user engagement and business metrics:

  • Click-Through Rate (CTR): Increased by 7.18%.
  • Gross Merchandise Volume (GMV): Increased by 10.92%.
  • Latency: Behavior capture delay dropped from ~1 minute to under 300ms, with on-device response times under 100ms.
CTR performance comparison between the baseline and EdgeRec across different item positions.

As shown in the figure above, EdgeRec consistently outperforms the baseline across various positions in the recommendation feed, effectively mitigating the performance drop-off typically seen as users scroll deeper into a page. On average, the system could adjust recommendations 15 times per page, compared to just 3 times in the traditional cloud-only model.

4. Conclusion and Future Work

EdgeRec demonstrates the viability of edge-based reranking for large-scale e-commerce. Future work includes personalizing model architectures for individual users and exploring Federated Learning to enhance privacy while maintaining model performance.

Summary updated

BibTeX
@inproceedings{gong2020edgerec,
  author = {Yu Gong and Ziwen Jiang and Yufei Feng and Binbin Hu and Kaiqi Zhao and Qingwen Liu and Wenwu Ou},
  title = {{EdgeRec: Recommender System on Edge in Mobile Taobao}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2020},
  doi = {10.1145/3340531.3412700},
}
Figure