ELVIA.Evidence Atlas
ICML 2025ELVIA assessment Major

Modulated Diffusion: Accelerating Generative Modeling with Modulated Quantization

Weizhi Gao, Zhichao Hou, Junqi Yin, Feiyi Wang, Linyu Peng, Xiaorui Liu

ELVIA analysis

Independent review pending

Both quantitative conclusions of Theorem 4.4 are false under its stated assumptions. Exact counterexamples use a genuine four-bit dynamic quantizer satisfying a global relative squared-error bound with c=0.01,c=0.01, a norm-one linear projection and finite deterministic input sequences. The theorem supports the central error-compensation contribution, so the finding is Major. Correctly oriented residual recurrences still support geometric forgetting of older errors; benchmark failure is not established. A separate released activation-axis discrepancy is Minor, with historical experiment effects unresolved.

Problem 1. Both standard and compensated quantitative bounds are false

Major
Evidence and reasoning

Problem statement

Theorem4.4 Eqs30/31 and Appendix49/50.

A=[1,1,00],norm1;c=0.01c=0.01<.5.5;global four-bit two-dimensional quantizer relative bound2/225; exact initialization; deterministic independent inputs.

Proof

Rating: Major. Locations: p. 6, Theorem 4.4, Eqs. (24)–(31); p. 13, Theorem A.2, Eqs. (43)–(50) and recurrence (5959); p. 14, Eqs. (65)–(68).

Write Δk=ak−ak+1\Delta_k=a_k-a_{k+1} and ot=Aat.o_t=Aa_t. Under ∥u−Q(u)∥2≤c∥u∥2,\|u-Q(u)\|^{2}\le c\|u\|^{2}, the claimed conclusions are ∥ot−o~t∥2≤c∥A∥2∑k=tT−12T−k−1∥Δk∥2,(R1)\|o_t-\widetilde o_t\|^{2} \le c\|A\|^{2}\sum_{k=t}^{T-1}2^{T-k-1}\|\Delta_k\|^{2}, \tag{R1} ∥ot−o^t∥2≤∥A∥2∑k=tT−1(2c)T−k−1∥Δk∥2.(R2)\|o_t-\widehat o_t\|^{2} \le\|A\|^{2}\sum_{k=t}^{T-1}(2c)^{T-k-1}\|\Delta_k\|^2. \tag{R2} Main Eq. (29) permits 0<c<1;0<c<1; the appendix and accompanying prose use the stronger c<1/2.c<1/2. The following examples satisfy both. The exponent directions were verified from the original page images.

Use the two-dimensional, four-bit max–min floor/clamp quantizer of Eqs. (19)–(22). For a nonconstant vector u,u, set m=min⁡u,m=\min u, M=max⁡u,M=\max u, s=(M−m)/15,s=(M-m)/15, z=⌊−m/s⌋,z=\lfloor-m/s\rfloor, and Q(u)i=s{clamp⁡(⌊ui/s⌋+z,0,15)−z}.Q(u)_i=s\{\operatorname{clamp}(\lfloor u_i/s\rfloor+z,0,15)-z\}. Define Q(u)=uQ(u)=u for constant vectors, including zero. This supplies the zero-range case left undefined by the scale formula and satisfies the abstract theorem’s requirement Q(0)=0.Q(0)=0.

Here is a global check of the hypothesis. Write m/s=j+θ,m/s=j+\theta, j∈Z,j\in\mathbb Z, 0≤θ<1.0\le\theta<1. For θ=0\theta=0 both extrema are exact. For 0<θ<1,0<\theta<1, the two coordinate errors, up to permutation, are −s(1−θ)-s(1-\theta) and sθ.s\theta. Thus ∥u−Q(u)∥2=s2[(1−θ)2+θ2]≤s2≤2225∥u∥2<1100∥u∥2.\|u-Q(u)\|^{2} =s^{2}[(1-\theta)^{2}+\theta^{2}]\le s^{2} \le\frac2{225}\|u\|^{2}<\frac1{100}\|u\|^2. Constant vectors are exact, so c=1/100c=1/100 is valid uniformly. This is an analytic bound for all vectors, not a hypothesis inferred from finite testing.

