Enhancing Item Tokenization for Generative Recommendation through Self-Improvement

Runjin Chen, Mingxuan Ju, Ngoc Bui, Dimosthenis Antypas, Stanley Cai, Xiaopeng Wu, Leonardo Neves, Zhangyang Wang, Neil Shah, Tong ZhaoarXiv 2024 · DOI

Introduction

Generative recommendation systems leverage the power of Large Language Models (LLMs) to predict user preferences by treating items as sequences of tokens. However, a significant challenge persists in "item tokenization"—the translation of physical products into a discrete language the LLM can process. Traditional methods rely on text-based titles, numeric IDs, or external quantization (e.g., RQ-VAE). These often suffer from a "Tokenization Gap," where the generated identifiers (IDs) do not align with the LLM’s internal pre-trained knowledge. This paper introduces Self-Improving Item Tokenization (SIIT), a framework that allows the LLM to iteratively refine its own item identifiers to better match its internal logic, resulting in substantial performance gains.

The SIIT Framework

SIIT is designed as a plug-and-play enhancement for existing generative recommendation models. Rather than keeping item IDs fixed, the framework treats them as learnable parameters that evolve alongside the model's training.

The SIIT framework illustrates the iterative loop between initialization, training, alignment, and refinement.

The pipeline consists of four primary stages:

  1. Initialization: Items are assigned initial IDs using standard methods like Hierarchical Clustering or RQ-VAE.
  2. Sequential Recommendation Training: The LLM is fine-tuned on user history data to predict the next item identifier in a sequence.
  3. Item-Identifier Alignment: The model performs dual tasks—generating an ID from a text description and reconstructing a description from an ID—to bridge the gap between semantic text and discrete tokens.
  4. Identifier Refinement: The model identifies "outlier" items that are difficult to align. Using beam search and a diverse token generation strategy, it generates new, more compatible identifiers while ensuring no two items share the same ID (collision avoidance).

Experimental Setup

The researchers evaluated SIIT across three real-world datasets: Amazon Instruments, Amazon Beauty, and Yelp. These datasets represent diverse domains with varying levels of semantic complexity. To ensure data quality, the authors filtered out "cold-start" users and items with fewer than five interactions.

Key Results and Discussion

SIIT demonstrated consistent improvements across all benchmarks, regardless of the initial tokenization method used. On average, the method provided an 8% boost in recommendation accuracy metrics such as Recall@10 and NDCG@10.

Performance metrics (Recall@10) improve as the model adjusts identifiers over training epochs.

As shown in the experimental results, the "Identifier Adjustment Ratio" typically starts high and decreases as the model converges on a stable, optimized set of IDs. This process leads to "Semantic Identifier Similarity," where items that are functionally similar end up with IDs that share more tokens, making it easier for the LLM to learn underlying relationships between products.

Conclusion

The SIIT framework shifts the paradigm of item tokenization from a static preprocessing step to a dynamic, self-correcting process. By allowing the LLM to "rename" items into a format it finds easier to process, the system achieves higher accuracy and better semantic alignment. Future work will focus on reducing the computational overhead of iterative refinement and testing the framework in more abstract recommendation domains.

Summary updated

BibTeX
@misc{chen2024enhancing,
  author = {Runjin Chen and Mingxuan Ju and Ngoc Bui and Dimosthenis Antypas and Stanley Cai and Xiaopeng Wu and Leonardo Neves and Zhangyang Wang and Neil Shah and Tong Zhao},
  title = {{Enhancing Item Tokenization for Generative Recommendation through Self-Improvement}},
  year = {2024},
  eprint = {2412.17171},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.17171},
}
Figure