AdaPLD: Adaptive Retrieval and Reuse for Efficient Model-Free Speculative Decoding

TL;DR

AdaPLD achieves efficient decoding with adaptive retrieval and reuse, boosting speed by 3.10×.

cs.CL 🔴 Advanced 2026-06-04 3 views
Runheng Liu Jincheng Xie Wen Hu Xingchen Xiao Heyan Huang
adaptive retrieval model-free decoding acceleration semantic similarity efficient generation

Key Findings

Methodology

AdaPLD is a training-free method that adaptively improves both retrieval and draft construction. It preserves high-precision lexical reuse while using semantic similarity to recover additional reuse opportunities when lexical matching fails. It further constructs branched reuse hypotheses to account for continuation uncertainty, rather than relying on a single copied span.

Key Results

  • AdaPLD reduces target-model forward passes and achieves up to 3.10× decoding speedup across diverse benchmarks. Specifically, on CodeEditorBench, AdaPLD achieves a 3.10× average speedup on the Vicuna-33B model.
  • In reasoning tasks, AdaPLD achieves the highest speedup on Vicuna-13B and Vicuna-33B models, indicating reuse is effective in structured and incremental reasoning.
  • In input-guided editing tasks, AdaPLD excels in debugging, polishing, and requirement switching tasks, especially on 13B and 33B models.

Significance

AdaPLD significantly improves the efficiency of model-free speculative decoding through adaptive retrieval and reuse. This method addresses existing limitations in recall under surface-form variation and brittleness of deterministic span copying. It provides an efficient generation solution for academia and industry, particularly in scenarios requiring rapid generation.

Technical Contribution

AdaPLD's technical contributions lie in its adaptive retrieval and reuse mechanism, which expands retrieval coverage through semantic similarity and enhances draft construction flexibility through branched reuse hypotheses. Compared to existing SOTA methods, it offers new theoretical guarantees and engineering possibilities.

Novelty

AdaPLD is the first to combine semantic similarity with branching reuse hypotheses, addressing retrieval issues when lexical matching fails. Compared to related work, it significantly innovates in draft construction flexibility and retrieval coverage.

Limitations

  • AdaPLD may encounter performance bottlenecks when handling very complex contexts, as branching reuse hypotheses can increase verification overhead.
  • Semantic retrieval may not fully replace lexical matching in some tasks, leading to suboptimal retrieval outcomes.

Future Work

Future work can explore AdaPLD's application in more tasks, especially those involving complex reasoning and generation. Additionally, research can focus on optimizing branching reuse hypotheses to reduce verification overhead.

AI Executive Summary

AdaPLD is an innovative speculative decoding method that significantly enhances generation efficiency through adaptive retrieval and reuse. Existing speculative decoding methods have limited recall under surface-form variation, while AdaPLD expands retrieval coverage through semantic similarity. It constructs branched reuse hypotheses to address continuation uncertainty, thereby enhancing draft construction flexibility. Across diverse benchmarks, AdaPLD achieves up to 3.10× decoding speedup, particularly excelling in input-guided editing tasks and reasoning tasks. Although AdaPLD may face performance bottlenecks when handling complex contexts, its innovative retrieval and reuse mechanism provides an efficient generation solution for academia and industry. Future work can explore its application in more tasks and optimize branching reuse hypotheses to reduce verification overhead.

Deep Analysis

Background

Speculative decoding accelerates generation by verifying multiple drafted tokens within a single decoding iteration, reducing sequential decoding iterations. Existing model-free variants avoid auxiliary draft models by reusing text and model states already available during generation, but their speedup depends on the reliability of constructed drafts. AdaPLD adaptively improves retrieval and draft construction, addressing limitations in recall under surface-form variation and brittleness of deterministic span copying.

Core Problem

Existing reuse methods have limited recall under surface-form variation, and deterministic span copying can be brittle when the retrieved context does not uniquely determine the continuation. AdaPLD addresses these issues through adaptive retrieval and reuse mechanisms, improving the efficiency of model-free speculative decoding.

Innovation

AdaPLD's core innovations lie in its adaptive retrieval and reuse mechanisms. It expands retrieval coverage through semantic similarity and enhances draft construction flexibility through branched reuse hypotheses. This method achieves significant decoding speedup across diverse benchmarks.

