paper-with-me

Papers

Efficiency Unleashed: Inference Acceleration for LLM-based Recommender Systems with Speculative Decoding

2024-08-11 · Yunjia Xi, Hangyu Wang, Bo Chen, Jianghao Lin, Menghui Zhu, Weiwen Liu, Ruiming Tang, Zhewei Wei, Weinan Zhang, Yong Yu

The past few years have witnessed a growing interest in LLM-based recommender systems (RSs), although their industrial deployment remains in a preliminary stage. Most existing deployments leverage LLMs offline as feature enhancers, generating augmented knowledge for downstream tasks. However, in recommendation scenarios with numerous users and items, even offline knowledge generation with LLMs demands significant time and computational resources. This inefficiency arises from the autoregressive nature of LLMs. A promising solution is speculative decoding, a Draft-Then-Verify approach that increases the number of tokens generated per decoding step. In this work, we first identify recommendation knowledge generation as a highly fitting use case for retrieval-based speculative decoding. Then, we discern its two characteristics: (1) the vast number of items and users in RSs leads to retrieval inefficiency, and (2) RSs exhibit high diversity tolerance for LLM-generated text. Building on these insights, we introduce Lossless Acceleration via Speculative Decoding for LLM-based Recommender Systems (LASER), which features a Customized Retrieval Pool to enhance retrieval efficiency and Relaxed Verification to improve the acceptance rate of draft tokens. LASER achieves a 3-5x speedup on public datasets and saves about 67\% of computational resources during the online A/B test on a large-scale advertising scenario with lossless downstream recommendation performance. Our code is available at https://github.com/YunjiaXi/LASER

📄 PDF Abstract BibTeX arXiv:2408.05676

Code (1)

yunjiaxi/laser 공식 구현 pytorch

Tasks

Recommendation SystemsRetrieval

Similar Papers 제목 키워드 기반

PREBA: A Hardware/Software Co-Design for Multi-Instance GPU based AI Inference Servers

2024-11-28 · Gwangoo Yeo, Jiin Kim, Yujeong Choi, Minsoo Rhu

NVIDIA's Multi-Instance GPU (MIG) is a feature that enables system designers to reconfigure one large GPU into multiple smaller GPU slices. This work characterizes this emerging GPU and evaluates its effectiveness in des…

GPU

Benchmarking LLMs in Recommendation Tasks: A Comparative Evaluation with Conventional Recommenders

2025-03-07 · Qijiong Liu, Jieming Zhu, Lu Fan, Kun Wang 외

In recent years, integrating large language models (LLMs) into recommender systems has created new opportunities for improving recommendation quality. However, a comprehensive benchmark is needed to thoroughly evaluate a…

BenchmarkingClick-Through Rate PredictionRecommendation SystemsSequential Recommendation

Behavior-Dependent Linear Recurrent Units for Efficient Sequential Recommendation

2024-06-18 · Chengkai Liu, Jianghao Lin, Hanzhou Liu, Jianling Wang 외

Sequential recommender systems aims to predict the users' next interaction through user behavior modeling with various operators like RNNs and attentions. However, existing models generally fail to achieve the three gold…

Recommendation SystemsSequential Recommendation

Multiply-and-Fire (MNF): An Event-driven Sparse Neural Network Accelerator

2022-04-20 · Miao Yu, Tingting Xiang, Venkata Pavan Kumar Miriyala, Trevor E. Carlson

Machine learning, particularly deep neural network inference, has become a vital workload for many computing systems, from data centers and HPC systems to edge-based computing. As advances in sparsity have helped improve…

DNA: Differentiable Network-Accelerator Co-Search

2020-10-28 · Yongan Zhang, Yonggan Fu, Weiwen Jiang, Chaojian Li 외

Powerful yet complex deep neural networks (DNNs) have fueled a booming demand for efficient DNN solutions to bring DNN-powered intelligence into numerous applications. Jointly optimizing the networks and their accelerato…