Generative Recommendation with Semantic IDs: A Practitioner's Handbook

TL;DR

GRID framework enhances generative recommendation using Semantic IDs, significantly improving Recall@10.

cs.IR 🔴 Advanced 2025-07-30 8 views
Clark Mingxuan Ju Liam Collins Leonardo Neves Bhuvesh Kumar Louis Yufeng Wang Tong Zhao Neil Shah
generative recommendation semantic IDs framework open-source deep learning

Key Findings

Methodology

This paper introduces the GRID framework, designed specifically for generative recommendation systems using Semantic IDs (SIDs) to convert continuous semantic representations into discrete ID sequences. GRID's modular design facilitates component swapping and rapid iteration. Core components include the Semantic ID tokenizer and sequential recommender, supporting various quantization algorithms like RQ-VAE, VQ-VAE, and Residual K-means.

Key Results

  • On the Amazon Beauty dataset, using RK-Means as the SID tokenizer achieved a Recall@10 of 0.0639, outperforming RQ-VAE's 0.0593, indicating superior recommendation performance.
  • Experiments show that using larger semantic encoders (e.g., Flan-T5-XXL) offers limited performance gains, suggesting the current framework underutilizes large language models' potential.
  • Ablation studies reveal that appropriate data augmentation and encoder-decoder architectures significantly impact performance.

Significance

The GRID framework provides a unified open-source platform for the generative recommendation field, addressing the lack of standardized frameworks in existing research. It simplifies model development and debugging, offering researchers a reliable benchmarking platform, thus advancing generative recommendation systems.

Technical Contribution

GRID's technical contributions include its modular design and innovative application of Semantic IDs. Compared to existing methods, GRID offers a more flexible component swapping mechanism, supporting various quantization algorithms, significantly enhancing model scalability and performance.

Novelty

GRID is the first open-source generative recommendation framework focusing on Semantic IDs. Unlike traditional methods, GRID achieves rapid iteration and component swapping through its modular design, significantly improving research efficiency.

Limitations

  • The GRID framework may face computational resource limitations when handling large-scale datasets, especially when training large language models.
  • There is still room for optimization in the generation and utilization of Semantic IDs, particularly in better leveraging large language models.

Future Work

Future research can explore more efficient Semantic ID generation methods and better utilization of large language models' semantic information. Additionally, GRID's applications can be expanded to more recommendation scenarios, such as real-time and personalized recommendations.

AI Executive Summary

Generative recommendation systems play a crucial role in enhancing user experiences, but existing methods lack a unified framework, slowing research progress. The GRID framework proposed in this paper uses Semantic IDs to convert continuous semantic representations into discrete ID sequences, achieving a modular design for generative recommendation systems, facilitating component swapping and rapid iteration.

The core technologies of the GRID framework include the Semantic ID tokenizer and sequential recommender, supporting various quantization algorithms like RQ-VAE and Residual K-means. Experimental results show that GRID performs excellently on multiple public datasets, particularly achieving a Recall@10 of 0.0639 on the Amazon Beauty dataset, outperforming traditional methods.

Despite significant performance improvements, the GRID framework still faces challenges in handling large-scale datasets and fully utilizing large language models. Future research can further optimize the generation and utilization of Semantic IDs and explore more application scenarios.

Deep Analysis

Background

Generative recommendation systems have gained widespread attention due to their success in vision and language domains. Traditional recommendation systems typically rely on collaborative filtering signals, whereas generative recommendation systems achieve recommendations by generating texts or extracting semantic representations from pre-trained models. Semantic IDs (SIDs) are an emerging technology that can convert continuous semantic representations into discrete ID sequences, enabling the combination of semantic information and collaborative filtering signals in generative recommendation systems.

Core Problem

Existing research on generative recommendation systems lacks a unified open-source framework, posing challenges for researchers in implementing and comparing different methods. Additionally, the generation and utilization of Semantic IDs have not been fully explored in existing research, limiting the performance improvement of generative recommendation systems.

Innovation

The GRID framework achieves rapid iteration and component swapping for generative recommendation systems through its modular design. Its core innovation lies in the application of Semantic IDs, converting continuous semantic representations into discrete ID sequences using quantization algorithms, combining semantic information and collaborative filtering signals. Moreover, GRID supports various quantization algorithms, enhancing model flexibility and performance.

Methodology

  • �� Use pre-trained modality encoders to extract semantic features of items.
  • �� Convert semantic features into Semantic IDs using quantization algorithms.
  • �� Use a sequential recommender to predict item IDs that users are likely to interact with in the future.
  • �� Support various quantization algorithms and model architectures for easy component swapping.

