Trie-Aware Transformers for Generative Recommendation
Not on the map. Why?
Abstract (arXiv)
Generative recommendation (GR) aligns with advances in generative AI by casting next-item prediction as token-level generation rather than score-based ranking. Most GR methods adopt a two-stage pipeline: (i) textititem tokenization, which maps each item to a sequence of discrete, hierarchically organized tokens; and (ii) textitautoregressive generation, which predicts the next item's tokens conditioned on the tokens of user's interaction history. Although hierarchical tokenization induces a prefix tree (trie) over items, standard autoregressive modeling with conventional Transformers often flattens item tokens into a linear stream and overlooks the underlying topology. To address this, we propose TrieRec, a trie-aware generative recommendation method that augments Transformers with structural inductive biases via two positional encodings. First, a textittrie-aware absolute positional encoding aggregates a token's (node's) local structural context (eg depth, ancestors, and descendants) into the token representation. Second, a textittopology-aware relative positional encoding injects pairwise structural relations into self-attention to capture topology-induced semantic relatedness. TrieRec is also model-agnostic, efficient, and hyperparameter-free. In our experiments, we implement TrieRec within three representative GR backbones, achieving notably improvements of 8.83% on average across four real-world datasets.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 29 of its 49 references that are in the map. First posted on arXiv 25 Feb 2026.
Builds on
29 of 49 references.
References · 29
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2018Self-Attentive Sequential Recommendationcited by 1,169
- 2017Neural Collaborative Filteringcited by 1,108
- 2019BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformercited by 952
- 2022Autoregressive Image Generation using Residual Quantizationcited by 706
- 2015Session-based Recommendations with Recurrent Neural Networkscited by 685
- 2018Personalized Top-N Sequential Recommendation via Convolutional Sequence Embeddingcited by 473
- 2023Text Is All You Need: Learning Language Representations for Sequential Recommendationcited by 149
- 2013From Amateurs to Connoisseurs: Modeling the Evolution of User Expertise through Online Reviewscited by 107
- 2024Learnable Item Tokenization for Generative Recommendationcited by 106
17 more
- 2018Learning Tree-based Deep Model for Recommender Systemscited by 99
- 2023Generative Recommendation: Towards Next-generation Recommender Paradigmcited by 69
- 2022Bootstrap Latent Representations for Multi-modal Recommendationcited by 55
- 2019Joint Optimization of Tree-based Index and Deep Model for Recommender Systemscited by 37
- 2025Sparse Meets Dense: Unified Generative Recommendations with Cascaded Sparse-Dense Representationscited by 35
- 2018Tree-CNN: A Hierarchical Deep Convolutional Neural Network for Incremental Learningcited by 34
- 2020Learning Optimal Tree Models Under Beam Searchcited by 26
- 2024CoST: Contrastive Quantization based Semantic Tokenization for Generative Recommendationcited by 26
- 2024Personalized Behavior-Aware Transformer for Multi-Behavior Sequential Recommendationcited by 15
- 2024LLMTreeRec: Unleashing the Power of Large Language Models for Cold-Start Recommendationscited by 13
- 2025HiD-VAE: Interpretable Generative Recommendation via Hierarchical and Disentangled Semantic IDscited by 11
- 2025MSL: Not All Tokens Are What You Need for Tuning LLM as a Recommendercited by 10
- 2025CoFiRec: Coarse-to-Fine Tokenization for Generative Recommendationcited by 10
- 2025DiscRec: Disentangled Semantic-Collaborative Modeling for Generative Recommendationcited by 8
- 2025UNGER: Generative Recommendation with A Unified Code via Semantic and Collaborative Integrationcited by 6
- 2025A Simple Contrastive Framework Of Item Tokenization For Generative Recommendationcited by 4
- 2025Act-With-Think: Chunk Auto-Regressive Modeling for Generative Recommendationcited by 4
Built on by
Not cited yet.