Lune

ICLR2025Top-tier venue

Efficient Inference for Large Language Model-based Generative Recommendation

Xinyu Lin, Chaoqun Yang, Wenjie Wang, Yongqi Li, Cunxiao Du, Fuli Feng, See-Kiong Ng, Tat-Seng Chua

Abstract

Large Language Model (LLM)-based generative recommendation has achieved notable success, yet its practical deployment is costly particularly due to excessive inference latency caused by autoregressive decoding. For lossless LLM decoding acceleration, Speculative Decoding (SD) has emerged as a promising solution. However, applying SD to generative recommendation presents unique challenges due to the requirement of generating top-K items (i.e., K distinct token sequences) as a recommendation list by beam search. This leads to more stringent verification in SD, where all the top-K sequences from the target LLM must be successfully drafted by the draft model at each decoding step. To alleviate this, we consider 1) boosting top-K sequence alignment between the draft model and the target LLM, and 2) relaxing the verification strategy to reduce trivial LLM calls. To this end, we propose an alignment framework named AtSpeed, which presents the AtSpeed-S optimization objective for top-K alignment under the strict top-K verification. Moreover, we introduce a relaxed sampling verification strategy that allows high-probability non-top-K drafted sequences to be accepted, significantly reducing LLM calls. Correspondingly, we propose AtSpeed-R for top-K alignment under this relaxed sampling verification. Empirical results on two real-world datasets demonstrate that AtSpeed significantly accelerates LLM-based generative recommendation, e.g., near 2× speedup under strict top-K verification and up to 2.5× speedup under relaxed sampling verification. The codes and datasets are available at https://github.com/Linxyhaha/AtSpeed .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Generating Long Semantic IDs in Parallel for Recommendation cites Inductive Generative Recommendation via Retrieval-based Speculation
  • Inductive Generative Recommendation via Retrieval-based Speculation cites Generating Long Semantic IDs in Parallel for Recommendation
  • Generating Long Semantic IDs in Parallel for Recommendation cites Recommender Systems with Generative Retrieval
  • Generating Long Semantic IDs in Parallel for Recommendation cites Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads
  • IGD: Token Decisiveness Modeling via Information Gain in LLMs for Personalized Recommendation cites Recommender Systems with Generative Retrieval
  • Inductive Generative Recommendation via Retrieval-based Speculation cites Fast Inference from Transformers via Speculative Decoding
  • APAO: Bridging the Training-Inference Gap in Generative Recommendation via Adaptive Prefix-Aware Optimization cites Order-agnostic Identifier for Large Language Model-based Generative Recommendation
  • APAO: Bridging the Training-Inference Gap in Generative Recommendation via Adaptive Prefix-Aware Optimization cites Recommender Systems with Generative Retrieval
  • Order-agnostic Identifier for Large Language Model-based Generative Recommendation cites Recommender Systems with Generative Retrieval
  • Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads cites Fast Inference from Transformers via Speculative Decoding
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. Inductive Generative Recommendation via Retrieval-based SpeculationYijie Ding, Jiacheng Li, Julian J. McAuley, Yupeng HouAAAI 2026 · 19 citations
  2. Order-agnostic Identifier for Large Language Model-based Generative RecommendationXinyu Lin, Haihan Shi, Wenjie Wang, Fuli Feng et al.SIGIR 2025 · 15 citations
  3. IGD: Token Decisiveness Modeling via Information Gain in LLMs for Personalized RecommendationZijie Lin, Yang Zhang, Xiaoyan Zhao, Fengbin Zhu et al.NeurIPS 2025 · 12 citations
  4. Generating Long Semantic IDs in Parallel for RecommendationYupeng Hou, Jiacheng Li, Ashley Shin, Jinsung Jeon et al.KDD 2025 · 4 citations
  5. APAO: Bridging the Training-Inference Gap in Generative Recommendation via Adaptive Prefix-Aware OptimizationYuanqing Yu, Yifan Wang, Weizhi Ma, Zhiqiang Guo et al.KDD 2026 · 4 citations

Builds on25

  1. SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language ModelsGuangxuan Xiao, Ji Lin, Mickaël Seznec, Hao Wu et al.ICML 2023 · 1,493 citations
  2. Fast Inference from Transformers via Speculative DecodingYaniv Leviathan, Matan Kalman, Yossi MatiasICML 2023 · 1,472 citations
  3. Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding HeadsTianle Cai, Yuhong Li, Zhengyang Geng, Hongwu Peng et al.ICML 2024 · 669 citations
  4. Recommender Systems with Generative RetrievalShashank Rajput, Nikhil Mehta, Anima Singh, Raghunandan Hulikal Keshavan et al.NeurIPS 2023 · 474 citations
  5. Mining Latent Structures for Multimedia RecommendationJinghao Zhang, Yanqiao Zhu, Qiang Liu, Shu Wu et al.ACM MM 2021 · 350 citations

Related papers

  1. Efficiency Unleashed: Inference Acceleration for LLM-based Recommender Systems with Speculative DecodingYunjia Xi, Hangyu Wang, Bo Chen, Jianghao Lin et al.SIGIR 2025 · 5 citations
  2. Alignment-Augmented Speculative Decoding with Alignment Sampling and Conditional VerificationJikai Wang, Zhenxu Tian, Juntao Li, Qingrong Xia et al.EMNLP 2025
  3. SpecASR: Accelerating LLM-based Automatic Speech Recognition via Speculative DecodingLinye Wei, Shuzhang Zhong, Songqiang Xu, Runsheng Wang et al.DAC 2025 · 7 citations
  4. Speculative Decoding with CTC-based Draft Model for LLM Inference AccelerationZhuofan Wen, Shangtong Gui, Yang FengNeurIPS 2024 · 19 citations
  5. EDSD: Entropy-Driven Design for Faster Speculative DecodingLongkai Cheng, Ximing Wang, Jiangcai Zhu, Kailai Shao et al.ACL 2026
Dusk over the sea between two cliffs drawn in fine vertical lines