AI Engineering › XSPD
Not startedLearningMasteredNeeds review
XSPD
Speculative and Parallel Decoding
M2Special topic in AI Engineering4 topics · 7 subtopics · 19 knowledge points
Topics
Sign up free to see the knowledge pointsA free account opens the knowledge points of 5 courses.
XSPD-01Speculative sampling
2 subtopics · 6 knowledge points · learn first: XEFF-01, PRTH-02
2 subtopics · 6 knowledge points · learn first: XEFF-01, PRTH-02
XSPD-01-01 · Paper: Fast inference via speculative decoding (Leviathan, Kalman and Matias, 2023)
XSPD-01-02 · Paper: Speculative sampling (Chen et al., 2023)
XSPD-02Drafting without a separate model
2 subtopics · 6 knowledge points · learn first: XSPD-01
2 subtopics · 6 knowledge points · learn first: XSPD-01
XSPD-02-01 · Paper: Medusa (Cai et al., 2024)
XSPD-02-02 · Paper: EAGLE (Li et al., 2024)
XSPD-03Parallel decoding
2 subtopics · 5 knowledge points · learn first: XSPD-01
2 subtopics · 5 knowledge points · learn first: XSPD-01
XSPD-03-01 · Paper: Lookahead decoding (Fu et al., 2024)
XSPD-03-02 · Paper: Multi-token prediction (Gloeckle et al., 2024)
XSPD-04When speculation pays
1 subtopics · 2 knowledge points · learn first: XSPD-02
1 subtopics · 2 knowledge points · learn first: XSPD-02
XSPD-04-01 · A cost model
Papers in this course
Each paper is explained in the subtopic shown next to it.
LEV23Leviathan, Kalman and Matias (2023). Fast Inference from Transformers via Speculative Decoding. ICML 2023. arXiv:2211.17192XSPD-01-01
CHE23Chen et al. (2023). Accelerating Large Language Model Decoding with Speculative Sampling. arXiv preprint. arXiv:2302.01318XSPD-01-02
CAI24Cai et al. (2024). Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads. ICML 2024. arXiv:2401.10774XSPD-02-01
LI24Li et al. (2024). EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty. ICML 2024. arXiv:2401.15077XSPD-02-02
FU24Fu et al. (2024). Break the Sequential Dependency of LLM Inference Using Lookahead Decoding. ICML 2024. arXiv:2402.02057XSPD-03-01
GLO24Gloeckle et al. (2024). Better & Faster Large Language Models via Multi-token Prediction. ICML 2024. arXiv:2404.19737XSPD-03-02