Abstract
Generative recommendation is emerging as a powerful paradigm that directly generates item predictions, moving beyond traditional matching-based approaches. However, current methods face two key challenges: token-item misalignment, where uniform token-level modeling ignores item-level granularity that is critical for collaborative signal learning, and semantic-collaborative signal entanglement, where collaborative and semantic signals exhibit distinct distributions yet are fused in a unified embedding space, leading to conflicting optimization objectives that limit the recommendation performance. To address these issues, we propose DiscRec, a novel framework that enables Disentangled Semantic-Collaborative signal modeling with flexible fusion for generative Recommendation. First, DiscRec introduces item-level position embeddings, assigned based on indices within each semantic ID, enabling explicit modeling of item structure in input token sequences. Second, DiscRec employs a dual-branch module to disentangle the two signals at the embedding layer: a semantic branch encodes semantic signals using original token embeddings, while a collaborative branch applies localized attention restricted to tokens within the same item to effectively capture collaborative signals. A gating mechanism subsequently fuses both branches while preserving the model's ability to model sequential dependencies. Extensive experiments on four real-world datasets demonstrate that DiscRec effectively decouples these signals and consistently outperforms state-of-the-art baselines.
1. Introduction
Generative recommendation represents a paradigm shift, treating recommendation as a sequence generation task similar to Large Language Models (LLMs). Instead of matching queries against candidates, these models autoregressively generate "semantic IDs"—sequences of discrete tokens that uniquely identify items. Despite their promise, current generative models suffer from an "identity crisis" due to two primary issues. First, token-item misalignment occurs because standard models treat all tokens uniformly, ignoring item boundaries and hindering the learning of collaborative signals (item-to-item transitions). Second, semantic–collaborative signal entanglement arises because content-based (semantic) and behavior-based (collaborative) signals have fundamentally different statistical distributions. Forcing them into a single embedding space creates optimization conflicts.
2. Methodology: The DiscRec Framework
To resolve these challenges, we propose DiscRec (Disentangled Semantic–Collaborative Modeling), which decouples these signals at the embedding layer.
2.1 Item-level Position Embeddings (IPE)
Unlike standard position embeddings that count tokens globally, IPEs assign positions based on a token's index within its specific semantic ID. This provides the model with explicit structural information about item boundaries, facilitating item-aware processing.
2.2 Dual-Branch Disentanglement
DiscRec utilizes a dual-branch architecture to process signals separately:
- Semantic Branch: Uses original token embeddings to capture inherent content-based signals.
- Collaborative Branch: Combines token embeddings with IPEs and processes them through an Item-Level Transformer. This branch employs localized attention, restricting each token's focus to others within the same item to aggregate collaborative signals effectively.
2.3 Dynamic Fusion Gate
A gating mechanism adaptively fuses the outputs of both branches. This design maintains disentangled representations at the input level while allowing for deep cross-signal interactions in subsequent Transformer layers, leveraging the complementary strengths of both signal types.
3. Empirical Analysis and Results
3.1 The "Norm Gap" Motivation
An empirical analysis of embedding norms reveals a significant distributional difference. Semantic signals (from the tokenizer's codebook) exhibit a hierarchical decay, whereas collaborative signals (learned during recommendation) are more uniform. This "oil and water" relationship confirms the necessity of disentanglement.
3.2 Performance Evaluation
We evaluated DiscRec on four Amazon Review datasets (Beauty, Musical Instruments, Toys, and Arts). DiscRec was integrated into two state-of-the-art generative frameworks, TIGER and LETTER.
- Significant Gains: DiscRec-L (based on LETTER) achieved a 15.0% relative improvement in Recall@10 and a 16.7% improvement in NDCG@5 on the Beauty dataset compared to the baseline.
- Robustness: The model showed consistent improvements across various user history lengths and for long-tail items.
- Efficiency: DiscRec adds minimal computational overhead, maintaining efficiency comparable to baseline models.
4. Conclusion
DiscRec successfully addresses the challenges of token-item misalignment and signal entanglement in generative recommendation. By introducing item-level position embeddings and a dual-branch architecture, it enables more effective learning of both semantic and collaborative signals. Future work will explore adapting DiscRec to larger LLMs and incorporating advanced disentanglement techniques like contrastive learning.
Summary updated