Skip to content
OpenTrain AIFor AI Companies

Bidirectional Across Items, Sequential Within IDs: Hierarchy-Preserving Masked Discrete Diffusion for Generative Recommendation

Katherine Tieu, Dongqi Fu, Si Zhang, Hanqing Zeng, Chenglin Wei +3 morePublished Nov 27, 2026
arXiv PDF
Researcher verdict
Context only
Use as context only
Benchmark evidence
Thin evidence
Verify before relying
Time to first repro
A few days
Plan setup time
Risk flags
2
Review before use

Abstract

Domain fit: AI-core · Core AI workload signals detected from paper context and implementation/artifact evidence.

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.

Results and benchmarks

Generative recommendation represents items with hierarchical semantic IDs (SIDs) and casts next-item prediction as sequence generation.
Task Dataset Metric Value Source
Transformer Qwen3-8B NDCG@10. 0.0004 paper-derived
Transformer AR-LLM (Qwen3-8B) NDCG@10. 0.0128 paper-derived
Transformer Qwen2.5-7B NDCG@10. 0.0011 paper-derived
Transformer AR-LLM (Qwen2.5-7B) NDCG@10. 0.0189 paper-derived

Audit each benchmark finding before selecting an implementation path.

Implementation

No direct implementation yet

Maintained implementation evidence is not confirmed for this paper yet.

Use the implementation status and reproduction sections for the current action plan.

Implementation evidence summary
Confidence: low

Recommendation evidence is currently too limited for a maintained-repo choice. Use Implementation Status and Reproduction Path for a practical baseline plan.

Reproduction risks
  • Estimate is based on paper-only reproduction flow

Reproduction readiness

Time to first repro: days
Last checked: Nov 30, 2026

No repo

No verified implementation available

  • No maintained repository has been identified for this paper. Check adjacent implementations or HF artifacts below.

Hardware requirements

  • Expect multi-day setup/compute for meaningful reproduction based on current guidance.

Framework baselines

Hugging Face artifacts

No trustworthy direct or curated related Hugging Face artifacts were found yet. Use targeted searches to quickly locate candidate models, datasets, and demos.

Tip: start with models, then check datasets and spaces if you need evaluation data or demos.

Research context

Tasks

Transformer

Methods

Transformer, Diffusion, Quantization

Domains

Natural Language Processing, Large Language Models

Evaluation and human feedback data

Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.

Open in HFEPX
Explore similar papers

Jump to Paper2Code search queries derived from this paper's research context.