Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

PinnerFormer: Sequence Modeling for User Representation at Pinterest

About

Sequential models have become increasingly popular in powering personalized recommendation systems over the past several years. These approaches traditionally model a user's actions on a website as a sequence to predict the user's next action. While theoretically simplistic, these models are quite challenging to deploy in production, commonly requiring streaming infrastructure to reflect the latest user activity and potentially managing mutable data for encoding a user's hidden state. Here we introduce PinnerFormer, a user representation trained to predict a user's future long-term engagement using a sequential model of a user's recent actions. Unlike prior approaches, we adapt our modeling to a batch infrastructure via our new dense all-action loss, modeling long-term future actions instead of next action prediction. We show that by doing so, we significantly close the gap between batch user embeddings that are generated once a day and realtime user embeddings generated whenever a user takes an action. We describe our design decisions via extensive offline experimentation and ablations and validate the efficacy of our approach in A/B experiments showing substantial improvements in Pinterest's user retention and engagement when comparing PinnerFormer against our previous user representation. PinnerFormer is deployed in production as of Fall 2021.

Nikil Pancha, Andrew Zhai, Jure Leskovec, Charles Rosenberg• 2022

Related benchmarks

TaskDatasetResultRank
Sequential RecommendationBooks Amazon (test)--
20
Sequential RecommendationAmazon Electronics (test)
Recall@50.033
11
Sequential RecommendationIndustry internal (test)
Recall@514.83
11
Generative RetrievalPinterest Search (test)
Unordered Recall@1025.7
6
Generative RetrievalPinterest Home Feed (test)
Unordered Recall@1046.1
6
Generative RetrievalPinterest Related Pins (test)
Unordered Recall@1041.2
6
Showing 6 of 6 rows

Other info

Follow for update