Outlier-Aware Post-Training Quantization for Discrete Graph Diffusion Models
ELVIA analysis
Independent review pending
Two Major findings concern the central weight-decomposition derivation. The threshold rule fails the stated sparsity and recovery guarantees on a fully admissible equal-entry matrix, and the factor update uses an incorrect, generally undefined gradient. Four scoped Minor findings concern an activation-mask boundary, rank attribution and the released quantization/evaluation paths. The algebraic product decomposition and displayed memory-ratio arithmetic survive checking. No historical experiment failure or author-code execution is claimed.
Problem 1. Tied threshold rule defeats sparsity, initialization and recovery
MajorEvidence and reasoning
Problem statement
Eq10 enforces alpha-sparsity and supplies Theorem4.5 guaranteed recovery.
,condition number1,singularvalue1. =c0= an integer. truezeroS satisfies caps; allowed. deterministic theorem has no no-ties hypothesis.
Proof
Definition 4.1, p. 5, requires at most nonzeros per row and per column. Equation (10), p. 6, retains an entry whenever its magnitude is at least both the row’s -th largest magnitude and the column’s -th largest magnitude. Ties can retain arbitrarily more entries than these caps.
This is a failure of the central theorem under its own assumptions, not merely an implementation edge case. Let The compact singular value decomposition is Consequently satisfies the two incoherence inequalities exactly, and the condition number is The true sparse component is zero and therefore satisfies every row and column cap. The indices are integers, so no rounding ambiguity is involved. Appendix B’s explicit choice gives which satisfies the initialization and local-convergence sparsity bounds stated on pp. 14–15. The step size may be any permitted value, for example No no-ties assumption is stated.
Every entry of has magnitude Each is equal to its row’s and column’s maximum, so Eq. (10) gives The output has nonzeros in every row and column, whereas its allowed cap is one. Initialization in Section 4.3 and Algorithm 2 therefore gives The singular values of the zero residual are zero, hence both factors vanish regardless of the singular-vector basis chosen. It follows that while Theorem 4.5 claims at that this is at most The alignment distance defined in Appendix B is also rather than at most multiplying either zero factor by any invertible alignment leaves it zero, while both true factors have norm one.
Moreover, the next scaled update requires inverses of and both zero. There is no finite matrix inverse. Even if an implementation detected the initially zero reconstruction residual and stopped, it would have recovered the wrong dense component.
The independent check checked the rank-one family using exact fractions and compressed matrix identities, without allocating a matrix. A separate small fixture verified the literal threshold comparisons, and an independently constructed zero Gram matrix produced the expected singular-matrix exception. These are reviewer calculations, not author-program execution.
Guaranteed recovery is explicitly advertised in the second contribution and Theorem 4.5. The false sparsity premise also supports the claimed sparse storage and kernel workload. A fully admissible initialization violates the advertised error bound and leaves its next update undefined. This directly supports Major, independently of measured benchmark changes or repair difficulty.
Possible revision
cardinality-aware deterministic top-row/top-column sets and intersection.
Problem 2. Wrong right-factor gradient in central decomposition
MajorEvidence and reasoning
Problem statement
Eq12 and Algorithm2 exact right gradient is E L.
+ Lm,Rnr. fixedS in factor loss differentiation. rectangular allowed. square witness concerns loss-domain factor step only.
Proof
Equation (12), p. 6, and Algorithm 2, p. 17, both print the right-factor gradient as Actual visual inspection confirms that the residual is not transposed in either location.
With and fixed define Taking differentials gives so The printed product is not defined for general rectangular weights: for it attempts Differentiating with respect to would yield not so a transpose convention does not rescue it.
Even for square weights, this changes the factor step rather than merely its notation. For fixed choose Both correct factor gradients vanish, but The two Gram matrices are the scalar one. The literal printed factor update therefore produces versus the initial loss one. At the permitted the loss becomes
This square example checks the exact-gradient claim and factor step on their declared loss domain. It is not a simulated complete Algorithm 2 iteration after the sparse update, and it is not asserted to satisfy the recovery theorem’s true-component assumptions. Problem 1 supplies the separate full-assumption theorem counterexample. A parent finite-difference check on another rectangular fixture agrees with to approximately
Possible revision
use L with consistent half-squared-loss or step normalization and invertibleGrams.
Problem 3. Algorithm1 masks exclude threshold equality
MinorEvidence and reasoning
Problem statement
sparse+dense activation masks form exact partition.
strict sparse and dense inequalities as printed. threshold equality not excluded.
Proof
Algorithm 1, p. 17, uses or for the sparse mask, and for the dense mask. Equality belongs to neither component.
For and the masks give and so This occurs before any quantization approximation. No assumption excludes exact threshold values; percentile thresholds can be attained.
The correction is equivalently an inclusive dense interval when the sparse comparisons are strict. Importantly, Eq. (6), p. 4, already defines an exact decomposition and calls the dense component the remainder. Minor reflects this local mismatch in the pseudocode relative to an explicit, valid main formulation. There is no demonstrated dependence of the reported metrics on the incorrect boundary convention.
Possible revision
or inclusive dense mask.
Problem 4. CATH rank attribution inconsistent
MinorEvidence and reasoning
Problem statement
Section5.1 rank32 applies to reported Bit-DGDM results.
same reported metrics read from original tables. no undisclosed dataset-specific override assumed.
Proof
Section 5.1, p. 7, states rank The Bit-DGDM row of Table 2, p. 8, exactly matches Appendix Table A4’s rank-16 row, p. 20, rather than its rank-32 row.
The original tables give:
Source | Perplexity | Recovery (%) | Speedup | Memory (GB)
Table 2 | | | |
Table A4, rank | | | |
Table A4, rank | | | |
Appendix F.6 discusses choosing rank through a speed–quality trade-off, so a CATH-specific rank-16 override is plausible. Separate runs or settings could also differ. They must be identified to make the main result reproducible. This is a configuration-attribution inconsistency, not evidence of invented measurements. The demonstrated correction is to state the actual rank/configuration for each reported result; those run identities remain Needs Evidence.
Possible revision
identify actual rank/config per table/run.
Problem 5. Documented release path differs from described data-free W4A4 method
MinorEvidence and reasoning
Problem statement
README entrypoint reproduces proposed pipeline.
preserved publiccommit05c225b dated2025-02-03. source entrypoint/config as documented. no inference that this commit generated paper tables.
Proof
The README directs users to `quant.py dataset=qm9`. At the preserved commit, this path does not implement the described data-free activation thresholds, fixed-rank decomposition and W4A4 dense multiplication.
The source trace is concrete:
`quant.py`, lines – constructs a calibration loader from `data.train_dataset`, wraps layers to accumulate input products, and passes a real batch through `model.test_step`. This differs from Section 4.2’s generation of synthetic graphs without raw calibration data.
Lines – call additive-codebook quantization, construct `QuantizedLinear`, and run groupwise reconstruction fine-tuning. `aq_engine.py` explicitly enables gradients, optimizes codebooks/scales with Adam and performs code-index search. The outer no-gradient decorator does not make this fine-tuning absent.
`src/aq/aq.py`, lines – and – reconstructs floating weights and calls `F.linear` on the supplied activation. The documented default has two 8-bit codebooks for groups: logical index bits per weight before codebook/scaling overhead, not a W4A4 multiplication.
`ill_decompose.py` is a different robust-PCA shrinkage routine. Apart from definitions, internal helper calls and the extension setup file, no caller integrating those components into the documented entry point was found.
CUDA files containing low-bit lookup and sparse-multiplication routines are present. Their existence is counterevidence to claiming that the repository contains no kernel implementation. It does not connect those routines to the documented quantization execution path. Compiled/cache artifacts were preserved as bytes and never loaded; the static search is not a claim about unobserved dynamic execution.
This is a bounded release-reproduction defect. The acquired commit predates publication and may not be the experimental version. The paper-level assertions about data-free calibration, actual precision, kernel invocation and latency remain Needs Evidence until the exact experimental commit/configuration and traces are supplied. No changed benchmark score or false publication result is inferred.
Possible revision
supply exact experimental version/config/call trace and matching integration.
Problem 6. Benchmark discards checkpoint before evaluating fresh model
MinorEvidence and reasoning
Problem statement
README benchmark evaluates specified quantized checkpoint.
documented test_only branch. fresh model constructor creates transformer and has no weight restore. quantization/load calls commented and no ckpt_path at finaltest.
Proof
The README proposes evaluating a quantized checkpoint through `benchmark.py`. In that file, `get_resume`, lines – loads and returns a checkpoint model, but the main path discards the returned model at line and constructs a new model at line
The constructor in `src/diffusion_model_discrete.py`, lines – creates a fresh `GraphTransformer`; the inspected transformer constructor builds its linear layers without restoring weights. The benchmark’s quantization, save and reload calls at lines and are commented out. Its executed test call at line supplies the fresh model without a checkpoint path. The checkpoint-derived configuration is retained, but the loaded parameter state is not.
Thus this documented evaluation path does not establish evaluation of the chosen quantized checkpoint. Retaining the loaded model or explicitly loading the intended parameter state before testing is necessary; the correct format must also match the quantized architecture. No patched evaluation was run.
This finding is specific to `benchmark.py`. As a significant counterpoint, `quant.py`, line explicitly loads its checkpoint state, and line passes the checkpoint path to its initial test. The benchmark timer also synchronizes CUDA and resets peak-memory statistics. Neither an asynchronous-timing defect nor a weight-loading defect in every entry point is alleged.
Possible revision
retain loaded model or explicitly restore architecture-compatible quantized state.
Supporting record & provenance
Work status
Current version
Version 1
Minhao Liu · Initial report · Version 1
Independent review pending
Original claim and review scope
Then we introduce the our post-training quantization framework Bit-DGDM comprising sparse-dense activation quantization and ill-conditioned low-rank weight decomposition, detailed in Sec. 4.2 and Sec. 4.3, respectively.
Published ICML 2025 proceedings PDF (PMLR 267); PDF p. 4
Actual review scope
The recorded inspection concerns these source locations: Def4.1 p. 5;Eq10/Theorem4.5/initialization p. 6;AppendixB pp. 14–15;Algorithm 2 p. 17; Eq12 p. 6 and Algorithm 2 p. 17; Algorithm 1 p. 17 vs Eq6 p. 4; p. 7 Section 5.1;Table 2p8;TableA4p20; README usage;quant.py157–207;aq_engine.py;src/aq/aq.py25–26,199–209;default qm9 config; benchmark.py54–61,323,333,355–364;diffusion constructor18–104.