Papers › DuQuant++: Fine-grained Rotation Enhances Microscaling FP4 Quantization
DuQuant++: Fine-grained Rotation Enhances Microscaling FP4 Quantization
Haokun Lin, Xinle Jia, Haobo Xu, Bingchen Yao, Xianglong Guo, Yichen Wu, Zhichao Lu, Ying Wei, Qingfu Zhang, Zhenan Sun
Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).
The MXFP4 microscaling format, which partitions tensors into blocks of 32 elements sharing an E8M0 scaling factor, has emerged as a promising substrate for efficient LLM inference, backed by native hardware support on NVIDIA Blackwell Tensor Cores. However, activation outliers pose a unique challenge under this format: a single outlier inflates the shared block scale, compressing the effective dynamic range of the remaining elements and causing significant quantization error. Existing rotation-based remedies, including randomized Hadamard and learnable rotations, are data-agnostic and therefore unable to specifically target the channels where outliers concentrate. We propose DuQuant++, which adapts the outlier-aware fine-grained rotation of DuQuant to the MXFP4 format by aligning the rotation block size with the microscaling group size (B=32). Because each MXFP4 group possesses an independent scaling factor, the cross-block variance issue that necessitates dual rotations and a zigzag permutation in the original DuQuant becomes irrelevant, enabling DuQuant++ to replace the entire pipeline with a single outlier-aware rotation, which halves the online rotation cost while simultaneously smoothing the weight distribution. Extensive experiments on the LLaMA-3 family under MXFP4 W4A4 quantization show that DuQuant++ consistently achieves state-of-the-art performance. Our code is available at https://github.com/Hsu1023/DuQuant-v2.
In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.
Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.
For agents, on Syntology's MCP service (how to connect):
get_harvested_code_for_paper(arxiv_id="2604.17789")get_code(code_sha256="…")with a sample'scode_sha256from the list belowget_citation_path(paper_1="2604.17789", paper_2="…")with another paper's arXiv id or titleget_concepts_for_paper(arxiv_id="2604.17789")
Code
Syntology 30 code samples: 29 from 1 repository linked to this paper, 1 identical to code harvested from another paper's repository. Across all 30: 14 ran (of which 3 constructed an object rather than computing a result; 3 with no instrument failure: 0 honoured, 0 violated, 3 with no contract checked; 11 where Syntology's instrument failed) · 16 unverified. Where Syntology's instrument failed: 10 where our contract draft was wrong; 1 where the contract check could not run; failures of Syntology's instrument, not of the code.
By repository: found in paper text by Syntology: 29 samples from 1 repository, 13 ran (3 with no instrument failure; 10 where Syntology's instrument failed); 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.
Levels written on 2026-09-22 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.
Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.
Code Syntology ran Syntology
30 samples harvested: 14 ran (of which 3 constructed an object rather than computing a result; 3 with no instrument failure: 0 honoured, 0 violated, 3 with no contract checked; 11 where Syntology's instrument failed) · 16 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.
Licence: 1 of the 30 samples is pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.
Harvested from Hsu1023/DuQuant-v2. 1 sample is listed last, in a group without a repository. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. For 1 sample that ran, the graph records a signature this page does not show: for a class the fixture built without calling, the harness called the object with inputs it made up itself, so the recorded signature is the harness's probe, not the fixture's arguments. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.
Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.
Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.
A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.
22dc933e4384b25f · report
fixture: returned DuLlamaRMSNorm · level recorded 2026-09-22 b21c5b036d520461 · report
fixture: returned TruncateFunction · level recorded 2026-09-22 f17b50bd007e4e7d · report
fixture: returned UniformAffineQuantizer · level recorded 2026-09-22 747c84caa92a3ba4 · report
fixture: signature x:Tensor/1/float, ebits:int/0/int, emax:int/0/int · returned Tensor · level recorded 2026-09-22 afcafddea4afcd55 · report
fixture: signature x:Tensor/2/float · returned Tensor · level recorded 2026-09-22 deec9d75f4b616b2 · report
fixture: signature q:Tensor/2/float, scales:Tensor/2/float, zeros:Tensor/2/float · returned Tensor · level recorded 2026-09-22 c44bc2a3237345b4 · report
fixture: signature model:callable/0/?, destination:NoneType/0/?, prefix:str/0/str, keep_vars:bool/0/bool · returned OrderedDict · level recorded 2026-09-22 c31487ba3c802876 · report
fixture: signature model:callable/0/? · returned list_iterator · level recorded 2026-09-22 7dd7f74b3600a4f5 · report
fixture: signature model:callable/0/?, use_shift:bool/0/bool · returned list_iterator · level recorded 2026-09-22 dc52888f6a74bba1 · report
fixture: signature model:callable/0/? · returned list_iterator · level recorded 2026-09-22 6f32d6d7941324be · report
fixture: signature x:Tensor/2/float, scales:Tensor/2/float, zeros:Tensor/2/float, q_min:int/0/int, q_max:int/0/int · returned Tensor · level recorded 2026-09-22 5ce0befa6e109811 · report
fixture: signature x:Tensor/2/float, scales:Tensor/2/float, zeros:Tensor/2/float, q_min:int/0/int, q_max:int/0/int · returned Tensor · level recorded 2026-09-22 607bee1a0f21cd6d · report
fixture: signature model:callable/0/?, use_shift:bool/0/bool · returned list_iterator · level recorded 2026-09-22 cd822d05aa1f374d · report
8e21c7c7a2bc9bcd · report
6fc5c56d4380275e · report
6f1be3b48ab8af2f · report
eb88d162cd0854f5 · report
1 sample is identical to code Syntology harvested from another paper's repository; this paper's own copy was not located, so no repository is named and no licence is recorded.
94587954e392b665 · report
fixture: signature number:Tensor/2/float, threshold:float/0/float · returned Tensor · level recorded 2026-09-22 Method as code Syntology
What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.
1 assembly on this paper: 1 harvested, 0 generated.
harvested Assembly for DuQuant++ (graph method: DuQuant++). 31 bricks; individually on a fixture: 15 ran (of which 3 constructed an object rather than computing a result; 3 with no instrument failure: 0 honoured, 0 violated, 3 with no contract checked; 12 where Syntology's instrument failed) · 16 unverified. The assembly has not been run end-to-end.
- duquant entry · level 0 · unverified ·
41112d78927836b9 - QuantLinear helper · level 0 · unverified ·
20e6a8d6947c04ab - QuantLlamaDecoderLayer helper · level 0 · unverified ·
cbcd07e2ca5a3ba7 - clear_temp_variable helper · level 0 · unverified ·
e0d9150534aba495 - duquant_state_dict helper · level 1 · ran · our draft was wrong ·
c44bc2a3237345b4 - get_post_parameters helper · level 1 · ran · our draft was wrong ·
c31487ba3c802876 - let_parameters helper · level 1 · ran · our draft was wrong ·
7dd7f74b3600a4f5 - lwc_parameters helper · level 1 · ran · our draft was wrong ·
dc52888f6a74bba1 - post_quant_inplace helper · level 0 · unverified ·
daa33f9a814e8fd2 - post_rotate_quant_temporary helper · level 0 · unverified ·
cd822d05aa1f374d - quant_inplace helper · level 0 · unverified ·
f3a915217e460b33 - register_scales_and_zeros helper · level 0 · unverified ·
8e21c7c7a2bc9bcd - set_init_duquant_params_state helper · level 0 · unverified ·
6fc5c56d4380275e - set_quant_state helper · level 0 · unverified ·
734fba19235f83c0 - set_registered_x_none helper · level 0 · unverified ·
3060585a5fbe76af - set_requires_grad helper · level 0 · unverified ·
6f1be3b48ab8af2f - smooth_and_let_inplace helper · level 0 · unverified ·
da4ceec866898e3a - smooth_and_quant_temporary helper · level 0 · unverified ·
eb88d162cd0854f5 - smooth_parameters helper · level 1 · ran · our draft was wrong ·
607bee1a0f21cd6d - UniformAffineQuantizer helper · level 1 · ran ·
f17b50bd007e4e7d - DuLlamaRMSNorm helper · level 1 · ran ·
22dc933e4384b25f - QuantLlamaAttention helper · level 0 · unverified ·
77859dd6c404b9c2 - QuantLlamaMLP helper · level 0 · unverified ·
bf4e088584597d5c - truncate_number helper · level 1 · ran · our draft was wrong ·
94587954e392b665 - cast_to_eBm0_improved model · level 1 · ran; the contract check could not run (RAISES) ·
747c84caa92a3ba4 - quantize_dequantize_fp4 helper · level 1 · ran · our draft was wrong ·
6f32d6d7941324be - round_ste helper · level 2 · ran · our draft was wrong ·
675da8641c602b03 - TruncateFunction data_transform · level 1 · ran ·
b21c5b036d520461 - dequantize_fp4 helper · level 1 · ran · our draft was wrong ·
deec9d75f4b616b2 - quantize_fp4 helper · level 1 · ran · our draft was wrong ·
5ce0befa6e109811 - cast_to_fp4 helper · level 1 · ran · our draft was wrong ·
afcafddea4afcd55
Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2604.17789") returns these assemblies with each brick's role and wiring (how to connect).
Results from the paper
The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2604.17789, was issued in April 2026, after that date, so the archive has no leaderboard rows for it.
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections