UniGRec: Unified Generative Recommendation with Soft Identifiers for End-to-End Optimization

Jialei Li, Yang Zhang, Yimeng Bai, Shuai Zhu, Ziqi Xue +5 more
1/24/2026
cs.IRcs.LG

Official code: Jialei-03/UniGRec (13 stars, BSD-3-Clause, last commit 2026-01-27).

Abstract

Generative recommendation has recently emerged as a transformative paradigm that directly generates target items, surpassing traditional cascaded approaches. It typically involves two components: a tokenizer that learns item identifiers and a recommender trained on them. Existing methods often decouple tokenization from recommendation or rely on asynchronous alternating optimization, limiting full end-to-end alignment. To address this, we unify the tokenizer and recommender under the ultimate recommendation objective via differentiable soft item identifiers, enabling joint end-to-end training. However, this introduces three challenges: training-inference discrepancy due to soft-to-hard mismatch, item identifier collapse from codeword usage imbalance, and collaborative signal deficiency due to an overemphasis on fine-grained token-level semantics. To tackle these challenges, we propose UniGRec, a unified generative recommendation framework that addresses them from three perspectives. UniGRec employs Annealed Inference Alignment during tokenization to smoothly bridge soft training and hard inference, a Codeword Uniformity Regularization to prevent identifier collapse and encourage codebook diversity, and a Dual Collaborative Distillation mechanism that distills collaborative priors from a lightweight teacher model to jointly guide both the tokenizer and the recommender. Extensive experiments on real-world datasets demonstrate that UniGRec consistently outperforms state-of-the-art baseline methods. Our codes are available at https://github.com/Jialei-03/UniGRec.

View on arXivView PDF

Code Implementations(1)

Jialei-03/UniGRecOfficial100%
BSD-3-Clause

Official implementation of "UniGRec: Unified Generative Recommendation with Soft Identifiers for End-to-End Optimization"

132Shell, PythonJan 24, 20268 months agoBSD-3-Clause

Similar Papers

Cite this paper

@article{li2026unigrec,
  title  = {UniGRec: Unified Generative Recommendation with Soft Identifiers for End-to-End Optimization},
  author = {Jialei Li and Yang Zhang and Yimeng Bai and Shuai Zhu and Ziqi Xue and Xiaoyan Zhao and Dingxian Wang and Frank Yang and Andrew Rabinovich and Xiangnan He},
  year   = {2026},
  eprint = {2601.17438},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.17438v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.17438.svg)](https://codeofpaper.com/paper/2601.17438)

Discussion