scimeatlas

Research map / Large language models / Reasoning and chain of thought

LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding

Mostafa Elhoushi, Akshat Shrivastava, Diana Liskovich, Basil Hosmer, Bram Wasti, Liangzhen Lai, Anas Mahmoud, Bilge Acun, Saurabh Agrawal, Ahmed Roman, Ahmed A Aly, Beidi Chen and 1 more

ACL 2024Large language models › Reasoning and chain of thoughtapproach: Speculative decodingopen problems in this approach500 citations (OpenAlex)

Meta · University of Toronto · University of Wisconsin - Madison · Dana-Farber Cancer Institute · Carnegie Mellon University

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

14measured effects
8improved
5hurt
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.

This paper tried a common change: Add dropout

add layer dropout and/or early exit loss in pretraining from scratch · downstream tasks at early layers · accuracy Mixed

What 1,045 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
continual pretraining with layer dropout and early exit loss (LayerSkip)Llama2 7B · HumanEval, middle layer (16)accuracy: 0 -> 4.88Improved
continual pretraining with LayerSkipLlama2 7B · Wikipedia, middle layerperplexity: 1900 -> 8.12Improved
continual pretraining with LayerSkipLlama2 7B · last layer, tasks like MMLU and GSM8Kaccuracy: MMLU 46.0 -> 43.1; GSM8K 14.3 -> 12.2Hurt
continual pretraining with LayerSkipLlama3 8B · last layerHumanEval accuracy: 37.8 -> 28.7Hurt
add layer dropout and/or early exit loss in pretraining from scratch (ablation)Llama2 1.5B and 7B · downstream tasks at early layersaccuracyMixed
finetune with LayerSkip on TOPv2Llama 1.5B · TOPv2 early exit at layer 12exact match: 0 -> 77%Improved
finetune with LayerSkip on TOPv2Llama 1.5B · TOPv2 last layerexact match: reduction of 3%Hurt
add self-speculative verification to early exit (ablation)LayerSkip Llama 1.5B (E=6) · TOPv2 testexact match: 62.9 -> 82.9Improved
self-speculative decoding vs Draft & VerifyLlama2 13B · CNN/DMspeedup: 1.5x -> 1.81xImproved
self-speculative decoding vs Draft & VerifyLlama2 13B · XSUMspeedup: 1.48x -> 1.34xHurt
reuse KV cache and exit query cache in self-speculation (ablation)LayerSkip self speculation (E=18) · TOPv2 CPUms per token: 143 -> 134Improved
layer dropout rates increasing exponentially across layers instead of constant with the same average (ablation)LayerSkip training · training losstraining lossImproved

Open problems in speculative decoding

Which speculative decoding methods still speed up decoding at large batch, on other hardware and on bigger models?

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