NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DiffGRM: Diffusion-based Generative Recommendation Model

Zhao Liu, Yichen Zhu, Yiqing Yang, Xiao Lv, Guoping Tang, Rui Huang, Qiang Luo, Ruiming Tang, Guorui Zhou

TL;DR

DiffGRM is a novel generative recommendation framework that replaces traditional autoregressive decoders with a masked discrete diffusion model. By moving away from strict left-to-right generation, the model can exploit bidirectional relationships between item attributes and focus its "learning budget" on the most difficult-to-predict parts of an item's ID, resulting in performance gains of up to 15.5% over state-of-the-art baselines.

What Problem Does This Paper Address?

In the emerging field of Generative Recommendation (GR), items are represented as "Semantic IDs" (SIDs)—sequences of tokens that describe an item (e.g., a 4-digit ID where digits represent Category, Brand, Type, and Size). Most current GR models use Autoregressive Models (ARMs), similar to GPT, to predict these IDs one digit at a time from left to right.

The authors identify two major flaws in this approach:

  1. Intra-item consistency barriers: ARMs are "causal," meaning they only look at previous digits. If the model makes a mistake on the first digit, that error propagates. It cannot use "future" evidence (like a specific Size) to correct an earlier mistake (like a wrong Brand).
  2. Inter-digit heterogeneity: Not all digits are created equal. Predicting a broad "Category" is easy, while predicting a specific "Brand" is hard. ARMs treat every digit with equal importance during training, leading to "overtraining" on easy digits and "undertraining" on the hard ones that actually distinguish items.

Methods

To solve these issues, DiffGRM introduces a Masked Discrete Diffusion Model (MDM) architecture. Instead of predicting sequentially, it starts with a fully masked ID and "denoises" it into a valid item. Key innovations include:

  • Parallel Semantic Encoding (PSE): Traditional tokenizers use a hierarchical approach that forces a left-to-right dependency. PSE uses an orthogonal rotation technique (OPQ) to decouple the digits, making them independent and suitable for parallel, any-order prediction.
  • On-policy Coherent Noising (OCN): This is a "smart" training strategy. Instead of masking digits at random, the model "probes" itself to see which digits it is most uncertain about. It then prioritizes masking these "hard" digits during training, forcing the model to learn from the most informative signals.
  • Confidence-guided Parallel Denoising (CPD): During inference, the model doesn't follow a fixed order. It fills in the digits it is most confident about first. This "easy-first" approach provides a clearer context for the model to then resolve the remaining, more difficult digits.

Datasets

The authors evaluated DiffGRM on three widely used categories from the Amazon Reviews dataset:

  • Sports and Outdoors
  • Beauty
  • Toys and Games

These datasets are standard benchmarks for testing how well a model can predict the next item a user will interact with based on their history.

Key Insights and Ideas

  • Item IDs are not Sentences: The core "aha" moment is that item attributes (Category, Brand, etc.) exist simultaneously. Unlike a sentence where word order defines meaning, item attributes are a set. Diffusion models are naturally better at handling this "set-like" structure than autoregressive models.
  • Solving the Combinatorial Explosion: In diffusion, there are $2^n$ possible ways to mask an $n$-digit ID. Training on all of them is impossible. By using OCN, the authors show that you only need to focus on a small subset of "hard" masking patterns to achieve superior results.
  • Bidirectional Verification: Because the model is non-causal, every digit can "see" every other digit. This allows for mutual verification—the model can ensure the "Brand" it predicts actually makes sense given the "Category" and "Type" it sees in the rest of the ID.

Key Results

DiffGRM achieved state-of-the-art results across all three datasets, significantly outperforming both discriminative models (like SASRec) and other generative models (like TIGER).

  • NDCG@10 Improvements: The model improved NDCG@10 (a measure of ranking quality) by 15.5% on Sports, 8.2% on Beauty, and 6.9% on Toys compared to the strongest baselines.
  • Efficiency: Despite the complexity of diffusion, the authors found that because the encoder is shared and the decoder runs in parallel, the actual "wall-clock" latency is very close to traditional autoregressive models.
  • Ablation Success: Removing any of the three core components (PSE, OCN, or CPD) led to a significant drop in performance, proving that the synergy between parallel encoding and uncertainty-aware training is vital.

Limitations and Future Work

  • Inference Overhead: While parallel, the "Confidence-guided Parallel Denoising" requires a global beam search which adds some computational cost compared to simple greedy decoding.
  • Scalability to Massive Catalogs: The experiments were conducted on datasets with ~10k-20k items. Future research is needed to determine how well this diffusion approach scales to industrial-scale catalogs with millions of items and longer SIDs.
  • Tokenization Dependency: The model's performance is still heavily tied to the quality of the initial text embeddings. The authors suggest that better integration of collaborative filtering signals during the tokenization phase could further boost results.

Summary updated

BibTeX
@inproceedings{liu2026diffgrm,
  author = {Zhao Liu and Yichen Zhu and Yiqing Yang and Xiao Lv and Guoping Tang and Rui Huang and Qiang Luo and Ruiming Tang and Guorui Zhou},
  title = {{DiffGRM: Diffusion-based Generative Recommendation Model}},
  booktitle = {The Web Conference},
  year = {2026},
  doi = {10.1145/3774904.3792156},
}

Loading related content...

Figure