TL;DR
ReSET addresses the accuracy and latency bottlenecks of deploying Large Reasoning Models (LRMs) using ultra-low-precision NVFP4 quantization. By introducing an online, step-aware temperature scaling policy and a custom CUDA-core GEMV kernel for small batch sizes, it recovers reasoning accuracy while delivering up to 2.5× kernel speedups and 2× end-to-end decoding speedups over BF16 on NVIDIA Blackwell GPUs.
What Problem Does This Paper Address?
Large Reasoning Models (such as DeepSeek-R1 and Qwen3) achieve impressive problem-solving capabilities by generating long intermediate reasoning chains (Chain-of-Thought). However, this comes at a massive inference cost, dominated by per-token decode latency. While NVIDIA's new 4-bit floating-point format (NVFP4) on Blackwell Tensor Cores promises a 4× throughput boost, applying it directly to LRMs hits two major roadblocks:
- Accuracy Degradation: Quantization introduces small perturbations in token probabilities. In multi-step reasoning, these errors propagate and compound, frequently causing the model to mis-sample critical symbolic tokens (like digits or operators) and break the final answer.
- The Small-$M$ Utilization Collapse: Production serving often operates at very small batch sizes ($M \le 8$) due to strict latency constraints (SLOs) and memory pressure. Blackwell's native NVFP4 Tensor Core instructions require a fixed tile size of $M=128$. At small batch sizes, this results in less than 1% Tensor Core utilization, completely erasing the promised 4× hardware advantage.
Methods
The authors propose a two-pronged solution called ReSET (Reasoning-step Entropy-based Temperature Scaling):
- Step-Aware Temperature Scaling (SAT): Instead of using a fixed token-level entropy threshold to adjust sampling, ReSET dynamically tracks uncertainty at the reasoning-step level (delineated by double newlines). In confident steps, it applies standard global thresholds to sharpen low-entropy tokens. In highly uncertain steps, it dynamically shifts to a step-relative threshold, ensuring that locally deterministic symbolic tokens are still sharpened even if their absolute entropy is elevated by the surrounding context. An online Hybrid Estimator (HSE) calculates this step-level entropy causally during generation with negligible overhead.
- Custom CUDA-Core NVFP4 GEMV Kernel: To bypass the fixed-tile limitations of Tensor Cores at small batch sizes ($M \le 8$), the authors engineered a specialized CUDA-core kernel. It incorporates Multi-token CTA fusion (reusing streamed weight tiles across active decode tokens), Multi-accumulator threading (exposing instruction-level parallelism), and Register-only dequantization (unpacking FP4 values directly into registers to avoid slow shared-memory overhead).
Datasets
The method was evaluated across five open reasoning models (R1-Distill-Qwen-7B/14B and Qwen3-8B/14B/32B) on three major reasoning benchmarks:
- AIME-120 (American Invitational Mathematics Examination, 2022–2025 combined)
- GPQA-Diamond (Graduate-level Google-proof Q&A)
- LiveCodeBench (Holistic code generation benchmark)
A small subset of NuminaMath-1.5 was used as a calibration split to set baseline thresholds.
Key Insights and Ideas
- Token entropy is relative to the step: A token's uncertainty isn't just a function of the token itself; it is heavily dominated by the uncertainty of the surrounding reasoning step. Fixed-threshold token filtering fails in high-uncertainty steps because even simple digits exhibit high absolute entropy, causing the system to miss critical sharpening opportunities.
- Quantization distorts entropy bidirectionally: Under NVFP4 quantization, low-entropy symbolic tokens suffer from entropy inflation (leading to incorrect sampling), while high-entropy discourse tokens suffer from entropy collapse (causing over-concentration and killing diversity). ReSET addresses both by lowering the temperature for symbolic tokens and raising it for high-uncertainty steps.
- CUDA cores can beat Tensor Cores at the edge: When batch sizes are small ($M \le 8$), the structural padding requirements of Tensor Cores make them wildly inefficient. A software-optimized CUDA-core implementation that handles dequantization manually can significantly outperform native Tensor Cores by precisely matching the decode shape.
Key Results
- Accuracy Recovery: ReSET consistently outperformed post-training quantization (PTQ) baselines, boosting NVFP4 reasoning accuracy by up to 2.6 points on AIME-120.
- Kernel Speedups: The custom CUDA-core GEMV kernel achieved 1.57× to 2.49× latency reduction compared to vLLM's native CUTLASS Tensor Core implementation for small batch sizes ($M=1-8$) on an NVIDIA B200 GPU.
- End-to-End Performance: Combined with the ReSET sampler, the system achieved up to 1.97× end-to-end decoding speedup over standard BF16 inference.
Limitations and Future Work
- The analysis and evaluation are strictly focused on reasoning-oriented autoregressive decoding workloads under NVFP4 on NVIDIA Blackwell GPUs.
- The optimal entropy thresholds and temperature hyperparameters might vary depending on how the underlying LRM was trained (e.g., specific RL or supervised fine-tuning strategies).
- Future work includes exploring more aggressive microscaling formats like MXFP4 and evaluating the strategy on alternative hardware architectures or larger-batch throughput-oriented serving regimes.
Summary updated