<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Accelerating Large Language Model Decoding with Speculative Sampling · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/2302.01318/</link><description>Collected HN comments and submissions linking this paper.</description><language>en</language><lastBuildDate>Mon, 02 Nov 2026 11:16:22 GMT</lastBuildDate><atom:link href="https://hackerpaper.kaipfister.de/p/2302.01318/feed.xml" rel="self" type="application/rss+xml" /><item><title>Accelerating Large Language Model Decoding with Speculative Sampling — mentioned by furyofantares</title><link>https://news.ycombinator.com/item?id=48029944</link><guid isPermaLink="false">urn:hackerpapers:mention:2302.01318:48029944</guid><pubDate>Tue, 05 May 2026 23:06:41 GMT</pubDate><description>&lt;p&gt;Models do not generate tokens. They generate probabilities for each token. Inference parameters select a token using those. You can just select the top token all the time or you can do it probabilistically. How you do that in both the speculative decoding and the main inference changes how likely you get the exact same tokens. And then you can choose to accept only if the token matches exactly, or you can choose to accept if it was reasonably likely to be chosen. Let&amp;#x27;s say the main model picked the 2nd most likely token and speculative picked the most likely. You can reject that - but you get…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2302.01318/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Accelerating Large Language Model Decoding with Speculative Sampling — mentioned by lhl</title><link>https://news.ycombinator.com/item?id=41676369</link><guid isPermaLink="false">urn:hackerpapers:mention:2302.01318:41676369</guid><pubDate>Fri, 27 Sep 2024 23:01:55 GMT</pubDate><description>&lt;p&gt;Orders of magnitude seems a bit ambitious. The implementation from the DeepMind paper achieved a 2-2.5X https://arxiv.org/pdf/2302.01318 and most of the tests I&amp;#x27;ve seen [1][2] have been similar, but there are different variations (Medusa, Ouroboros, etc) that can do better/be combined. Recently Together.ai published SpecExec, a SD variant which did claim to get a 10-18X speedups: https://www.together.ai/blog/specexec [1] https://www.reddit.com/r/LocalLLaMA/comments/17h4rqz/specula... [2] https://arxiv.org/pdf/2402.01528v3&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2302.01318/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Accelerating Large Language Model Decoding with Speculative Sampling — mentioned by faabian</title><link>https://news.ycombinator.com/item?id=40221329</link><guid isPermaLink="false">urn:hackerpapers:mention:2302.01318:40221329</guid><pubDate>Wed, 01 May 2024 10:02:07 GMT</pubDate><description>&lt;p&gt;Exactly, but there is also a rejection sampling based method for speculative sampling: https://arxiv.org/abs/2302.01318&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2302.01318/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Accelerating Large Language Model Decoding with Speculative Sampling — mentioned by espadrine</title><link>https://news.ycombinator.com/item?id=38193558</link><guid isPermaLink="false">urn:hackerpapers:mention:2302.01318:38193558</guid><pubDate>Wed, 08 Nov 2023 17:15:17 GMT</pubDate><description>&lt;p&gt;I am betting on a combination of quantization and speculative sampling with a distilled smaller set of models: https://arxiv.org/pdf/2302.01318.pdf&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2302.01318/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Accelerating Large Language Model Decoding with Speculative Sampling — HN submission</title><link>https://news.ycombinator.com/item?id=37387450</link><guid isPermaLink="false">urn:hackerpapers:submission:2302.01318:37387450</guid><pubDate>Tue, 05 Sep 2023 03:17:41 GMT</pubDate><description>&lt;p&gt;Accelerating Large Language Model Decoding with Speculative Sampling&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;1 point; 0 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/2302.01318/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Accelerating Large Language Model Decoding with Speculative Sampling — mentioned by airgapstopgap</title><link>https://news.ycombinator.com/item?id=36781875</link><guid isPermaLink="false">urn:hackerpapers:mention:2302.01318:36781875</guid><pubDate>Wed, 19 Jul 2023 03:40:40 GMT</pubDate><description>&lt;p&gt;Not really. They have a way of squaring this circle, by changing their inference code. Speculative sampling [1] would still make their first claim a lie – sure, there&amp;#x27;d still be the original GPT-4 model, plus a smaller draft worker. But early exit decoding [2] allows you to get almost as good results for much cheaper from exactly the same checkpoint. We know that this line of research for large-scale inference is going strong [3] so it stands to reason that OpenAI, with their wealth of talent focused on GPT-4 throughput&amp;amp;inference [4], large contexts and aggressive pricing policy, would also…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2302.01318/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Accelerating Large Language Model Decoding with Speculative Sampling — mentioned by visarga</title><link>https://news.ycombinator.com/item?id=35630256</link><guid isPermaLink="false">urn:hackerpapers:mention:2302.01318:35630256</guid><pubDate>Wed, 19 Apr 2023 16:37:55 GMT</pubDate><description>&lt;p&gt;You can use it as the assistant model to a large model, it&amp;#x27;s called speculative sampling. You generate text with the small model and validate with the large one, ensuring no deviation occurs. Speedup of 2.5x https://arxiv.org/abs/2302.01318 (DeepMind)&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2302.01318/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Accelerating Large Language Model Decoding with Speculative Sampling — mentioned by visarga</title><link>https://news.ycombinator.com/item?id=35243234</link><guid isPermaLink="false">urn:hackerpapers:mention:2302.01318:35243234</guid><pubDate>Tue, 21 Mar 2023 06:56:55 GMT</pubDate><description>&lt;p&gt;Speculative sampling to the rescue - you decode locally with a smaller-LLM, and only check from time to time with a large model, like every few tokens. This guarantees exactly the same quality with a big speedup, as you don&amp;#x27;t need to predict with the large model each individual token. Accelerating Large Language Model Decoding with Speculative Sampling https://arxiv.org/abs/2302.01318&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2302.01318/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Accelerating Large Language Model Decoding with Speculative Sampling — mentioned by visarga</title><link>https://news.ycombinator.com/item?id=35118704</link><guid isPermaLink="false">urn:hackerpapers:mention:2302.01318:35118704</guid><pubDate>Sun, 12 Mar 2023 11:03:03 GMT</pubDate><description>&lt;p&gt;You can use Speculative Sampling, where a draft model is used to generate short continuations of a sequence, which are scored in parallel by the large model. The draft model can be small, and you only need to call the large model from time to time, so you can stream it from SSD or cheap RAM. Using LRDIMM DDR4 at the price of less than $1000 it is possible to stream GPT-3 five times a second, in 4bit quantisation. Multiply that with the 2-2.5x speedup from Speculative Sampling. &amp;gt;Accelerating Large Language Model Decoding with Speculative Sampling https://arxiv.org/abs/2302.01318&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2302.01318/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Accelerating Large Language Model Decoding with Speculative Sampling — mentioned by ebalit</title><link>https://news.ycombinator.com/item?id=35012501</link><guid isPermaLink="false">urn:hackerpapers:mention:2302.01318:35012501</guid><pubDate>Fri, 03 Mar 2023 17:23:12 GMT</pubDate><description>&lt;p&gt;It looks like a description of Speculative Sampling. There&amp;#x27;s a recent paper from DeepMind about this in the context of LLM [0], although it&amp;#x27;s not a completely new idea of course. The potential for speedup according to their paper is closer to 2x than 10x however. 0: https://arxiv.org/abs/2302.01318&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2302.01318/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Accelerating Large Language Model Decoding with Speculative Sampling — HN submission</title><link>https://news.ycombinator.com/item?id=34691999</link><guid isPermaLink="false">urn:hackerpapers:submission:2302.01318:34691999</guid><pubDate>Tue, 07 Feb 2023 12:45:50 GMT</pubDate><description>&lt;p&gt;Accelerating Large Language Model Decoding with Speculative Sampling&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;1 point; 0 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/2302.01318/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item></channel></rss>
