Saved in:
Bibliographic Details
Main Authors: Ma, Junjie, Li, Jinlong
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2512.14069
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914203440250880
author Ma, Junjie
Li, Jinlong
author_facet Ma, Junjie
Li, Jinlong
contents Inference with modern Large Language Models (LLMs) is expensive and slow, and speculative sampling has emerged as an effective solution to this problem, however, the number of the calls to the draft model for generating candidate tokens in speculative sampling is a preset hyperparameter, lacking flexibility. To generate and utilize the candidate tokens more effectively, we propose RADAR, a novel speculative sampling method with RL-based dynamic draft trees. RADAR formulates the draft tree generation process as a Markov Decision Process (MDP) and employs offline reinforcement learning to train a prediction model, which enables real-time decision on the calls to the draft model, reducing redundant computations and further accelerating inference. Evaluations across three LLMs and four tasks show that RADAR achieves a speedup of 3.17x-4.82x over the auto-regressive decoding baseline. The code is available at https://github.com/minaduki-sora/RADAR.
format Preprint
id arxiv_https___arxiv_org_abs_2512_14069
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle RADAR: Accelerating Large Language Model Inference With RL-Based Dynamic Draft Trees
Ma, Junjie
Li, Jinlong
Artificial Intelligence
Inference with modern Large Language Models (LLMs) is expensive and slow, and speculative sampling has emerged as an effective solution to this problem, however, the number of the calls to the draft model for generating candidate tokens in speculative sampling is a preset hyperparameter, lacking flexibility. To generate and utilize the candidate tokens more effectively, we propose RADAR, a novel speculative sampling method with RL-based dynamic draft trees. RADAR formulates the draft tree generation process as a Markov Decision Process (MDP) and employs offline reinforcement learning to train a prediction model, which enables real-time decision on the calls to the draft model, reducing redundant computations and further accelerating inference. Evaluations across three LLMs and four tasks show that RADAR achieves a speedup of 3.17x-4.82x over the auto-regressive decoding baseline. The code is available at https://github.com/minaduki-sora/RADAR.
title RADAR: Accelerating Large Language Model Inference With RL-Based Dynamic Draft Trees
topic Artificial Intelligence
url https://arxiv.org/abs/2512.14069