TopoGR: Revealing and Preserving Latent Structure of Semantic ID in Generative Recommendation

Ziyu Zheng, Zhengshun Du, Yaming Yang, Bin Tong, Guan Wang +3 more
7/28/2026
cs.IRcs.AI

No confident code implementation found for this paper.

Abstract

Semantic ID-based generative recommendation tokenizes each item into a sequence of discrete semantic IDs and predicts the next item by generating semantic IDs. However, existing methods typically regard SIDs as independent discrete symbols, while often overlooking the topology of the learned semantic ID space.

Show full abstract

We identify a structural mismatch between tokenization and generation: the tokenizer learns a structured code space with semantic neighborhood relations, whereas the generator consumes semantic ID tokens as independent categorical symbols. Consequently, item relatedness is reduced to exact semantic ID overlap, making it difficult to identify semantically similar items whose semantic IDs do not overlap. To address this issue, we propose TopoGR, a topology-preserving generative recommendation framework based on Bit-decomposable Semantic ID(Binary SID). Each Binary SID is learned in a bit-decomposable form and can be deterministically converted to a standard integer SID, while exposing an explicit Hamming geometry. TopoGR exploits this topology at three stages: binary SID features preserve Hamming proximity at the input layer; Hamming soft targets inject topology-aware supervision; and Hamming-consistent reranking aligns candidate items with the predicted binary prototype during inference. We further verify that the Hamming topology can capture item relatedness beyond exact SID matching. Experiments on four benchmark datasets show that TopoGR consistently outperforms existing state-of-the-art baselines in recommendation performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zheng2026topogr,
  title  = {TopoGR: Revealing and Preserving Latent Structure of Semantic ID in Generative Recommendation},
  author = {Ziyu Zheng and Zhengshun Du and Yaming Yang and Bin Tong and Guan Wang and Meng Yan and Ziyu Guan and Wei Zhao},
  year   = {2026},
  eprint = {2607.25216},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.25216v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.25216.svg)](https://codeofpaper.com/paper/2607.25216)

Discussion