Optimize the Cob, Then the Kernel: Optimizing Beam Search for Generative Recommendation Inference
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
Generative recommendation (GR) inference differs substantially from conventional LLM serving, featuring long input sequences, wide beam search, and only a few fixed output tokens. Existing LLM serving engines such as vLLM process beams as batched independent sequences, causing redundant KV cache accesses over the shared prompt prefix. Furthermore, vLLM executes each beam search generation step as a separate engine invocation, incurring host-side beam processing overhead between decoding steps and substantial runtime KV block management in PagedAttention. Using Tree Attention, we concatenate beams along the sequence dimension to eliminate redundant KV accesses, and further optimize execution through pre-generated partial-attention masks, static KV cache allocation, loop-unrolled generation dispatch, TorchAir graph compilation, automatic operator fusion, and vocabulary-constrained decoding. Without the use of custom kernels, our approach reduces end-to-end latency by up to 25x over vLLM on Ascend NPUs, and achieves generation latency comparable to a SOTA solution using custom kernels, showing that the generation pipeline should be optimized holistically before resorting to custom kernel development.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 6 of its 7 references that are in the map. Submitted 17 Nov 2026, announced 19 Nov 2026.
Builds on
6 of 7 references.
Closest ancestors · 2
Same direction, newest first
- 2025xGR: Efficient Generative Recommendation Serving at Scale12 Dec
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttention12 Sep
Other references · 4
- 2023Recommender Systems with Generative Retrievalcited by 222
- 2025PLUM: Adapting Pre-trained Language Models for Industrial-scale Generative Recommendationscited by 38
- 2025OpenOneRec Technical Reportcited by 17
- 2026UniSGR: Unified Framework for Semantic ID Generation and Rankingcited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Efficient Inference for Large Language Model-based Generative Recommendation
- 2026When KV Meets Embeddings: Dynamic GPU Memory Allocation for Accelerating Generative Recommender Serving
- 2025NEZHA: A Zero-sacrifice and Hyperspeed Decoding Architecture for Generative Recommendations
- 2026RelayGR: Scaling Long-Sequence Generative Recommendation via Cross-Stage Relay-Race Inference
- 2026RecoGEM: A Serving System for Production-Scale Generative Recommendation
- 2026GEMs: Breaking the Long-Sequence Barrier in Generative Recommendation with a Multi-Stream Decoder
- 2026TurboGR: An Accelerated Training System for Large-Scale Generative Recommendation
- 2026Separating Thinking from Spelling for Efficient Generative Recommendation