Traditional recommender systems operate on a "score-and-rank" paradigm: given a user and a pool of candidates, the model calculates a preference score for each item and sorts them. Recently, a new paradigm has emerged: Generative Recommendation (GR). Instead of scoring existing items, these models—often powered by Large Language Models (LLMs) or Diffusion models—directly synthesize the recommendation, either by generating an item's unique "semantic ID" or by describing the next item in natural language.
While GR models offer superior reasoning and cross-domain transfer, they face a crippling deployment hurdle: inference latency. In industrial settings like Taobao or JD.com, recommendations must be served in milliseconds. However, the autoregressive nature of generative models—predicting one token at a time—creates a linear bottleneck that scales with the length of the recommendation list.
The Autoregressive Bottleneck
The primary reason generative models are slow is the sequential dependency of decoding. To recommend a list of items, a standard LLM-based recommender must perform a forward pass for every single token in an item's identifier. As Hanbing Wang and colleagues note in Lite-LLM4Rec, this process often accounts for over 90% of total computation time.
Furthermore, to ensure accuracy, these models often use beam search, which explores multiple possible token sequences simultaneously. Xinyu Lin highlights that this requires multiple serial calls to the model, making real-time "top-K" recommendation nearly impossible for large-scale catalogs.
Speculative Decoding: Draft and Verify
One of the most successful strategies to break this bottleneck is Speculative Decoding. The intuition is simple: use a tiny, "cheap" model to guess the next few tokens (the draft) and use the large, "expensive" model only to verify them in a single parallel pass.
- AtSpeed: Xinyu Lin introduced AtSpeed, a framework that uses a draft model to predict recommendation lists. By verifying multiple tokens at once, it achieves a 2.5× speedup without losing accuracy.
- SpecGR: Yijie Ding and Julian McAuley extended this to inductive settings with SpecGR, using a retrieval-based drafter to help the generative verifier handle items never seen during training.
- Reinforcement Speculative Decoding (RSD): Tianjun Wei and Zhu Sun proposed RSD, which replaces traditional left-to-right decoding with an "up-to-down" modification strategy optimized via reinforcement learning, allowing for controllable latency budgets.
Parallel and Non-Autoregressive Generation
If the bottleneck is sequential generation, the most direct solution is to generate everything at once. Researchers are increasingly moving toward Non-Autoregressive (NAR) architectures.
Yuxin Ren and the team at Kuaishou developed NAR4Rec, the first non-autoregressive model for re-ranking. By generating the entire recommendation list simultaneously, they achieved a 5x speedup. Similarly, Yupeng Hou proposed RPG, which predicts long semantic IDs (up to 64 tokens) in a single parallel step, resulting in a 15x speedup over traditional generative baselines.
Another approach, SETRec by Xinyu Lin, represents items as order-agnostic "sets" of tokens. Since the order doesn't matter, the model can generate all tokens in the set at once, bypassing the "local optima" trap of beam search and speeding up inference by 20x.
Hierarchical Planning and Vocabulary Compression
Industrial systems often adopt a "divide and conquer" strategy to manage complexity. HiGR, developed at Tencent, uses Hierarchical Planning: the model first plans the global intent of a "slate" (a list of items) and then fills in the specific items. This coarse-to-fine approach yields a 5x speedup.
Similarly, Weinan Gan introduced Act-With-Think (CAR), which groups an item's attributes and its ID into a single "chunk." By moving from token-level to chunk-level autoregression, CAR achieves massive speedups (up to 146x) compared to standard beam search.
To avoid the overhead of multi-token generation entirely, some researchers focus on Vocabulary Expansion. Haochen Zhang and Tianyi Zhang proposed CoVE, which assigns every item in a catalog its own unique token in the LLM's vocabulary. This turns recommendation into a high-speed "next-token prediction" task, increasing inference speed by 100x compared to generating full item titles.
Two-Stage Grounding: The Best of Both Worlds
Finally, some frameworks seek to combine generative reasoning with the speed of traditional retrieval. Zhenrui Yue and Even Oldridge developed LlamaRec, which uses a "verbalizer" to extract ranking scores in a single forward pass. By bypassing token-by-token generation, they achieved a 50x speedup while maintaining the deep semantic understanding of the underlying Llama model.
Similarly, BIGRec by Keqin Bao uses a bi-step grounding paradigm: the LLM first generates a descriptive "language" representation of the item, which is then grounded to a real database ID using efficient latent space matching. This decoupling allows the LLM to "think" in language while the system "acts" with the speed of a traditional retriever.