VaLiDRec: Variable-Length LLM-Aligned Semantic IDs for Generative Recommendation

Shutong Qiao, Wei Yuan, Tong Chen, Hao Wang, Quoc Viet Hung Nguyen +1 more
7/28/2026
cs.IRcs.AI

No confident code implementation found for this paper.

Abstract

Generative recommendation commonly represents items using fixed-length semantic identifiers (SIDs) constructed through clustering and quantization. However, these artificial codes may overcompress item semantics, remain misaligned with pretrained LLM vocabularies, and require costly autoregressive decoding.

Show full abstract

In light of this, we propose VaLiDRec, a generative recommendation framework based on variable-length, LLM-aligned semantic identifiers. VaLiDRec constructs SIDs directly from informative native LLM vocabulary tokens via token importance estimation, semantic-quality-aware pruning, and collision-aware refinement, allowing identifier lengths to adapt to item semantic complexity. To model user preferences, VaLiDRec incorporates graph-aware soft prompts and reformulates recommendation as token-set prediction with token-level item scoring, eliminating autoregressive SID generation and beam search. Experiments on four real-world datasets show that VaLiDRec consistently outperforms strong sequential and generative recommendation baselines across all evaluation metrics. It further achieves superior zero-shot item cold-start performance and 87.49$\times$ faster inference than LC-Rec. These results demonstrate that LLM-native variable-length semantic identifiers provide a more expressive and efficient paradigm for generative recommendation.

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{qiao2026validrec,
  title  = {VaLiDRec: Variable-Length LLM-Aligned Semantic IDs for Generative Recommendation},
  author = {Shutong Qiao and Wei Yuan and Tong Chen and Hao Wang and Quoc Viet Hung Nguyen and Hongzhi Yin},
  year   = {2026},
  eprint = {2607.25209},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.25209v1}
}

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.25209.svg)](https://codeofpaper.com/paper/2607.25209)

Discussion