Evolution of Multi-Objective Optimization at Pinterest Home feed

· Source: Pinterest Engineering Blog - Medium · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Data Science & Analytics, Software Development & Engineering · Depth: Advanced, long

Summary

Pinterest has significantly evolved its Home feed recommendation system's multi-objective optimization layer, a critical component balancing short-term and long-term engagement. Initially, in 2021, the system implemented Determinantal Point Process (DPP) for diversification, leveraging GraphSAGE and categorical taxonomy, which increased user time spent by over 2% after the first week. By early 2025, Pinterest transitioned to Sliding Spectrum Decomposition (SSD), implemented in PyTorch on company-wide model serving clusters. SSD offers lower computational complexity and serving latency, facilitating the integration of richer embeddings like visual, text, and GraphSAGE. Mid-2025 saw the introduction of a Unified Soft-Spacing Framework with SSD, allowing quality penalties for risky content without relying on rigid filtering. Further enhancements in Q3 2025 included upgrading visual embeddings to PinCLIP image features for real-time multimodal representation, and in Q4 2025, adding Semantic ID signals to improve semantic diversity control. This evolution also involved migrating infrastructure from backend-embedded nodes to a more flexible model serving cluster.

Key takeaway

For AI Engineers optimizing recommendation systems, prioritizing long-term user satisfaction through robust multi-objective optimization is crucial. Consider evolving beyond traditional diversification methods like Determinantal Point Process (DPP) to more computationally efficient approaches such as Sliding Spectrum Decomposition (SSD). Implementing SSD in PyTorch on model serving clusters can enable integrating richer embeddings (visual, text, graph) and applying nuanced soft-spacing penalties for content quality, ultimately improving both perceived diversity and engagement while simplifying iterative development.

Key insights

Pinterest evolved its feed recommendation's multi-objective optimization from DPP to SSD, enhancing diversity and content quality.

Principles

Method

Pinterest evolved from Determinantal Point Process (DPP) using GraphSAGE and categorical taxonomy to Sliding Spectrum Decomposition (SSD), which applies position-adaptive diversification via spectral decomposition within a sliding window. This was extended with a soft-spacing penalty for content quality.

In practice

Topics

Best for: Machine Learning Engineer, AI Engineer, MLOps Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Pinterest Engineering Blog - Medium.