paper-with-me

Papers

ASPD: Unlocking Adaptive Serial-Parallel Decoding by Exploring Intrinsic Parallelism in LLMs

2025-08-12 · Keyu Chen, Zhifeng Shen, Daohai Yu, Haoqian Wu, Wei Wen, Jianfeng He, Ruizhi Qiao, Xing Sun arxiv

The increasing scale and complexity of large language models (LLMs) pose significant inference latency challenges, primarily due to their autoregressive decoding paradigm characterized by the sequential nature of next-token prediction. By re-examining the outputs of autoregressive models, we observed that some segments exhibit parallelizable structures, which we term intrinsic parallelism. Decoding each parallelizable branch simultaneously (i.e. parallel decoding) can significantly improve the overall inference speed of LLMs. In this paper, we propose an Adaptive Serial-Parallel Decoding (ASPD), which addresses two core challenges: automated construction of parallelizable data and efficient parallel decoding mechanism. More specifically, we introduce a non-invasive pipeline that automatically extracts and validates parallelizable structures from the responses of autoregressive models. To empower efficient adaptive serial-parallel decoding, we implement a Hybrid Decoding Engine which enables seamless transitions between serial and parallel decoding modes while maintaining a reusable KV cache, maximizing computational efficiency. Extensive evaluations across General Tasks, Retrieval-Augmented Generation, Mathematical Reasoning, demonstrate that ASPD achieves unprecedented performance in both effectiveness and efficiency. Notably, on Vicuna Bench, our method achieves up to 3.19x speedup (1.85x on average) while maintaining response quality within 1% difference compared to autoregressive models, realizing significant acceleration without compromising generation quality. Our framework sets a groundbreaking benchmark for efficient LLM parallel inference, paving the way for its deployment in latency-sensitive applications such as AI-powered customer service bots and answer retrieval engines.

📄 PDF Abstract BibTeX arXiv:2508.08895

Code (0)

등록된 구현이 없습니다.

Tasks

Computational EfficiencyMathematical Reasoning

Similar Papers 제목 키워드 기반

DiffuSpec: Unlocking Diffusion Language Models for Speculative Decoding

2025-09-28 · Guanghao Li, Zhihui Fu, Min Fang, Qibin Zhao 외 arxiv

As large language models (LLMs) scale up, accuracy improves, but the autoregressive (AR) nature of decoding increases latency since each token requires a serial forward pass. Speculative decoding addresses this by employ…

Conditional Total Correlation and the Serial Depth of Adaptive Parallel Sampling

2026-08-26 · Chuling Wen, Weijie Liang, Jian Lu arxiv

Motivated by parallel decoding in masked diffusion models, we study adaptive parallel sampling of discrete vectors: in each round, a deterministic policy selects unrevealed coordinates on the basis of the values observed…

PARALLELPROMPT: Extracting Parallelism from Large Language Model Queries

2025-06-23 · Steven Kolawole, Keshav Santhanam, Virginia Smith, Pratiksha Thaker

LLM serving systems typically treat user prompts as monolithic inputs, optimizing inference through decoding tricks or inter-query batching. However, many real-world prompts contain latent semantic parallelism--decomposa…

Language ModelingLanguage ModellingLarge Language Model

Multistage Spatial Context Models for Learned Image Compression

2023-02-18 · Fangzheng Lin, Heming Sun, Jinming Liu, Jiro Katto

Recent state-of-the-art Learned Image Compression methods feature spatial context models, achieving great rate-distortion improvements over hyperprior methods. However, the autoregressive context model requires serial de…

Image Compression

Speculative Decoding via Hybrid Drafting and Rollback-Aware Branch Parallelism

2025-05-16 · Yuhao Shen, Junyi Shen, Quan Kong, Tianyu Liu 외

Recently, speculative decoding (SD) has emerged as a promising technique to accelerate LLM inference by employing a small draft model to propose draft tokens in advance, and validating them in parallel with the large tar…