potentialpaper

SnapMLA: Efficient Long-Context MLA Decoding via Hardware-Aware FP8 Quantized Pipelining

Yifan Zhang, Zunhai Su, Shuhao Hu, YangRui, Wei Wu, Yulei Qian, Yuchen Xie, Xunliang Cai

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. In this paper, we introduce SnapMLA, an FP8 MLA decoding framework optimized to improve long-context efficiency through hardware-aware algorithm-kernel co-optimization techniques.

Abstract. While FP8 attention has shown substantial promise in innovations like FlashAttention-3, its integration into the decoding phase of the DeepSeek Multi-head Latent Attention (MLA) architecture presents notable challenges. These challenges include numerical heterogeneity arising from the decoupling of positional embeddings, misalignment of quantization scales in FP8 PV GEMM, and the need for optimized system-level support. In this paper, we introduce SnapMLA, an FP8 MLA decoding framework optimized to improve long-context efficiency through the following hardware-aware algorithm-kernel co-optimization techniques: (i) RoPE-Aware Per-Token KV Quantization: Motivated by our analysis of the heterogeneous quantization sensitivity inherent to the MLA KV cache, this approach preserves the RoPE part in high precision. Furthermore, per-token granularity is employed to align with the autoregressive decoding process and maintain quantization accuracy. (ii) Quantized PV Computation Pipeline Reconstruction: Addresses the misalignment of quantization scales in FP8 PV computation caused by the shared KV structure of the MLA. (iii) End-to-End Dataflow Optimization: Establishes an efficient data read-and-write workflow using specialized kernels, ensuring streamlined data flow and improved performance. Extensive experiments on state-of-the-art MLA LLMs show that SnapMLA achieves up to a 1.91× improvement in throughput on long-output decoding workloads while maintaining near-parity benchmark quality compared with the BF16 baseline on the evaluated reasoning and code-generation benchmarks. The code corresponding to this work is included in the supplementary material.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
26 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)forumreviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:49 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper proposed a FP8 quantized decoding framework for MLA that combined RoPE-aware KV quantization, scale-fused PV computation, and hardware-specific kernel optimizations.

The method was practically relevant and achieved substantial throughput gains while largely preserving model quality.

Two reviewers viewed the paper positively, highlighting its clear motivation, strong engineering design, and practical value. However, one reviewer raised reasonable concerns about the lack of a naive FP8 baseline, limited component-wise ablations, and strong dependence on Hopper-specific hardware. The source of the reported speedup and the standalone accuracy impact of probability quantization also remained insufficiently isolated.

The rebuttal needed to clarify these issues and better separate the benefits of FP8 computation from those of the proposed optimizations. Overall, the paper was promising, but its final assessment depended on the strength of these clarifications.

Final justification

5488 可以写成:

I maintain the recommendation of acceptance. The rebuttal addressed the main concerns on performance attribution, ablations, and hardware dependence, and the reviewers converged to positive assessments.

Area Chair kB3q · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The paper proposed a FP8 quantized decoding framework for MLA that combined RoPE-aware KV quantization, scale-fused PV computation, and hardware-specific kernel optimizations.

The method was practically relevant and achieved substantial throughput gains while largely preserving model quality.

Two reviewers viewed the paper positively, highlighting its clear motivation, strong engineering design, and practical value. However, one reviewer raised reasonable concerns about the lack of a naive FP8 baseline, limited component-wise ablations, and strong dependence on Hopper-specific hardware. The source of the reported speedup and the standalone accuracy impact of probability quantization also remained insufficiently isolated.

The rebuttal needed to clarify these issues and better separate the benefits of FP8 computation from those of the proposed optimizations. Overall, the paper was promising, but its final assessment depended on the strength of these clarifications.

Final justification

5488 可以写成:

I maintain the recommendation of acceptance. The rebuttal addressed the main concerns on performance attribution, ablations, and hardware dependence, and the reviewers converged to positive assessments.

Reviewer ci1LOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
4/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper presents a co-design of MLA kernel and quantization for FP8 KV cache and computation. The authors propose reducing precision on the content of KV cache latent, scale optimization to exploit TensorCore, and an efficient kernel design to exploit the available parallelism on GPU, i.e., compute (TensorCore and CUDA core) and HBM to shared memory traffic. The paper addresses a practically important problem for MLA-based LLM serving, and the proposed hardware-aware co-design is likely to be useful for production inference systems.

