Semantic ID Hierarchy Improves Off-Policy Evaluation for Recommenders.

Artem Betlei· September 1, 2026 View original

Key takeaways

  • Generative recommenders use hierarchical semantic IDs (SIDs).
  • OPE for SIDs is challenging due to scarce item-level data.
  • Coarsening items into SID code-prefix clusters improves OPE accuracy.
  • The SID tree makes this coarsening feasible and efficient.

Who benefits

E-commerceMedia & EntertainmentSocial MediaAdvertisingRetail

Summary

This research explores using a model's internal semantic ID (SID) hierarchy for off-policy evaluation (OPE) in generative recommenders. It finds that coarsening items into code-prefix clusters using the SID tree significantly improves OPE accuracy, especially with scarce logging data, by restoring estimable support.

Generative recommender systems are increasingly using semantic IDs (SIDs), where each item is represented by a hierarchical sequence of discrete codes. Before deploying new recommender variants, teams often rely on off-policy evaluation (OPE) to assess their potential performance without costly A/B tests. This paper investigates whether the recommender model's own SID tree can be effectively used as an action abstraction for OPE. The findings indicate that direct per-item OPE is often unreliable due to insufficient sample sizes in production logs. However, by marginalizing items into code-prefix clusters, which is facilitated by the SID tree, the estimable support for OPE is restored, leading to reduced error. While the gain primarily comes from this coarsening, the SID tree makes this coarsening practical in generative systems because it provides a direct and efficient way to calculate cluster masses. The resolution depth of the coarsening acts as a crucial control knob, allowing for coarser granularity when data support is scarce. A conditional bias bound connects this coarsening bias to the quantizer's reconstruction residual and the target-logging divergence, providing a theoretical understanding of the trade-offs involved.

Why it matters

Data scientists and product managers can use this OPE method to more reliably evaluate and iterate on generative recommender systems offline, accelerating development cycles and reducing the risk of deploying suboptimal models.

How to implement this in your domain

  1. 1Adopt SID-based OPE for evaluating generative recommender system updates before A/B testing.
  2. 2Implement code-prefix clustering using the model's inherent SID hierarchy to improve OPE accuracy.
  3. 3Experiment with different resolution depths for coarsening based on data availability and desired bias-variance trade-off.
  4. 4Integrate OPE metrics into the CI/CD pipeline for recommender model development.

Original post by Artem Betlei

"arXiv:2608.28905v1 Announce Type: new Abstract: Generative recommenders increasingly emit semantic IDs (SIDs): each item is a short sequence of hierarchical discrete codes from a residual quantizer, decoded autoregressively. Before spending scarce A/B-test, a team may decide offl…"

View on X

Originally posted by Artem Betlei on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses