Problem
Sequential recommenders learn from billions of interactions in the catalog and predict the next click or purchase well. They cannot take an instruction such as "Xbox games like this one" and cannot explain a pick. General language models talk fluently about products but do not know the catalog, give generic answers and lean toward popular items. Without a single model, one experience across search, recommendations and chat needs intent classifiers, routers and retrieval.
Example from the article: a user writes "I like animal and cute games" and the model returns three catalog games, such as Animal Crossing: New Leaf.
Solution in brief
Encode every item as a short sequence of discrete tokens (a semantic ID) with a residual-quantized autoencoder over text embeddings, so similar items share prefixes. Add these tokens to the vocabulary of a language model, teach it the catalog, then finetune it on user sequences and conversations. The single model recommends items, follows constraints given in chat and explains its picks.
Questions this case answers
- How to combine a sequence-based recommender with a conversational language model in one model that can be steered and can explain its choices
- How to encode catalog items as short discrete token sequences so that similar items share prefixes and a generative model can emit them
- How to let users steer recommendations in natural language when the recommender model only predicts the next click?
- How to make a language model recommend items from our own catalog without retrieval, tools or a router?
Tools and methods
- RQ-VAE — turns an item's text embedding into a 4-token semantic ID
- Qwen3-Embedding-0.6B — embeds item text
- Gemini 2.5 Flash Lite — cleans item text, extracts attributes
- SASRec — baseline and quality check for the semantic IDs
- Qwen3-8B — the language model finetuned to read and write semantic IDs
- Unsloth, PyTorch — finetuning stack in the repository
Google or a one-time email code. No password.