PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
February 21, 20242 citationsOpen Access

Ouroboros: Speculative Decoding with Large Model Enhanced Drafting

View Full Paper
WZWeilin ZhaoYHYuxiang HuangXHXu Han

Key Points

Key points are not available for this paper at this time.

Abstract

Drafting-then-verifying decoding methods such as speculative decoding are widely adopted training-free methods to accelerate the inference of large language models (LLMs). Instead of employing an autoregressive process to decode tokens sequentially, speculative decoding initially creates drafts with an efficient small model. Then LLMs are required to conduct verification and correction in a non-autoregressive fashion to minimize time overhead. Generating longer drafts can lead to even more significant speedups once verified, but also incurs substantial trial and error costs if it fails. Suffering from the high verification failure probability, existing decoding methods cannot draft too much content for verification at one time, achieving sub-optimal inference acceleration. In this paper, we introduce Ouroboros, which constructs a phrase candidate pool from the verification process of LLMs to provide candidates for draft generation of the small model. Thereby, Ouroboros can further improve the efficiency and effectiveness of the initial drafts. The experimental results on typical text generation tasks show that Ouroboros achieves speedups of up to 1.9x and 2.8x compared to lookahead decoding and speculative decoding, respectively. The source code of Ouroboros is available at https://github.com/thunlp/Ouroboros.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Zhao et al. (2024) studied this question.

synapsesocial.com/papers/68e78456b6db6435876f6d61https://doi.org/10.48550/arxiv.2402.13720
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1Recurrent Drafter for Fast Speculative Decoding in Large Language Models2024
  2. 2Block Verification Accelerates Speculative Decoding2024
  3. 3DuoDecoding: Hardware-aware Heterogeneous Speculative Decoding with Dynamic Multi-Sequence Drafting2025
  4. 4Adaptive Draft-Verification for Efficient Large Language Model Decoding2024
  5. 5Optimized Multi-Token Joint Decoding with Auxiliary Model for LLM Inference2024