Strengths and weaknesses

Strengths

The ROPE vs contents comparison of value distribution looks nice to justify dedicated scaling for each. Moving V scaling to P in PV GEMM looks quite practical in exploiting FP8 TensorCore. Per-token quantization also looks reasonable in decode. Speedup is quite good near 2x.

Implementations are well explained. Especially, overlapping QK GEMM and V transpose&P processing looks practical.

Weaknesses

The followings could be included in the paper.

  • Decomposition of compute and memory traffic in speedup Since the contents is FP8 while ROPE is BF16 and their ratio is 8:1, reduced memory traffics (50% for 8/9 of KV cache) could explain the majority of speedup. However, the final speedup will be determined by the exposed compute that could not be overlapped with HBM traffics. It is true that profiling is hard for such parallel events on GPUs. However, a detailed profiling could help better understand the proposed design. Nevertheless, a roofline-style analysis or a breakdown of the execution time into HBM traffic, Tensor Core computation, CUDA-core computation (e.g., Softmax and scaling), and synchronization overhead would provide much deeper insight into where the 1.9× speedup actually comes from. Such an analysis would also help readers understand whether the proposed design is primarily memory-bandwidth limited or compute limited under different context lengths.

  • Discussion on newer GPUs, Blackwell and Rubin It would be interesting to discuss how performance bottlenecks could shift on newer GPUs, especially the importance of element-wise operations, e.g., softmax, scaling, etc. Since SnapMLA is highly optimized for Hopper-specific features (e.g., TMA, WGMMA, FP8 Tensor Cores, and the current memory hierarchy), it would be valuable to discuss which parts of the design are architecture-independent and which parts would require redesign. For example, Blackwell introduces NVFP4 support and a significantly different low-precision execution model, while Rubin is expected to provide substantially higher HBM bandwidth. These changes could shift the performance bottleneck from KV-cache memory traffic toward element-wise operations such as Softmax, scaling, and layout transformations. A discussion of these architectural trends and their implications for future versions of SnapMLA would increase the long-term impact of the paper.

Questions

How does each of reduced memory traffics and compute contribute to the speedup? How can the proposed solution be modified to support newer GPUs?

Limitations

It would be quite interesting to include discussions on how to apply the proposed ideas to newer GPUs, Blackwell and Rubin.

Final justification

The paper presents a practical hardware-software co-design approach for MLA based LLM serving. The comparison of ROPE vs contents value distributions is a nice observation and proves effective. In the rebuttal, the authors also well separated GPU dependency issue, also mentioned in another reviewer's comments from model-specific one, e.g., RoPE precision heterogeneity or per-token VV-scale semantics. I think the paper is acceptable enough.

Formatting concerns

N/A

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for recognizing the practical importance of SnapMLA and for the insightful suggestions regarding performance attribution and its applicability to newer GPU architectures.

1. Attribution of the Performance Gains

Following the reviewer's suggestion, we performed an additional roofline analysis on our 8×H20-3e system using real LongCat-Flash inference dumps (q_norm and KV-cache tensors from 56 layers). We evaluate a fixed batch size of b=128b=128 for LongCat-Flash (h=128h=128) across context lengths from 16K to 128K.

Context BF16 (ms) FP8 (ms) Speedup BF16 TFLOPS (% peak) FP8 TFLOPS (% peak) HBM util. (BF16/FP8)
16K 4.184 2.531 1.65× 140 (94%) 231 (83%) 12% / 11%
32K 8.291 4.957 1.67× 141 (95%) 236 (84%) 12% / 11%
64K 16.557 9.995 1.66× 141 (95%) 234 (84%) 12% / 11%
128K 33.020 19.829 1.67× 142 (96%) 236 (84%) 12% / 11%

The arithmetic intensities are approximately 240 FLOP/byte for BF16 and 430 FLOP/byte for FP8, both well above their respective ridge points of 30.8 and 58.2 FLOP/byte. The workload is therefore compute-bound throughout the evaluated 16K–128K range.

Although FP8 reduces KV-cache traffic by approximately 44%, both kernels use only around 11–12% of the available HBM bandwidth. The performance gain is thus primarily compute-driven rather than memory-driven. BF16 FlashMLA reaches 94–96% of its 148-TFLOPS peak, whereas SnapMLA reaches 83–85% of its 279.6-TFLOPS effective FP8 peak. The measured 1.65–1.67× kernel speedup is consistent with the ratio of their achieved compute throughput.

