scimeatlas

Research map / Large language models / Language, safety and interpretability

Ouroboros: Generating Longer Drafts Phrase by Phrase for Faster Speculative Decoding

Weilin Zhao, Yuxiang Huang, Xu Han, Wang Xu, Chaojun Xiao, Xinrong Zhang, Yewei Fang, Kaihuo Zhang, Zhiyuan Liu, Maosong Sun

EMNLP 2024Large language models › Language, safety and interpretabilityapproach: Parallel and early-exit decodingopen problems in this approach58 citations (OpenAlex)

Tsinghua University · Beijing National Research Center for Information Science and Technology

Read the paperPlace an idea next to itCheck your own paper ↗

13measured effects
9improved
2no clear effect
1hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add phrase-level drafting (ablation)speculative decoding (Yi 34B/6B) · HumanEvaltoken/s: 21.46 -> 49.90Improved
lengthen drafts via phrases (ablation)Ouroboros (Yi 34B/6B) · HumanEvaltoken/s: 49.90 -> 55.92Improved
generate phrases from verification (ablation)Ouroboros (Yi 34B/6B) · HumanEvaltoken/s: 55.92 -> 58.18Improved
reuse phrases from history context (ablation)Ouroboros (Yi 34B/6B) · HumanEvaltoken/s: 58.18 -> 61.20Improved
turn phrase reuse on (ablation)Ouroboros (Yi 34B/6B) · mixed 4-task set, shuffledtoken/s: 32.68 -> 35.39Improved
increase context locality (CN=20 vs shuffle) with phrase reuse on (ablation)Ouroboros (Yi 34B/6B) · mixed 4-task settoken/s: 35.39 -> 36.00Improved
use Ouroboros instead of lookahead decodingLlama-2-chat 70B/7B · GSM8Ktoken/s: 13.77 -> 24.03Improved
compare training-free Ouroboros with training-based EagleLlama-2-chat-70B · Spec-Bench averagetoken/s: 24.96 (Eagle) vs 21.51 (Ouroboros)Hurt
use Ouroboros instead of PLDLlama-2-chat-70B · Spec-Bench averagetoken/s: 14.44 -> 21.51Improved
use Ouroboros instead of cascade speculative decodingLlama-2-chat 70B/7B · GSM8Ktoken/s: 9.22 -> 24.03Improved
apply Ouroboros instead of greedy decoding (task quality)Llama-2-chat 70B/7B · GSM8K accuracyaccuracy (%): 66.0 -> 65.0No clear effect
vary number of phrases K in lengthening (ablation)Ouroboros (Yi 34B/6B) · HumanEvaltoken/sMixed

Later papers that compared with this method

2 later accepted papers report Ouroboros as a baseline in their results tables; 2 of them report a better number on most of the results they share with it.

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems this paper states

Open problems in parallel and early-exit decoding

Which fast-decoding methods keep quality when used with batching, thresholds that need no tuning, and models they cannot open up?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy