Authors: Katherine Tieu, Dongqi Fu, Si Zhang, Hanqing Zeng, Chenglin Wei, Yinglong Xia, Hong Li, Jingrui HearXiv 2611.37093

Bidirectional Across Items, Sequential Within IDs: Hierarchy-Preserving Masked Discrete Diffusion for Generative Recommendation was submitted to arXiv on 2026-11-27 by Katherine Tieu, Dongqi Fu, Si Zhang, Hanqing Zeng, Chenglin Wei, Yinglong Xia and others. Read it on arXiv or as a PDF.

Key findings

The main takeaway. Separating bidirectional cross-item attention from coarse-to-fine intra-item masking enables diffusion language models to outperform matched causal autoregressive models across evaluated cutoffs on three Amazon product recommendation benchmarks. The relative advantage of prefix-independent masking over standard discrete diffusion varies across domains, with standard masking performing better on Office and Baby products with Dream-7B-Base.

The abstract, as written

Generative recommendation represents items with hierarchical semantic IDs (SIDs) and casts next-item prediction as sequence generation. Autoregressive language models preserve the coarse-to-fine order imposed by residual quantization but apply the same causal factorization across the interaction sequence. Masked discrete diffusion enables bidirectional learning across items; however, independently masking SID components can expose a fine residual code while hiding its required coarse prefix. We introduce Hierarchy-Preserving Diffusion (HPD), a masked discrete diffusion language modeling formulation that separates two dependency levels: (1) Across SIDs, full self-attention captures relations across the interaction sequence. (2) Within each SID, prefix-independent masking restricts each corrupted sequence to an observed prefix followed by a masked suffix. HPD combines this corruption with a training pipeline that first optimizes new SID-token embeddings and output weights with a fixed backbone and then jointly optimizes all parameters. Catalog-constrained beam search decodes the target SID from coarse to fine. HPD requires no task-specific architectural changes. Across three domains, Industrial and Scientific, Office Products, and Baby Products, we compare Qwen3-8B/LLaDA-8B-Base and Qwen2.5-7B/Dream-7B-Base autoregressive/diffusion large language model (AR-LLM/dLLM) pairs. At the final checkpoint, HPD achieves higher Hit Rate and NDCG than its matched AR-LLM at every evaluated cutoff. In the 8B LLaDA comparison, HPD obtains the best or tied-best score across all 18 metric–domain combinations. Comparisons with standard MDLM and DiffGRM evaluate HPD against alternative masked discrete diffusion objectives. An ablation shows that the proposed HPD pipeline outperforms the SID-token-only variant on every metric for Dream-7B-Base on Industrial and Scientific and LLaDA-8B-Base on Baby Products.

Key terms

What the authors say it means

What to do with it

  1. Evaluate masked discrete diffusion backbones with bidirectional attention across items when developing generative next-item recommendation systems instead of relying solely on causal autoregressive factorization. Supported by: On three Amazon domains across two model pairs, HPD achieved higher Hit Rate and NDCG than matched autoregressive models at every evaluated cutoff, obtaining the best or tied-best score across all 18 metric-domain combinations in the 8B comparison.
  2. Structure discrete diffusion corruption to mask semantic ID components only from fine to coarse rather than masking components independently when working with residual-quantized items. Supported by: HPD outperformed DiffGRM on Dream-7B-Base across all three domains at every cutoff, including reaching HR@10 of 0.0906 versus 0.0605 on Industrial and Scientific, and HR@10 of 0.0546 versus 0.0194 on Office Products.
  3. Jointly fine-tune all model parameters after initializing newly added semantic ID token embeddings and output weights rather than freezing the backbone. Supported by: In ablation experiments, training all parameters improved HR@10 from 0.0762 to 0.0906 on Industrial and Scientific for Dream-7B-Base, and from 0.0072 to 0.0207 on Baby Products for LLaDA-8B-Base.
  4. Benchmark prefix-independent diffusion against standard discrete token masking on target domain catalogs before deploying a specific masking policy. Supported by: On Office Products and Baby Products with Dream-7B-Base, standard MDLM achieved higher scores across all six cutoffs than HPD, such as reaching HR@10 of 0.0573 versus 0.0546 on Office Products and 0.0374 versus 0.0331 on Baby Products.

Caveat. The empirical findings are limited to three Amazon product domains using three-level semantic IDs and two specific pairs of 7B and 8B autoregressive and diffusion models. Furthermore, on Office Products and Baby Products with Dream-7B-Base, standard MDLM achieved higher Hit Rate and NDCG across all evaluated cutoffs than HPD, showing that the benefit of prefix-independent masking over standard discrete diffusion is domain-dependent.

In short

The paper presents Hierarchy-Preserving Diffusion to address the mismatch between bidirectional attention across items and sequential dependencies within hierarchical semantic IDs. Across three Amazon benchmark domains, HPD achieved higher Hit Rate and NDCG than matched autoregressive baselines at all tested cutoffs, while scoring best or tied-best across all 18 metric-domain pairs in the 8B LLaDA evaluation. Its relative performance against standard discrete diffusion depends on the domain, with standard masking achieving higher metrics on two of the three evaluated categories with Dream-7B-Base.

Read the paper on arXiv →

Written from the paper's own text. Quoted passages are verbatim and the numbers are the authors' own. For the method and full results, read the paper.