Instacart has rebuilt its ads retrieval system by moving from a scoring-based approach to a generative model that spells out product recommendations token by token. This new system leverages Instacart Semantic IDs (SIDs), a compressed product representation generated by an RQ-VAE, which allows for better coverage of the entire catalog, including new products, and enables the model to generalize based on semantic codewords rather than just memorizing specific product co-occurrences. The training process uses a contrastive loss regularized by catalog structure and hierarchical batch sampling. The system also incorporates a two-flavor strategy for precision (ESCI) and discovery (ESCI+Gemma) recommendations.
All Instacart trails