UniPinRec: Unifying Generative Retrieval and Ranking at Pinterest Scale
Not on the map. Why?
Abstract (arXiv)
Modern recommendation systems predominantly train retrieval and ranking as separate models despite both increasingly relying on large transformers encoding the same user behavior data, duplicating parameters, compute, and serving cost. Prior work unifies the model architecture but not the full pipeline: input formats, training procedures, and serving stacks remain fragmented across stages. We present UniPinRec, which achieves full-stack unification of retrieval and ranking at Pinterest: one input format, one model, one training stage, deployed within existing serving infrastructure. A shared transformer encodes the user action sequence into candidate-independent representations that branch into retrieval (ANN dot-product) and ranking (cross-attention) via task-specific heads. Three ideas make this work: (1) Masked Action Modeling (MAM) eliminates interleaving, enabling weight sharing without doubling context length; (2) Blended training examples pair action sequences with feedview impression slates to satisfy both objectives jointly; (3) Cross-stage KV cache sharing reuses user-history computation from retrieval for ranking, reducing total FLOPs versus serving two independent models. Deployed in the Pinterest core surfaces, UniPinRec delivers approximately +1% online engagement lift while cutting end-to-end serving latency by 11.1% and lifting QPS by 63.6%. To our knowledge, this is the first full-stack unification of retrieval and ranking, covering inputs, model, training and serving, deployed in a production recommendation system.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 24 of its 35 references that are in the map. First posted on arXiv 29 May 2026.
Builds on
24 of 35 references.
References · 24
- 2024Flex Attention: A Programming Model for Generating Optimized Attention Kernelscited by 185
- 2025OneRec: Unifying Retrieve and Rank with Generative Recommender and Iterative Preference Alignmentcited by 173
- 2025MTGR: Industrial-Scale Generative Recommendation Framework in Meituancited by 49
- 2023TransAct: Transformer-based Realtime User Action Model for Recommendation at Pinterestcited by 35
- 2025OnePiece: Bringing Context Engineering and Reasoning to Industrial Cascade Ranking Systemcited by 18
- 2025Unlocking Scaling Law in Industrial Recommendation Systems with a Three-step Paradigm based Large User Modelcited by 15
- 2024OmniSearchSage: Multi-Task Multi-Entity Embeddings for Pinterest Searchcited by 13
- 2025Killing Two Birds with One Stone: Unifying Retrieval and Ranking with a Single Generative Recommendation Modelcited by 13
- 2025FuXi-α: Scaling Recommendation Model with Feature Interaction Enhanced Transformercited by 10
- 2025Massive Memorization with Hundreds of Trillions of Parameters for Sequential Transducer Generative Recommenderscited by 10
- 2025TransAct V2: Lifelong User Action Sequence Modeling on Pinterest Recommendationcited by 9
- 2025PinFM: Foundation Model for User Activity Sequences at a Billion-scale Visual Discovery Platformcited by 8
12 more
- 2025FuXi-β: Towards a Lightweight and Fast Large-Scale Generative Recommendation Modelcited by 6
- 2026Vectorizing the Trie: Efficient Constrained Decoding for LLM-based Generative Retrieval on Acceleratorscited by 6
- 2024Efficient user history modeling with amortized inference for deep learning recommendation modelscited by 5
- 2026GenRec: A Preference-Oriented Generative Framework for Large-Scale Recommendationcited by 5
- 2025OmniSage: Large Scale, Multi-Entity Heterogeneous Graph Representation Learningcited by 4
- 2025GRank: Towards Target-Aware and Streamlined Industrial Retrieval with a Generate-Rank Frameworkcited by 4
- 2026SMES: Towards Scalable Multi-Task Recommendation via Expert Sparsitycited by 4
- 2026OneRanker: Unified Generation and Ranking with One Model in Industrial Advertising Recommendationcited by 4
- 2024A Parameter Update Balancing Algorithm for Multi-task Ranking Models in Recommendation Systemscited by 2
- 2025SynerGen: Contextualized Generative Recommender for Unified Search and Recommendationcited by 2
- 2025xMTF: A Formula-Free Model for Reinforcement-Learning-Based Multi-Task Fusion in Recommender Systemscited by 1
- 2025MTMD: A Multi-Task Multi-Domain Framework for Unified Ad Lightweight Ranking at Pinterestcited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026PinCLIP: Large-scale Foundational Multimodal Representation at Pinterest
- 2026Generative Engine Optimization: A VLM and Agent Framework for Pinterest Acquisition Growth
- 2024Improving Pinterest Search Relevance Using Large Language Models
- 2026RelayGR: Scaling Long-Sequence Generative Recommendation via Cross-Stage Relay-Race Inference
- 2025Semantics Meet Signals: Dual Codebook Representationl Learning for Generative Recommendation
- 2026OneTrans-V2: Unifying Retrieval, Pre-rank, and Fine-rank with One Transformer in Industrial Recommender
- 2023GEMRec: Towards Generative Model Recommendation
- 2026Give Users the Wheel: Towards Promptable Recommendation Paradigm