Abstract
Generative Recommendation (GenRec) systems typically rely on pre-processed item tokenization, which decouples identifier creation from the recommendation task. This paper introduces ETEGRec, an end-to-end framework that jointly learns item tokenization and recommendation. By utilizing a Residual Quantization Variational Autoencoder (RQ-VAE) and novel alignment strategies—Sequence-Item Alignment (SIA) and Preference-Semantic Alignment (PSA)—ETEGRec ensures that item IDs evolve to capture both user preferences and item semantics. Experimental results on Amazon datasets demonstrate that ETEGRec significantly outperforms state-of-the-art generative baselines, particularly in generalizing to unseen users.
Introduction
In Generative Recommendation (GenRec), the system predicts the next item identifier (ID) much like a Large Language Model predicts the next token in a sequence. However, a significant bottleneck exists in how these item IDs are created. Most current systems treat Item Tokenization as a static pre-processing step, assigning IDs based on text or co-occurrence before training begins. This decoupling prevents the tokenizer from adapting to the recommendation task, often resulting in suboptimal vocabularies. ETEGRec addresses this by integrating item tokenization directly into the training loop, making the "alphabet" of item tokens learnable.
Methodology
The ETEGRec framework consists of two primary components designed to work in tandem:
- Item Tokenizer (RQ-VAE): A Residual Quantization Variational Autoencoder represents items as a hierarchy of tokens. This creates a tree-like structure where semantically similar items share prefix tokens, facilitating better generalization.
- Generative Recommender: A Transformer-based architecture (similar to T5) that autoregressively predicts the tokens of the next item based on the user's interaction history.
To bridge the gap between these components, the authors propose two Recommendation-Oriented Alignment strategies:
- Sequence-Item Alignment (SIA): Aligns the user’s historical behavior (encoder state) with the target item’s token distribution.
- Preference-Semantic Alignment (PSA): Uses contrastive learning (InfoNCE) to align the user’s latent preference (decoder state) with the item's actual semantic features.
Training is stabilized using an alternating optimization technique, where the tokenizer and recommender are updated in successive cycles.
Experimental Setup
The model was evaluated on three subsets of the Amazon 2023 review dataset: Musical Instruments, Video Games, and Industrial Scientific. These datasets represent modern, large-scale interaction data and were pre-processed with a "5-core filter" to ensure data quality, with a maximum sequence length of 50 interactions per user.
Results and Discussion
ETEGRec consistently outperforms traditional sequential models (e.g., SASRec) and state-of-the-art generative baselines like TIGER and LETTER across all datasets.
Key Findings
- Accuracy Gains: On the Musical Instruments dataset, ETEGRec achieved a Recall@10 of 0.0624, surpassing the previous best generative model, LETTER (0.0581).
- Cold-Start Robustness: A significant advantage of ETEGRec is its performance on "unseen" users. The model demonstrates a stronger ability to generalize compared to baselines, suggesting that its learned tokens capture universal semantic patterns rather than just memorizing training sequences.
- Mutual Enhancement: The alignment losses (SIA and PSA) create a feedback loop where the tokenizer learns better collaborative signals and the recommender better interprets the hierarchical token structure.
Conclusion and Future Work
ETEGRec demonstrates the power of end-to-end learnable tokenization in generative recommendation. By making item IDs dynamic and task-aware, the model achieves superior accuracy and robustness. Future research will explore scaling this approach to billion-parameter models and integrating learnable tokenization into decoder-only architectures like GPT. While the training process is more intensive due to the dual-component architecture, the resulting performance gains and generalization capabilities mark a significant advancement in the field.
Summary updated