paper-with-me

Papers

Automatic Task Detection and Heterogeneous LLM Speculative Decoding

2025-05-13 · Danying Ge, Jianhua Gao, Qizhi Jiang, Yifei Feng, Weixing Ji

Speculative decoding, which combines a draft model with a target model, has emerged as an effective approach to accelerate large language model (LLM) inference. However, existing methods often face a trade-off between the acceptance rate and decoding speed in downstream tasks due to the limited capacity of the draft model, making it difficult to ensure efficiency across diverse tasks. To address this problem, we propose a speculative decoding algorithm tailored for downstream task optimization. It includes an automatic task partitioning and assigning method, which automatically categorizes downstream tasks into different sub-tasks and assigns them to a set of heterogeneous draft models. Each draft model is aligned with the target model using task-specific data, thereby enhancing the consistency of inference results. In addition, our proposed method incorporates an online lightweight prompt classifier to dynamically route prompts to the appropriate draft model. Experimental results demonstrate that the proposed method improves draft accuracy by 6% to 50% over vanilla speculative decoding, while achieving a speedup of 1.10x to 2.64x in LLM inference.

📄 PDF Abstract BibTeX arXiv:2505.08600

Code (0)

등록된 구현이 없습니다.

Tasks

Large Language Model

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically
SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

Mirror Speculative Decoding: Breaking the Serial Barrier in LLM Inference

2025-10-15 · Nikhil Bhendawade, Kumari Nishu, Arnav Kundu, Chris Bartels 외 arxiv

Speculative decoding accelerates LLM inference by using a draft model to look ahead, but gains are capped by the cost of autoregressive draft generation: increasing draft size elevates acceptance rates but introduces add…

DuoDecoding: Hardware-aware Heterogeneous Speculative Decoding with Dynamic Multi-Sequence Drafting

2025-03-02 · Kai Lv, Honglin Guo, Qipeng Guo, Xipeng Qiu

Large language models (LLMs) exhibit exceptional performance across a wide range of tasks; however, their token-by-token autoregressive generation process significantly hinders inference speed. Speculative decoding prese…

CPUGPU

A-IO: Adaptive Inference Orchestration for Memory-Bound NPUs

2026-04-10 · Chen Zhang, Yan Ding, Haotian Wang, Chubo Liu 외 arxiv

During the deployment of Large Language Models (LLMs), the autoregressive decoding phase on heterogeneous NPU platforms (e.g., Ascend 910B) faces severe memory-bound challenges. This study reveals the ``Model Scaling Par…

DSD: A Distributed Speculative Decoding Solution for Edge-Cloud Agile Large Model Serving

2025-11-26 · Fengze Yu, Leshu Li, Brad McDanel, Sai Qian Zhang arxiv

Large language model (LLM) inference often suffers from high decoding latency and limited scalability across heterogeneous edge-cloud environments. Existing speculative decoding (SD) techniques accelerate token generatio…

AHASD: Asynchronous Heterogeneous Architecture for LLM Adaptive Drafting Speculative Decoding on Mobile Devices

2026-04-28 · Ma Zirui, Fan Zhihua, Li Wenxing, Wu Haibin 외 arxiv

Speculative decoding enhances the inference efficiency of large language models (LLMs) by generating drafts using a small draft language model (DLM) and verifying them in batches with a large target language model (TLM).…