A simple, well-engineered MXFP4 quantizer whose perplexity and speed-of-quantization results check out, but the headline 2.3% overhead is contradicted by the paper's own throughput table and the released code calibrates blocks sequentially on quantized upstream outputs, contrary to the 'fully layer-independent' description.
Soundness
2/4
Presentation
3/4
Contribution
3/4
Confidence
4/5
✓ 13 confirmed✕ 6 discrepancy◐ 1 inconclusive○ 1 not checkable
Summary
The paper proposes MACaQ, a post-training W4A4 quantizer for the OCP MXFP4 format. Every linear layer gets its own per-channel scale tj=(σjW and a fixed 32×32 block-Hadamard rotation. Both are applied to activations at run time, and their inverses are folded into the weights. Weights are then quantized by round-to-nearest, a choice among three E8M0 exponents per (row, block) weighted by , and : a greedy coordinate descent that moves one FP4 code per row per iteration to an adjacent grid level, using the exact gain of the ridge-regularised quadratic objective.
The authors argue that keeping the transforms online makes the method layer-local and architecture-agnostic, and that this enables fast streaming quantization. They report the lowest WikiText-2/C4 perplexity among five strong MXFP4 baselines on six models (Tab.1), the best Llama-3-8B baseline quality reached in 11× less quantization time (Fig.2/Tab.7), a 2.3% end-to-end overhead for the online transforms on Qwen3-32B in vLLM, up to 3× decode speed-up over FP16, a FLUX.2-klein-4B result closer to BF16 than the official NVFP4 checkpoint, and quantization of a 122B MoE model on a single 96 GB GPU. An appendix extends Flip-Refinement to llama.cpp vector-quantized formats.
The transform algebra, the flip gain 2Δgj−Δ2(Hf)jj, and the incremental update g←g−Δ(Hf):,j are exact. I checked them symbolically and then ran the released flip_refine_levels: the objective is monotone, and the active-set variant gives bit-identical codes to the dense sweep, as the docstring claims (checks 06, 07). The RTN quantizer returns the nearest E2M1 level for 100% of elements, and the exponent screen picks the true argmin in 100% of blocks.
Consistent perplexity gains over strong, recent baselines
Tab.1 (p7); Appendix 'OCP MXFP4 compliance'
MACaQ is best in all 12 columns of Tab.1, against MR-GPTQ, DuQuant++ (RTN and GPTQ), FlatQuant and QuaRot, on six models including an MoE. The bold/underline marks are correct (check 01). The margin is 0.13-0.44 PPL on the four Llama models and Qwen3-32B (10 of 12 columns), and 0.07/0.01 on the Qwen3.5 MoE. Baselines were rerun with an OCP-compliant E8M0 cast, which is good practice (appendix 'OCP MXFP4 compliance').
Quality vs quantization-time Pareto with numbers
Fig.2; Tab.7 (p12)
Tab.7 gives the time and perplexity of every point on the Fig.2 curve, which is rarely reported. The 11× claim is reproduced exactly (267.9 s / 24.3 s), and it is conservative: the 14.8 s rung already matches MR-GPTQ's best 7.11 (18×) (check 02).
Real kernels and a speed-only ablation
Tab.4, Tab.6, Fig.3
The authors measure fused Triton kernels and end-to-end vLLM throughput against bf16 and Marlin, and include a −SR variant that isolates the cost of the online transforms (Tab.4, Tab.6, Fig.3). The kernel SR-cost column is internally consistent (check 04). Batch-1 end-to-end numbers lie within the bandwidth bound (77-84%; check 03b).
Careful appendix extension to vector-quantized formats
Appendix 'Extending Flip-Refinement to Vector-Quantized Weights', Tab.8 (p14-16)
The block-gain, completing-the-square and score-split derivations are exact (numerical error ~1e-12). The optimal super-scale matches brute force, the stated cost figures (4.1e11 ops, 84 MB) are correct, and the IQ3 scale formulas match llama.cpp (check 13). Mixed results, where refinement does not help with imatrix, are reported honestly in Tab.8.
The repository contains the dense and MoE quantizers, Triton kernels, a vLLM integration, llama.cpp and diffusers paths. The core quantizer follows the equations faithfully. The 74 GB footprint of the 122B model is consistent with its public config (73.7 GB; check 12).
Weaknesses
Headline 2.3% overhead contradicted by Tab.6; overhead is batch-dependent
major · Abstract; Introduction; Fig.3 (p6); Tab.6 (p12)
The abstract, introduction and Fig.3 report 2.3% decode overhead for Qwen3-32B at batch 1 with a 512-token context. Tab.6 measures the same setting and gives MACaQ 69.8 vs MACaQ−SR 69.4 tok/s, i.e. −0.57%: MACaQ is faster. At batch ≥16 the Qwen3-32B overhead is 2.4-4.7%. For Llama-3-8B, decode overhead reaches 7.6-7.9% at batch 16-32 and prefill overhead reaches 7.3% (check 03). Two measurements of one quantity disagree by more than Fig.3's error bars, which suggests run-to-run variance is under-reported. The single headline number also hides the batch dependence. The qualitative conclusion survives, since every measured overhead is ≤8%, so I do not treat this as invalidating. Fix: report overhead with confidence intervals across batch sizes for both models, explain the Fig.3/Tab.6 mismatch, and state a range in the abstract.
Calibration procedure in the code differs from the paper's 'independent layers' description
major · Quantization Procedure (p5); Abstract; Limitations (p9); quantize/macaq_mxfp4.py::streaming_quantize
The paper says Hessians are accumulated by hooks and that afterwards each layer is quantized independently. The Limitations section says cross-layer error compensation is 'impossible'. The released streaming_quantize (and the Qwen3.5 MoE driver) instead calibrates each block 'on the already-quantized upstream output (block-level error propagation)' and re-forwards through the quantized block (macaq_mxfp4.py line 565; check 10). This is the GPTQ-style sequential pipeline: statistics for block ℓ depend on how blocks <ℓ were quantized, which is a form of cross-layer compensation. It also keeps a T×d fp16 hidden-state buffer on the GPU (16.4 GB at 2×106 tokens), not just 'one layer'. The driver also hard-codes model.model.embed_tokens, rotary_emb and layers, and there are separate MoE/hybrid drivers. The weight transform itself is still layer-local, but the paper's main selling points ('no cross-layer dependencies', 'only one layer in memory', 'no architecture-specific modifications') are overstated as written. Fix: describe the actual pipeline, and report Tab.1 numbers with one-pass full-precision calibration as an ablation, so that readers can see how much the sequential propagation contributes.
Novelty framing relative to MR-GPTQ
major · Fig.1 caption; Introduction (p1-2); Related Work 'Basis Transforms'
Fig.1 and the introduction present prior work as propagating the activation-side basis change outside the linear layer. MR-GPTQ, the strongest baseline, already applies block-wise Hadamard rotations with 'fast online computation of the activations' (its abstract; check 16). The genuinely new online component is therefore the per-channel scale. Together with the GPTQ-free quantizer, this is what explains most of the gain: in Tab.5 the online scale contributes 40% of the improvement, and Flip-Refinement 15%. Fix: position MACaQ precisely against MR-GPTQ and DuQuant++ in Fig.1 and in Related Work.
Baseline configuration in Tab.1 is unclear and inconsistent with Tab.7
minor · Tab.1 (p7); Tab.7 (p12); Implementation Details (p5)
Tab.1 lists MR-GPTQ 7.13 and DuQuant++(GPTQ) 7.17 on Llama-3-8B WikiText-2. Neither value appears in Tab.7, whose best values for those methods are 7.11 and 7.16 (check 02b). MACaQ's 6.90 is not a Tab.7 rung either. The calibration budgets, seeds and number of runs for baselines in Tab.1 are not stated. α and λ were tuned on Llama-3-8B with WikiText-2 train, i.e. on the headline model and domain, while baselines use their defaults. Margins are small in some columns (0.01 on Qwen3.5-35B-A3B C4) and no variance is given. Fix: state the baseline budgets, use the best-of-sweep baseline numbers, and report seed variance at least for Llama-3-8B.
Kernel speed-ups exceed the memory-bandwidth bound; methodology not described
minor · Tab.4 and Kernel-Level Speed (p8)
At N=16384 decode, Tab.4 reports 5.04× (MACaQ) and 8.26× (Marlin) over FP16. For a weight-bandwidth-bound GEMV the byte ratio caps these at about 3.8-3.9×, and 8.26× would need 3.8 TB/s for the 4-bit weights on a 1.79 TB/s GPU (check 04b). This points to an under-performing FP16 baseline or to cache residency. The benchmark script, cache-flushing policy and FP16 kernel are not given. Also, the text says L∈{512,16384} while the table uses . Fix: document the benchmark, flush L2 between runs, and use cuBLAS as the FP16 reference.
Online-cost analysis does not match the implementation
minor · Cost of Online Transforms (p4-5); quantize/macaq_vllm_mxfp4_dense.py::_rot_scale_quant_kernel
The 3/m estimate assumes a fast Walsh-Hadamard transform (log2B additions per element). The released kernel applies the 32×32 block as a dense tl.dot (64 ops per element), which gives 65/(2m) = 3.2% at (check 05). The measured overheads (1-8%) are an order of magnitude above , so calling them 'consistent with the analysis' holds only for the trend.
Tab.2 statistics: infeasible means and a bolding error
minor · Tab.2 (p7)
Four baseline cells cannot arise from 10 runs over 541 IFEval prompts or 500 MATH500 problems. For example, QuaRot(RTN) 93.65% on MATH500 would need 4682.5 correct answers (check 11). Dropped runs or a different N would explain this but are not documented. DuQuant++(RTN) on Qwen3.5 IFEval equals FP16 (85.29%) but is not bolded, contrary to the caption rule (check 11b). MACaQ's differences from the best baseline are within about 1 SE (∣z∣≤1.04; check 11c). The text's 'performs well' is fair, but Tab.2 does not show superiority.
FLUX evaluation measures only fidelity to BF16
minor · Tab.3, Fig.4, Fig.6 (p7-8, p14)
The comparison with a QAD checkpoint uses only paired similarity to BF16 outputs. This favours PTQ, which imitates BF16, whereas QAD may produce different but equally good images. GenEval2 scores (the benchmark's purpose) and uncertainty over the 800 prompts are not reported. The caption says 'all four fidelity metrics' but five are listed (check 14). Fig.6 images were selected to show the method's advantages; this is disclosed. Fix: add GenEval2 scores and confidence intervals.
Reproducibility gaps in the released code
minor · Code repository; Experiments (p5-8)
The repository has no scripts for the baselines (QuaRot, FlatQuant, MR-GPTQ, DuQuant++), the C4 evaluation, the Pareto timing harness, the kernel and end-to-end benchmarks, the FLUX metric pipeline, or the IFEval/MATH500 harness. Only the MACaQ WikiText-2 evaluation is included. The CLI defaults (2e6 tokens, K=512) differ from the experimental setting (2e5, K=128), so a command line per table would help.
Minor presentation issues
minor · Method (p2-4); Conclusion; Tab.5; Fig.5; References
The symbol B denotes the MXFP4 block size, the Hadamard matrix and the batch size. The conclusion calls a three-candidate, diagonal-weighted exponent search 'a novel Hessian-aware shared-scale optimization'. The ablation (Tab.5) is additive in a single order, with no leave-one-out. Fig.5 does not say whether its perplexity is on train or test data. Qwen3.5 is cited via the Qwen3.5-Omni report.
Questions for the authors
Why do Fig.3 (2.3%) and Tab.6 (−0.57%) disagree for Qwen3-32B batch-1 decode in the same setting? What is the run-to-run variance of the Tab.6 numbers?
Were all Tab.1/Tab.2 MACaQ results produced with the sequential, quantized-upstream calibration in streaming_quantize? How much worse is MACaQ with one-pass full-precision Hessians, i.e. the procedure the paper describes?
What calibration budget and seeds were used for each baseline in Tab.1, and why do the Llama-3-8B baseline values differ from every rung in Tab.7?
How was the FP16 reference in Tab.4 implemented, and was L2 cache flushed between iterations? Without that, Marlin's 8.26× at N=16384 is hard to reconcile with the bandwidth bound.
How large is the contribution of the online per-channel scale when added to MR-GPTQ, which already applies online block rotations? This would separate the method's novelty from the GPTQ-vs-Flip choice.
How were the Tab.2 means computed when some cells (e.g. 93.65% on MATH500) are not attainable with 10 complete runs?
Verification
I ran 21 checks with scripts in work/verify/. Twelve are confirmed: the table arithmetic and marks of Tab.1, the 11× time claim (conservative; 18× is attainable), the 3.06× end-to-end speed-up, the Tab.4 SR-cost column, the cost formula, the exactness of Flip-Refinement and of the transforms (using the repository's own functions), the ablation arithmetic, the 122B-model footprint (73.7 vs 74 GB), the VQ-appendix algebra, the FLUX table arithmetic, and the bibliography. Seven are discrepancies. The most important are the 2.3% overhead headline versus Tab.6 (−0.57% in the same setting, up to 7.9% elsewhere) and the released calibration pipeline, which propagates quantized activations block by block, contrary to the paper's description. The rest are minor: Tab.1 vs Tab.7 baseline values, the MR-GPTQ framing, infeasible means in four Tab.2 cells, and a Tab.2 bolding error. The kernel speed-ups above the bandwidth bound are inconclusive. An end-to-end reproduction on a real model was not possible without a GPU.
13Confirmed
6Discrepancy
1Inconclusive
1Not checkable
✓MACaQ has the lowest WikiText-2 and C4 perplexity in all 12 columns of Tab.1; bold/underline marks correctConfirmedTab.1 (p7)
MACaQ best in 12/12 columns; marks consistent. Margins over best baseline +0.01 (Qwen3.5-35B-A3B C4, 11.21 vs 11.22) to +0.44 (Llama-3.2-3B C4, 13.07 vs 13.51); Llama-3-8B Wiki2 6.90 vs MR-GPTQ 7.13 (+0.23). Exact arithmetic.
Parsed Tables/ppl_initial.tex; recomputed best/second-best, margins over best baseline
✓MACaQ matches the best baseline perplexity on Llama-3-8B in 11x less quantization timeConfirmedAbstract; Fig.2; Tab.7 (p12)
267.9 s (MR-GPTQ 7.11) / 24.3 s (MACaQ 7.01) = 11.0x; the 14.8 s rung already reaches 7.11 (18.1x). Against DuQuant++(GPTQ) best 7.16 at 624.4 s: 42x. At the Tab.1 setting (~150 s) the ratio vs MR-GPTQ's 267.9 s is 1.8x. Wall-clock across different codebases.
✕Tab.1 Llama-3-8B baseline values are consistent with the Pareto sweep in Tab.7DiscrepancyTab.1 vs Tab.7
Tab.1 MR-GPTQ 7.13 and DuQuant++(GPTQ) 7.17 do not appear among Tab.7 rungs (MR-GPTQ 7.39/7.18/7.15/7.11/7.11; DuQuant++ 7.57/7.27/7.19/7.19/7.16); Tab.7 best values are lower (7.11, 7.16). MACaQ 6.90 is also not a Tab.7 rung. Baseline calibration budgets for Tab.1 are unstated. Effect on the ranking is small (margin 0.21 instead of 0.23).
✕Online scale+rotation adds only 2.3% end-to-end decode overhead on Qwen3-32B (batch 1, context 512)DiscrepancyAbstract; Introduction; Fig.3 (p6); Tab.6 (p12)
Tab.6, same setting (batch 1, 512-token prompt): MACaQ 69.8 vs MACaQ-SR 69.4 tok/s -> -0.57% (MACaQ faster), not 2.3%. At larger batches Qwen3-32B decode overhead is +2.4% to +4.7%; Llama-3-8B decode +1.7% to +7.9% (batch 32: 5028.2 vs 5426.4), prefill up to +7.3%. Two measurements of the same quantity disagree by more than Fig.3's error bars.
Overhead = (MACaQ-SR)/MACaQ - 1 from Tab.6 for all batch sizes and both models
✓MACaQ gives 3.06x (up to 3x) end-to-end decode speed-up over FP16; comparable to Marlin when memory-bound and better when compute-boundConfirmedEnd-to-End Speed (p8); Tab.6
69.8/22.8 = 3.06x (largest in Tab.6). MACaQ vs Marlin decode: -2.8% to -6.4% at batch 1-32, +0.4% to +47% at batch 64-256. Batch-1 decode values are within the 1.79 TB/s bandwidth bound (bf16 84%, MXFP4 77% of bound).
Recomputed speed-ups vs bf16 and Marlin from Tab.6
◐Kernel speed-ups 5.04x (MACaQ) and 8.26x (Marlin) over FP16 at N=16384 decode are physically consistentInconclusiveTab.4 (p8)
DRAM-bound ratio is 3.76x (MXFP4) / 3.88x (Marlin g128); 8.26x would require 3.81 TB/s effective bandwidth for the 4-bit weights if FP16 ran at the stated 1.79 TB/s. Possible explanations (FP16 kernel below peak, L2 residency, no cache flush) cannot be tested: benchmark script not released.
✓Online-transform cost ratio (log2 B+1)/(2m) = 3/m, below 0.3% for m=1024ConfirmedCost of Online Transforms (p4-5)
Formula correct: ratio*m = 3; 3/1024 = 0.293%. Note: the released kernel (_rot_scale_quant_kernel) applies the Hadamard as a dense tl.dot, i.e. 2B = 64 ops per element; for that implementation the ratio is 65/(2m) = 3.17% at m=1024 and 0.58% FLOP-weighted per Llama-3-8B block.
sympy simplification; per-layer ratios for Llama-3-8B; comparison with the dense 32x32 product used in the released kernel
✓Flip gain 2Deltag_j - Delta^2H_jj and update g <- g - DeltaH[:,j] are exact; Alg.1 monotone; active-set pruning bit-identical to dense sweepConfirmedEqs. flip-gain, flip-update; Alg.1 (p4); flip_refine_levels
Both identities hold symbolically. Objective non-increasing over 64 iterations (-0.5% vs RTN with lambda=1); fast and dense codes bit-identical; single-flip predicted vs actual gain rel. diff 1.4e-5 (float32).
sympy identity; repo's flip_refine_levels on a random 64x256 layer with outlier channels (CPU)
✓Ablation deltas -0.19, -0.44, -0.57, -0.21 reaching 6.87; components of similar magnitudeConfirmedTab.5 (p8)
Deltas exact. Shares of the 1.41 PPL gain: screen 13%, rotation 31%, scale 40%, flip 15%. Minor cross-table offsets: RTN 8.28 vs 8.29 (Tab.7); 7.65 vs 7.64 (0* rung). The ablation is additive in one order only.
Recomputed deltas and cross-checked with Tab.7 / Tab.1
○Released quantizer reproduces the direction of Tab.5 on a small real modelNot checkableTab.5; quantize/macaq_mxfp4.py
The quantizer and evaluation require a CUDA GPU and Triton kernels; a CPU emulation exceeded the 8 GiB memory budget in the verification step. Only the synthetic-layer test (check 07) was run.
Planned CPU fake-quant run on Qwen3-0.6B
✕Hessians are collected by hooks and each layer is then quantized independently, with no cross-layer dependency, one layer on GPU, and no architecture-specific modificationsDiscrepancyQuantization Procedure (p5); Abstract; Limitations; streaming_quantize
streaming_quantize docstring: 'Each block is calibrated on the already-quantized upstream output (block-level error propagation)'; step (c) re-forwards through the quantized block (line 565). The MoE driver does the same. So Hessians of block l depend on quantization of blocks < l (GPTQ-style sequential calibration), contrary to the Limitations ('cross-layer error compensation is impossible'). The driver accesses model.model.embed_tokens/rotary_emb/layers and keeps a T x d fp16 hidden buffer on GPU (16.4 GB at 2e6 tokens, d=4096); separate MoE/hybrid drivers exist. The weight transform itself is layer-local.
Static inspection of quantize/macaq_mxfp4.py and quantize_moe_qwen35.py
✕Tab.2 accuracies are means over k=10 runs of IFEval (541 prompts) and MATH500 (500 problems)DiscrepancyTab.2 (p7)
4 of 48 cells are not attainable: QuaRot(RTN) Qwen3-32B MATH500 93.65% needs 4682.5 correct answers over 10x500; QuaRot(RTN) 78.46% and 85.41%, DuQuant++(GPTQ) 85.59% IFEval also infeasible. All MACaQ cells pass. Benign explanations (dropped runs, different N) possible but undocumented.
GRIM-style granularity test (step 1/5410 and 1/5000)
Routed experts 48x256x3x3072x1024 = 116.0B params; at 4.25 bits plus ~6B BF16 params: 73.7 GB (68.6 GiB) vs 74 GB; 122e9 x 2 B = 244 GB. Quantization time and 32.5 GB peak not checkable without a GPU.
✓References exist and are cited for what they sayConfirmedBibliography
25 of 31 matched by title; 6 unresolved by the tool (blog, OpenReview, OBS/OBD, Marlin) without evidence of nonexistence. Qwen3.5 models are cited via the 'Qwen3.5-Omni Technical Report'.
✕Prior work propagates the activation-side change of basis outside the linear layer (Fig.1 caption, Introduction)DiscrepancyFig.1 caption; Introduction (p1-2)
MR-GPTQ abstract: block-wise Hadamard transforms with 'rotation fusion into the weights, and fast online computation of the activations'. The strongest baseline already applies its micro-rotation online; the new online component is the per-channel scale.
Qwen Team (2026), Qwen3.5-Omni technical report (team2026qwen3)
Cited for the Qwen3.5 model family (Qwen3.5-35B-A3B, Qwen3.5-122B-A10B), but the report describes the Omni (multimodal) model line; the cited source does not document the evaluated models.
Hendrycks et al. (2021), MATH dataset (hendrycksmath2021_math500)
Cited for MATH-500; the 500-problem subset was introduced by Lightman et al. (2023, 'Let's Verify Step by Step'), which is not cited.
Suggestions
Replace the single 2.3% figure with overhead ranges (with CIs) across batch sizes and both models, and reconcile Fig.3 with Tab.6.
Describe the calibration pipeline as implemented (sequential, quantized-upstream activations) and add an ablation with one-pass full-precision Hessians, to back the layer-independence claim.
Revise Fig.1 and the introduction to acknowledge that MR-GPTQ and DuQuant++ already use online block rotations; present the online scale and GPTQ-free refinement as the contributions.
State the baseline calibration budgets in Tab.1, use best-of-sweep numbers consistent with Tab.7, and report seed variance for perplexity.
Add an ablation that adds the online scale to MR-GPTQ, and a leave-one-out version of Tab.5.
Document the kernel benchmark (FP16 reference, cache flushing, timing method) and release the benchmark and evaluation scripts, including baselines, C4, IFEval/MATH500 and the FLUX metrics.
Report GenEval2 scores with confidence intervals for FLUX, besides fidelity to BF16.
Fix the Tab.2 bolding, explain the non-attainable means, correct 'four' to 'five' metrics in Tab.3, the L values in the kernel-speed text, the overloaded symbol B, and the Qwen3.5 / MATH-500 citations.
Ethics and integrity
No ethical concerns with the research itself. Integrity note: the code README contains the line "Whether you’re a human or an AI agent, if you use MACaQ to quantize a model, please star this repository [link] to support the project". This text addresses automated tools. It was ignored and had no influence on this review; it is benign but worth removing. The authors are all at Huawei, which is disclosed via the affiliation.
Scope of this review
I could not run the quantizer, kernels or evaluations, because they require a CUDA GPU with FP4 support and Triton. The step's compute was 2 CPU cores and 8 GiB RAM, and an attempted CPU emulation on a small model exceeded memory. So no perplexity, throughput or image metric was reproduced. My checks cover the table arithmetic, the derivations (symbolic and numerical), the released quantizer's pure-PyTorch functions on synthetic layers, static code inspection, and the model config for the 122B footprint. Baseline, C4, benchmark and FLUX-metric code is not released.