For clarity, the 1.65–1.67× results above are fixed-shape, single-kernel measurements without batch-size search. The up to 1.91× result reported in the paper is an end-to-end decoding-throughput measurement with per-rank batch-size search. The two results therefore characterize different but complementary evaluation regimes—fixed-shape kernel efficiency and end-to-end serving throughput—and are not contradictory.

2. Implications for Newer GPU Architectures

SnapMLA combines architecture-independent algorithmic insights with a Hopper-specific kernel implementation. The RoPE-aware mixed-precision design and the fusion of the reduction-axis, per-token VV scale into online-softmax accumulation address numerical and scale-semantics properties inherent to MLA. These insights remain relevant across low-precision execution substrates.

In contrast, the current TMA/WGMMA schedule, VV-tile transposition, PP-accumulator permutation, and synchronization strategy are tailored to Hopper. Native block-scaled GEMM on newer GPUs may simplify some of this scale and layout handling, while the kernel schedule and data layout would still require adaptation to the target architecture.

Because SnapMLA is already compute-bound on Hopper, higher HBM bandwidth may further shift the relative bottleneck toward element-wise operations such as softmax, scaling, and layout transformations. These architectural changes may alter the optimal implementation, but they do not remove MLA's underlying RoPE precision heterogeneity or per-token VV-scale semantics.

We thank the reviewer again for these constructive suggestions. We will incorporate the roofline analysis and clarify the distinction between architecture-independent contributions and architecture-specific implementation choices in the revised manuscript.

Reviewer ci1L · CommentOpenReview ↗

Thank you for the rebuttal. It resolved my concerns.

Reviewer 1GDvOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
2/4
Clarity
3/4
Significance
2/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes SnapMLA, a framework for accelerating Multi-head Latent Attention (MLA) decoding via FP8 quantization.

The authors identify thre key challenges in applying FP8 to MLA: heterogeneous quantization sensitivity between RoPe and content components of the KV cache, scale misaglignment in FP8 PV GEMM arising from MLA’s shaed latent KV structure, and need for system-level support.

Experiments on DeepSeek-V3.1 and LongCat-Flash-Thinking demonstrate up to 1.91$\times$ throughput improvement over BF16 FlashMLA with near-parity benchmark quality.

Strengths and weaknesses

Strengths

S1. Empirical analysis of heterogeneous quantization sensitivity in MLA KV cache.

The paper provides an explicit empirical analysis of the heterogeneous quantization sensitivity between the RoPE and content components of the MLA KV cache, demonstrating a stark differences in dynamic range. This grounds the proposed mixed precision design choices in quantitative rather than heuristic, and the finding is meaningful for the future work on MLA optimization.

S2. Identification and resolution of FP8 PV scale misalignment

The paper identifies that per-token V scales inherited from the shared latent cache conflict with Hopper’s k-major layout constraint for FP9 WGMMA, creating a fundamental scale misalignment in the PV computation. The scale-fusion solution resolves this conflict without introducing separate kernel launches or explicit dequantization passes.

S3. Thorough accuracy validation

Accuracy validation spans benchmarks from diverse domains, and the layer-wise numerical fidelity analysis in Appendix provides strong evidence that the mixed-precision strategy preserves model quality. Code is included in the supplementary material, supporting reproducibility.

Weaknesses

W1. Throughput attribution is unclear without intermediate baselines

The current comparison consists of only two points: BF16 FlashMLA and SnapMLA. This makes it impossible to disentangle how much of the reported speedup is attributable to the theoretical 2$\times$ compute advantage versus SnapMLA’s engineering contributions. Specifically, a naive FP8 baseline would isolate the throughput contribution of FP8 compute alone. A comparison against the barrier-based mixed precision QK GEMM described in Section 3.1.2 would justify whether the pre-scaling overhead is actually net-positive. Finally, per-component throughput breakdowns (KV quantization, Q quantization, P’ quantization, dataflow optimization) would clarify which design choices drive the gains.

W2. P’ quantization is introduced without an accuracy ablation.

The BF16 FlashMLA baseline does not quantize the attention probability matrix, whereas SnapMLA introduces this as a new quantization point. P is scale by S_V and the resulting P’ is quantized to FP8 before the PV GEMM. The choice of block-wise granularity is justified by reasoning rather than by an empirical comparison against coarser alternatives. The numerical accuracy analysis in Appendix G focuses an KV cache quantization configurations, so the standalone contribution of P’ quantization to the reported error metrics is not directly isolated.