Methodology

  • �� AdaPLD preserves high-precision lexical reuse while using semantic similarity to recover additional reuse opportunities.
  • �� It constructs branched reuse hypotheses to account for continuation uncertainty, rather than relying on a single copied span.
  • �� In the retrieval stage, AdaPLD prioritizes lexical matching, activating semantic retrieval only when lexical retrieval fails.
  • �� In the reuse construction stage, AdaPLD expands the draft tree through branching reuse hypotheses.

Experiments

In experiments, we used diverse benchmarks including input-guided generation tasks, code editing tasks, and reasoning tasks. We conducted experiments on Vicuna-v1.3 models, comparing AdaPLD with other representative baseline methods. Results show that AdaPLD achieves the highest decoding speedup across multiple tasks.

Results

AdaPLD achieves up to 3.10× average speedup on CodeEditorBench, particularly excelling on the Vicuna-33B model. In reasoning tasks, AdaPLD achieves the highest speedup on Vicuna-13B and Vicuna-33B models, indicating reuse is effective in structured and incremental reasoning.

Applications

AdaPLD is suitable for applications requiring rapid generation, such as real-time dialogue systems and automated code generation tools. It can significantly reduce decoding latency and improve generation efficiency.

Limitations & Outlook

Despite AdaPLD's excellent performance across multiple tasks, it may encounter performance bottlenecks when handling very complex contexts. Additionally, semantic retrieval may not fully replace lexical matching, leading to suboptimal retrieval outcomes.

Plain Language Accessible to non-experts

Imagine you're cooking in a kitchen. AdaPLD is like a smart kitchen assistant that not only quickly finds the ingredients you need but also suggests new combinations based on your previous recipes. When you can't find a specific ingredient, it recommends substitutes based on similar flavors. This assistant can also adapt the recipe to your changing tastes, ensuring every dish meets your expectations.

ELI14 Explained like you're 14

Hey, friends! Imagine you're playing a game with a super helper that quickly finds game items for you. AdaPLD is like this helper; it not only finds items but also suggests new strategies based on your previous game records. When you can't find an item, it recommends substitutes based on similar functions. This helper can also adapt strategies to your gaming style, ensuring you win every match!

Glossary

Speculative Decoding

A method to accelerate generation by verifying multiple draft tokens to reduce decoding iterations.

Used in the paper to improve generation efficiency.

Semantic Similarity

Evaluates the similarity between two words by comparing their embeddings.

Used to expand retrieval coverage.

Branching Reuse Hypotheses

A method to construct a draft tree with multiple possible continuations.

Used to enhance draft construction flexibility.

Lexical Matching

Retrieval by comparing the surface forms of words.

Serves as the default retrieval path.

Vicuna-v1.3

A language model used in experiments, with different parameter scales.

Used to evaluate AdaPLD's performance.

Open Questions Unanswered questions from this research

  • 1 How can branching reuse hypotheses be further optimized to reduce verification overhead?
  • 2 Why does semantic retrieval perform suboptimally in certain tasks?

Applications

Immediate Applications

Real-time Dialogue Systems

AdaPLD can significantly reduce decoding latency and improve dialogue generation efficiency. Suitable for applications requiring rapid response.

Long-term Vision

Automated Code Generation Tools

AdaPLD can be used to develop efficient code generation tools, reducing development time and increasing productivity.

Abstract

Speculative decoding accelerates generation by verifying multiple drafted tokens in a single target-model forward pass, reducing sequential decoding iterations. Model-free variants avoid auxiliary draft models by reusing text and model states already available during generation, but their speedup depends on the reliability of the constructed drafts. We identify two limitations of existing reuse-based methods: lexically anchored retrieval has limited recall under surface-form variation, and deterministic span copying can be brittle when the retrieved context does not uniquely determine the continuation. We propose \emph{AdaPLD}, a training-free method that adaptively improves both retrieval and draft construction. AdaPLD preserves high-precision lexical reuse while using semantic similarity to recover additional reuse opportunities when lexical matching fails. It further constructs branched reuse hypotheses to account for continuation uncertainty, rather than relying on a single copied span. Across diverse benchmarks, AdaPLD reduces target-model forward passes and achieves up to $3.10\times$ decoding speedup.

cs.CL