Accelerating Production LLMs with Combined Token/Embedding Speculators
This technical report describes the design and training of novel speculative decoding draft models, for accelerating the inference speeds of large language models in a production environment. By conditioning draft predictions on both context vectors and sampled tokens, we can train our speculators t...
Gespeichert in:
Hauptverfasser: | , , , , , , |
---|---|
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
container_end_page | |
---|---|
container_issue | |
container_start_page | |
container_title | |
container_volume | |
creator | Wertheimer, Davis Rosenkranz, Joshua Parnell, Thomas Suneja, Sahil Ranganathan, Pavithra Ganti, Raghu Srivatsa, Mudhakar |
description | This technical report describes the design and training of novel speculative
decoding draft models, for accelerating the inference speeds of large language
models in a production environment. By conditioning draft predictions on both
context vectors and sampled tokens, we can train our speculators to efficiently
predict high-quality n-grams, which the base model then accepts or rejects.
This allows us to effectively predict multiple tokens per inference forward
pass, accelerating wall-clock inference speeds of highly optimized base model
implementations by a factor of 2-3x. We explore these initial results and
describe next steps for further improvements. |
doi_str_mv | 10.48550/arxiv.2404.19124 |
format | Article |
fullrecord | <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_2404_19124</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2404_19124</sourcerecordid><originalsourceid>FETCH-LOGICAL-a674-f1b541e5ea0102287440026ea686c45e52151a7001b71919c7bb12519d3ce3e43</originalsourceid><addsrcrecordid>eNotz8tOwzAUBFBvWKDCB7DCP5DU17mOk2UVtYAUBBLZR37cgkUSV07K4--hhdVsRqM5jN2AyLFSSqxN-gofuUSBOdQg8ZLtNs7RQMksYXrlzyn6o1tCnHjbPs78MyxvvImjDRN53sV3mtbb0ZL3p_bLgdxxMEtM8xW72Jthpuv_XLFut-2a-6x9untoNm1mSo3ZHqxCIEVGgJCy0ohCyJJMWZUOFSkJCowWAqz-_Vc7bS1IBbUvHBWExYrd_s2eIf0hhdGk7_4E6s-g4geYuESk</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>Accelerating Production LLMs with Combined Token/Embedding Speculators</title><source>arXiv.org</source><creator>Wertheimer, Davis ; Rosenkranz, Joshua ; Parnell, Thomas ; Suneja, Sahil ; Ranganathan, Pavithra ; Ganti, Raghu ; Srivatsa, Mudhakar</creator><creatorcontrib>Wertheimer, Davis ; Rosenkranz, Joshua ; Parnell, Thomas ; Suneja, Sahil ; Ranganathan, Pavithra ; Ganti, Raghu ; Srivatsa, Mudhakar</creatorcontrib><description>This technical report describes the design and training of novel speculative
decoding draft models, for accelerating the inference speeds of large language
models in a production environment. By conditioning draft predictions on both
context vectors and sampled tokens, we can train our speculators to efficiently
predict high-quality n-grams, which the base model then accepts or rejects.
This allows us to effectively predict multiple tokens per inference forward
pass, accelerating wall-clock inference speeds of highly optimized base model
implementations by a factor of 2-3x. We explore these initial results and
describe next steps for further improvements.</description><identifier>DOI: 10.48550/arxiv.2404.19124</identifier><language>eng</language><subject>Computer Science - Computation and Language</subject><creationdate>2024-04</creationdate><rights>http://creativecommons.org/licenses/by/4.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,776,881</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/2404.19124$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.2404.19124$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Wertheimer, Davis</creatorcontrib><creatorcontrib>Rosenkranz, Joshua</creatorcontrib><creatorcontrib>Parnell, Thomas</creatorcontrib><creatorcontrib>Suneja, Sahil</creatorcontrib><creatorcontrib>Ranganathan, Pavithra</creatorcontrib><creatorcontrib>Ganti, Raghu</creatorcontrib><creatorcontrib>Srivatsa, Mudhakar</creatorcontrib><title>Accelerating Production LLMs with Combined Token/Embedding Speculators</title><description>This technical report describes the design and training of novel speculative
decoding draft models, for accelerating the inference speeds of large language
models in a production environment. By conditioning draft predictions on both
context vectors and sampled tokens, we can train our speculators to efficiently
predict high-quality n-grams, which the base model then accepts or rejects.
This allows us to effectively predict multiple tokens per inference forward
pass, accelerating wall-clock inference speeds of highly optimized base model
implementations by a factor of 2-3x. We explore these initial results and
describe next steps for further improvements.</description><subject>Computer Science - Computation and Language</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2024</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNotz8tOwzAUBFBvWKDCB7DCP5DU17mOk2UVtYAUBBLZR37cgkUSV07K4--hhdVsRqM5jN2AyLFSSqxN-gofuUSBOdQg8ZLtNs7RQMksYXrlzyn6o1tCnHjbPs78MyxvvImjDRN53sV3mtbb0ZL3p_bLgdxxMEtM8xW72Jthpuv_XLFut-2a-6x9untoNm1mSo3ZHqxCIEVGgJCy0ohCyJJMWZUOFSkJCowWAqz-_Vc7bS1IBbUvHBWExYrd_s2eIf0hhdGk7_4E6s-g4geYuESk</recordid><startdate>20240429</startdate><enddate>20240429</enddate><creator>Wertheimer, Davis</creator><creator>Rosenkranz, Joshua</creator><creator>Parnell, Thomas</creator><creator>Suneja, Sahil</creator><creator>Ranganathan, Pavithra</creator><creator>Ganti, Raghu</creator><creator>Srivatsa, Mudhakar</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20240429</creationdate><title>Accelerating Production LLMs with Combined Token/Embedding Speculators</title><author>Wertheimer, Davis ; Rosenkranz, Joshua ; Parnell, Thomas ; Suneja, Sahil ; Ranganathan, Pavithra ; Ganti, Raghu ; Srivatsa, Mudhakar</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a674-f1b541e5ea0102287440026ea686c45e52151a7001b71919c7bb12519d3ce3e43</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2024</creationdate><topic>Computer Science - Computation and Language</topic><toplevel>online_resources</toplevel><creatorcontrib>Wertheimer, Davis</creatorcontrib><creatorcontrib>Rosenkranz, Joshua</creatorcontrib><creatorcontrib>Parnell, Thomas</creatorcontrib><creatorcontrib>Suneja, Sahil</creatorcontrib><creatorcontrib>Ranganathan, Pavithra</creatorcontrib><creatorcontrib>Ganti, Raghu</creatorcontrib><creatorcontrib>Srivatsa, Mudhakar</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Wertheimer, Davis</au><au>Rosenkranz, Joshua</au><au>Parnell, Thomas</au><au>Suneja, Sahil</au><au>Ranganathan, Pavithra</au><au>Ganti, Raghu</au><au>Srivatsa, Mudhakar</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Accelerating Production LLMs with Combined Token/Embedding Speculators</atitle><date>2024-04-29</date><risdate>2024</risdate><abstract>This technical report describes the design and training of novel speculative
decoding draft models, for accelerating the inference speeds of large language
models in a production environment. By conditioning draft predictions on both
context vectors and sampled tokens, we can train our speculators to efficiently
predict high-quality n-grams, which the base model then accepts or rejects.
This allows us to effectively predict multiple tokens per inference forward
pass, accelerating wall-clock inference speeds of highly optimized base model
implementations by a factor of 2-3x. We explore these initial results and
describe next steps for further improvements.</abstract><doi>10.48550/arxiv.2404.19124</doi><oa>free_for_read</oa></addata></record> |
fulltext | fulltext_linktorsrc |
identifier | DOI: 10.48550/arxiv.2404.19124 |
ispartof | |
issn | |
language | eng |
recordid | cdi_arxiv_primary_2404_19124 |
source | arXiv.org |
subjects | Computer Science - Computation and Language |
title | Accelerating Production LLMs with Combined Token/Embedding Speculators |
url | https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-22T07%3A24%3A42IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Accelerating%20Production%20LLMs%20with%20Combined%20Token/Embedding%20Speculators&rft.au=Wertheimer,%20Davis&rft.date=2024-04-29&rft_id=info:doi/10.48550/arxiv.2404.19124&rft_dat=%3Carxiv_GOX%3E2404_19124%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true |