Latest / Daily Paper Cast / Why Gated DeltaNet Survives 4-Bit Quantization: NVFP4 W4A4 for the Recurrent Half of a Hybrid 27B LLM
Transcript
- 0:03Evan: Welcome to Daily Paper Cast.
- 0:06Evan: Today’s paper is from Hugging Face’s daily paper list of September 4, 2026, and it has received 51 upvotes.
- 0:14Ashley: It's titled, 'Why Gated DeltaNet Survives 4-Bit Quantization: NVFP4 W4A4 for the Recurrent Half of a Hybrid 27B LLM.'
- 0:25Evan: The authors are Sergii Kozyrev and Davyd Maiboroda, with Sergii being the corresponding author.
- 0:31Both are affiliated with MNMA AI.
- 0:34Evan: Let’s dive into the Introduction section, shall we?
- 0:38Ashley: Sure thing.
- 0:39The paper explores the intersection of two major trends in large language models: the use of hybrid models that combine softmax attention with linear-attention layers and 4-bit quantization methods for weight and activation efficiency.
- 0:54Evan: Interesting.
- 0:55Could you give us a little more background on these trends?
- 0:58Ashley: Hybrid language models, such as the Gated DeltaNet used in Qwen3.8-27B, leverage linear attention alongside traditional softmax attention.
- 1:08This allows the model to maintain a fixed-size recurrent state that summarizes the entire context.
- 1:15Evan: So the fixed-size recurrent state is a key part of the architecture.
- 1:19What about the 4-bit quantization trend?
- 1:22Ashley: 4-bit quantization, referred to in the paper as W4A4, is about using 4 bits for both weights and activations during inference to reduce the computational load and resource requirements.
- 1:34NVFP4 is a specific format used in the paper, which pairs E2M1 4-bit values with an E4M3 scale per 16-element block.
- 1:45Evan: And this is to make inference more efficient on current hardware, correct?
- 1:50Ashley: Exactly.
- 1:51The authors are addressing the challenge of quantizing the Gated DeltaNet (GDN) block of a large language model entirely to 4 bits, which hadn't been fully attempted before.
- 2:02Evan: Got it.
- 2:03So, the paper’s core objective is to show that the Gated DeltaNet can reliably operate under full 4-bit quantization.
- 2:10What contributions do they make in this aspect?
- 2:13Ashley: They make several key contributions.
- 2:15First, they present Minima, the first true W4A4-GDN model where all 496 linear layers of Qwen3.8-27B are quantized to NVFP4 W4A4, including the gate projections.
- 2:30They show it matches float-level performance within seed noise across six different accuracy suites.
- 2:36Evan: Matching float-level performance with 4-bit quantization is impressive.
- 2:42How do they demonstrate why it works?
- 2:44Ashley: The authors conduct a detailed mechanism study to explain why GDN works with 4-bit quantization.
- 2:50This includes activation statistics, sensitivity replays for projections, error propagation in the recurrence, and a positional decomposition of the perplexity gap.
- 3:00They find that block scaling helps localize activation outliers, gate nonlinearities effectively squash errors, and the delta rule bounds and forgets state errors quickly.
- 3:11Evan: What are some specific findings from their mechanism study?
- 3:16Ashley: One of their findings is that the supposedly fragile gate projections are actually the least sensitive to quantization noise.
- 3:23They show that errors from the softplus and sigmoid parameterizations of the gates’ projections result in minimal impact on overall output errors.
- 3:31Furthermore, the recurrence mechanism actively overwrites state errors along the current key direction, making the GDN resilient to quantization noise.
- 3:40Evan: Interesting.
- 3:42They also mentioned something about a practical recipe for deployment.
- 3:46Can you elaborate on that?
- 3:47Ashley: Definitely.
- 3:48In terms of practical deployment, the authors suggest a 'quantize everything' approach, emphasizing the inclusion of calibrated FP8 scales for the KV-cache.
- 3:58This ensures better performance with minimal impact on long-context tasks.
- 4:03Evan: Alright, that brings us to the end of the Introduction section.
- 4:09Evan: Now let’s move on to the Method section, where the authors detail their approach to quantizing the Gated DeltaNet.
- 4:16Ashley: The core aspect of their method is the implementation of NVFP4 W4A4 quantization across all the linear layers of the Qwen3.8-27B model.
- 4:30Specifically, they include 48 GDN layers and 16 attention layers.
- 4:36Evan: Right, so what exactly is NVFP4 W4A4, and how does it work in their approach?
- 4:45Ashley: NVFP4 stands for a format that stores values in a combination of E2M1 and E4M3, supporting 4-bit values for weights and activations.
- 4:55Essentially, E2M1 represents 4-bit values, and E4M3 provides a scale per 16-element block to maintain precision.
- 5:04W4A4 denotes the quantization of both weights and activations to 4 bits.
- 5:10Evan: Got it.
- 5:11How does this play out in the context of recurrent state GDN specifically?
- 5:16Ashley: Great question.
- 5:17In the context of the Gated DeltaNet, this involves quantizing the recurrent state, which summarizes the context in a fixed size matrix.
- 5:25This matrix gets updated recurrently as the model processes sequences of tokens.
- 5:31Evan: Interesting.
- 5:32What makes the GDN quantization particularly challenging?
- 5:37Ashley: Quantizing GDN is challenging because of the belief that errors accumulate over long contexts, especially in the decay and write-strength gate projections.
- 5:46Previous efforts safeguarded these projections by keeping them in higher precision.
- 5:51Evan: But the authors' experiments have shown otherwise, right?
- 5:55Ashley: Indeed.
- 5:56They proposed to quantize everything, including these projections, and demonstrated that it doesn't negatively impact the model's performance.
- 6:05They conducted thorough tests across multiple datasets to substantiate this.
- 6:09Evan: Let's talk about those datasets and evaluation methods.
- 6:14What were the tasks and metrics used?
- 6:16Ashley: They evaluated the model on an array of benchmarks including perplexity at 4,000 and 32,000 tokens, MMLU-Pro, GSM8K, AIME’25, GPQA-Diamond, LiveCodeBench, and RULER retrieval up to 64K tokens.
- 6:34Perplexity measures the model's ability to predict the next word in a sequence, and the other tasks assess various aspects like language understanding, problem-solving, and code generation.
- 6:45Evan: That’s a a comprehensive evaluation.
- 6:48What did they find in terms of performance?
- 6:51Ashley: They reported that Minima, their fully quantized model, matches the performance of the BF16 model within seed noise across these benchmarks.
- 7:00Specifically, they found the average difference to be about -0.52 on a five-task average, which is negligible.
- 7:08Evan: They also mentioned efficiency improvements.
- 7:11Can you elaborate on those?
- 7:13Ashley: Efficiency was a significant finding.
- 7:15The Minima model is 2.9 times smaller in VRAM compared to BF16 and up to 19% faster in prefill operations.
- 7:24This is significant for practical deployment because it reduces the resource footprints and speeds up inference times.
- 7:30Evan: Great, and they mentioned something about block scaling and activation statistics helping in localization of errors?
- 7:38Ashley: Yes, that’s correct.
- 7:40They found that by using block scaling to localize extreme outliers in the activation values, the resulting quantization errors were confined to within the 16-element blocks.
- 7:50This significantly reduced the error propagation.
- 7:53Evan: Can you explain how gate nonlinearities played a role?
- 7:58Ashley: Sure.
- 7:58They observed that the softplus and sigmoid function parameterizations of the gate projections compress quantization noise effectively.
- 8:06An 11% error in gate projection GEMM was translated to only about a 2-3% output error, thanks to these nonlinearities.
- 8:15Evan: What about the delta rule recurrence you mentioned earlier?
- 8:20Ashley: The delta rule, which forms the basis for GDN updates, helps in managing quantization noise.
- 8:26It does this by overwriting the state in the direction of the current key, effectively canceling out errors quickly as new tokens are processed.
- 8:34Evan: This mechanism seems to eliminate error accumulation over long contexts, right?
- 8:40Ashley: Precisely.
- 8:41They demonstrated that the state error remains flat over 32,000 tokens, and longer contexts actually see the per-token impact diminishing, contradicting the initial community intuition.
- 8:54Evan: Were there any other interesting findings during their method evaluation?
- 8:59Ashley: One more key finding was regarding the consistency in calibration and serving stack modifications.
- 9:05They identified and corrected a scale mismatch issue that arose when running per-module calibrated NVFP4 checkpoints on fused GEMM kernels.
- 9:14This fix was necessary to correctly measure the performance of the quantized model.
- 9:19Evan: That’s a vital point for anyone looking to replicate these results.
- 9:23Anything else on the KV-cache performance?
- 9:26Ashley: Yes, they also addressed FP8 KV-cache precision, finding that the quantization cost for weight and key-value cache compound to a more substantial penalty in Minima unless calibrated scales per attention layer were included.
- 9:41With these scales, they recovered 83% of the performance hit.
- 9:45Evan: That's the end of the Method section.
- 9:47The team has certainly laid out a robust and detailed approach to 4-bit quantization for Gated DeltaNet.
- 9:55Evan: Now let’s proceed to the Experiment and Results section, where the authors present their findings.
- 10:01Ashley: The authors evaluated the Minima model on a variety of benchmarks to compare its performance against BF16 and other quantized versions of the Qwen3.8-27B model.
- 10:13Evan: That's right.
- 10:14They used six specific task suites and also measured perplexity at 4,000 and 32,000 tokens.
- 10:22What did they discover?
- 10:23Ashley: The primary discovery was that Minima matches the BF16 model's performance within seed noise across all tasks.
- 10:30For instance, in the five-task average, the performance gap was only about -0.52, which is quite negligible, considering the reduced bit precision.
- 10:40Evan: Could you break down the specific results for some of the tasks?
- 10:45Ashley: Certainly.
- 10:46On the WikiText-2 perplexity task, they reported PPL scores of 7.67 at 4K tokens and 10.84 at 32K tokens for Minima.
- 10:57This was compared to 6.95 and 10.35, respectively, for the BF16 model.
- 11:04Evan: What about the other benchmarks?
- 11:07Ashley: Sure.
- 11:08For the MMLU-Pro task, Minima scored 79.7% compared to 80.4% for BF16.
- 11:16On GSM8K, both models scored 95.5%.
- 11:20In AIME’25, Minima and BF16 both scored 86.7%.
- 11:26For GPQA-Diamond, the scores were 85.1% for Minima and 86.5% for BF16.
- 11:34Evan: Those are tight margins.
- 11:36How did Minima perform on the LiveCodeBench v6?
- 11:40Ashley: On LiveCodeBench v6, Minima scored 78.5%, slightly behind BF16 at 79.0%.
- 11:49These results across diverse benchmarks confirm Minima's robustness.
- 11:53Evan: Let’s discuss the efficiency metrics.
- 11:56What improvements did the authors report?
- 11:58Ashley: Minima was found to be 2.9 times smaller than BF16 in terms of VRAM usage, taking only 17.5 GiB compared to 50.13 GiB.
- 12:09This reduction is significant for scaling and deploying large models cost-effectively.
- 12:14Evan: And the speed metrics?
- 12:17Ashley: Minima outperformed others in prefill operations, completing 32K-token prefill tasks in 4.03 seconds, compared to 6.90 seconds for BF16.
- 12:29It also showed similar prompt throughput improvements.
- 12:32Evan: That’s quite an improvement.
- 12:34What about their analysis of quantization impact over token positions?
- 12:38Ashley: Interestingly, the quantization impact diminished over longer contexts.
- 12:43They observed that Minima’s perplexity gap with BF16 narrowed from +0.72 at 4K tokens to +0.49 at 32K tokens.
- 12:54This indicates that the quantization cost is absorbed as the context grows.
- 12:59Evan: And how did Minima handle activation and weight errors?
- 13:04Ashley: The authors found that activation errors were confined within 15-16% due to block scaling, preventing degradation across the entire layer.
- 13:14Weight errors were slightly higher but still maintained within the acceptable range of 10.5-11.9%.
- 13:22Evan: Were there any findings around robustness?
- 13:25Ashley: Yes, their results showed that the gate projections, despite being quantized to 4 bits, handled errors very well.
- 13:33The projected gate outputs had minimal impact on overall output errors, demonstrating great resilience.
- 13:39Evan: Do they provide any insights into practical deployment?
- 13:44Ashley: Indeed.
- 13:45They highlighted the importance of per-layer calibrated FP8 scales for the KV-cache, which when applied, recovered 83% of the model's long-context performance penalties.
- 13:56This calibration is performance-free and highly recommended for deployment.
- 14:00Evan: That’s very useful information for practitioners.
- 14:03And with that, we've come to the end of the Experiment section.
- 14:08Evan: Now we'll move on to the Related Work section where the paper situates itself within the existing research landscape.
- 14:15Ashley: The authors start by discussing the previous work on linear attention and hybrid models.
- 14:20Notably, they reference Gated DeltaNet's combination of the parallelizable delta rule with Mamba2-style gating, deployed as the main mixer in Qwen3.8-27B.
- 14:31Evan: What makes Gated DeltaNet typical within these hybrid models?
- 14:36Ashley: Gated DeltaNet is significant for its ability to leverage the efficiency of the delta rule in parallelizing layers while incorporating gating mechanisms to improve state management.
- 14:46This combination results in enhanced performance for large language models.
- 14:51Evan: And how does this intersect with low-bit quantization work?
- 14:55Ashley: The authors reference work on low-bit weight-only and weight-activation quantization methods, which have demonstrated that handling outliers is a critical challenge in W4-W8 inference.
- 15:06They mention NVFP4 as a hardware-native format that integrates this management directly into the datatype.
- 15:13Evan: NVFP4 seems central to their work.
- 15:18How does it fit in with the existing quantization techniques?
- 15:23Ashley: Indeed, NVFP4 is a specialized format supporting native 4-bit tensor operations, which builds on earlier methods for outlier management in quantization.
- 15:34This format ensures that even extreme values are contained within their block scales, simplifying implementation on current accelerators.
- 15:42Evan: Are there any other directly related approaches mentioned by the authors?
- 15:47Ashley: Yes, the authors discuss GPTQ for accurate post-training quantization of transformers and SmoothQuant for post-training quantization of large models, both of which informed their approach.
- 15:59Additionally, they mention AWQ, which emphasizes activation-aware weight quantization for model compression.
- 16:06Evan: Sounds like there’s a rich landscape of quantitative techniques being applied.
- 16:11Do the authors note any recent checkpoints or projects?
- 16:14Ashley: Yes, they mention QUASAR, which released a concurrent checkpoint of Qwen3.8-27B using quantization-aware training.
- 16:22QUASAR's model also quantizes all 496 projections, similar to this paper's approach, but utilizes learned weights under quantization instead of post-training quantization.
- 16:33Evan: That's fascinating.
- 16:35How do they view their method in comparison?
- 16:39Ashley: The authors argue that while QUASAR adds an extra layer of complexity with its quantization-aware training, their calibration-only post-training quantization (PTQ) achieves comparable accuracy.
- 16:51They emphasize that the mechanisms inherent in GDN’s architecture support robust performance even with straightforward PTQ.
- 16:59Evan: Do they discuss any practical implementations of their approach?
- 17:03Ashley: They reference their concurrent engineering work which extends the Minima quantization approach to the full model, including embeddings and the language model head, showing that broader application is feasible and beneficial for efficient deployment.
- 17:17Evan: How does their work interact with other methods for KV-cache optimization?
- 17:22Ashley: The paper references methods like KVQuant that target long-context inference.
- 17:27Specifically, hybrid models, which inherently reduce KV-cache size, benefit from the nuanced approach to scaling and calibration in the context of 4-bit quantization, as illustrated by their practical guidance on KV-cache precision.
- 17:41Evan: What about future directions or ongoing challenges?
- 17:46Ashley: The authors acknowledge limitations, such as the scope of evidence being constrained to one model family and the need for further testing on longer contexts.
- 17:55They also recognize the potential need for different parameters on other architectures, especially where delta and correction mechanisms vary.
- 18:03Evan: Clearly, there's a complex web of developments in this field.
- 18:08And that's the end of the Related Work section.
- 18:13Evan: We've now covered the main sections of today's paper.
- 18:16Let's summarize the key contributions and takeaways.
- 18:20Ashley: The authors introduced Minima, a fully quantized Gated DeltaNet model using NVFP4 W4A4.
- 18:27They demonstrated that all 496 linear layers, including the gate projections, can be quantized to 4 bits without compromising performance.
- 18:36Evan: Specifically, Minima matched the performance of a BF16 model across a range of benchmarks including perplexity, language understanding, problem-solving, and code generation tasks.
- 18:49Ashley: Indeed.
- 18:50They also showed that the quantization introduced significant efficiency improvements.
- 18:55Minima was 2.9 times smaller in VRAM usage and delivered faster prefill operation times compared to the BF16 model.
- 19:04Evan: A key takeaway from their mechanism study was that the gate projections, initially thought to be fragile under quantization, actually handle errors very well due to the architecture's inherent robustness.
- 19:16Ashley: They also highlighted the importance of calibrated scales for the KV-cache.
- 19:21This practical recommendation ensures long-context performance remains robust under 4-bit quantization.
- 19:28Evan: In summary, this paper not only pushes the boundaries of 4-bit quantization but also provides detailed insights into practical deployment for hybrid large language models.
- 19:39Ashley: That wraps up today's discussion on the Daily Paper Cast.
- 19:42We hope you found this episode insightful.
- 19:45Evan: Be sure to join us again for more deep dives into the latest AI research.
- 19:50Thanks for listening, and see you next time!