DeepSeek ha appena reso TUTTI gli LLM più veloci
DeepSeek's new Spark technique uses semi-autoregressive speculative decoding to accelerate LLM inference by 51-400% without quality loss or model retraining. By combining a fast parallel draft model with an efficient verification process, Spark achieves higher token acceptance rates than competing methods like Eagle 3 and Flash, enabling faster inference on consumer hardware.
Summary
The video explains speculative decoding, a technique that pairs a large target model with a much smaller draft model to speed up token generation. The draft model quickly generates candidate tokens while the large model verifies their correctness, avoiding the computational bottleneck of sequential autoregressive generation. DeepSeek's innovation, Spark, improves upon earlier speculative decoding approaches (Eagle 3 and Flash) by addressing three key problems: draft model speed, token acceptance rate, and verification efficiency.
Spark uses a semi-autoregressive architecture where a parallel block rapidly generates four draft tokens, followed by a sequential block that injects dependencies between tokens to maintain logical coherence. Each token receives a confidence score between 0 and 1; tokens below a threshold are discarded before reaching the target model. The remaining candidates are passed to the target model for final verification. This approach achieves substantially higher token acceptance rates (around 61%) compared to alternatives.
Benchmark results show Spark delivers 52-57% throughput improvements on V4 Flash and 406-661% on V4 Pro, translating to nearly double the tokens per second. The speaker emphasizes that combining Spark with other optimization techniques (dynamic quantization, SSD streaming, inference engines) could enable high-quality LLMs to run effectively on consumer PCs at speeds comparable to cloud-based services, democratizing access to powerful models.
Key Insights
- Speculative decoding works by having a small draft model generate tokens in parallel while a large target model verifies correctness in a single pass, analogous to one person speaking for you in a meeting while you listen and correct errors, making inference cognitively lighter than sequential autoregressive generation
- Spark achieves better token acceptance rates than Eagle 3 and Flash by using a semi-autoregressive architecture combining parallel draft generation with a sequential block that injects dependencies between tokens, maintaining logical coherence
- The hardware-aware prefix scheduler in Spark pre-filters draft tokens based on confidence scores, eliminating low-confidence candidates before presenting them to the target model, reducing unnecessary verification work
- Spark achieves 406% to 661% throughput improvements on production DeepSeek models (V4 Flash and V4 Pro) without requiring model retraining or weight modification, demonstrating the technique's universal applicability
- Combining Spark with other optimization techniques like dynamic quantization and SSD streaming could enable consumer PCs to run advanced LLMs at 50-60 tokens per second, making cloud-dependent models like GPT accessible locally
Topics
Transcript
[0:00] Every time Deepsik releases a new scientific paper it is a masterpiece of engineering and optimization. For me, making these videos is pure enjoyment, that is, I have a lot of fun explaining the insights and what's behind them in a simple way. So, in this video, we're going to see what Spark is, this new semi-autoregressive speculative decoding technique that leads to efficiency gains of 51% [0:31] to 400% in certain cases in output generation speed, without losing quality, without retraining, and this is absurd. it is not a quantization technique, it does not touch the weights of the model, it is a technique that keeps the model as it is, it uses speculative decoding and in certain…
Full transcript available for MurmurCast members
Sign Up to AccessMore from Simone Rizzo
Gemini 4 Argon é stato appena annunciato da Google e rappresenta a detta loro il nuovo modello AI
Google announces Gemini 4 Argon, a new AI model claimed to compete with OpenAI and Anthropic offerings, featuring strong performance across benchmarks and enhanced security against prompt injection attacks. The model will be released through a staged rollout starting with the Fairwind Program for selected companies, followed by API access for developers, and eventually public release.
OpenAI dots compete con grokbot il nuovo gpt 6.1 sol compete con opus 5.5 tutto questo è successo
OpenAI released multiple new frontier models including GPT 6.1 Sol at significantly lower token costs, along with cloud-based agents called Dots that compete with Grockbot. The company introduced new subscription tiers, collaborative spaces, a Decisions API for real-time decision-making, and cloud-based coding tools, while Elon Musk strategically acquired dots.com to redirect traffic to Grockbot.
OpenAI copia Grok con i dots? GPT-6.1 sfida Opus 5.5
A comprehensive analysis of OpenAI's DevDay announcements, including new AI agents called 'Dots,' the GPT-6.1 model, and pricing changes, alongside broader trends in AI development from competitors like Anthropic and open-source projects. The speaker critiques the announcements as largely incremental improvements rather than groundbreaking innovations.
Apple rilascia un nuovo modello AI si chiama LensVLM e cerca di risolvere il problema dei token in
Apple releases LensVLM, a fine-tuned 9 billion parameter model based on Qwen 3.5, implementing a novel technique called Selective Context Expansion that converts text into images to achieve 15x token compression. This approach allows visual language models to handle large text inputs more efficiently while maintaining reasoning accuracy.
Usare Jev per risparmiare tantissimi token nel tuo agente AI mantenendo alte le prestazioni.
Tamara discovered a method to use JEV, a fast decision-making model, to replace the slow slash compact function in AI agents. By having JEV decide whether to keep or discard function outputs, the system clears context window space much faster while maintaining performance. The solution, called Fast Jeev Comp, has gained significant popularity and can also be run locally using open-source models.