# SynerGen: Contextualized Generative Recommender for Unified Search and Recommendation

arXiv: https://arxiv.org/abs/2509.21777 · HTML: https://mlsanity.com/paper/2509.21777/

## Key facts

- Cited by 2 papers in the map (data through 14 Oct 2026).
- Builds on 20 of its 28 references that are in the map.
- First posted on arXiv 26 Sep 2025.

## Builds on (most cited first, 20 of 20)

- [Attention Is All You Need](https://mlsanity.com/paper/1706.03762/) (2017)
- [Representation Learning with Contrastive Predictive Coding](https://mlsanity.com/paper/1807.03748/) (2018)
- [RoFormer: Enhanced Transformer with Rotary Position Embedding](https://mlsanity.com/paper/2104.09864/) (2021)
- [Self-Attentive Sequential Recommendation](https://mlsanity.com/paper/1808.09781/) (2018)
- [BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformer](https://mlsanity.com/paper/1904.06690/) (2019)
- [LLM2Vec: Large Language Models Are Secretly Powerful Text Encoders](https://mlsanity.com/paper/2404.05961/) (2024)
- [Actions Speak Louder than Words: Trillion-Parameter Sequential Transducers for Generative Recommendations](https://mlsanity.com/paper/2402.17152/) (2024)
- [OneRec: Unifying Retrieve and Rank with Generative Recommender and Iterative Preference Alignment](https://mlsanity.com/paper/2502.18965/) (2025)
- [HLLM: Enhancing Sequential Recommendations via Hierarchical Large Language Models for Item and User Modeling](https://mlsanity.com/paper/2409.12740/) (2024)
- [MTGR: Industrial-Scale Generative Recommendation Framework in Meituan](https://mlsanity.com/paper/2505.18654/) (2025)
- [When Search Meets Recommendation: Learning Disentangled Search Representation for Recommendation](https://mlsanity.com/paper/2305.10822/) (2023)
- [A Transformer-based Embedding Model for Personalized Product Search](https://mlsanity.com/paper/2005.08936/) (2020)
- [A Zero Attention Model for Personalized Product Search](https://mlsanity.com/paper/1908.11322/) (2019)
- [UniSAR: Modeling User Transition Behaviors between Search and Recommendation](https://mlsanity.com/paper/2404.09520/) (2024)
- [Generative Retrieval with Preference Optimization for E-commerce Search](https://mlsanity.com/paper/2407.19829/) (2024)
- [Towards Large-scale Generative Ranking](https://mlsanity.com/paper/2505.04180/) (2025)
- [USER: A Unified Information Search and Recommendation Model based on Integrated Behavior Sequence](https://mlsanity.com/paper/2109.15012/) (2021)
- [Unified Generative Search and Recommendation](https://mlsanity.com/paper/2504.05730/) (2025)
- [A Unified Search and Recommendation Framework Based on Multi-Scenario Learning for Ranking in E-commerce](https://mlsanity.com/paper/2405.10835/) (2024)
- [Unifying Search and Recommendation with Dual-View Representation Learning in a Generative Paradigm](https://mlsanity.com/paper/2504.06714/) (2025)

## Built on by (most cited first, 2 of 2)

- [UniPinRec: Unifying Generative Retrieval and Ranking at Pinterest Scale](https://mlsanity.com/paper/2606.00422/) (2026)
- [AIGQ: An End-to-End Hybrid Generative Architecture for E-commerce Query Recommendation](https://mlsanity.com/paper/2603.19710/) (2026)

## Abstract (arXiv)

The dominant retrieve-then-rank pipeline in large-scale recommender systems suffers from mis-calibration and engineering overhead due to its architectural split and differing optimization objectives. While recent generative sequence models have shown promise in unifying retrieval and ranking by auto-regressively generating ranked items, existing solutions typically address either personalized search or query-free recommendation, often exhibiting performance trade-offs when attempting to unify both. We introduce textitSynerGen, a novel generative recommender model that bridges this critical gap by providing a single generative backbone for both personalized search and recommendation, while simultaneously excelling at retrieval and ranking tasks. Trained on behavioral sequences, our decoder-only Transformer leverages joint optimization with InfoNCE for retrieval and a hybrid pointwise-pairwise loss for ranking, allowing semantic signals from search to improve recommendation and vice versa. We also propose a novel time-aware rotary positional embedding to effectively incorporate time information into the attention mechanism. textitSynerGen achieves significant improvements on widely adopted recommendation and search benchmarks compared to strong generative recommender and joint search and recommendation baselines. This work demonstrates the viability of a single generative foundation model for industrial-scale unified information access.