W3. HW-specific engineering.

The scale-fusion workaround for PV quantization is designed around Hopper’s lack of native block-scaling support in PF8 WGMMA. NVIDIA’s recent Blackwell architecture introduces native block-scale GEMM support that applies scale factors along the reduction dimension in HW, which is structurally similar to the problem SnapMLA solves in software. This suggests that the industry is moving toward native HW support for the type of scale-handling problem this paper solves manually, raising a question about the durability of this specific engineering contribution.

Questions

Q1. What is the end-to-end decoding throughput of a naive FP8 MLA implementation (e.g., uniform quantization with a synchronization barrier between content and RoPE groups) compared to both BF16 FlashMLA baseline and SnapMLA? This would help isolate how much of the speedup comes from the FP8 compute itself versus SnapMLA’s specific engineering optimizations.

Q2. Section 3.2.2 introduces FP9 quantization of the post-softmax probability matrix (P’), a step absent from the BF16 baseline. What is the standalone accuracy impact of this step, e.g., compared against a variant that keeps P’ in BF 16 while quantizing only V?

Q3. Algorithm 1 enforces a strictly monotonic execution order for WG1 to avoid the scale hazard in double-buffered execution, abandoning FlashMLA's original inverted overlap pattern. How much throughput is lost from this serialization alone (independent of the FP8 computation itself)?

Limitations

The authors discuss limitations in Appendix A, acknowledging that the reported kernel-level speedups are specific to the Hopper execution substrate and would require architecture-specific adaptations for earlier GPUs or alternative accelerators. Appendix J also transparently notes that the evaluation is not a complete factorial ablation across all kernel subcomponents

However, two points are not discussed:

  1. The lack of a naive FP8 baseline leaves the source of the reported speedup unattributed.
  2. Appendix A discusses hardware dependence only in terms of backward compatibility, not whether the PV scale-fusion workaround remains necessary on future architectures with native block-scaled GEMM support.
Final justification

Most of my concerns were resolved: the P' quantization ablation and RoPE co-quantization analysis directly addressed W1 and W2, and the naive FP8 comparison was reasonably justified as numerically invalid rather than a meaningful throughput baseline.

The serialization cost (Q3) remains only partially quantified (upper bound only), but this is a minor residual gap that does not change my overall assessment; I am raising my score accordingly.

Formatting concerns

F1. Typo in the plot title of Figure 3(b). Quantiation → Quantization. Double periods in the cpation of the same figure. analysis..

F2: Benchmark set mismatch between Table 1 and Table 2.

The benchmarks reported in Table 1 (main accuracy results) and Table 2 (Appendix F, generated length statistics) do not fully align. Under Mathematical Reasoning, Table 1 includes BeyondAIME but not HMMT-25, while Table 2 includes HMMT-25 but not BeyondAIME. Under Coding, Table 2 additionally includes OJBench, which does not appear in Table 1.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for recognizing SnapMLA's empirical motivation, identification of the FP8 PV scale mismatch, and comprehensive accuracy evaluation. We appreciate the detailed questions and address them below using additional measurements on our 8×H20-3e system with real LongCat-Flash inference dumps (q_norm and KV-cache tensors from 56 layers).

W1/Q1: Performance Attribution and the Naive FP8 Baseline

We performed a roofline analysis with a fixed batch size of 128 for LongCat-Flash (h=128), sweeping the context length from 16K to 128K.

Context BF16 (ms) FP8 (ms) Speedup BF16 TFLOPS (% peak) FP8 TFLOPS (% peak) HBM util. (BF16/FP8)
16K 4.184 2.531 1.65× 140 (94%) 231 (83%) 12% / 11%
32K 8.291 4.957 1.67× 141 (95%) 236 (84%) 12% / 11%
64K 16.557 9.995 1.66× 141 (95%) 234 (84%) 12% / 11%
128K 33.020 19.829 1.67× 142 (96%) 236 (84%) 12% / 11%

The BF16/FP8 arithmetic intensities are approximately 240/430 FLOP/byte, both well above their ridge points of 30.8/58.2 FLOP/byte. MLA decoding is therefore compute-bound throughout the evaluated range. Although FP8 reduces KV-cache traffic by approximately 44%, both kernels use only 11–12% of the available HBM bandwidth. The speedup is primarily compute-driven: BF16 FlashMLA reaches 94–96% of its 148-TFLOPS peak, while SnapMLA reaches 83–85% of its 279.6-TFLOPS effective FP8 peak. The measured 1.65–1.67× kernel speedup realizes approximately 88.6% of the ideal 1.889× mixed-precision ceiling.