Take A=[1,0]:R2→R,A=[1,0]:\mathbb R^{2}\to\mathbb R, whose spectral and Frobenius norms both equal one, and x=(−6.999,8.001),Q(x)=(−6,8),∥x∥2=113.002002,∣A(x−Q(x))∣2=0.998001.x=(-6.999,8.001),\quad Q(x)=(-6,8),\quad \|x\|^{2}=113.002002,\quad |A(x-Q(x))|^{2}=0.998001. The scale is one and zero point six. All decimal inputs here are exact terminating rationals.

For (R1), take T=3,T=3, a3=0,a_3=0, a2=x,a_2=x, a1=2x,a_1=2x, and evaluate t=1.t=1. Both increments are x,x, giving o~1=−12\widetilde o_1=-12 and o1=−13.998.o_1=-13.998. Therefore ∥o1−o~1∥2=3.992004>3c∥x∥2=3.39006006.\|o_1-\widetilde o_1\|^{2}=3.992004 >3c\|x\|^{2}=3.39006006. This strictly violates Eq. (30)/(4949).

For (R2), take T=4,T=4, a4=a3=a2=0a_4=a_3=a_2=0 and a1=x.a_1=x. All earlier updates are zero; the final compensated output is AQ(x)=−6.AQ(x)=-6. Therefore ∥o1−o^1∥2=0.998001>(2c)2∥x∥2=0.0452008008.\|o_1-\widehat o_1\|^{2}=0.998001 >(2c)^{2}\|x\|^{2}=0.0452008008. This strictly violates Eq. (31)/(5050).

An exact-Fraction computation and a separate implementation agree on all values and assertions. These sequences can be independent degenerate random variables, so the pre-theorem independence sentence does not exclude them. No unbiased quantization, random error cancellation, nonzero initialization or diffusion-specific input restriction appears among the theorem’s hypotheses. The norm-one projection removes matrix-norm ambiguity. The bandwidth corollary gives a sufficient generic bound, not an additional restriction excluding a quantizer whose stronger global bound has been proved directly.

The displayed standard recurrence is Et2≤2c∥A∥2∥Δt∥2+2Et+12.E_t^{2}\le2c\|A\|^{2}\|\Delta_t\|^{2}+2E_{t+1}^2. It does not yield (R1). Direct unrolling gives the looser but correctly indexed weights c 2k−t+1.c\,2^{k-t+1}. A sharper useful standard bound follows from telescoping: ot−o~t=A∑k=tT−1(Δk−Q(Δk)),o_t-\widetilde o_t=A\sum_{k=t}^{T-1}(\Delta_k-Q(\Delta_k)), ∥ot−o~t∥2≤c∥A∥2(∑k=tT−1∥Δk∥)2≤c(T−t)∥A∥2∑k=tT−1∥Δk∥2.(R3)\|o_t-\widetilde o_t\|^{2} \le c\|A\|^{2}\left(\sum_{k=t}^{T-1}\|\Delta_k\|\right)^{2} \le c(T-t)\|A\|^{2}\sum_{k=t}^{T-1}\|\Delta_k\|^2. \tag{R3}

For compensation, linearity and initialization imply o^t=Aa^t.\widehat o_t=A\widehat a_t. Define rt=at−a^t,r_t=a_t-\widehat a_t, rT=0.r_T=0. Then rt=(I−Q)(Δt+rt+1),∥rt∥≤c(∥Δt∥+∥rt+1∥).r_t=(I-Q)(\Delta_t+r_{t+1}),\qquad \|r_t\|\le\sqrt c(\|\Delta_t\|+\|r_{t+1}\|). Consequently valid bounds include ∥ot−o^t∥2≤c∥A∥2(∑k=tT−1c(k−t)/2∥Δk∥)2,(R4)\|o_t-\widehat o_t\|^{2} \le c\|A\|^{2} \left(\sum_{k=t}^{T-1}c^{(k-t)/2}\|\Delta_k\|\right)^{2}, \tag{R4} ∥ot−o^t∥2≤∥A∥2∑k=tT−1(2c)k−t+1∥Δk∥2.(R5)\|o_t-\widehat o_t\|^{2} \le\|A\|^{2}\sum_{k=t}^{T-1}(2c)^{k-t+1}\|\Delta_k\|^2. \tag{R5} Equation (R5) follows from ∥rt∥2≤2c∥Δt∥2+2c∥rt+1∥2.\|r_t\|^{2}\le2c\|\Delta_t\|^{2}+2c\|r_{t+1}\|^{2}. Older increments can be forgotten geometrically, but the newest increment has coefficient 2c2c independently of the total timeline. If ∥Δk∥≤B,\|\Delta_k\|\le B, (R5) gives 2c∥A∥2B2/(1−2c)2c\|A\|^2B^{2}/(1-2c) for c<1/2,c<1/2, and (R4) gives c∥A∥2B2/(1−c)2c\|A\|^2B^{2}/(1-\sqrt c)^{2} for c<1.c<1.

