cs.IRAug 29, 2026

History-Conditioned Joint-Prefix Alignment for Generative Recommendation

Authors: Hongliang Sun, Lianjie Li, Bolin Zhang, Dianbo Sui, Dianhui Chu, Zhiying Tu

Organizations: Department of Computer Science, Weihai & Qingdao Research Institute Harbin Institute of Technology Weihai, China

Abstract

Generative recommendation retrieves items by autoregressively generating semantic identifiers, but beam search may discard a target before its complete identifier is generated. Our preliminary analysis across three benchmarks shows that most missed targets are pruned within the first two decoding steps, highlighting the importance of early prefix retention. However, retaining a target's first-token branch alone is insufficient if its continuation is pruned at the next step: aligning only the first-token distribution improves first-token survival but yields little gain in complete-path retention. This observation motivates joint supervision of early branches and their continuations. We propose Prefix Alignment with Temporal History (PATH), which aggregates transition statistics from the training corpus over recent interactions with exponential decay to construct history-conditioned two-token prefix targets. PATH aligns the model's joint predictions with these targets through forward KL divergence, using a chain-rule decomposition that enables unbiased Monte Carlo estimation. At inference time, PATH reuses the transition statistics for pointwise mutual information (PMI) calibration, reranking completed candidates relative to global prefix frequency. Experiments on Beauty, Instruments, and Yelp demonstrate the effectiveness of PATH, showing consistent improvements in recommendation performance and higher full-SID survival rates.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. EchoRec: Multi-Item Prediction-Empowered Generative Recommendation via Cycle-Consistent Preference Alignment

    Aug 14, 2026Haokai Ma, Aoqi Hu, Yueao Xing +5Recommender SystemsGenerative Recommendation

  2. Learning from Unreachable Rewards: Hint-Conditioned Reinforcement Learning for Generative Recommendation

    Aug 12, 2026Kangning Zhang, Haotian Fang, Xukun Luo +6Sequential RecommendationRL for Recommendation

  3. AlignPoison: Conditional Targeted Poisoning of Generative Recommenders via Decoding-Aligned Prefixes

    Oct 10, 2026Zhuoxuan Zhang, Jinhao Duan, Xinyu Zhao +7Data Poisoning AttacksGenerative Recommendation