Manuscript Offprint

arXiv:2609.03369

HypRQ-VAE: Hyperbolic Item Indexing for Long-Tail-Aware Generative Recommender Systems

Longfeng Wu, Tong Zeng, Giovanni Seni, Zhimin Peng, Bhanu Pratap Singh Rawat, Si Zhang, Yao Zhou, Lecheng Zheng, Bo Ji, Yujun Yan, Dawei Zhou

Longfeng Wu Virginia Tech longfengwu@vt.edu

Tong Zeng Virginia Tech tongzeng@vt.edu

Giovanni Seni Amazon gseni@amazon.com

Zhimin Peng Amazon zmpeng@amazon.com

Bhanu Pratap Singh Rawat Amazon rawabhan@amazon.com

Si Zhang Meta AI sizhang@meta.com

Yao Zhou Google yaozhoucosmos@google.com

Lecheng Zheng Virginia Tech lecheng@vt.edu

Bo Ji Virginia Tech boji@vt.edu

Yujun Yan Dartmouth College yujun.yan@dartmouth.edu

Dawei Zhou Virginia Tech zhoud@vt.edu

Abstract—Sequential recommender systems model user behavior as item-ID sequences, while recent generative methods cast recommendation as a language modeling task using large language models (LLMs). While this paradigm incorporates rich textual semantics, it introduces a fundamental mismatch: LLMs operate on text tokens, whereas recommender systems depend on discrete item indices. This misalignment often leads to hallucinations in generative recommendations. Existing methods attempt to bridge this gap by learning item vocabularies in Euclidean space, but they struggle to model the inherent long-tail distribution of real-world catalogs, where a small number of head items dominate, and a vast number of tail items reflect users' niche preferences. To address this issue, we introduce Hyperbolic Residual-Quantized Variational AutoEncoder (HypRQ-VAE), the first framework to learn item indexing in hyperbolic space. HypRQ-VAE leverages the unique properties of hyperbolic geometry, whose exponential volume expansion naturally accommodates the power-law structure of user-item interactions. This allows the model to encode rich textual semantics while preserving the representational fidelity of sparse, long-tail items. Experiments on three benchmark datasets show that HypRQ-VAE significantly improves the performance of recommendation, particularly in recommending tail items. Our analysis attributes these gains to the superior capacity of hyperbolic space to model item hierarchies and sparsity in generative recommendation. Our code and data are available at: https://github.com/wulongfeng/HypRQ-VAE.

Index Terms—Generative Recommendation, Semantic IDs, Hyperbolic Representation

I. INTRODUCTION

In today's data-saturated digital world, recommender systems (RS) play a crucial role in alleviating information overload by delivering personalized and relevant content, which streamlines users' decision-making and boosts service efficiency. Since user preferences dynamically evolve over time, sequential recommendation has attracted significant attention for its ability to capture the temporal patterns in user behavior. Most state-of-the-art models are built on sequentially created interaction logs where each event is encoded by an item ID [1, 2]. To model these sequences, researchers have explored a wide range of deep

learning architectures, such as GNNs [3] and Transformers [4], and enriched the basic item-ID signal with auxiliary content such as titles, descriptions, and categories. More recently, pre-trained language models (PLMs) have been introduced to better exploit the textual semantics in item metadata, further improving recommendation performance [5–7].

Figure

Fig. 1. An illustrative figure of long-tail distribution in item popularity and semantic tokens.

The remarkable success of Large Language Models (LLMs) across diverse language tasks [8–11] has inspired their application to RS by framing recommendation as a generation problem [12, 13]. However, a fundamental challenge persists: the semantic misalignment between the language representations that LLMs excel at processing and the collaborative filtering signals foundational to RS. Traditional recommenders model user behavior as sequences of discrete item IDs, while LLMs operate on textual tokens. This vocabulary mismatch hinders the effective use of LLMs for generating accurate recommendations. Although items often come with textual information through titles or descriptions, these texts often comprise tens to thousands of tokens, making it exceedingly difficult for LLMs to generate precise, real-world item recommendations without hallucination [14]. Conversely, using raw item IDs (e.g., '01234') leads to an unmanageably large, semantically meaningless vocabulary (e.g., <012><34>) [12], which fails to capture relationships among items. To bridge this gap, recent works have proposed specialized item-indexing mechanisms that construct item vocabularies and train LLMs to generate target items directly [15, 16]. A notable example is the Residual-Quantized Variational AutoEncoder (RQ-VAE) [17], a multi-level vector quantizer that recursively quantizes the residual vectors, from coarse to fine, to generate a set of codewords, producing item indices that capture the hierarchical structure of items. However, these methods typically operate in Euclidean space, which struggles with the long-tail distribution prevalent in real-world recommendation data.

Large-scale recommendation datasets commonly exhibit a pronounced long-tailed distribution [18]: a small fraction of popular “head” items dominate user interactions, while a vast number of “tail” items reflect niche interests and emerging trends. Both of them are essential for a well-rounded recommender system. Meanwhile, item semantics also follow the long-tailed distribution, as illustrated in Figure 1. With these two distributions sharing implicit correlations, popular items typically exhibit more generic semantic content, while rare items display greater semantic distinctiveness. However, traditional Euclidean methods disproportionately emphasize head items while neglecting tail items [19]. To better model this inherent imbalance, researchers have turned to hyperbolic space, whose exponentially expanding volume naturally accommodates the power-law structure of user-item interactions. Although hyperbolic recommendation models have shown promising empirical results [19, 20], two key questions remain unsolved: (1) How effective are hyperbolic models at generating item IDs? and (2) Do hyperbolic models outperform Euclidean approaches, especially for tail-items recommendation?

To answer the above questions, we introduce Hyperbolic RQ-VAE (HypRQ-VAE), a novel framework that generates semantic IDs for items in hyperbolic space. Our goal is to leverage hyperbolic geometry's exponentially increased capacity and its inherent ability for modeling hierarchical structures to provide greater representational flexibility, particularly for rare semantic concepts. We conduct a comparative analysis between hyperbolic and Euclidean models, partitioning items into the top 20% “head” (H20) and bottom 80% “tail” (T80) based on the Pareto Principle ¹. Our experiments reveal that hyperbolic models allocate substantially more representational capacity to tail items than Euclidean models (see Section IV-C). We argue that hyperbolic geometry, with its high representational capacity and its natural fit for hierarchical data, can yield richer and more discriminative representations for tail items than Euclidean embeddings. While prior research has incorporated various signals for item indexing, to the best of our knowledge, this is the first work to incorporate hyperbolic representation into the item indexing process for generative recommendation. Our main contributions are summarized as follows:

  • Problem. We are the first to explore the problem of item

Figure

Fig. 2. Illustration of the Poincaré ball model and its associated exponential and logarithmic maps.

indexing in the hyperbolic space for generative recommendation tasks, addressing the limitations of Euclidean geometry in capturing hierarchical item relationships.

  • Model. We introduce HypRQ-VAE, a novel indexing framework that integrates rich item semantics with a hyperbolic geometry naturally suited to the long-tailed distribution characteristic of recommender systems.

  • Evaluation. We conduct extensive experiments on three widely adopted datasets (Instruments, Arts from the Amazon, and MovieLens) with standard sequential models and competing indexing strategies, demonstrating the effectiveness of our approach, especially on tail items. Our in-depth analysis highlights how hyperbolic representations contribute to these improvements.

References (46)