Experiments

Experiments were conducted on Amazon Beauty, Sports, and Toys datasets, comparing different quantization algorithms and semantic encoders. Key hyperparameters include learning rate, batch size, and model layers. Ablation studies were conducted to investigate the impact of different components on performance, showing that appropriate data augmentation and encoder-decoder architectures significantly improve performance.

Results

On the Amazon Beauty dataset, using RK-Means as the SID tokenizer achieved a Recall@10 of 0.0639, outperforming RQ-VAE's 0.0593. Experiments also show that using larger semantic encoders offers limited performance gains, suggesting the current framework underutilizes large language models' potential.

Applications

The GRID framework can be used in scenarios such as product recommendation on e-commerce platforms and content recommendation on social media. Its modular design facilitates rapid iteration and component swapping, suitable for applications requiring efficient recommendations.

Limitations & Outlook

The GRID framework may face computational resource limitations when handling large-scale datasets, especially when training large language models. Additionally, there is room for optimization in the generation and utilization of Semantic IDs, and future research can explore more efficient generation methods and broader application scenarios.

Plain Language Accessible to non-experts

Imagine you're in a library looking for a good book. Traditional recommendation systems are like librarians who recommend new books based on what you've borrowed before. Generative recommendation systems are like a smart robot that not only knows what books you've borrowed but also understands the content and themes of each book. The GRID framework is like the brain of this robot, translating the book's content into a special code (Semantic ID) to better understand and recommend books. This process is like translating the book's content into a universal language, making it easier for the robot to find books you might like.

ELI14 Explained like you're 14

Hey there! Imagine you're playing a super cool game with lots of characters and items. Traditional recommendation systems are like recommending new characters based on the ones you've used before. Generative recommendation systems are like a super smart assistant that not only knows the characters you've used but also understands each character's traits. The GRID framework is like the brain of this assistant, converting the characters' traits into a special code to better recommend characters you might like. This way, you can find more interesting characters in the game!

Glossary

Semantic ID

A technique that converts continuous semantic representations into discrete ID sequences, facilitating the combination of semantic information and collaborative filtering signals in generative recommendation systems.

Used in the GRID framework to enhance recommendation performance.

Generative Recommendation

A system that achieves recommendations by generating texts or extracting semantic representations, as opposed to traditional collaborative filtering methods.

Application scenario of the GRID framework.

Quantization Algorithm

An algorithm that converts continuous semantic features into discrete IDs, such as RQ-VAE, VQ-VAE, and Residual K-means.

Used for generating Semantic IDs.

Modular Design

A design approach that allows component swapping and rapid iteration, enhancing system flexibility and scalability.

A core feature of the GRID framework.

Ablation Study

An experimental method that investigates the impact of removing or replacing model components on overall performance.

Used to analyze the role of different components in the GRID framework.

Open Questions Unanswered questions from this research

  • 1 How to more effectively generate and utilize Semantic IDs to fully leverage the potential of large language models.
  • 2 Optimization strategies for GRID framework performance in real-time recommendation scenarios.

Applications

Immediate Applications

E-commerce Recommendation

Enhance product recommendation accuracy and user satisfaction using the GRID framework.

Social Media Content Recommendation

Utilize Semantic IDs to better understand user interests and provide personalized content recommendations.

Long-term Vision

Real-time Recommendation Systems

Explore the application of the GRID framework in real-time recommendation scenarios to enhance user experience.

Abstract

Generative recommendation (GR) has gained increasing attention for its promising performance compared to traditional models. A key factor contributing to the success of GR is the semantic ID (SID), which converts continuous semantic representations (e.g., from large language models) into discrete ID sequences. This enables GR models with SIDs to both incorporate semantic information and learn collaborative filtering signals, while retaining the benefits of discrete decoding. However, varied modeling techniques, hyper-parameters, and experimental setups in existing literature make direct comparisons between GR proposals challenging. Furthermore, the absence of an open-source, unified framework hinders systematic benchmarking and extension, slowing model iteration. To address this challenge, our work introduces and open-sources a framework for Generative Recommendation with semantic ID, namely GRID, specifically designed for modularity to facilitate easy component swapping and accelerate idea iteration. Using GRID, we systematically experiment with and ablate different components of GR models with SIDs on public benchmarks. Our comprehensive experiments with GRID reveal that many overlooked architectural components in GR models with SIDs substantially impact performance. This offers both novel insights and validates the utility of an open-source platform for robust benchmarking and GR research advancement. GRID is open-sourced at https://github.com/snap-research/GRID.

cs.IR