[Paper Review] Pixie: A System for Recommending 3+ Billion Items to 200+ Million Users in Real-Time
Pixie is a scalable, real-time graph-based recommender system that uses a novel random walk algorithm on a billion-node Pinterest object graph to deliver personalized recommendations from 3+ billion items to 200+ million users. It achieves 50% higher user engagement than prior systems and supports 1,200 queries per second with 60ms latency by leveraging user-specific query bias, multi-pin weighting, and early stopping in its random walk process.
User experience in modern content discovery applications critically depends on high-quality personalized recommendations. However, building systems that provide such recommendations presents a major challenge due to a massive pool of items, a large number of users, and requirements for recommendations to be responsive to user actions and generated on demand in real-time. Here we present Pixie, a scalable graph-based real-time recommender system that we developed and deployed at Pinterest. Given a set of user-specific pins as a query, Pixie selects in real-time from billions of possible pins those that are most related to the query. To generate recommendations, we develop Pixie Random Walk algorithm that utilizes the Pinterest object graph of 3 billion nodes and 17 billion edges. Experiments show that recommendations provided by Pixie lead up to 50% higher user engagement when compared to the previous Hadoop-based production system. Furthermore, we develop a graph pruning strategy at that leads to an additional 58% improvement in recommendations. Last, we discuss system aspects of Pixie, where a single server executes 1,200 recommendation requests per second with 60 millisecond latency. Today, systems backed by Pixie contribute to more than 80% of all user engagement on Pinterest.
Motivation & Objective
- To address the challenge of delivering real-time, personalized recommendations at massive scale—3+ billion items and 200+ million users—on a dynamic, interactive platform like Pinterest.
- To overcome the limitations of batch-processing systems by enabling on-demand, low-latency recommendations responsive to real-time user behavior.
- To leverage Pinterest’s rich user-generated board curation data as a multi-faceted object graph to model complex, semantically rich relationships between pins.
- To design a recommendation algorithm that is both scalable and adaptive, supporting dynamic user-specific biases and early stopping for real-time performance.
- To improve recommendation quality beyond traditional collaborative filtering by incorporating graph structure and label propagation through random walks.
Proposed method
- Pixie constructs a bipartite graph of pins and boards with over 100 billion edges, where user interactions (e.g., saves) define edges and node weights.
- It uses a novel Pixie Random Walk algorithm that starts from a user-specific query set of weighted pins and traverses the graph to recommend related pins and boards.
- The algorithm biases walks based on user-specific attributes such as topic, language, and interaction history, enabling personalized recommendations.
- It supports multiple query pins with varying weights, combining results from multiple independent walks to favor items related to multiple query pins.
- It employs a custom convergence criterion that allows early stopping, ensuring constant-time performance independent of graph size and enabling sub-100ms latency.
- It recommends both pins and boards, using board recommendations to surface new, cold-start pins and improve content diversity.
Experimental results
Research questions
- RQ1How can a recommender system scale to deliver real-time, personalized recommendations from a catalog of 3+ billion items to 200+ million active users?
- RQ2What algorithmic innovations are required to ensure low-latency (sub-100ms) response times while maintaining high recommendation quality at massive scale?
- RQ3How can user-specific behavioral signals—such as recent interactions and interaction types—be effectively encoded and leveraged in a graph-based recommendation system?
- RQ4To what extent can graph-based random walks with dynamic biasing and early stopping outperform traditional batch-based systems in real-time recommendation workloads?
- RQ5Can graph pruning and curation strategies significantly improve recommendation quality and system performance without sacrificing coverage or relevance?
Key findings
- Pixie increased per-pin engagement by up to 50% in A/B tests compared to the previous Hadoop-based recommendation system.
- The system supports 1,200 recommendation requests per second per server with a 99th percentile latency of 60 milliseconds.
- Graph pruning reduced the graph size by a factor of six and improved recommendation quality by an additional 58%.
- Over 80% of all user engagement on Pinterest is now driven by systems powered by Pixie.
- The use of board recommendations as a proxy for discovering new pins helped solve the cold-start problem and improved content diversity.
- Pixie-powered systems now account for over half of all pins saved by users each day on Pinterest.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.