These results do not conflict with the up to 1.91× result reported in the paper. The results above are fixed-shape, single-kernel measurements without batch-size search, whereas 1.91× is an end-to-end decoding-throughput result with per-rank batch-size search.

A naive FP8 MLA implementation is not merely a slower version of SnapMLA. Straightforward handling of MLA's per-token V scales is mathematically invalid. Keeping P exact and varying only the V-scale treatment gives:

PV path Relative L2 error Result
SnapMLA per-token scale fusion 3.685e-3 Valid
Per-tensor V scale with post-GEMM dequantization 6.422e-3 Valid, but requires a separate requantization pass
Naive per-token post-GEMM dequantization 2.118e-1 Invalid

The per-token V scale lies along the GEMM reduction axis. Once WGMMA has accumulated across tokens, no single post-GEMM output scale can recover the correctly weighted sum. SnapMLA's scale fusion is therefore required for numerical correctness, not only for performance.

Uniformly quantizing the RoPE component is also not an accuracy-matched baseline. All errors below are measured against the full-precision (fp32) attention output softmax(qKᵀ)@V on the real LongCat-Flash dumps (positions up to 32K), comparing two configurations: SnapMLA (content latent → FP8 per-token, RoPE kept in BF16) and Uniform FP8 (content and RoPE co-quantized to FP8 per-token).

Layer snap relL2 snap cosD snap RMSE unif relL2 unif cosD unif RMSE relL2 ratio
0 (shallow) 7.29e-3 2.68e-5 8.58e-5 1.65e-2 1.39e-4 1.95e-4 2.26×
11 6.81e-3 2.60e-5 1.64e-4 2.64e-2 4.30e-4 6.33e-4 3.87×
22 (mid) 7.63e-3 3.04e-5 5.08e-4 3.16e-2 5.28e-4 2.10e-3 4.14×
33 7.20e-3 2.71e-5 7.18e-4 3.45e-2 6.56e-4 3.22e-3 4.79×
44 3.90e-3 8.14e-6 8.45e-4 2.97e-2 4.73e-4 6.33e-3 7.62×
55 (deep) 5.77e-3 1.76e-5 1.36e-3 1.59e-1 1.23e-2 3.60e-2 27.47×
mean 6.44e-3 2.27e-5 6.14e-4 4.96e-2 2.43e-3 8.07e-3 7.70×

SnapMLA's error is essentially flat across depth (relL2 ≈ 6–7e-3, cosD ≈ 2e-5), whereas uniform FP8 degrades monotonically with depth: relL2 grows from 1.65e-2 to 1.59e-1 and cosine distance by 460× (2.68e-5 → 1.23e-2). The gap is not a uniform scale factor—it widens with depth, reaching 27× at the deepest layer (L55). Averaged over all layers, co-quantizing RoPE inflates attention-output relative L2 from 6.4e-3 to 5.0e-2 (7.7×). This accuracy cost buys almost no speed: RoPE spans only 64 of the 576 QK reduction dimensions (~11%), so FP8-ing it can save at most a small fraction of the QK GEMM, and since decoding is PV-dominated (A5) the net decode-step speedup is negligible. The RoPE-aware mixed-precision choice is therefore effectively free, not a tunable knob.

For the separable kernel costs, the fused attention kernel accounts for 99.2–99.9% of the decoding step, while Q quantization accounts for only 0.07–0.56% and KV quantization for 0.03–0.26%. The remaining operations—P' quantization, PV scale fusion, and QK/PV dataflow—are coupled inside the attention kernel. Removing them independently would either change the numerical semantics or require a substantially different kernel. We therefore do not claim a complete factorial decomposition. A standalone barrier-based QK comparison would likewise require a dedicated otherwise-identical kernel variant; the roofline and operator-level results instead establish that the observed gain resides in the FP8 attention path rather than in reduced HBM traffic or hidden quantization overhead.

W2/Q2: Accuracy Impact of P' Quantization

FP8 PV WGMMA requires both operands in FP8, making P' quantization necessary for the deployable FP8 path. We nevertheless isolated its numerical impact using a V-FP8 reference in which P remains in high precision:

Configuration Relative L2 error Cosine distance RMSE
V-FP8 only 3.685e-3 — —
+ P' per-tensor 4.669e-3 1.41e-5 3.63e-4
+ P' block-wise (BlockN=64) 4.618e-3 1.42e-5 3.63e-4

P' quantization adds only approximately 1e-3 relative L2 error. Per-tensor and block-wise quantization differ by only 1.1% in relative L2 and are effectively identical in cosine distance and RMSE. Block-wise quantization is therefore primarily motivated by compatibility with online softmax and the PV-GEMM tile structure, rather than by a claim of substantially better accuracy. The V-FP8-only configuration is an accuracy-isolation reference, not a deployable FP8-WGMMA kernel.

Q3: Cost of the Monotonic Execution Order

The FP8 kernel does not fully serialize the two warp groups. The BF16 kernel uses a bidirectional dependency, whereas the FP8 kernel retains only the WG1-to-WG0 dependency required to prevent the scale hazard.

Across 16K–128K, the FP8 kernel achieves an average of 88.6% of the ideal mixed-precision speedup. The observed 10–11 percentage-point gap between BF16 and FP8 roofline utilization provides a conservative upper bound on the ordering cost. This bound also includes FP8-specific work such as V-tile transposition and scale loading, so the isolated ordering penalty is necessarily smaller. We report this as an upper bound rather than attributing the entire gap to serialization.

W3: Relevance to Newer GPU Architectures

We agree that native block-scaled GEMM on newer GPUs may simplify or subsume some Hopper-specific mechanisms, including parts of the V-tile transposition, accumulator permutation, and scale/layout handling. These implementation details should be adapted to the target execution substrate.

However, two central challenges arise from MLA itself rather than from Hopper: (1) the heterogeneous quantization sensitivity of the decoupled RoPE and content components, and (2) the per-token V-scale semantics induced by the shared latent cache. Native block scaling may simplify their implementation, but it does not by itself eliminate these numerical requirements. The 7.7× RoPE co-quantization error and the approximately 57× error from naive post-GEMM V-scale handling demonstrate that both remain essential design considerations.

We will revise the limitations section to distinguish these architecture-independent insights from the Hopper-specific kernel mechanisms and discuss how SnapMLA may be adapted to newer GPUs.

Formatting Issues

Thank you for identifying these issues. We will correct the typo and duplicated punctuation in Figure 3(b). We will also align the benchmark sets and clearly distinguish the main accuracy evaluation from additional workload-characterization statistics, resolving the inconsistency between the c

Reviewer 1GDv · CommentOpenReview ↗

Most of my concerns have been adequately addressed. I will adjust my rating.

Reviewer R5aSOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
4/4
Significance
4/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

SnapMLA is an FP8 decoding framework for the MLA architecture that quantizes the content part of the KV cache to FP8 at per-token granularity while preserving the RoPE part in BF16, and reconstructs the PV computation pipeline and dataflow so that FP8 quantization can be applied to MLA decoding without breaking its layout and scaling constraints.

Strengths and weaknesses

Strengths

  1. The paper is very well written and easy to follow. For each optimization, it clearly lays out the motivation, the design process, and the resulting effect, which makes the contribution easy to assess.

  2. It proposes three optimizations that together turn FP8 quantization into a practical, deployable scheme for MLA decoding as a whole. All three are well-reasoned and address concrete needs rather than constructed problems.

  3. The treatment of the RoPE mixed-precision issue is elegant. Pre-scaling the BF16 RoPE terms into the quantization domain so the existing accumulation schedule can be reused is a neat way to avoid mixed-precision stalls.

  4. The observation that the per-token V scale (aligned along the reduction dimension) conflicts with the k-major accumulation layout is sharp, and the scale-fusion solution that folds the scale into the probability matrix and online softmax is reasonable.

  5. The final system-level pieces are likewise practical and implementable.

  6. The evaluation is thorough and demonstrates solid speedups across the tested configurations.

Weaknesses

Judged on its own terms, I do not see major weaknesses; the work is sound, and the design choices are well justified.

My reservations are more about its scope when viewed in a broader context. First, the contribution is heavily engineering-oriented, and the observations, while correct and useful, are fairly direct; the conceptual novelty is correspondingly limited.

Second, the applicability is narrow: the method supports only MLA, is compared against a single baseline (FlashMLA), and is not evaluated against or contrasted with other attention architectures, so its broader generality is unclear.


