Source-linked AI summary
Inductive Generative Recommendation via Retrieval-based Speculation
Yijie Ding, Jiacheng Li, Julian McAuley, Yupeng Hou
TL;DR
GR models are expected to recommend unseen items through semantic token generation, but empirically favor items seen during training. SpecGR combines an inductive drafter with a GR verifier and guided re-drafting, achieving strong inductive and overall recommendation performance across three datasets.
Problem
GR models struggle to recommend unseen items because they favor seen semantic ID sequences and overfit patterns present in training data.
Source: Introduction · p. 1Method
SpecGR uses an inductive drafter to propose candidates, a GR model to verify and rank them, and guided re-drafting to align candidates with verifier-generated prefixes.
Source: Introduction · p. 2, Guided Re-drafting · p. 4Results
SpecGR demonstrates strong inductive and overall recommendation performance in experiments on three public datasets.
Source: Introduction · p. 2, Conclusion · p. 7Takeaways & Limitations
SpecGR extends GR models to recommend new items while retaining the GR verifier’s ranking role through auxiliary or parameter-efficient self-drafting.
Source: Conclusion · p. 7The inductive setting assumes new items already have assigned semantic ID patterns and can be parsed when generated outputs match those patterns.
Source: Problem Setup and Formulation · p. 3
Abstract
from arXiv · showhide
Generative recommendation (GR) is an emerging paradigm that tokenizes items into discrete tokens and learns to autoregressively generate the next tokens as predictions. While this token-generation paradigm is expected to surpass traditional transductive methods, potentially generating new items directly based on semantics, we empirically show that GR models predominantly generate items seen during training and struggle to recommend unseen items. In this paper, we propose SpecGR, a plug-and-play framework that enables GR models to recommend new items in an inductive setting. SpecGR uses a drafter model with inductive capability to propose candidate items, which may include both existing items and new items. The GR model then acts as a verifier, accepting or rejecting candidates while retaining its strong ranking capabilities. We further introduce the guided re-drafting technique to make the proposed candidates more aligned with the outputs of generative recommendation models, improving the verification efficiency. We consider two variants for drafting: (1) using an auxiliary drafter model for better flexibility, or (2) leveraging the GR model's own encoder for parameter-efficient self-drafting. Extensive experiments on three real-world datasets demonstrate that SpecGR exhibits both strong inductive recommendation ability and the best overall performance among the compared methods. Our code is available at: https://github.com/Jamesding000/SpecGR.
Introduction
Generative recommendation tokenizes items into semantic IDs and autoregressively generates recommendations, but struggles to produce unseen items despite its expected inductive capability. SpecGR addresses this gap by drafting candidates with an inductive model, verifying them with a GR model, and improving candidate alignment through guided re-drafting.
Introduction
- GR models systematically favor seen semantic ID sequences, yielding near-zero recommendation performance on unseen items.The paper attributes this behavior to overfitting semantic ID patterns observed during training.Source: Introduction · p. 1
- Unlike ID-based transductive methods, GR is designed to use semantic correlations and generate tokens for previously unseen items.Conventional ID-based models cannot recommend items whose IDs were absent during training.Source: Introduction · p. 1
- SpecGR uses an inductive KNN-based drafter to propose candidates and a GR verifier to accept, reject, and rank them.This preserves the GR model’s recommendation strengths while admitting candidates that may include new items.Source: Introduction · p. 2
- Guided re-drafting steers later candidate batches toward semantic ID prefixes generated by the verifier, improving alignment with GR outputs.The drafter is restricted to candidates whose prefixes match verifier-generated beam sequences.Source: Introduction · p. 2
- SpecGR is evaluated on three public datasets using chronological splits that expose models to new items appearing over time.The experiments report improved unseen-item recommendation and strong overall performance compared with existing methods.Source: Introduction · p. 2
Methodology
SpecGR formulates inductive sequential recommendation as a draft-and-verify process: an inductive drafter proposes candidates, while the GR model verifies and ranks them. Guided re-drafting, unbiased likelihood scoring, and encoder-based self-drafting extend this framework to unseen items.
Inductive Drafting
- SpecGR takes an input sequence and uses an inductive drafter to propose candidate items, including items absent from training, before GR-based verification.The drafter may be any inductive recommendation model and returns a set Q of δ candidates.Source: Speculative Generative Recommendation · p. 3, Inductive Drafting · pp. 3–4
Target-aware Verifying
- The GR verifier accepts candidates whose target-aware likelihood exceeds γ, retaining candidates that are plausible targets of the input sequence.Likelihood scores are normalized by semantic-ID length to reduce bias from differing lengths.Source: Target-aware Verifying · p. 4
- Verification excludes each item’s identification token because its probability is primarily noise for unseen items, producing fairer scores for new candidates.The verifier instead scores the remaining semantic-ID digits.Source: Target-aware Verifying · p. 4
Guided Re-drafting
- If too few candidates are accepted, guided re-drafting uses GR-generated beam prefixes to constrain the next drafter proposal set.The verifier produces j-digit prefixes, and subsequent candidates must match those prefixes.Source: Guided Re-drafting · p. 4
Self-Drafting via GR Encoder
- SpecGR++ reuses the GR encoder for inductive drafting, encoding item semantic IDs and user-history sequences before KNN retrieval.This self-drafting design addresses communication latency and distribution shift associated with an auxiliary drafter.Source: Self-Drafting via GR Encoder · p. 5
- SpecGR++ jointly trains contrastive and generation objectives, then applies learning-to-rank fine-tuning to strengthen semantic-ID encoder representations.The multi-task loss is L = λ1LCL + LGen, while fine-tuning uses L′ = λ2LCE + LGen.Source: Self-Drafting via GR Encoder · p. 5
Experiments
Across three public datasets, SpecGR improves inductive recommendation by combining inductive drafting with GR-based verification, while achieving the strongest overall performance among compared methods. Ablations and hyperparameter analyses show that its drafting, verification, training, and adaptive inference components govern the trade-off between unseen-item coverage, in-sample quality, and efficiency.
Overall performance
- SpecGR consistently achieves the best overall performance across three datasets, reaching up to +14.8% in NDCG@50 and +20.64% in Recall@50 over the best baseline.SpecGR++ also provides better parameter efficiency with comparable performance to the auxiliary-drafter SpecGRAux.Source: Performance Analysis (RQ1) · pp. 5–6, Table 1 · p. 6
Subset Analysis
- SpecGR improves unseen-item generalization without compromising in-sample quality by combining inductive drafting with GR-based verification and target-aware likelihood filtering.TIGER performs strongly in-sample but fails on unseen items, whereas heuristic candidate blending introduces irrelevant items and degrades overall quality.Source: Performance Analysis (RQ1) · p. 6, Table 2 · p. 6
SpecGR Inference Framework
- Inductive drafting and likelihood adjustment add meaningful unseen candidates, while guided re-drafting, verification-based re-ranking, and adaptive exiting preserve recommendation quality.Removing verification-based re-ranking or adaptive exiting causes performance degradation, confirming their role in balancing in-sample accuracy and inductive capability.Source: Ablation Study (RQ2) · p. 6, Table 3 · p. 7
SpecGR++ Training Paradigm
- Contrastive pretraining substantially improves SpecGR++ representation quality, and subsequent fine-tuning further refines performance compared with directly using TIGER encoder states.The ablation supports the two-stage training design for inductive recommendation.Source: Ablation Study (RQ2) · p. 6
Hyperparameter Analysis
- Increasing draft size raises unseen-item coverage but can reduce in-sample metrics, while larger beam size improves in-sample performance at the cost of inductive ability.The threshold γ controls candidate acceptance and the performance-efficiency trade-off; it is selected using an elbow criterion balancing performance gains against latency.Source: Hyperparameter Analysis (RQ3) · p. 7, Figure 3 · p. 7
Plug-and-Play Framework
- SpecGR improves overall performance by approximately 15% on average across TIGER and DSI backbones and multiple drafters, demonstrating plug-and-play robustness.The framework works with lightweight retrieval, modality-based, and GR-encoder drafters while enabling strong inductive recommendation.Source: Plug-and-Play Framework (RQ4) · p. 7, Table 4 · p. 7
Conclusion
SpecGR extends generative recommendation models with inductive recommendation capability through a plug-and-play framework.
- SpecGR extends generative recommendation models for inductive recommendation.Source: Conclusion · p. 7
- The framework uses an inductive drafter and GR verifier to support strong inductive and overall recommendation performance.Source: Conclusion · p. 7
Recommendation
Cold-start recommendation draws on external information because new items lack interaction history. Existing approaches use content, graph, cross-domain, and language-model knowledge sources.
- Cold-start recommendation addresses newly added items with limited or no historical interactions.Such settings require leveraging external knowledge.Source: Recommendation · p. 12
Content features
- Content-based methods use titles, descriptions, and categories to represent cold-start items.Source: Recommendation · p. 12
Graph relations
- Graph-based methods model higher-order user-item relationships, but sparse interaction signals make information propagation to cold-start items difficult.Source: Recommendation · p. 12
Cross-domain information
- Cross-domain methods transfer generalizable patterns from data-rich domains, while accounting for discrepancies between domains.Source: Recommendation · p. 12
World knowledge from LLMs
- LLM-based recommendation methods use web-scale world knowledge to understand cold-start items, often through prompting or fine-tuning.Source: Recommendation · p. 12
Additional Implementation Details
The implementation trains SpecGR++ with distributed data parallelism and evaluates the effect of embedding-task batch size on validation performance.
- SpecGR++ is trained with distributed data parallelism on four RTX A6000 GPUs using fixed random seed 42.Pretraining uses generation and contrastive losses with effective batch size 2048 for contrastive learning.Source: SpecGR++ Training Details · p. 12
- The draft threshold γ is tuned from -1.1 to -1.8, while beam size β and draft size δ are set to 50 or K.Source: SpecGR++ Training Details · p. 13
- SpecGR++ uses larger effective embedding-task batches than generative-task batches to provide stronger negative training signals.Source: Embedding Batch Size Ablation · p. 13
- Larger embedding batch sizes improve the performance of embeddings from SpecGR’s encoder.Source: Embedding Batch Size Ablation · p. 13, Table A1 · p. 13
- Baseline implementations include TIGER, Recformer, and LIGER, with item text embeddings obtained from a pretrained T5 sentence encoder.Source: Baseline Model Reproductions · p. 13
TIGERC Implementation
The TIGER-based implementation retrieves unseen items whose semantic prefixes match generated candidates, while guided re-drafting improves verification and recommendation performance.
TIGERC Implementation
- TIGER generates top-K candidates, after which unseen items sharing a semantic prefix are retrieved and appended under the tuned proportion limit ϵ.If x unseen candidates are retrieved, they are appended after the first K − x generated candidates.Source: TIGERC Implementation · p. 13
Case Study: Guided Redrafting
- Guided re-drafting enhances overall performance by using the generative backbone to refine redrafted candidates.Source: Case Study: Guided Redrafting · p. 13
TIGERC Implementation
- Table A2 reports dataset statistics, including the proportion of interactions with unseen target items, item counts, and interaction counts.Source: Table A2 · p. 13
Case Study: Guided Redrafting
- Table A3 compares acceptance rates per decoding step with and without guided re-drafting at γ = −1.4.Source: Table A3 · p. 13
- Guided re-drafting increases later-step acceptance and raises unseen-subset recall and NDCG by approximately 10%.The mechanism constrains later drafting toward higher-quality candidate regions.Source: Case Study: Guided Redrafting · p. 13
Ablation: Comparison with Ensemble
SpecGRAux is compared with three ensemble strategies combining TIGER and UniSRec scores or rankings.
Ablation: Comparison with Ensemble
- All ensemble methods have unseen-item performance bounded by their two base models.The comparison includes score-based, ranking-based, and two-stage ensembles.Source: Methods · p. 13
- The Score-based Ensemble linearly combines TIGER likelihoods with UniSRec ranking scores.Source: Methods · p. 13
- The Ranking-based and 2-Stage Ensembles address score-scale mismatch or rerank UniSRec-selected candidates with TIGER.Source: Methods · p. 13
Inference Speed Acceleration
SpecGR accelerates generative recommendation by drafting candidates for verification, reducing autoregressive decoding while preserving recommendation performance. Its acceleration improves with longer semantic IDs and favorable drafting acceptance.
Inference Speed Acceleration
- SpecGR uses retrieval-based drafting so candidates can be efficiently verified, significantly reducing required autoregressive decoding steps.The framework separates drafting and verification, with the GR model serving as verifier.Source: Inference Speed Acceleration · pp. 13–14
- 1.7× inference speedup is achieved with 4-digit semantic IDs, and longer IDs yield higher acceleration because fewer decoding steps are needed per item.Source: Acceleration w.r.t. Generation Length · p. 14, Figure A1 · p. 14
- SpecGR’s expected runtime combines drafting, encoding, and verification costs, while verification and beam search proceed in parallel at Cdecoder per iteration.The standard GR baseline decodes all l semantic-ID tokens, whereas SpecGR uses drafting and acceptance probability to reduce iterations.Source: Theoretical Time Complexity · p. 14
- SpecGR consistently outperforms traditional GR models across drafting methods, with acceleration depending on acceptance probability and drafter choice.SemanticKNN retrieves candidates using mean text embeddings from the five most recent items.Source: Empirical Acceptance Rates and Speedup · p. 14, Table A7 · p. 15, Scalability Analysis · p. 15
- Acceleration scales favorably with model size and semantic-ID length, including linear growth with ID length and quantitative support from Figure A1.Source: Scalability Analysis · p. 15
Additional Further Analysis
Further analyses show that SpecGR extends beyond standard recommendation to subset ranking and controllable deployment trade-offs. These capabilities support efficient ranking and adaptation to changing platform needs.
Additional Further Analysis
- 3.5× speedup is achieved for subset sizes below 10^4 versus TIGER with constrained beam search.SpecGR restricts the drafter to the specified subset and remains bounded by full-ranking complexity as retrieval size increases.Source: Subset Ranking · p. 15, Figure A2 · p. 15
- SpecGR supports controllable inductive ability and inference speed through adjustable hyperparameters.Platforms can favor new items or established products and trade performance for faster inference during high-traffic periods.Source: Other New Capabilities · pp. 15–16
- Across broader recommendation scenarios, SpecGR retains generative-recommendation scalability while extending high performance and low inference speed.Table A9 compares SpecGR with existing models across scenarios and capabilities.Source: Other New Capabilities · p. 16, Table A9 · p. 16
Further discussion on SpecGR++ Architecture
SpecGR++ uses the GR encoder as a self-drafter, reducing the need for a separate drafting model. Shared representations improve acceptance and preserve generative performance.
Further discussion on SpecGR++ Architecture
- SpecGR++ uses intermediate encoder outputs for drafting, adding nearly no inference computation or parameter size compared with GR.Its additional embedding-training tasks make training slightly longer.Source: Further discussion on SpecGR++… · p. 16, Parameter Efficiency and Speed · p. 16
- The self-drafter achieves a higher acceptance rate because both drafter and verifier use the encoder representation, requiring fewer decoding steps.Source: Unified Representation Space · p. 16
- SpecGR++ shows a slight generative-performance increase after pretraining compared with generation-only training.The paper interprets this as evidence that generation and representation learning are not conflicting tasks in recommendation.Source: Unified Representation Space · p. 16
Related papers
This paper cites
- GPT-4 Technical Report2023
- Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer2019
- LLaMA: Open and Efficient Foundation Language Models2023
- A Simple Framework for Contrastive Learning of Visual Representations2020
- Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks2017
- A Comprehensive Survey on Graph Neural Networks2019