Trie-Aware Transformers for Generative Recommendation
Zhenxiang Xu, Jiawei Chen, Sirui Chen, Yong He, Jieyu Yang, Chuan Yuan, Ke Ding, Can Wang

TL;DR
This paper introduces TrieRec, a trie-aware transformer model for generative recommendation that incorporates hierarchical item tokenization topology into the model, leading to improved prediction accuracy.
Contribution
TrieRec is a novel, model-agnostic approach that embeds structural inductive biases via specialized positional encodings to better utilize hierarchical item tokenization.
Findings
Achieved 8.83% average improvement across datasets
Effectively captures hierarchical item structure in recommendations
Enhances transformer-based generative recommendation models
Abstract
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) \textit{item tokenization}, which maps each item to a sequence of discrete, hierarchically organized tokens; and (ii) \textit{autoregressive 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 \textit{trie-aware absolute…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsRecommender Systems and Techniques · Machine Learning in Healthcare · Advanced Graph Neural Networks