The proof’s Eq. (67) also prints a plus sign before a quantized term where the residual requires a minus sign. Correcting that sign alone does not repair the reversed geometric weights. These replacement bounds are reviewer derivations, not claimed author corrections.

Both core quantitative inequalities and their derivation are invalid. This merits Major without requiring a benchmark score reduction or difficulty of repair. The corrected recurrences preserve a substantial part of the method’s qualitative rationale. No conclusion is drawn that all generated images fail, that reported quality scores are false, or that compensation cannot be useful. The paper itself notes that nonlinear feedback in a full diffusion network goes beyond this fixed-operator model.

□\square

Possible revision

Correct orientation(2c)k−t+1,(2c)^{k-t+1}, telescoping and norm-sum bounds derived; no end-to-end theorem claimed.

Problem 2. Pinned activation quantizer axis/default differs from described LCQ

Minor
Evidence and reasoning

Problem statement

Main dynamic activation uses per-channel min/max.

Conventional NCHW activation passed unchanged; documented flags.

Proof

Rating: Minor, release-scoped. Locations: Section 5.1, p. 7; Appendix D.2, p. 17; README lines 6161–85;85; `scripts/sample_diffusion_ddim.py:145,620`; `scripts/sample_diffusion_ldm.py:421,551`; `qdiff/quant_layer.py:134--208,307--347`.

The paper distinguishes channel-wise activation LCQ from tensor-wise LTQ and says the main activation scale uses each channel’s minimum and maximum. The pinned entry points pass `args.act_tensor` directly to `channel_wise`; the flag is false by default and described as enabling tensor-wise activation quantization. The documented CIFAR and LSUN dynamic commands omit it.

For an activation of shape N×C×H×W,N\times C\times H\times W, the quantizer’s true branch reduces all three trailing dimensions and reshapes the remaining scales to (N,1,1,1).(N,1,1,1). The false branch takes extrema over the entire input and produces one scalar. The wrapper sends conventional convolution activations, possibly split along channels, without moving the channel axis to dimension zero. Thus neither route creates the advertised CC-axis scales: for (N,C,H,W)=(2,3,1,1)(N,C,H,W)=(2,3,1,1) the scale shape is (2,1,1,1)(2,1,1,1) or scalar, not (1,3,1,1).(1,3,1,1).

Preserving axis zero is appropriate for output-channel weight tensors, and per-example quantization can reasonably be called tensor-wise. The defect concerns the described activation channel axis and default reproduction commands, not terminology alone. Stable Diffusion’s deliberately tensor-wise setting is also not refuted.

This static discrepancy prevents equating the pinned documented route with the stated LCQ configuration. Historical experimental impact remains Needs Evidence because exact experiment commits/configurations and logs were not supplied. A repair should make the activation channel axis explicit and align defaults and flag meanings. No author-code or patched-code run was performed.

□\square

Possible revision

Explicit activation channel axis and aligned CLI; historical log binding needed.

Supporting record & provenance

Work status

Current version

Version 1

Minhao Liu · Initial report · Version 1

Independent review pending

Original claim and review scope

To break these limits, this work introduces Modulated Diffusion (MoDiff), an innovative, rigorous, and principled framework that accelerates generative modeling through modulated quantization and error compensation.

Published ICML 2025 proceedings PDF (PMLR 267); Abstract, PDF p. 1

Actual review scope

The recorded inspection concerns these source locations: PDF6 Theorem 4.4 PDF13 A2 Eq49/50/59 PDF14 Eq67/68; PDF7 Section 5.1 PDF17 D2 qdiff/quant_layer.py134-208,307-347 scripts/sample_diffusion_ddim.py145,620.

Submit an author revisionContribute a review