PinFM: Foundation Model for User Activity Sequences at a Billion-scale Visual Discovery Platform

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Chen, Xiangyi, Rajesh, Kousik, Lawhon, Matthew, Wang, Zelun, Li, Hanyu, Li, Haomiao, Joshi, Saurabh Vishwas, Eksombatchai, Pong, Yang, Jaewon, Hsu, Yi-Ping, Xu, Jiajing, Rosenberg, Charles
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912545993916416
author Chen, Xiangyi
Rajesh, Kousik
Lawhon, Matthew
Wang, Zelun
Li, Hanyu
Li, Haomiao
Joshi, Saurabh Vishwas
Eksombatchai, Pong
Yang, Jaewon
Hsu, Yi-Ping
Xu, Jiajing
Rosenberg, Charles
author_facet Chen, Xiangyi
Rajesh, Kousik
Lawhon, Matthew
Wang, Zelun
Li, Hanyu
Li, Haomiao
Joshi, Saurabh Vishwas
Eksombatchai, Pong
Yang, Jaewon
Hsu, Yi-Ping
Xu, Jiajing
Rosenberg, Charles
contents User activity sequences have emerged as one of the most important signals in recommender systems. We present a foundational model, PinFM, for understanding user activity sequences across multiple applications at a billion-scale visual discovery platform. We pretrain a transformer model with 20B+ parameters using extensive user activity data, then fine-tune it for specific applications, efficiently coupling it with existing models. While this pretraining-and-fine-tuning approach has been popular in other domains, such as Vision and NLP, its application in industrial recommender systems presents numerous challenges. The foundational model must be scalable enough to score millions of items every second while meeting tight cost and latency constraints imposed by these systems. Additionally, it should capture the interactions between user activities and other features and handle new items that were not present during the pretraining stage. We developed innovative techniques to address these challenges. Our infrastructure and algorithmic optimizations, such as the Deduplicated Cross-Attention Transformer (DCAT), improved our throughput by 600% on Pinterest internal data. We demonstrate that PinFM can learn interactions between user sequences and candidate items by altering input sequences, leading to a 20% increase in engagement with new items. PinFM is now deployed to help improve the experience of more than half a billion users across various applications.
format Preprint
id arxiv_https___arxiv_org_abs_2507_12704
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle PinFM: Foundation Model for User Activity Sequences at a Billion-scale Visual Discovery Platform
Chen, Xiangyi
Rajesh, Kousik
Lawhon, Matthew
Wang, Zelun
Li, Hanyu
Li, Haomiao
Joshi, Saurabh Vishwas
Eksombatchai, Pong
Yang, Jaewon
Hsu, Yi-Ping
Xu, Jiajing
Rosenberg, Charles
Machine Learning
Information Retrieval
User activity sequences have emerged as one of the most important signals in recommender systems. We present a foundational model, PinFM, for understanding user activity sequences across multiple applications at a billion-scale visual discovery platform. We pretrain a transformer model with 20B+ parameters using extensive user activity data, then fine-tune it for specific applications, efficiently coupling it with existing models. While this pretraining-and-fine-tuning approach has been popular in other domains, such as Vision and NLP, its application in industrial recommender systems presents numerous challenges. The foundational model must be scalable enough to score millions of items every second while meeting tight cost and latency constraints imposed by these systems. Additionally, it should capture the interactions between user activities and other features and handle new items that were not present during the pretraining stage. We developed innovative techniques to address these challenges. Our infrastructure and algorithmic optimizations, such as the Deduplicated Cross-Attention Transformer (DCAT), improved our throughput by 600% on Pinterest internal data. We demonstrate that PinFM can learn interactions between user sequences and candidate items by altering input sequences, leading to a 20% increase in engagement with new items. PinFM is now deployed to help improve the experience of more than half a billion users across various applications.
title PinFM: Foundation Model for User Activity Sequences at a Billion-scale Visual Discovery Platform
topic Machine Learning
Information Retrieval
url https://arxiv.org/abs/2507.12704