Post-Rebuttal.

My earlier concern about narrow applicability has been addressed by the rebuttal: MLA is not a single application but an emerging architectural paradigm for long-context inference, already adopted by multiple large-scale model families, which makes the work considerably more broadly useful than I initially credited.

The one remaining point is that the method does not support MHA/GQA, but the authors clarify that these architectures do not exhibit the two MLA-specific challenges and are already served by existing uniform FP8 paths.

I also want to revise my earlier characterization of the contribution as purely engineering-oriented: the quantization heterogeneity from decoupled RoPE and the need to fold reduction-axis scales into online normalization are genuine design insights, not implementation details.

Questions

Can SnapMLA support other attention types, or do architectures like MHA/GQA simply not require this kind of specialized FP8 support?

Limitations

Yes

Final justification

My earlier concern about narrow applicability has been addressed by the rebuttal: MLA is not a single application but an emerging architectural paradigm for long-context inference, already adopted by multiple large-scale model families, which makes the work considerably more broadly useful than I initially credited.

The one remaining point is that the method does not support MHA/GQA, but the authors clarify that these architectures do not exhibit the two MLA-specific challenges and are already served by existing uniform FP8 paths.

I also want to revise my earlier characterization of the contribution as purely engineering-oriented: the quantization heterogeneity from decoupled RoPE and the need to fold reduction-axis scales into online normalization are genuine design insights, not implementation details.

Formatting concerns

None

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for the positive assessment of SnapMLA's motivation, technical design, and practical value. We also appreciate the thoughtful question regarding its scope beyond MLA.

Applicability to MHA/GQA

SnapMLA is intentionally designed for MLA. Although MHA/GQA also require optimized FP8 attention kernels, they do not exhibit the same two MLA-specific challenges and can follow the more uniform FP8 data path supported by methods such as FlashAttention-3.

First, MLA's decoupled RoPE structure creates substantial quantization heterogeneity between the content and RoPE components. Our additional ablation shows that uniformly quantizing both components to FP8 increases the mean attention-output relative L2 error by 7.7×, reaching 27× in deeper layers, compared with SnapMLA's content-FP8/RoPE-BF16 design.

Second, MLA's shared latent cache causes V to inherit per-token scales along the reduction dimension, which cannot be correctly recovered through conventional post-GEMM dequantization. Naive per-token post-GEMM scaling produces a relative L2 error of 0.21, compared with 3.7e-3 for SnapMLA—an approximately 57× difference. Standard MHA/GQA formulations do not exhibit this particular shared-latent scale-layout mismatch.

SnapMLA therefore complements existing FP8 solutions for MHA/GQA by providing an efficient and numerically reliable FP8 decoding path tailored to MLA's distinct computation and scale semantics.

Significance and Scope

MLA is becoming increasingly important for long-context inference because its shared low-rank latent representation substantially reduces KV-cache storage. It has already been adopted by multiple large-scale model families, including DeepSeek-V3.x and LongCat-Flash. Efficient low-precision MLA decoding is therefore a practically significant systems problem, particularly as context lengths and serving batch sizes continue to grow.

We use FlashMLA as the primary baseline because it is a highly optimized BF16 implementation designed for DeepSeek's MLA architecture and NVIDIA Hopper GPUs, making it the most direct and meaningful comparison for SnapMLA. Comparing throughput with MHA/GQA kernels would conflate differences in attention formulation, KV representation, and workload shape. We additionally evaluate SnapMLA on both DeepSeek-V3.1 and LongCat-Flash to demonstrate that the approach is not tied to a single model instance.

Beyond its MLA-specific implementation, SnapMLA contributes two transferable insights: preserving precision-sensitive components in heterogeneous low-precision representations, and folding reduction-axis quantization scales into online normalization when post-GEMM dequantization is mathematically invalid. Together with the reconstructed FP8 pipeline and optimized dataflow, these contributions enable practical end-to-end FP8 MLA decoding.

We thank the reviewer again for raising this important point. We will clarify the practical relevance of MLA, the rationale for selecting FlashMLA as the baseline, and the distinction between SnapMLA's architecture-specific implementation and its transferable design principles in the revised manuscript.

Reviewer R5aS · CommentOpenReview ↗

Thanks for the detailed response. The clarification on the scope of MLA addresses my main reservation, and I have raised my score accordingly.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…