Salvato in:
Dettagli Bibliografici
Autori principali: Yang, Seongjun, Lee, Gibbeum, Cho, Jaewoong, Papailiopoulos, Dimitris, Lee, Kangwook
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:https://arxiv.org/abs/2307.05908
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910545027792896
author Yang, Seongjun
Lee, Gibbeum
Cho, Jaewoong
Papailiopoulos, Dimitris
Lee, Kangwook
author_facet Yang, Seongjun
Lee, Gibbeum
Cho, Jaewoong
Papailiopoulos, Dimitris
Lee, Kangwook
contents This paper presents "Predictive Pipelined Decoding (PPD)," an approach that speeds up greedy decoding in Large Language Models (LLMs) while maintaining the exact same output as the original decoding. Unlike conventional strategies, PPD employs additional compute resources to parallelize the initiation of subsequent token decoding during the current token decoding. This method reduces decoding latency and reshapes the understanding of trade-offs in LLM decoding strategies. We have developed a theoretical framework that allows us to analyze the trade-off between computation and latency. Using this framework, we can analytically estimate the potential reduction in latency associated with our proposed method, achieved through the assessment of the match rate, represented as p_correct. The results demonstrate that the use of extra computational resources has the potential to accelerate LLM decoding. Additionally, we implement PPD and conduct preliminary experiments to empirically validate its efficacy, addressing potential practical overheads not covered by theoretical analysis.
format Preprint
id arxiv_https___arxiv_org_abs_2307_05908
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Predictive Pipelined Decoding: A Compute-Latency Trade-off for Exact LLM Decoding
Yang, Seongjun
Lee, Gibbeum
Cho, Jaewoong
Papailiopoulos, Dimitris
Lee, Kangwook
Computation and Language
Machine Learning
This paper presents "Predictive Pipelined Decoding (PPD)," an approach that speeds up greedy decoding in Large Language Models (LLMs) while maintaining the exact same output as the original decoding. Unlike conventional strategies, PPD employs additional compute resources to parallelize the initiation of subsequent token decoding during the current token decoding. This method reduces decoding latency and reshapes the understanding of trade-offs in LLM decoding strategies. We have developed a theoretical framework that allows us to analyze the trade-off between computation and latency. Using this framework, we can analytically estimate the potential reduction in latency associated with our proposed method, achieved through the assessment of the match rate, represented as p_correct. The results demonstrate that the use of extra computational resources has the potential to accelerate LLM decoding. Additionally, we implement PPD and conduct preliminary experiments to empirically validate its efficacy, addressing potential practical overheads not covered by theoretical analysis.
title Predictive Pipelined Decoding: A Compute-Latency Trade-off for Exact LLM Decoding
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2307.05908