PinFM: Foundation Model for User Activity Sequences at a Billion-scale Visual Discovery Platform
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 22 of its 35 references that are in the map. First posted on arXiv 17 Jul 2025.
Builds on
22 of 35 references.
References · 22
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2018Self-Attentive Sequential Recommendationcited by 1,169
- 2018Graph Convolutional Neural Networks for Web-Scale Recommender Systemscited by 1,133
- 2020On Layer Normalization in the Transformer Architecturecited by 906
- 2015Session-based Recommendations with Recurrent Neural Networkscited by 685
- 2017Deep Interest Network for Click-Through Rate Predictioncited by 541
- 2020DCN V2: Improved Deep & Cross Network and Practical Lessons for Web-scale Learning to Rank Systemscited by 326
- 2024Actions Speak Louder than Words: Trillion-Parameter Sequential Transducers for Generative Recommendationscited by 184
- 2022M6-Rec: Generative Pretrained Language Models are Open-Ended Recommender Systemscited by 152
- 2023Text Is All You Need: Learning Language Representations for Sequential Recommendationcited by 149
- 2022Towards Universal Sequence Representation Learning for Recommender Systemscited by 120
10 more
- 2022PinnerFormer: Sequence Modeling for User Representation at Pinterestcited by 57
- 2021FBGEMM: Enabling High-Performance Low-Precision Deep Learning Inferencecited by 40
- 2023TWIN: TWo-stage Interest Network for Lifelong User Behavior Modeling in CTR Prediction at Kuaishoucited by 40
- 2023TransAct: Transformer-based Realtime User Action Model for Recommendation at Pinterestcited by 35
- 2023Scaling Law of Large Sequential Recommendation Modelscited by 23
- 2020PTUM: Pre-training User Model from Unlabeled User Behaviors via Self-supervisioncited by 22
- 2024Multi-Behavior Generative Recommendationcited by 15
- 2025External Large Foundation Model: How to Efficiently Serve Trillions of Parameters for Online Ads Recommendationcited by 13
- 2025360Brew: A Decoder-only Foundation Model for Personalized Ranking and Recommendationcited by 12
- 2025SessionRec: Next Session Prediction Paradigm For Generative Sequential Recommendationcited by 2
Built on by
Citing papers per year: 2025: 2; 2026: 6.
8 papers.
- 2025PLUM: Adapting Pre-trained Language Models for Industrial-scale Generative Recommendationscited by 27
- 2025DenseRec: Revisiting Dense Content Embeddings for Sequential Transformer-based Recommendationcited by 2
- 2026UniPinRec: Unifying Generative Retrieval and Ranking at Pinterest Scalecited by 1
- 2026LocalSUG: City-Preference-Enhanced LLM for Query Suggestion in Local-Life Servicescited by 0
- 2026RankGraph-2: Lifecycle Co-Design for Billion-Node Graph Learning in Recommendationcited by 0
- 2026A Foundation Model for Multimodal Event Sequences in Financial Applicationscited by 0
- 2026Building a User Foundation Model for the Open Webcited by 0
- 2026Progressive Alignment of Recommender Foundation Model through Multi-Phase Post-Trainingcited by 0
- 2026Progressive Alignment of Recommender Foundation Model through Multi-Phase Post-Training7 Aug 2026
- 2026Building a User Foundation Model for the Open Web30 Jul 2026
- 2026A Foundation Model for Multimodal Event Sequences in Financial Applications10 Jul 2026
- 2026RankGraph-2: Lifecycle Co-Design for Billion-Node Graph Learning in Recommendation16 Jun 2026
- 2026UniPinRec: Unifying Generative Retrieval and Ranking at Pinterest Scale29 May 2026
- 2026LocalSUG: City-Preference-Enhanced LLM for Query Suggestion in Local-Life Services5 Mar 2026
- 2025PLUM: Adapting Pre-trained Language Models for Industrial-scale Generative Recommendations9 Oct 2025
- 2025DenseRec: Revisiting Dense Content Embeddings for Sequential Transformer-based Recommendation25 Aug 2025