NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

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

Keyu Chen, Zhifeng Shen, Daohai Yu, Haoqian Wu, Wei Wen, Jianfeng He, Ruizhi Qiao, Xing Sun

TL;DR

Large Language Models (LLMs) are notoriously slow due to the sequential, token-by-token nature of autoregressive decoding. This paper introduces Adaptive Serial-Parallel Decoding (ASPD), a method that automatically identifies independent, parallelizable segments in LLM responses (like bullet points or distinct reasoning steps) and generates them concurrently. ASPD achieves up to a 3.19x speedup (1.85x on average) on standard benchmarks while keeping response quality within 1% of traditional sequential models.

What Problem Does This Paper Address?

The standard way LLMs generate text—autoregressive decoding—is a massive computational bottleneck. Because the model must predict each token based on all previously generated tokens, inference is strictly sequential.

However, a close look at LLM outputs reveals a lot of intrinsic parallelism. For example, if a model is asked to provide a list of time management tips or outline steps to solve a problem, those individual tips or steps are often semantically independent and could theoretically be written at the same time.

Previous attempts to exploit this parallelism (such as Skeleton-of-Thought or APAR) have run into serious roadblocks:

  • They often require multiple expensive external API calls or separate batch processing.
  • They discard crucial Key-Value (KV) caches during transitions, which tanks generation quality.
  • They struggle with positional encoding mismatches when the actual length of a parallel branch deviates from what was predicted.

ASPD addresses the challenge of exploiting this natural parallelism natively, safely, and efficiently within a single decoding sequence.

Figure 1. Overview of Data Intrinsic and Model Internal Parallelism. Proportion of Parallel Data (PPD). The ratio of parallelizable samples in the benchmark; Degree of Parallelism (DP). The proportion of parallel tokens among all tokens in the output; Average Branch Number (ABN). The average number of parallel branches in the output.

Methods

ASPD tackles the problem through a dual approach: automated data curation and architectural innovation.

  1. Non-Invasive Parallel Data Transformation Pipeline: To train the model to understand when to parallelize, the authors built a 4-stage data pipeline. It takes standard sequential model responses and processes them through Parallel Rewriting, Independence Verification (ensuring branches don't rely on each other), Integrity Verification, and Preference-Based Selection. This creates a high-quality parallel training corpus without altering the model's original response distribution.
  2. Internal Parallelization Module: Instead of relying on complex multi-threading or separate batches, ASPD introduces a custom branch-invisible attention mask. During the parallel phase, this mask ensures that concurrent branches remain contextually isolated from each other (preventing text duplication or confusion), while allowing the main branch to see the complete history once they merge.
  3. Hybrid Decoding Engine: The inference engine is augmented with six special tokens (like <Para> and <Branch>) to seamlessly transition between serial and parallel modes. Crucially, it employs a Same-Sequential position encoding strategy. Parallel branches share identical position IDs at each timestamp, which preserves the model's native sequential understanding and allows for direct, zero-overhead KV-cache reuse.

Datasets

  • Training: The models were trained using the popular ShareGPT Vicuna dataset and an internal Machine Reading Comprehension (MRC) dataset, both converted into parallel formats via the authors' pipeline. For advanced reasoning, they utilized the OpenR1-Math-220K dataset.
  • Evaluation: The framework was validated across diverse benchmarks:
  • General Tasks: Vicuna Bench and MT Bench.
  • Out-of-Domain/RAG: RAG Bench (sampled from rag-dataset-12000).
  • Mathematics & Reasoning: MATH500, AMC23, GPQA, AIME2024, and AIME2025.
  • Internal Benchmarks: Logical Reasoning (LR) and AI Search.

Key Insights and Ideas

  • Parallelism is Domain-Dependent: Intrinsic parallelism is highly prevalent in general text generation and extraction tasks (ranging from 64% to 70%), but drops significantly in mathematical reasoning tasks (around 30.6%) where step-by-step logical deductions create tight dependencies.
  • Complexity is the Enemy of Parallelism: The authors discovered a clear inverse relationship between task difficulty and parallel efficiency. As mathematical problems get harder (e.g., moving from MATH500 to competition-level AIME benchmarks), the Degree of Parallelism (DP) and subsequent speedups drop sharply.
  • Strict Isolation Wins: Ablation studies revealed that keeping parallel branches completely invisible to one another during generation is vital. Allowing branches to "see" each other introduces semantic conflicts and content redundancy, which severely degrades the final output quality.

Key Results

  • Significant Speedups: On Vicuna Bench, ASPD achieved an average speedup of 1.85x, reaching up to 3.19x on highly structured tasks like generic and writing categories. On MT Bench, it achieved a 1.30x average acceleration.
  • Uncompromised Quality: ASPD maintained a near-identical quality profile to native autoregressive models, scoring 7.74 vs 7.70 on Vicuna Bench (within a 1% margin). It significantly outperformed prior parallel methods like SoT and APAR, which suffered from notable quality degradation.
  • Strong Generalization: On the out-of-domain RAG Bench, competing methods saw their speedups collapse (SoT dropped to 1.06x due to prefilling overhead), whereas ASPD maintained a robust 1.46x speedup.

Limitations and Future Work

While ASPD excels at segment-level (semantic) parallelization, it operates independently of token-level parallelization techniques. The authors note that combining ASPD with token-level acceleration methods—such as speculative decoding—is a highly promising direction that could yield multiplicative speedups.

Additionally, they suggest that the parallelization metrics established in this paper (like Degree of Parallelism and Average Branch Number) could be integrated into reinforcement learning frameworks (like PPO) to train future LLMs to inherently generate more parallelizable, structurally efficient responses.

Summary updated

BibTeX
@misc{chen2025aspd,
  author = {Keyu Chen and Zhifeng Shen and Daohai Yu and Haoqian Wu and Wei Wen and Jianfeng He and Ruizhi Qiao and Xing Sun},
  title = {{ASPD: Unlocking Adaptive Serial-Parallel Decoding by Exploring Intrinsic Parallelism in LLMs}},
  year = {2025},
  eprint = {2508.08895},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.08895},
}
Figure