betaFeedback

WorksComputer Science

Deflating the Hessian: Rank-4 W4A4 Quantization for Multimodal Diffusion Transformers

Abstract

In diffusion transformers, low-rank branches can mitigate 4-bit weight–activation (W4A4) post-training quantization (PTQ) loss by decomposing each weight into a low-bit residual and a high-precision low-rank component. Existing low-rank PTQ approaches, however, either optimize low-rank compensation and residual quantization separately, often requiring higher ranks, or rely on second-order weight updates without explicitly modeling activation quantization error, which becomes particularly pronounced under 4-bit quantization. To address these limitations, we present HSVDQuant, a unified framework modeling low-rank-assisted W4A4 PTQ as a coupled calibration problem and deriving optimization-based solvers from the joint objective. Eliminating the output-side low-rank factor yields a deflated Hessian that discounts residual errors already captured by the low-rank component, while an activation-noise surrogate is incorporated to suppress activation quantization error. Across five diffusion backbones, rank-4 HSVDQuant consistently outperforms rank-4 SVDQuant in PSNR and LPIPS. It further surpasses rank-32 SVDQuant on SANA-1.6B, FLUX.1-schnell, and FLUX.1-dev with an 8×8\times smaller rank and up to 6.25×6.25\times faster quantization. Furthermore, on the Qwen3-8B LLM, rank-4 HSVDQuant improves MMLU accuracy from 61.50% to 68.17% over rank-32 SVDQuant. Overall, HSVDQuant achieves better W4A4 performance with substantially lower rank and quantization cost.

Introduction

Diffusion transformers (DiTs) (Peebles & Xie, 2023) repeatedly apply large linear transformations along the denoising trajectory, making low-precision inference an attractive route to reducing memory traffic and arithmetic cost. Weight–activation 4-bit post-training quantization (W4A4 PTQ) reduces both weights and activations to low precision without retraining, but the resulting errors can accumulate across layers and amplify over denoising steps.

SVDQuant [13] first extracts a truncated-SVD branch and then quantizes the remaining residual. LRC (Scetbon & Hensman, 2024) jointly optimizes a quantized weights and low-rank correction. LoRaQ [4] directly optimizes a low-rank perturbation to compensate for weight quantization error. GPTQ-intrinsic LoRA (Zhang & Saab, 2026) also incorporates low-rank correction into second-order quantization. Despite these advances, existing methods do not explicitly formulate a multivariable coupled optimization problem, nor derive an efficient algorithm that jointly captures weight- and activation-side quantization under a small rank budget. This leads to our research question: how can we jointly model the variables governing low-rank-assisted W4A4 PTQ and solve the resulting problem efficiently to maximize the effectiveness of low-rank branches?

We present H-SVDQuant, a unified framework for low-rank W4A4 PTQ that formulates a joint reconstruction objective, derives optimization-based solvers, and instantiates them in a practical calibration algorithm. In Figure 1(a), a smoothed weight matrix W~=L1L2+R\widetilde{W}=L_1L_2+R, where L1L_1, L2L_2 denote the low-rank component and R^=Q(R)\widehat{R}=Q(R) is the quantized residual. L1L_1 specifies the protected input subspace with calibration-weighted initialization. Analytically eliminating L2L_2 yields

Figure 1. (a) Residual quantization with Hessian deflation: For a fixed protected subspace L1L_1, Hessian deflation (H~⊥L1=0\tilde{H}_{\perp}L_1 = 0) focuses residual quantization strictly on errors outside the low-rank subspace. (b) Paired rank efficiency: The paired distributions show consistent gains over rank-4 SVDQuant, and show model-dependent comparisons with rank-32 SVDQuant, with the strongest rank-efficiency gains on SANA and the FLUX variants.

H⊥=H−HL1(L1THL1)−1L1TH,H⊥L1=0,(1)H_{\perp}=H-HL_1\left(L_1^{\mathsf{T}}HL_1\right)^{-1}L_1^{\mathsf{T}}H,\qquad H_{\perp}L_1=0, \tag*{(1)}

where HH is the calibration activation Gram matrix and (⋅)†(\cdot)^\dagger denotes the Moore–Penrose pseudoinverse. We refer to this reduced geometry as Hessian deflation: Since H⊥L1=0H_{\perp}L_1 = 0, errors that lie in the protected input subspace can be compensated by the low-rank component. R^\hat{R} therefore only needs to account for the remaining errors measured by H⊥H_{\perp}. Then L2L_2 is refitted using a closed-form solution L2⋆L_2^\star. We optimize activation quantization through the diagonal smoothing and the activation-quantization surrogate. Specifically, we incorporate a smoothing matrix DD and derive its ℓp\ell_p-relaxed initialization with geometric programming, leaving the smoothed weights W~=DW\widetilde{W} = DW for subsequent quantization, avoiding costly grid searches or online rotation overhead while accelerating calibration. Furthermore, our algorithm accommodates an activation-noise surrogate λA\lambda_A to suppress the amplification of activation quantization error during residual quantization, specified in § 3.

We evaluate H-SVDQuant against PTQ baselines for DiTs: SVDQuant [13], DiRotQ (Sharify et al., 2026), OrbitQuant [11], and ViDiT-Q (Zhao et al., 2025). Our backbones include diffusion transformers ranging from 0.6B to 20B parameters: PixArt-Σ [5], SANA-1.6B (Xie et al., 2025), FLUX.1-schnell [3], FLUX.1-dev [3], and Qwen-Image (Wu et al., 2025) (including its variant with 4-step Lightning LoRA). Under W4A4, H-SVDQuant consistently improves reconstruction fidelity across all backbones (up to +1.61 dB PSNR on PixArt-Σ) and rivals or surpasses the 8×-larger rank-32 SVDQuant baseline on SANA-1.6B and FLUX models (Figure 1(b)). Evaluation on Qwen3-8B (Yang et al., 2025) also confirms that rank-4 H-SVDQuant achieves 10.44 WikiText-2 perplexity (PPL) and 68.17% MMLU accuracy (outperforming rank-32 SVDQuant at 11.21 PPL and 61.50% MMLU), suggesting that the proposed formulation also transfers to large language transformers (LLMs).

Our contributions are threefold:

  • Unified low-rank-assisted W4A4 PTQ problem. We formulate a joint calibration objective for low-rank-assisted W4A4 PTQ that accounts for both weight- and activation-side quantization, seamlessly integrating an activation quantization surrogate objective.

  • Efficient optimization-based solvers. We derive the optimization-based solvers for our framework, integrating calibration-weighted low-rank initialization, diagonal smoothing, second-order residual quantization, and closed-form low-rank refitting.

  • Extensive empirical validation under small-rank budgets. We evaluate rank-4 H-SVDQuant across five diffusion backbones and Qwen3-8B, surpassing rank-32 SVDQuant on SANA and the FLUX variants while accelerating offline PTQ calibration by up to 6.25×.

Related Work

Quantization of Diffusion Models. Early post-training quantization methods for diffusion models focused on the temporal non-stationarity induced by iterative denoising. Q-Diffusion addresses timestep-dependent activation distributions through timestep-aware calibration and split shortcut quantization, while PTQD explicitly models and corrects the accumulation of quantization noise along the denoising trajectory [8] (Li et al. 2023). As transformer-based backbones became increasingly prominent in diffusion models, subsequent work identified additional challenges arising from activation outliers, timestep-dependent distributions, and heterogeneous layer sensitivity. ViDiT-Q (Zhao et al., 2025) introduces DiT-specific quantization schemes together with sensitivity-aware mixed-precision allocation. DiRotQ (Sharify et al., 2026) employs rotation-aware activation quantization to separate dominant activation directions from the low-bit subspace, whereas OrbitQuant [11] quantizes weights and activations in a normalized rotated representation using a shared non-uniform codebook.

Low-Rank-Assisted Quantization. Low-rank correction provides a complementary strategy for aggressive quantization by reserving a small auxiliary branch for structured error that is difficult to represent with low-bit codes. SVDQuant establishes this paradigm for diffusion models by concentrating weight outliers into a high-precision SVD branch and quantizing the remaining residual weights and activations to 4 bits [13]. Recent low-rank PTQ methods optimize different parts of this calibration problem. In language models, LRC jointly optimizes quantized weights with full-precision low-rank corrections acting on unquantized activations (Scetbon & Hensman, 2024). LoRaQ directly optimizes a low-rank approximation to quantization error, allowing the auxiliary branch to operate below 16-bit precision [4]. GPTQ-intrinsic LoRA incorporates low-rank correction into an augmented-Hessian quantization pass (Zhang & Saab, 2026).

Activation-aware calibration PTQ. A separate line of work exploits calibration statistics to reshape the quantization problem. GPTQ uses approximate second-order information to minimize weight-quantization error under input-dependent curvature [7], while AWQ identifies salient weights using activation statistics and protects them through channel-wise scaling (Lin et al., 2024). SmoothQuant migrates activation outliers into weights through an equivalent diagonal rescaling (Xiao et al., 2023). Rotation-based methods such as QuaRot and SpinQuant instead exploit orthogonal invariances to suppress activation outliers before low-bit quantization [1] (Liu et al. 2025).

Our work shares the use of low-rank compensation and activation-aware second-order information, but focuses on their coupled W4A4 formulation and studies this coupling under small auxiliary rank budgets for efficient PTQ in diffusion transformers.

Method

Problem Modeling

For a linear layer Y=XWY = XW with calibration input X∈Rm×cX \in\mathbb{R}^{m \times c} and weight matrix W∈Rc×nW \in\mathbb{R}^{c \times n}, r≪min⁡(c,n)r \ll\min(c,n) denotes the protected rank budget. We apply an equivalent diagonal reparameterization

X~=XD−1,W~=DW,(2)\widetilde{X} = XD^{-1}, \qquad\widetilde{W} = DW, \tag*{(2)}

where D=diag⁡(d)D = \operatorname{diag}(d) with di>0d_i > 0 is the diagonal smoothing matrix. This transform redistributes channel ranges between activations and weights while preserving XW=X~W~XW = \widetilde{X}\widetilde{W}, where X~,W~\widetilde{X}, \widetilde{W} are the smoothed activations and weights.

Low-rank-assisted operator. We adopt a low-rank-assisted operator with a rank-rr high-precision branch, keeping X~L1L2\widetilde{X}L_1L_2 separate from the low-bit path. The resulting operator is

Y^=X~L1L2+QA(X~)R^,(3)\widehat{Y} = \widetilde{X}L_1L_2 + Q_A(\widetilde{X})\widehat{R}, \tag*{(3)}

where L1∈Rc×rL_1 \in\mathbb{R}^{c \times r} and L2∈Rr×nL_2 \in\mathbb{R}^{r \times n} are the input- and output-side low-rank factors, respectively, and R^\widehat{R} denotes the quantized residual. We then derive the reconstruction objective given by this low-rank-assisted operator.

Reconstruction objective. Defining remaining weight error C=W~−L1L2−R^C = \widetilde{W} - L_1L_2 - \widehat{R} and activation error EA=QA(X~)−X~E_A = Q_A(\widetilde{X}) - \widetilde{X}, (3) gives exact layer-output error

Y−Y^=X~C−EAR^.(4)Y - \widehat{Y} = \widetilde{X}C - E_A\widehat{R}. \tag*{(4)}

Let H~=1mX~TX~\widetilde{H} = \frac{1}{m}\widetilde{X}^{\mathsf{T}}\widetilde{X} and ΣA=1mEATEA\Sigma_A = \frac{1}{m}E_A^{\mathsf{T}}E_A, with ∥B∥M2≜tr⁡(BTMB)\lVert B\rVert_M^2 \triangleq\operatorname{tr}(B^{\mathsf{T}}MB) for PSD matrix MM. Expanding (4) yields

1m∥Y−Y^∥F2=∥C∥H~2+∥R^∥ΣA2−2mtr⁡(CTX~TEAR^).(5)\frac{1}{m}\lVert Y-\widehat{Y}\rVert_F^2 = \lVert C\rVert_{\widetilde{H}}^2 + \lVert\widehat{R}\rVert_{\Sigma_A}^2 - \frac{2}{m}\operatorname{tr}\left(C^{\mathsf{T}}\widetilde{X}^{\mathsf{T}}E_A\widehat{R}\right). \tag*{(5)}

Under standard conditional zero-mean uniform rounding assumptions, the cross term vanishes in expectation (E[tr⁡(CTX~TEAR^)]=0\mathbb{E}[\operatorname{tr}(C^{\mathsf{T}}\widetilde{X}^{\mathsf{T}}E_A\widehat{R})] = 0), yielding 1m∥Y−Y^∥F2≈∥C∥H~2+∥R^∥ΣA2\frac{1}{m}\lVert Y-\widehat{Y}\rVert_F^2 \approx\lVert C\rVert_{\widetilde{H}}^2 + \lVert\widehat{R}\rVert_{\Sigma_A}^2. For a bAb_A-bit symmetric quantizer with κA=2bA−1−1\kappa_A = 2^{b_A-1} - 1 and activation group G(i)G(i) for channel ii, we model activation-noise covariance via the block-constant diagonal surrogate:

Σ‾A=Diag⁡(sA),(sA)i=112κA2Et[max⁡j∈G(i)X~tj2].(6)\overline{\Sigma}_A = \operatorname{Diag}(s_A), \qquad(s_A)_i = \frac{1}{12\kappa_A^2}\mathbb{E}_t\left[\max_{j\in G(i)}\widetilde{X}_{tj}^2\right]. \tag*{(6)}

Introducing weighting parameter λA≥0\lambda_A \ge0, the joint calibration objective is

L(L1,L2,R^)=12∥W~−L1L2−R^∥H~2+12λA∥R^∥Σ‾A2.(7)\mathcal{L}(L_1,L_2,\widehat{R}) = \frac{1}{2}\lVert\widetilde{W}-L_1L_2-\widehat{R}\rVert_{\widetilde{H}}^2 + \frac{1}{2}\lambda_A\lVert\widehat{R}\rVert_{\overline{\Sigma}_A}^2. \tag*{(7)}

(7) unifies low-rank compensation and activation-noise suppression under a shared calibration framework where the first term minimizes weight error, while the second suppresses activation-error amplification through R^\widehat{R}. We use (7) as the common objective underlying the derivations in Section 3.2; λA=0\lambda_A = 0 gives its weight-centric specialization, while λA>0\lambda_A > 0 enables activation-aware code optimization when activation-quantization error is propagated during calibration.

H-SVDQuant

We now derive tractable updates for the coupled objective in (7). The derivation proceeds by analytically eliminating the refittable factor L2L_2, reducing residual-code optimization to a second-order metric-and-target problem, while deriving calibration-aware updates for the protected subspace and smoothing transform.

Hessian deflation. For fixed DD, L1L_1, and R^\widehat{R}, minimizing over L2L_2 yields the closed-form weighted least-squares solution:

L2⋆=(L1TH~L1)†L1TH~(W~−R^),(8)L_2^\star= \left(L_1^{\mathsf{T}}\widetilde{H}L_1\right)^\dagger L_1^{\mathsf{T}}\widetilde{H}\left(\widetilde{W}-\widehat{R}\right), \tag*{(8)}

where (⋅)†(\cdot)^\dagger denotes the Moore–Penrose pseudoinverse.

Proposition 1 (Hessian deflation). Substituting L2⋆L_2^\star into (7) replaces H~\widetilde{H} with the deflated Hessian

H~⊥=H~−H~L1(L1TH~L1)†L1TH~,satisfyingH~⊥L1=0.(9)\widetilde{H}_{\perp} = \widetilde{H} - \widetilde{H}L_1\left(L_1^{\mathsf{T}}\widetilde{H}L_1\right)^\dagger L_1^{\mathsf{T}}\widetilde{H}, \qquad\text{satisfying}\quad\widetilde{H}_{\perp}L_1 = 0. \tag*{(9)}

The derivation of L2⋆L_2^\star and proof are provided in Appendix B. The identity H~⊥L1=0\widetilde{H}_{\perp}L_1 = 0 shows that errors compensable by the protected low-rank component are eliminated from the residual objective; residual quantization thus targets only the remaining reconstruction error.

Residual-code optimization. After eliminating L2L_2, the code-dependent objective becomes

Lcode=12∥W~−R^∥H~⊥2+12λA∥R^∥Σ‾A2=12∥R^−TQ∥MQ2+const,(10)\mathcal{L}_{\mathrm{code}} = \frac{1}{2}\lVert\widetilde{W}-\widehat{R}\rVert_{\widetilde{H}_{\perp}}^2 + \frac{1}{2}\lambda_A\lVert\widehat{R}\rVert_{\overline{\Sigma}_A}^2 = \frac{1}{2}\lVert\widehat{R}-T_Q\rVert_{M_Q}^2 + \mathrm{const}, \tag*{(10)}

where

MQ=H~⊥+λAΣ‾A,TQ=MQ†H~⊥W~.(11)M_Q = \widetilde{H}_{\perp} + \lambda_A\overline{\Sigma}_A, \qquad T_Q = M_Q^\dagger\widetilde{H}_{\perp}\widetilde{W}. \tag*{(11)}

We use (6) as the activation-noise surrogate: MQM_Q reshapes the metric geometry, while TQT_Q adjusts the effective approximation target.

Low-rank initialization. Rather than initializing the protected branch with ordinary truncated SVD, we solve a calibration-weighted rank-rr approximation min⁡rank⁡(L)≤r12∥H~reg1/2(W~−L)∥F2\min_{\operatorname{rank}(L)\le r} \frac{1}{2}\lVert\widetilde{H}_{\mathrm{reg}}^{1/2}(\widetilde{W}-L)\rVert_F^2, whose exact solution is, where H~reg=H~+τI\widetilde{H}_{\mathrm{reg}}=\widetilde{H}+\tau I with τ>0\tau>0 is a positive-definite regularization of the calibration Gram matrix. The exact solution to this regularized approximation problem is

L⋆=H~reg−1/2[H~reg1/2W~]r(12)L^\star=\widetilde{H}_{\mathrm{reg}}^{-1/2}\left[\widetilde{H}_{\mathrm{reg}}^{1/2}\widetilde{W}\right]_r \tag*{(12)}

where [⋅]r[\cdot]_r denotes rank-rr truncated SVD. We initialize L1L_1 with the resulting input-side span under an H~reg\widetilde{H}_{\mathrm{reg}}-orthonormal gauge, preserving L1L2L_1L_2 while improving numerical conditioning. Details are in Appendix C.

Diagonal smoothing. The diagonal reparameterization in (2) redistributes channel ranges without changing the full-precision linear map. Given residual weight PP and diagonal curvature hih_i, a closed-form ℓp\ell_p relaxation of the grouped geometric-program objective yields

di∝(hi∑j∣Pij∣p)1/(p+2)(13)d_i\propto\left(\frac{h_i}{\sum_j\lvert P_{ij}\rvert^p}\right)^{1/(p+2)} \tag*{(13)}

We normalize the resulting scales by their geometric mean and optionally refine them in log space using the grouped objective; Appendix D gives the exact GP formulation and the derivation of the closed-form relaxation.

Implemented Algorithm

Based on the core derivations and formulas, we compose the conditional updates into the overall calibration algorithm and describe its numerical treatment and deployed operator.

Algorithm workflow. As summarized in Appendix Algorithm 1, the unsmoothed calibration matrix H0=XTX/mH_0=X^\mathsf{T}X/m is accumulated once. At each outer iteration, we update smoothing matrix DD, obtain H~=D−1H0D−1\widetilde{H}=D^{-1}H_0D^{-1}, initialize L1L_1, construct the deflated Hessian H~⊥\widetilde{H}_{\perp}, quantize residual R~\widetilde{R}, and refit L2L_2 in closed form. With cached activations, candidate states are compared using empirical W4A4 output MSE with the dynamic quantizer. For activation-aware W4A4 calibration, we use a GPTQ-style solver with MQM_Q and TQT_Q replacing the conventional curvature matrix and weight target. When λA=0\lambda_A=0, the solver reduces to weight-only residual quantization under H~⊥\widetilde{H}_{\perp}, followed by the same closed-form refit of L2L_2. The two settings optimize the same underlying low-rank-assisted operator but differ in whether activation-noise amplification is included in residual-code selection.

Numerical stability and damping. The identities in Eqs. (9)–(10) describe the undamped formulation. Since H~⊥\widetilde{H}_{\perp} and MQM_Q can be singular, practical solves use small diagonal damping (MQ+ϵI)(M_Q+\epsilon I) before Cholesky factorization or inversion when computing TQT_Q, which slightly perturbs H~⊥L1=0\widetilde{H}_{\perp}L_1=0 while ensuring stability.

Experimental Setup

Models. We benchmark HH-SVDQuant across: PixArt-Σ\Sigma (0.6B) [5], SANA-1.6B (Xie et al., 2025), FLUX.1-dev (12B) [3], and the Qwen-Image (20B) (Wu et al., 2025) (50-step base model). Accelerated few-step variants (the 4-step FLUX.1-schnell and 4-step Qwen-Image Lightning) are evaluated in Appendix Table 8, and visual generation comparisons for both base and Lightning models are detailed in Appendix G. Additionally, we evaluate Qwen3-8B (Yang et al., 2025) as a controlled testbed for rank efficiency in large language models.

Implementation details. All diffusion backbones operate in the W4A4 post-training quantization regime with group size 64 and an auxiliary protected rank r=4r=4 (FP16/BF16). Activations are quantized using per-token, per-group 4-bit quantization. In our primary DiT experiments, we use reference activations across transformer blocks with λA=0\lambda_A=0 (except for PixArt-Σ\Sigma at λA=0.05\lambda_A=0.05 due to its different activation geometry) in Table 1. We sequentially replay activations within each block as module groups are quantized and replaced. These can be found in our Algorithm 1. We analyze the effect and strength of λA\lambda_A in Section 6, and compare different strategies for propagating quantized activations and accumulating quantization error in Appendix I.

MethodPSNR↑LPIPS↓CLIP↑IR↑PSNR↑LPIPS↓CLIP↑IR↑
PixArt-Σ
H-SVDQuant r=4r = 416.470.38625.9950.885215.360.42226.2030.9816
SVDQuant r=4r = 414.940.47825.8320.748913.750.52125.6040.8514
SVDQuant r=32r = 3216.270.38525.9620.895015.450.41325.7180.9002
DiRotQ16.360.38926.0470.916515.390.41626.2391.0417
OrbitQuant14.880.48825.7030.771114.000.52826.4410.8695
SANA-1.6B
H-SVDQuant r=4r = 420.250.16125.9961.105318.250.18526.2591.0724
SVDQuant r=4r = 419.640.17625.9561.121317.130.21626.3361.0750
SVDQuant r=32r = 3220.240.16225.9311.099417.690.19926.3301.1102
DiRotQ19.830.17326.0511.106417.610.20926.2741.1059
OrbitQuant14.480.41526.1241.046512.100.49526.7011.0809
ViDiT-Q13.380.44425.7210.987111.440.48325.7830.8971
FLUX.1-dev
H-SVDQuant r=4r = 420.580.22723.0780.991718.930.25024.5861.0205
SVDQuant r=4r = 418.770.30323.1560.977117.610.31924.6751.0630
SVDQuant r=32r = 3219.190.28223.1070.978218.420.27424.7301.0594
DiRotQ20.950.22423.5340.986419.920.21824.4711.0181
OrbitQuant19.440.27922.8770.963718.250.28424.4961.0476
ViDiT-Q15.680.51822.1220.623214.490.53924.1400.7236
Qwen-Image (50 steps)
H-SVDQuant r=4r = 419.230.23629.6691.577518.440.25425.8171.2027
SVDQuant r=4r = 418.780.25629.7141.554017.700.27925.7551.2191
SVDQuant r=32r = 3219.370.24329.7341.566518.030.27225.6811.2095
DiRotQ19.630.21829.7691.540418.390.25725.6421.2080

Table 1. W4A4 fidelity and generation quality across modern diffusion transformer backbones. Bold and underline denote the best and second-best results, respectively. All evaluated methods use 4-bit weights and 4-bit activations (W4A4) with group-64.

Datasets. Following SVDQuant [13], we evaluate the generation fidelity and quality of quantized diffusion models on the category-balanced MJHQ-30K [12 )`` and the diverse **sDCI** {citep}](Urbanek et al., 2024) benchmarks. For each diffusion backbone, evaluation is performed on fixed **MJHQ-5K** and **sDCI-1K** subsets. Each prompt is paired with the output of the corresponding native high-precision teacher model using identical random seeds, initial latents, image resolution (1024 $\times$ 1024), and scheduler steps. For diffusion-model calibration, we use the same set of 128 prompts released in the official SVDQuant repository. For Qwen3-8B calibration, we sample 128 sequences of 512 tokens each from the WikiText-2 training split. We report WikiText-2 {citep}(Merity et al., 2017) perplexity together with zero-shot accuracy on five standard benchmarks: MMLU {citep}[9], ARC-Easy and ARC-Challenge {citep}[6], HellaSwag {citep}(Zellers et al., 2019), and PIQA {citep}[2]`.

Baselines. We compare H-SVDQuant against representative post-training quantization (PTQ) baselines. SVDQuant [13]: we use rank-4 SVDQuant as the primary matched-capacity baseline and additionally include rank-32 SVDQuant, which uses an 8×\times larger protected-rank budget, as a higher-capacity reference. DiRotQ (Sharify et al., 2026): we evaluate its W4A4 variant while matching the fraction of high-precision values to that of our method. OrbitQuant [11] and ViDiT-Q (Zhao et al., 2025): we adapt both methods to the same W4A4 setting with group size 64 and per-token activation quantization for a controlled comparison.

Metrics. Following previous works [13], we assess generation fidelity and quality using four standard metrics: Peak Signal-to-Noise Ratio (PSNR, ↑\uparrow) measures pixel-level numerical reconstruction fidelity with respect to the 16-bit teacher model; Learned Perceptual Image Patch Similarity (LPIPS, ↓\downarrow; (Zhang et al., 2018)) evaluates perceptual similarity against prompt-paired teacher outputs; CLIP Score (CLIP, ↑\uparrow) [10] measures text–image semantic alignment with the input prompts; and ImageReward (IR, ↑\uparrow) (Xu et al., 2023) approximates human visual preference for generated images. For language modeling on Qwen3-8B, we report WikiText-2 Perplexity (PPL, ↓\downarrow) and zero-shot accuracy. For the PixArt-Σ ablation in Table 5a, we additionally report Structural Similarity (SSIM, ↑\uparrow) (Wang et al., 2004).

Table 5: Activation-noise-weight sensitivity on PixArt-Σ (group-64), and Qwen3-8B (group-128). (W4A4, r=4r = 4). We evaluating sensitivity to activation-noise weighting parameter λA\lambda_A across vision generation (PixArt-Σ) and language modeling (Qwen3-8B). Bold denotes best value in each backbone. In Qwen, we disable the optional cached iteration and the outer iteration, the result of λA=0\lambda_A = 0 matches Table 6.

λA\lambda_APSNR ↑SSIM ↑LPIPS ↓
015.700.5570.467
0.0515.990.5830.414
0.1015.970.5740.441
0.2515.730.5800.433
0.5015.370.5540.472
λA\lambda_AWikiText-2 PPL ↓
010.486
0.0510.433
0.1010.454
0.2510.438
0.5010.640

Table 5.

Main Results on Diffusion Transformers

We report quantitative W4A4 results in Table 1 across DiT backbones, and show corresponding qualitative visual comparisons in Figure 2. Note that PSNR and LPIPS measure teacher fidelity, while CLIP and IR measure standalone generation quality. They measure different properties; thus the method with the best PSNR need not have the highest CLIP or ImageReward score.

Figure 2. W4A4 reconstructions across diffusion transformers. Each row compares dense FP16/BF16 against quantized methods under identical prompt and seed. Blue boxes highlight H-SVDQuant (r=4r = 4). Across all backbones, H-SVDQuant preserves textures, fine structures, and prompt alignment faithful to the 16-bit reference.

Quantitative Comparison. As shown in Table 1, under W4A4 H-SVDQuant consistently improves teacher fidelity over SVDQuant on both MJHQ and sDCI, achieving higher PSNR and lower LPIPS on every evaluated backbone. On PixArt-Σ, H-SVDQuant improves over rank-4 SVDQuant by +1.53 dB PSNR and −0.092 LPIPS on MJHQ, and by +1.61 dB and −0.099 LPIPS on sDCI. Its teacher-fidelity results are close to rank-32 SVDQuant and DiRotQ, while CLIP and ImageReward vary across methods. On SANA-1.6B, H-SVDQuant achieves 20.25/0.161 PSNR/LPIPS on MJHQ and 18.25/0.185 on sDCI, improving substantially over rank-4 SVDQuant and matching or exceeding rank-32 SVDQuant in teacher-fidelity metrics. On FLUX.1-dev, H-SVDQuant improves rank-4 SVDQuant by +1.81 dB PSNR and −0.076 LPIPS on MJHQ, and by +1.32 dB and −0.069 LPIPS on sDCI. It also exceeds rank-32 SVDQuant in PSNR and LPIPS on both subsets. On Qwen-Image, H-SVDQuant improves teacher fidelity over rank-4 SVDQuant on both subsets. Relative to rank-32 SVDQuant, the comparison is mixed on MJHQ—H-SVDQuant obtains lower LPIPS but slightly lower PSNR—while it improves both PSNR and LPIPS on sDCI. Extended quantitative comparisons on accelerated variants are provided in Appendix Table 8.

Qualitative Comparison. Figure 2 provides visual comparisons across representative prompts under identical random seeds. OrbitQuant and ViDiT-Q struggle under 4-bit activations, exhibiting pervasive noise, structural distortion, and contrast loss (e.g., distorted geometry on PixArt-Σ and noisy surfaces on SANA-1.6B and FLUX.1-dev). While DiRotQ and rank-32 SVDQuant achieve better visual quality, they lose fidelity in a few cases (e.g., different elephant direction and hill space, over-detailed lion). In contrast, H-SVDQuant consistently preserves sharp object boundaries and

subtle textures faithful to the 16-bit reference teacher. Extended visual comparisons on both base and Lightning Qwen-Image models are provided in Appendix § 15.

Rank Efficiency and Calibration Cost. The rank advantage is clearest on SANA and the FLUX backbones. Besides the mean values, we also provide the paired distributions in Figure 1(b) and Appendix Figure 5 for a clearer comparison. As shown in Table 2, H-SVDQuant reduces offline PTQ calibration cost in the recorded base runs. On SANA-1.6B, the measured wall time decreases from 30.0 to 4.8 minutes, while the FLUX.1-schnell and FLUX.1-dev base runs show 1.81× and 1.85× speedups, respectively.

ModelMethodMinutesSpeedup vs. SVDQuant r=4r=4Peak GiB
SANA-1.6BH-SVDQuant4.86.25×9.9
SVDQuant30.0–11.7
FLUX-schnellH-SVDQuant282.41.81×52.0
SVDQuant511.1–50.7
FLUX-devH-SVDQuant285.61.85×52.0
SVDQuant527.4–51.3

Table 2. Recorded rank-4 PTQ cost on NVIDIA H20. Time is each checkpoint’s complete launcher wall interval; peak memory is the recorded CUDA allocation.

Analysis and Ablation Studies

In this section, we conduct in-depth diagnostics and ablation studies using PixArt-Σ\Sigma (for vision generation) and Qwen3-8B (for language modeling). Unless stated, our optional cached iteration of D\mathcal{D} is 20 and the outer iteration is set to be 2. In Qwen analysis, we disable the optional cached optimization and set outer iteration as 1 in Table 4(a), 5(b), 6 and set outer iteration as 2 in Table 7.

Table 4. Rank efficiency and activation-error propagation on Qwen3-8B (W4A4, group-128, λA=0.25\lambda_A = 0.25). (a) WikiText-2 perplexity across different protected ranks. (b) Relative activation MSE averaged over 36 transformer blocks using eight 512-token sequences (measured against 16-bit reference activations). Local MSE measures per-block quantization error under reference inputs, while propagated MSE additionally captures errors accumulated from preceding quantized blocks.

Table 7: Effect of our closed-form smoothing solution on Qwen3-8B (W4A4/W4A16, group-128, λA=0.25\lambda_A = 0.25). We keep the HH-SVDQuant pipeline fixed and replace the SVDQuant grid-searched DD with our closed-form solution in (13). We disable the optional cached optimization of DD and only use its initialization. Avg. denotes the mean accuracy over MMLU, ARC-Challenge, ARC-Easy, HellaSwag, and PIQA. Lower PPL and higher accuracies are better.

DD constructionQuant.PPL ↓MMLU ↑ARC-C ↑ARC-E ↑Hella. ↑PIQA ↑Avg. ↑
Grid-search DD (SVDQuant)W4A410.89566.5951.1179.2168.2674.0567.84
Closed-form DD (Ours)W4A410.46967.2350.7778.1670.7775.2468.44
Grid-search DD (SVDQuant)W4A1610.07870.8353.7582.0373.8076.8271.45
Closed-form DD (Ours)W4A169.97670.9454.1882.3773.4777.0971.61

Table 7.

MethodMMLUARC-CARC-EHellaSwagPIQAMean
FP1672.9556.4083.5474.9776.8872.95
SVDQuant adaptation r=4r = 461.3445.3173.0267.8371.7663.85
SVDQuant adaptation r=32r = 3261.5048.8974.8367.8472.2065.05
H-SVDQuant r=4r = 468.1749.8378.5470.3073.3468.04

Table 3. Qwen3-8B zero-shot evaluation (W4A4, group-128). Mean denotes the unweighted average across all five downstream tasks. SVDQuant refers to the local language-model adaptation; FP16 serves as dense reference.

MethodRankPPL ↓
SVDQuant adapt.411.93
SVDQuant adapt.3211.21
H-SVDQuant010.72
H-SVDQuant210.48
H-SVDQuant410.44

Table 4a. (a) Perplexity across protected ranks

MethodLocal MSE ↓Prop. MSE ↓
SVDQuant adapt. r=4r = 40.002150.02068
SVDQuant adapt. r=32r = 320.001990.01715
H-SVDQuant r=4r = 40.001500.01194
Reduction vs. r=4r = 4−30.2%−42.3%
Reduction vs. r=32r = 32−24.6%−30.4%

Table 4b. (b) Local vs. propagated activation error

We explore the effect of rank rr and λA\lambda_A, and demonstrate the advantages of our three optimization components: H⊥H_\perp, L1L_1, DD.

Rank Sweep Ablation. We first examine the protected low-rank budget rr. As detailed in Table 4(a), rank-0 H-SVDQuant already achieves 10.72 perplexity, substantially outperforming rank-32 SVDQuant (11.21). Introducing a small protected branch provides an additional improvement, reducing perplexity to 10.44 (10.438). As shown in Table 4(b), the rank-4 configuration also exhibits substantially lower local and propagated activation error than the SVDQuant baselines. Together, these results show that H-SVDQuant remains effective under very small protected-rank budgets, characterizing the complete H-SVDQuant recipe rather than attributing the gain to a single component.

Activation-Noise Sensitivity. We ablate the activation-noise weighting parameter in Equation (7) across both PixArt-Σ and Qwen3-8B (Table 5), with λA∈{0,0.05,0.10,0.25,0.50}\lambda_A \in\{0, 0.05, 0.10, 0.25, 0.50\}. On PixArt-Σ (Table 5(a)), λA\lambda_A has a modest effect. A small activation-noise weight improves all three metrics at once: they attain their best values at λA=0.05\lambda_A = 0.05 (15.99 dB PSNR, 0.583 SSIM, and 0.414 LPIPS), a +0.29 dB PSNR gain over λA=0\lambda_A = 0. Raising λA\lambda_A further gives this gain back, and λA=0.50\lambda_A = 0.50 falls slightly below the unweighted baseline (15.37 dB PSNR, 0.554 SSIM, 0.472 LPIPS). On Qwen3-8B (Table 5(b)), WikiText-2 perplexity remains highly stable across small weighting coefficients (λA≤0.25\lambda_A \le0.25), reaching its lowest value of 10.433 at λA=0.05\lambda_A = 0.05 and ranking second at λA=0.25\lambda_A = 0.25 (10.438). Empirical results demonstrate that moderate activation-aware weighting (λA∈[0.05,0.25]\lambda_A \in[0.05, 0.25]) provides the most effective balance, whereas excessive weighting (λA=0.50\lambda_A = 0.50) leads to performance regression. The benefit of activation-aware weighting is therefore regime- and model-dependent.

Hessian Deflation and Protected-Subspace Initialization. Table 6 presents a controlled 2×22 \times2 ablation on Qwen3-8B (λA=0\lambda_A = 0). We fix DD, rr, the quantizer, GPTQ settings, calibration data, and L2L_2 refitting, varying only the L1L_1 initialization (plain SVD vs. calibration-weighted, Equation (12)) and the GPTQ metric (H~\tilde{H} vs. H~⊥\tilde{H}_\perp, Equation (9)). For each fixed L1L_1, both metrics share the same initial residual. Holding L1L_1 fixed, Hessian deflation reduces PPL by 0.020 (plain SVD) and 0.006 (weighted SVD). Holding the GPTQ metric fixed, weighted initialization reduces PPL by 0.067 (H~\tilde{H}) and 0.053 (H~⊥\tilde{H}_\perp). Their combination achieves the lowest PPL (10.486, reducing baseline PPL by 0.073), supporting their complementary roles: weighted initialization selects protected directions, while deflation excludes them from residual-code optimization.

Table 6: Controlled ablation of protected-subspace initialization (in (12).) and Hessian deflation on Qwen3-8B (W4A4, group-128, λA=0\lambda_A = 0). We keep all other calibration settings fixed. Each row of H~/H~⊥\tilde{H}/\tilde{H}_{\perp} runs shares the same initialized L1L_1 and residual. Lower WikiText-2 PPL is better.

L1L_1 initializationOriginal H~\tilde{H}Deflated H~⊥\tilde{H}_{\perp}
Plain SVD10.55910.539
Calibration-weighted10.49210.486

Table 6.

Closed-Form Diagonal Smoothing. We isolate the effect of our smoothing solver by keeping the HH-SVDQuant pipeline fixed and changing only how DD is obtained. Specifically, we compare (i) SVDQuant-style grid-searched DD, and (ii) our analytical solution in (13). As shown in Table 7, the closed-form solution improves the overall result under both quantization settings: for W4A4, it reduces PPL from 10.895 to 10.469 and improves the average accuracy from 67.84 to 68.44; for W4A16, it reduces PPL from 10.078 to 9.976 and improves the average accuracy from 71.45 to 71.61. The gains are particularly clear on HellaSwag and PIQA under W4A4, with improvements of +2.51 and +1.19 points, respectively, while W4A16 also improves ARC-Challenge and ARC-Easy by +0.43 and +0.34. This controlled comparison provides empirical support for (13): the analytically derived DD provides a better overall calibration point than SVDQuant-style grid search while eliminating the associated search overhead.

Conclusion

In this paper, we presented HH-SVDQuant, a unified framework for low-rank-assisted W4A4 PTQ. By jointly modeling low-rank compensation, residual quantization, and activation noise, we derive a deflated Hessian through analytical elimination of the output-side low-rank factor, together with an activation-aware extension. Our efficient calibration algorithm combines weighted low-rank initialization, GP-derived smoothing, GPTQ-style quantization, and closed-form refitting. Across diffusion transformers, rank-4 HH-SVDQuant consistently improves PSNR and LPIPS over rank-4 SVDQuant, matching or outperforming rank-32 SVDQuant on SANA-1.6B and FLUX variants with an 8×8\times smaller rank. It also reduces offline calibration time by up to 6.25×6.25\times. Results on Qwen3-8B further demonstrate improved perplexity and downstream accuracy over rank-32 SVDQuant, suggesting broader applicability beyond diffusion transformers.

Acknowledgments

The authors would like to thank Jian Yang from Renmin University of China for his insightful discussions and general help.

Problem Reformulation and Error Decomposition

This section uses unnormalized Gram matrices and summed reconstruction losses; dividing both weight and activation terms by the calibration sample count recovers the main-text convention. The provisional-residual expansion below motivates the smoothing surrogate. Once codes are selected, the residual matrix is held fixed while L2L_2 is refitted, as in Eq. (8).

Consider a linear layer

Y=XW,X∈Rm×c,W∈Rc×n.Y = XW, \qquad X \in\mathbb{R}^{m \times c}, \qquad W \in\mathbb{R}^{c \times n}.

Smoothing and Low-Rank Decomposition

Let

D=diag⁡(d1,…,dc),di>0,D = \operatorname{diag}(d_1,\ldots,d_c), \qquad d_i > 0,

and define

X~=XD−1,W~=DW.\widetilde{X} = XD^{-1}, \qquad\widetilde{W} = DW.

Then

Y=XW=X~W~.Y = XW = \widetilde{X}\widetilde{W}.

Define

H=XTX,H~=X~TX~=D−1HD−1.H = X^{\mathsf{T}}X, \qquad\widetilde{H} = \widetilde{X}^{\mathsf{T}}\widetilde{X} = D^{-1}HD^{-1}.

We decompose the smoothed weight as

W~=L1L2+R,R=W~−L1L2.\widetilde{W} = L_1L_2 + R, \qquad R = \widetilde{W} - L_1L_2.

where

L1∈Rc×r,L2∈Rr×n.L_1 \in\mathbb{R}^{c \times r}, \qquad L_2 \in\mathbb{R}^{r \times n}.

The quantized forward pass is

Y^=X~L1L2+QA(X~)QW(R).\widehat{Y} = \widetilde{X}L_1L_2 + Q_A(\widetilde{X})Q_W(R).

Error Decomposition

Define the activation and weight quantization errors as

EA=QA(X~)−X~,ΔW=R−QW(R).E_A = Q_A(\widetilde{X}) - \widetilde{X}, \qquad\Delta_W = R - Q_W(R).

Hence

QA(X~)=X~+EA,QW(R)=R−ΔW.Q_A(\widetilde{X}) = \widetilde{X} + E_A, \qquad Q_W(R) = R - \Delta_W.

Substituting these expressions into the quantized forward pass gives

Y^=X~L1L2+(X~+EA)(R−ΔW)=Y−X~ΔW+EAR−EAΔW.(14)\begin{aligned} \widehat{Y} &= \widetilde{X}L_1L_2 + (\widetilde{X} + E_A)(R - \Delta_W) \\ &= Y - \widetilde{X}\Delta_W + E_AR - E_A\Delta_W. \tag*{(14)} \end{aligned}

Therefore,

Y−Y^=X~ΔW−EAR+EAΔW.Y - \widehat{Y} = \widetilde{X}\Delta_W - E_AR + E_A\Delta_W.

Neglecting the second-order term EAΔWE_A\Delta_W,

Y−Y^≈X~ΔW−EAR.(15)Y - \widehat{Y} \approx\widetilde{X}\Delta_W - E_AR. \tag*{(15)}

Under the additive-noise assumption, the cross term vanishes in expectation, yielding

L≈FW+FA.(16)\mathcal{L} \approx F_W + F_A. \tag*{(16)}

where

FW=tr⁡(ΔWTH~ΔW),(17)F_W = \operatorname{tr}\left(\Delta_W^{\mathsf{T}}\widetilde{H}\Delta_W\right), \tag*{(17)}

and

FA=tr⁡(RTΣAR),ΣA=E[EATEA].(18)F_A=\operatorname{tr}\left(R^{\mathsf{T}}\Sigma_A R\right), \qquad\Sigma_A=\mathbb{E}\left[E_A^{\mathsf{T}}E_A\right]. \tag*{(18)}

Thus,

L≈tr⁡(ΔWTH~ΔW)+tr⁡(RTΣAR).(19)\mathcal{L}\approx\operatorname{tr}\left(\Delta_W^{\mathsf{T}}\widetilde{H}\Delta_W\right)+\operatorname{tr}\left(R^{\mathsf{T}}\Sigma_A R\right). \tag*{(19)}

Elimination of L2L_2 and Hessian Deflation

The inverse formulas below assume a nonsingular protected Gram matrix. For the general positive-semidefinite case, replace the inverse with its Moore–Penrose pseudoinverse: the residual is the orthogonal projection onto the complement of range(H~1/2L1)(\widetilde{H}^{1/2}L_1). Consequently the same minimized metric and annihilation identity hold.

Fix DD, L1L_1, and the quantized residual QW(R)Q_W(R). For output column jj, define

w~j=W~:,j,w^j=QW(R):,j,ℓj=(L2):,j,\widetilde{w}_j=\widetilde{W}_{:,j}, \qquad\widehat{w}_j=Q_W(R)_{:,j}, \qquad\ell_j=(L_2)_{:,j},

and let

uj=w~j−w^j.u_j=\widetilde{w}_j-\widehat{w}_j.

The reconstruction problem associated with column jj is

min⁡ℓj∈Rr12∥X~(uj−L1ℓj)∥22.(20)\min_{\ell_j\in\mathbb{R}^r}\frac{1}{2}\left\|\widetilde{X}\left(u_j-L_1\ell_j\right)\right\|_2^2. \tag*{(20)}

Using

H~=X~TX~,\widetilde{H}=\widetilde{X}^{\mathsf{T}}\widetilde{X},

this is equivalently

min⁡ℓj∈Rr12(uj−L1ℓj)TH~(uj−L1ℓj).\min_{\ell_j\in\mathbb{R}^r}\frac{1}{2}\left(u_j-L_1\ell_j\right)^{\mathsf{T}}\widetilde{H}\left(u_j-L_1\ell_j\right).

Define

M=L1TH~L1.M=L_1^{\mathsf{T}}\widetilde{H}L_1.

Expanding the objective gives

f(ℓj)=12ujTH~uj−ℓjTL1TH~uj+12ℓjTMℓj.f(\ell_j)=\frac{1}{2}u_j^{\mathsf{T}}\widetilde{H}u_j-\ell_j^{\mathsf{T}}L_1^{\mathsf{T}}\widetilde{H}u_j+\frac{1}{2}\ell_j^{\mathsf{T}}M\ell_j.

The first-order optimality condition is

−L1TH~uj+Mℓj=0,-L_1^{\mathsf{T}}\widetilde{H}u_j+M\ell_j=0,

hence

ℓj∗=M−1L1TH~uj.(21)\ell_j^*=M^{-1}L_1^{\mathsf{T}}\widetilde{H}u_j. \tag*{(21)}

Substituting ℓj∗\ell_j^* back into the objective yields

f(ℓj∗)=12ujTH~uj−12ujTH~L1M−1L1TH~uj=12ujT[H~−H~L1M−1L1TH~]uj.(22)\begin{aligned} f(\ell_j^*)&=\frac{1}{2}u_j^{\mathsf{T}}\widetilde{H}u_j-\frac{1}{2}u_j^{\mathsf{T}}\widetilde{H}L_1M^{-1}L_1^{\mathsf{T}}\widetilde{H}u_j\\ &=\frac{1}{2}u_j^{\mathsf{T}}\left[\widetilde{H}-\widetilde{H}L_1M^{-1}L_1^{\mathsf{T}}\widetilde{H}\right]u_j. \tag*{(22)} \end{aligned}

This motivates the deflated Hessian

H~⊥=H~−H~L1(L1TH~L1)−1L1TH~.(23)\widetilde{H}_{\perp}=\widetilde{H}-\widetilde{H}L_1\left(L_1^{\mathsf{T}}\widetilde{H}L_1\right)^{-1}L_1^{\mathsf{T}}\widetilde{H}. \tag*{(23)}

Hence,

min⁡ℓj12(uj−L1ℓj)TH~(uj−L1ℓj)=12ujTH~⊥uj.(24)\min_{\ell_j}\frac{1}{2}\left(u_j-L_1\ell_j\right)^{\mathsf{T}}\widetilde{H}\left(u_j-L_1\ell_j\right)=\frac{1}{2}u_j^{\mathsf{T}}\widetilde{H}_{\perp}u_j. \tag*{(24)}

Moreover,

H~⊥L1=0,\widetilde{H}_{\perp}L_1=0,

because

H~⊥L1=H~L1−H~L1(L1TH~L1)−1L1TH~L1=0.(25)\widetilde{H}_{\perp}L_1 = \widetilde{H}L_1-\widetilde{H}L_1 \left(L_1^{\mathsf{T}}\widetilde{H}L_1\right)^{-1} L_1^{\mathsf{T}}\widetilde{H}L_1 =0. \tag*{(25)}

Thus, the rank-rr subspace spanned by L1L_1 lies in the null space of the residual quantization metric. Quantization errors along these directions can be absorbed by the high-precision low-rank branch.

Under the H~\widetilde{H}-orthogonal gauge

L1TH~L1=I,L_1^{\mathsf{T}}\widetilde{H}L_1=I,

the expressions simplify to

ℓj∗=L1TH~uj,\ell_j^{*}=L_1^{\mathsf{T}}\widetilde{H}u_j,
H~⊥=H~−H~L1L1TH~.\widetilde{H}_{\perp}=\widetilde{H}-\widetilde{H}L_1L_1^{\mathsf{T}}\widetilde{H}.

Protected-Subspace Allocation

The low-rank branch is not only a low-rank approximation of the weight matrix. Its input-side factor also determines a rank-rr subspace in which quantization error can be absorbed by the high-precision branch. Let

X~=XD−1,W~=DW,H~=X~TX~,\widetilde{X}=XD^{-1},\qquad\widetilde{W}=DW,\qquad\widetilde{H}=\widetilde{X}^{\mathsf{T}}\widetilde{X},

and write

W~=L1L2+R,L1∈Rc×r,L2∈Rr×n.\widetilde{W}=L_1L_2+R,\qquad L_1\in\mathbb{R}^{c\times r},\qquad L_2\in\mathbb{R}^{r\times n}.

The protected subspace is

S:=range⁡(L1)⊆Rc.\mathcal{S}:=\operatorname{range}(L_1)\subseteq\mathbb{R}^{c}.

For a fixed quantized residual column w^j\widehat{w}_j, eliminating the corresponding column ℓj\ell_j of L2L_2 gives

min⁡ℓj∈Rr12∥X~(w^j−L1ℓj−w^j)∥22=12∥w^j−w~j∥H~⊥2,\min_{\ell_j\in\mathbb{R}^{r}}\frac{1}{2}\left\|\widetilde{X}\left(\widehat{w}_j-L_1\ell_j-\widehat{w}_j\right)\right\|_2^2 = \frac{1}{2}\left\|\widehat{w}_j-\widetilde{w}_j\right\|_{\widetilde{H}_{\perp}}^2,

where

H~⊥=H~−H~L1(L1TH~L1)−1L1TH~.\widetilde{H}_{\perp} = \widetilde{H} - \widetilde{H}L_1 \left(L_1^{\mathsf{T}}\widetilde{H}L_1\right)^{-1} L_1^{\mathsf{T}}\widetilde{H}.

In particular,

H~⊥L1=0.\widetilde{H}_{\perp}L_1=0.

Hence directions inside S\mathcal{S} are removed from the effective Hessian seen by the quantizer: errors along these directions are compensated by the high-precision low-rank branch. The rank budget rr therefore determines how many directions can be protected, and the central question is how to allocate this budget.

Weighted Rank-rr Approximation

A natural starting point is to choose a rank-rr matrix

L=L1L2L=L_1L_2

that approximates W~\widetilde{W}. Ordinary truncated SVD solves

min⁡rank⁡(L)≤r12∥W~−L∥F2,\min_{\operatorname{rank}(L)\leq r}\frac{1}{2}\left\|\widetilde{W}-L\right\|_{F}^{2},

which treats errors in all input directions equally. For layer reconstruction, however, the relevant quantity is the output perturbation

X~(W~−L).\widetilde{X}(\widetilde{W}-L).

This leads to the weighted problem

min⁡rank⁡(L)≤r12∥X~(W~−L)∥F2.\min_{\operatorname{rank}(L)\leq r}\frac{1}{2}\left\|\widetilde{X}(\widetilde{W}-L)\right\|_{F}^{2}.

Using

H~=X~TX~,\widetilde{H}=\widetilde{X}^{\mathsf{T}}\widetilde{X},

the objective can be written as

12∥X~(W~−L)∥F2=12tr⁡((W~−L)TH~(W~−L))=12∥H~1/2(W~−L)∥F2.\frac{1}{2}\left\lVert\widetilde{X}(\widetilde{W}-L)\right\rVert_{\mathrm{F}}^{2} =\frac{1}{2}\operatorname{tr}\left((\widetilde{W}-L)^{\mathsf{T}}\widetilde{H}(\widetilde{W}-L)\right) =\frac{1}{2}\left\lVert\widetilde{H}^{1/2}(\widetilde{W}-L)\right\rVert_{\mathrm{F}}^{2}.

Therefore, after the change of variable

M=H~1/2L,M=\widetilde{H}^{1/2}L,

the problem becomes an ordinary best rank-rr approximation:

min⁡rank⁡(M)≤r12∥H~1/2W~−M∥F2.\min_{\operatorname{rank}(M)\le r}\frac{1}{2}\left\lVert\widetilde{H}^{1/2}\widetilde{W}-M\right\rVert_{\mathrm{F}}^{2}.

By the Eckart–Young theorem,

M⋆=[H~1/2W~]r,M^{\star}=\left[\widetilde{H}^{1/2}\widetilde{W}\right]_{r},

and hence

L⋆=H~−1/2[H~1/2W~]r.L^{\star}=\widetilde{H}^{-1/2}\left[\widetilde{H}^{1/2}\widetilde{W}\right]_{r}.

Thus the weighted approximation protects directions that are simultaneously important in the weight matrix and strongly excited by the calibration activations.

Hessian Eigenspace Limit

The weighted approximation above is still a low-rank approximation problem. A second view is obtained by directly minimizing the expected quantization distortion after the protected subspace has been removed.

For output column jj, let the weight quantization error be

Δwj=wj−w^j.\Delta w_j=w_j-\widehat{w}_j.

Under an isotropic within-column quantization-noise model,

E[ΔwjΔwjT]=δj212Ic.\mathbb{E}\left[\Delta w_j\Delta w_j^{\mathsf{T}}\right]=\frac{\delta_j^2}{12}I_c.

After eliminating L2L_2, the expected distortion becomes

E[ΔwjTH~⊥Δwj]=δj212tr⁡(H~⊥).\mathbb{E}\left[\Delta w_j^{\mathsf{T}}\widetilde{H}_{\perp}\Delta w_j\right] =\frac{\delta_j^2}{12}\operatorname{tr}\left(\widetilde{H}_{\perp}\right).

Summing over output columns gives

FW∝tr⁡(H~⊥).F_W\propto\operatorname{tr}\left(\widetilde{H}_{\perp}\right).

Let

H~=VΛVT,Λ=diag⁡(λ1,…,λc),λ1≥⋯≥λc>0.\widetilde{H}=V\Lambda V^{\mathsf{T}},\qquad \Lambda=\operatorname{diag}(\lambda_1,\ldots,\lambda_c),\qquad \lambda_1\ge\cdots\ge\lambda_c>0.

The rank-rr protected subspace that minimizes tr⁡(H~⊥)\operatorname{tr}(\widetilde{H}_{\perp}) is the dominant eigenspace

S⋆=span⁡{v1,…,vr}.\mathcal{S}^{\star}=\operatorname{span}\{v_1,\ldots,v_r\}.

Under the H~\widetilde{H}-orthogonal gauge

L1TH~L1=Ir,L_1^{\mathsf{T}}\widetilde{H}L_1=I_r,

one convenient representative is

L1⋆=VrΛr−1/2,L_1^{\star}=V_r\Lambda_r^{-1/2},

where Vr=[v1,…,vr]V_r=[v_1,\ldots,v_r] and Λr=diag⁡(λ1,…,λr)\Lambda_r=\operatorname{diag}(\lambda_1,\ldots,\lambda_r).

This result gives a different interpretation from ordinary SVD. Plain SVD protects directions with large weight energy, whereas Hessian deflation protects directions in which a perturbation causes the largest layer-output distortion. When the rank budget is small, protecting these stiff directions can be more valuable than minimizing the unweighted residual norm.

Beta-Family

The dynamic-range role of plain SVD and the sensitivity role of Hessian deflation can be interpolated by a one-parameter family. For β≥0\beta\ge0, define

L(β)=H~−β[H~βW~]r.L^{(\beta)}=\widetilde{H}^{-\beta}\left[\widetilde{H}^{\beta}\widetilde{W}\right]_r.

If

H~βW~=U(β)Σ(β)V(β)T,\widetilde{H}^{\beta}\widetilde{W}=U^{(\beta)}\Sigma^{(\beta)}V^{(\beta)\mathsf{T}},

then an associated input-side factor is

L1(β)=H~−βUr(β),L_1^{(\beta)}=\widetilde{H}^{-\beta}U_r^{(\beta)},

followed, if desired, by rescaling to satisfy

L1(β)TH~L1(β)=Ir.L_1^{(\beta)\mathsf{T}}\widetilde{H}L_1^{(\beta)}=I_r.

The family includes two useful regimes, of which the main recipe uses β=1/2\beta=1/2.

For β=0\beta=0,

L(0)=[W~]r,L^{(0)}=[\widetilde{W}]_r,

which is the ordinary truncated-SVD branch. This endpoint retains the leading weight singular components.

For β=12\beta=\frac{1}{2},

L(1/2)=H~−1/2[H~1/2W~]r,L^{(1/2)}=\widetilde{H}^{-1/2}\left[\widetilde{H}^{1/2}\widetilde{W}\right]_r,

which is exactly the weighted rank-rr minimizer of

min⁡rank⁡(L)≤r12∥X~(W~−L)∥F2.\min_{\operatorname{rank}(L)\le r}\frac{1}{2}\left\|\widetilde{X}(\widetilde{W}-L)\right\|_{F}^{2}.

The weight-aware family should not be identified with the Hessian-only trace-minimization problem above. In particular, the inverse factor H~−β\widetilde{H}^{-\beta} means that increasing β\beta does not generally make the protected span converge to the leading Hessian eigenspace. The reported experiments fix β=1/2\beta=1/2 and do not use an adaptive activation-rank split or a global rank allocator.

Smoothing Optimization

The smoothing variables must be optimized while the low-rank branch is held in the original input coordinates. Write

L1=DA,B=AL2,P=W−B.L_1=DA,\qquad B=AL_2,\qquad P=W-B.

When AA and BB are fixed, the smoothed residual is

R=W~−L1L2=D(W−B)=DP.R=\widetilde{W}-L_1L_2=D(W-B)=DP.

Moreover, the deflated Hessian in these coordinates satisfies

H~⊥=D−1H⊥D−1,H⊥=H−HA(ATHA)−1ATH.(26)\widetilde{H}_{\perp}=D^{-1}H_{\perp}D^{-1},\qquad H_{\perp}=H-HA(A^{\mathsf{T}}HA)^{-1}A^{\mathsf{T}}H. \tag*{(26)}

Thus H⊥H_{\perp} and PP remain fixed throughout the DD-update. This coordinate choice also reflects the forward pass: the high-precision branch evaluates X~L1L2=XAL2\widetilde{X}L_1L_2=XAL_2 and does not itself need smoothing.

Grouped Activation-Noise Model

Partition the cc input channels into activation-quantization groups GA\mathcal{G}_A. For calibration token tt and group G∈GAG\in\mathcal{G}_A, consider a symmetric bAb_A-bit quantizer with κA=2bA−1−1\kappa_A=2^{b_A-1}-1 and step size

δA,t,G(d)=1κAmax⁡i∈G∣Xti∣di.\delta_{A,t,G}(d)=\frac{1}{\kappa_A}\max_{i\in G}\frac{\lvert X_{ti}\rvert}{d_i}.

Under the independent uniform-noise approximation, each channel in GG has error variance δA,t,G2/12\delta_{A,t,G}^{2}/12 at token tt. Consequently, the grouped diagonal activation-noise covariance has entries

(ΣA)ii=σG2(d),σG2(d)=112κA2∑t=1mmax⁡k∈GXtk2dk2.(27)(\Sigma_A)_{ii}=\sigma_G^2(d),\qquad\sigma_G^2(d)=\frac{1}{12\kappa_A^2}\sum_{t=1}^{m}\max_{k\in G}\frac{X_{tk}^2}{d_k^2}. \tag*{(27)}

Using R=DPR=DP, the pre-quantization activation-noise surrogate becomes

FAgrp(d)=112κA2∑G∈GA(∑t=1mmax⁡k∈GXtk2dk2)(∑i∈Gdi2∥Pi,:∥22).(28)F_A^{\mathrm{grp}}(d)=\frac{1}{12\kappa_A^2}\sum_{G\in\mathcal{G}_A}\left(\sum_{t=1}^{m}\max_{k\in G}\frac{X_{tk}^2}{d_k^2}\right)\left(\sum_{i\in G}d_i^2\lVert P_{i,:}\rVert_2^2\right). \tag*{(28)}

The first factor measures the activation range seen by a group; the second measures how much residual weight that group carries. Their product explains why reducing an activation outlier is useful only insofar as the corresponding weight rescaling does not offset the gain.

For a singleton group G={i}G=\{i\}, di−2d_i^{-2} in the first factor cancels di2d_i^2 in the second, so that group’s contribution is independent of did_i. For groups containing multiple channels, the maximum can switch between channels while the residual energy changes continuously; smoothing then has a genuine within-group effect. The limiting case G={1,…,c}G=\{1,\ldots,c\} gives one activation scale per token.

The weight-noise channel has a parallel grouped model. Let GW\mathcal{G}_W be the weight-quantization groups along the input dimension, and let κW=2bW−1−1\kappa_W=2^{b_W-1}-1. For output column jj, define

δW,j,G(d)=1κWmax⁡k∈Gdk∣Pkj∣,G∈GW.\delta_{W,j,G}(d)=\frac{1}{\kappa_W}\max_{k\in G}d_k\lvert P_{kj}\rvert,\qquad G\in\mathcal{G}_W.

With hi=(H⊥)iih_i=(H_{\perp})_{ii}, the uniform-noise surrogate after eliminating L2L_2 is

FWgrp(d)=112∑j=1n∑G∈GWδW,j,G2(d)∑i∈Ghidi2.(29)F_W^{\mathrm{grp}}(d)=\frac{1}{12}\sum_{j=1}^{n}\sum_{G\in\mathcal{G}_W}\delta_{W,j,G}^2(d)\sum_{i\in G}\frac{h_i}{d_i^2}. \tag*{(29)}

Only the diagonal of H⊥H_{\perp} appears here because the assumed weight errors are uncorrelated within a group. The off-diagonal entries remain relevant to the actual GPTQ solve below.

Geometric-Program Formulation

For fixed AA and BB, minimize the modeled two-channel objective

min⁡di>0FWgrp(d)+λAFAgrp(d),λA≥0.\min_{d_i>0} F_W^{\mathrm{grp}}(d)+\lambda_A F_A^{\mathrm{grp}}(d),\qquad\lambda_A\ge0.

Introduce positive epigraph variables tj,Gt_{j,G} for weight steps and st,Gs_{t,G} for activation steps. An equivalent geometric program is

min⁡d,t,s>0112∑j=1n∑G∈GWtj,G2∑i∈Ghidi−2+λA12∑G∈GA(∑t=1mst,G2)(∑i∈Gdi2∥Pi,:∥22)subject todi∣Pij∣κWtj,G≤1(i∈G),∣Xti∣κAdist,G≤1(i∈G),∏i=1cdi=1.(30)\begin{aligned} \min_{d,t,s>0}\quad& \frac{1}{12}\sum_{j=1}^{n}\sum_{G\in\mathcal{G}_W}t_{j,G}^{2}\sum_{i\in G}h_i d_i^{-2}\\ &+\frac{\lambda_A}{12}\sum_{G\in\mathcal{G}_A}\left(\sum_{t=1}^{m}s_{t,G}^{2}\right)\left(\sum_{i\in G}d_i^2\lVert P_{i,:}\rVert_2^2\right)\\ \text{subject to}\quad& \frac{d_i\lvert P_{ij}\rvert}{\kappa_W t_{j,G}}\le1\qquad(i\in G),\\ & \frac{\lvert X_{ti}\rvert}{\kappa_A d_i s_{t,G}}\le1\qquad(i\in G),\\ & \prod_{i=1}^{c}d_i=1. \tag*{(30)} \end{aligned}

The first constraint applies to every output jj and weight group G∈GWG\in\mathcal{G}_W; the second applies to every token tt and activation group G∈GAG\in\mathcal{G}_A. At an optimum, each epigraph variable can be reduced to its corresponding maximum, recovering (28) and (29). All objective terms are posynomials with nonnegative coefficients, the inequalities are monomial bounds, and the normalization is a monomial equality. Hence the change of variables

ui=log⁡di,τj,G=log⁡tj,G,ξt,G=log⁡st,Gu_i=\log d_i,\qquad\tau_{j,G}=\log t_{j,G},\qquad\xi_{t,G}=\log s_{t,G}

turns the constraints into affine inequalities and the logarithm of the objective into a convex log-sum-exp function. The idealized fixed-branch DD-subproblem therefore has a global optimum, subject to the stated noise model and any imposed bounds on dd.

The normalization removes an otherwise arbitrary common scaling: replacing every did_i by adia d_i leaves both modeled error terms unchanged. Equivalently, one may impose ∑iui=0\sum_i u_i=0. If a practical implementation clips the smoothing range, bounds −log⁡dmax⁡≤ui≤log⁡dmax⁡-\log d_{\max}\le u_i\le\log d_{\max} can be added without losing convexity. A finite number of gradient steps in log space is an approximate solver for this geometric program; the global-optimum claim applies to a converged solution of the modeled subproblem, not automatically to a finite-step implementation or to the measured quantized-layer error.

Closed-Form Relaxation

A simpler initialization follows by replacing grouped maxima with an ungrouped ℓp\ell_p range surrogate. Define

ωip=∑j=1n∣Pij∣p,hi=(H⊥)ii,p≥1,\omega_i^p=\sum_{j=1}^{n}|P_{ij}|^p,\qquad h_i=(H_\perp)_{ii},\qquad p\ge1,

and consider

F^W(d)=C(∑i=1cωipdip)2/p(∑i=1chidi−2),(31)\widehat{F}_W(d)=C\left(\sum_{i=1}^{c}\omega_i^p d_i^p\right)^{2/p}\left(\sum_{i=1}^{c}h_i d_i^{-2}\right), \tag*{(31)}

where C>0C>0 does not affect the minimizer. Assuming hi>0h_i>0 and ωi>0\omega_i>0, differentiation of log⁡F^W\log\widehat{F}_W with respect to ui=log⁡diu_i=\log d_i gives

2ωipdip∑kωkpdkp−2hidi−2∑khkdk−2=0.\frac{2\omega_i^p d_i^p}{\sum_k\omega_k^p d_k^p}-\frac{2h_i d_i^{-2}}{\sum_k h_k d_k^{-2}}=0.

The ratio of the two denominators is common to every channel. Therefore, up to an overall scale,

di∗∝(hiωip)1/(p+2).(32)d_i^*\propto\left(\frac{h_i}{\omega_i^p}\right)^{1/(p+2)}. \tag*{(32)}

Because the logarithm of (31) is convex in uu, this stationary point is a global minimizer of the relaxation. Normalize its geometric mean to one before refinement.

For p=2p=2,

di∗∝hi1/4∥Pi,:∥21/2.d_i^*\propto\frac{h_i^{1/4}}{\lVert P_{i,:}\rVert_2^{1/2}}.

If the low-rank branch is absent, then hi=Hii=∥X:,i∥22h_i=H_{ii}=\lVert X_{:,i}\rVert_2^2 and P=WP=W, yielding

di∗∝(∥X:,i∥2∥Wi,:∥2)1/2.d_i^*\propto\left(\frac{\lVert X_{:,i}\rVert_2}{\lVert W_{i,:}\rVert_2}\right)^{1/2}.

The square-root rule is thus exact for this relaxation, while the grouped maxima and activation-noise term motivate the subsequent refinement.

The activation-aware metric and target

For fixed DD, L1L_1, the modeled activation penalty depends on R^\widehat{R} but not L2L_2. Eliminating L2L_2 therefore gives

J(R^)=12∥W^−R^∥H⊥2+12λA∥R^∥Σ‾A2.J(\widehat{R})=\frac{1}{2}\lVert\widehat{W}-\widehat{R}\rVert_{H_\perp}^2+\frac{1}{2}\lambda_A\lVert\widehat{R}\rVert_{\overline{\Sigma}_A}^2.

Define M=H⊥+λAΣ‾AM=H_\perp+\lambda_A\overline{\Sigma}_A. Both summands are positive semidefinite, implying null⁡(M)⊆null⁡(H⊥)\operatorname{null}(M)\subseteq\operatorname{null}(H_\perp). Consequently H⊥W^∈range⁡(M)H_\perp\widehat{W}\in\operatorname{range}(M) and T=M†H⊥W^T=M^\dagger H_\perp\widehat{W} satisfies MT=H⊥W^MT=H_\perp\widehat{W}. Expanding the square yields

J(R^)=12∥R^−T∥M2+12∥W^∥H⊥2−12∥T∥M2.J(\widehat{R})=\frac{1}{2}\lVert\widehat{R}-T\rVert_M^2+\frac{1}{2}\lVert\widehat{W}\rVert_{H_\perp}^2-\frac{1}{2}\lVert T\rVert_M^2.

Thus both the target and metric change when activation noise is included. At λA=0\lambda_A=0, the metric is generally singular: an ordinary inverse cannot replace the pseudoinverse without regularization.

What regularization changes. With a common loaded metric Mϵ=M+ϵIM_{\epsilon}=M+\epsilon I and target Tϵ=Mϵ−1H⊥W~T_{\epsilon}=M_{\epsilon}^{-1}H_{\perp}\widetilde{W}, the corresponding objective is J(R^)+12ϵ∥R^∥F2J(\widehat{R})+\frac{1}{2}\epsilon\lVert\widehat{R}\rVert_{F}^{2}, up to a code-independent constant. The weight-error path instead quantizes an initialized residual R0=W~−L1L2,0R_{0}=\widetilde{W}-L_{1}L_{2,0} under a stabilized H⊥H_{\perp}. Its added penalty is centered at R0R_{0}. In addition, group scales are constructed from the chosen target. Consequently, equal continuous undamped losses need not produce equal grids, greedy updates, or codes.

Exact activation error versus its surrogate. The exact error is X~C−EAR^\widetilde{X}C-E_{A}\widehat{R} and includes the cross term in Eq. (5). Replacing deterministic activation rounding with a zero-mean conditional noise model is the step that removes this cross term in expectation. The deployed activation error multiplies R^\widehat{R}, not the unquantized provisional residual. Our post-code objective preserves that distinction. The diagonal range-based covariance does not estimate off-diagonal correlations and is not an exact model of four-bit rounding.

Algorithm

Algorithm 1 Detailed layerwise calibration of HH-SVDQuant

Require: Weight WW, calibration activations XX, protected rank rr, symmetric INT4 weight quantizer QWQ_W, per-token group-wise INT4 activation quantizer QAQ_A, code mode, activation weight λA\lambda_A

Ensure: DD, L1L_1, L2L_2, R^\widehat{R}

  1. H0←XTX/mH_0 \leftarrow X^{\mathsf{T}}X/m

  2. Initialize best candidate state

  3. Aprev←∅A_{\mathrm{prev}} \leftarrow\varnothing, L2,prev←∅L_{2,\mathrm{prev}} \leftarrow\varnothing

  4. for k=1,2k=1,2 do

  5. if k=1k=1 then

  6. H⊥,prev←H0H_{\perp,\mathrm{prev}} \leftarrow H_0

  7. Pprev←WP_{\mathrm{prev}} \leftarrow W

  8. else

  9. H⊥,prev←H0−H0Aprev(AprevTH0Aprev)−1AprevTH0H_{\perp,\mathrm{prev}} \leftarrow H_0-H_0A_{\mathrm{prev}}(A_{\mathrm{prev}}^{\mathsf{T}}H_0A_{\mathrm{prev}})^{-1}A_{\mathrm{prev}}^{\mathsf{T}}H_0

  10. Pprev←W−AprevL2,prevP_{\mathrm{prev}} \leftarrow W-A_{\mathrm{prev}}L_{2,\mathrm{prev}}

  11. end if

  12. Update DD from (H⊥,prev,Pprev,X)(H_{\perp,\mathrm{prev}},P_{\mathrm{prev}},X) using Equation (13) and optional cached refinement

  13. X~←XD−1\widetilde{X}\leftarrow XD^{-1}, W~←DW\widetilde{W}\leftarrow DW, H~←D−1H0D−1\widetilde{H}\leftarrow D^{-1}H_0D^{-1}

  14. Estimate Σ^A\widehat{\Sigma}_A using Equation (6)

  15. Initialize (L1,L2,0)(L_1,L_{2,0}) by the weighted rank-rr fit in Equation (12)

  16. Form the deflated metric H~⊥\widetilde{H}_{\perp} using Equation (9)

  17. if activation-aware code optimization is enabled then

  18. Form (MQ,TQ)(M_Q,T_Q) using Equation (11)

  19. Construct R^\widehat{R} by GPTQ on target TQT_Q with metric MQM_Q using QWQ_W

  20. else

  21. R0←W~−L1L2,0R_0\leftarrow\widetilde{W}-L_1L_{2,0}

  22. Construct R^\widehat{R} by GPTQ on target R0R_0 with metric H~⊥\widetilde{H}_{\perp} using QWQ_W

  23. end if

  24. Refit L2L_2 using Equation (8)

  25. Evaluate the W4A4 output MSE on cached calibration inputs in FP32 and retain the best visited state

  26. Aprev←D−1L1A_{\mathrm{prev}}\leftarrow D^{-1}L_1, L2,prev←L2L_{2,\mathrm{prev}}\leftarrow L_2

  27. end for

  28. return best (D,L1,L2,R^)(D,L_1,L_2,\widehat{R})

Evaluation on Accelerated Diffusion Backbones

Table 8 reports quantitative W4A4 results on accelerated few-step diffusion backbones: the 4-step FLUX.1-schnell and 4-step Qwen-Image Lightning variants, complementing the standard base model evaluations in Table 1. Teacher fidelity and standalone quality measure different properties: the method with the best PSNR need not have the highest CLIP or ImageReward score. Thus these evaluations capture distinct trade-offs between teacher fidelity and generation metrics across few-step regimes.

Qualitative Results of Qwen-Image

Figure 3 and Figure 4 show representative qualitative reconstructions for the 50-step base model and four-step Lightning variant, respectively, evaluated under identical seeds and prompts against DiRotQ and both SVDQuant ranks.

Figure 3. Qwen-Image base-model reconstructions. The first column is the high-precision reference; the blue outline identifies H-SVDQuant. All methods share the displayed prompt within each row. These qualitative examples complement the complete-subset results in Table 1.

Figure 4. Four-step Qwen-Image Lightning reconstructions. Column order follows Figure 3. The accelerated quantitative comparison appears in Table 8.

Table 8: W4A4 fidelity and generation quality on accelerated diffusion backbones (FLUX.1-schnell and Qwen-Image Lightning). Both models use 4-step sampling on the predescribed dataset. CLIP and ImageReward (IR) are absolute scorer means, not teacher-relative differences; neither measures teacher fidelity. Bold and underline mark the best and second-best unrounded means per subset and metric. H-SVDQuant use group-64 residuals and the stated protected rank; DiRotQ uses matched A4/group-64.

MethodMJHQ PSNR↑MJHQ LPIPS↓MJHQ CLIP↑MJHQ IR↑sDCI PSNR↑sDCI LPIPS↓sDCI CLIP↑sDCI IR↑
FLUX.1-schnell (4 steps)
H-SVDQuant r=4r = 417.930.26025.2380.902916.790.27825.8381.0761
SVDQuant r=4r = 416.180.35025.3940.895115.120.36325.7911.0844
SVDQuant r=32r = 3217.310.29825.2230.939416.230.31125.712<u>1.0947</u>
DiRotQ18.560.24124.994<u>0.9089</u>17.410.25725.5881.0951
OrbitQuant17.210.29725.1440.900716.230.30625.8361.0413
ViDiT-Q14.740.46724.7580.787213.850.48926.1421.0235
Qwen-Image Lightning (4 steps)
H-SVDQuant r=4r = 415.33<u>0.328</u>29.4221.6268<u>13.33</u><u>0.391</u>25.5411.2425
SVDQuant r=4r = 414.310.38229.6391.595812.840.43725.5081.2173
SVDQuant r=32r = 3215.090.33929.5801.606313.300.40625.6021.2372
DiRotQ<u>15.18</u>0.327<u>29.597</u><u>1.6160</u>13.500.383<u>25.543</u><u>1.2400</u>

Table 8. W4A4 fidelity and generation quality on accelerated diffusion backbones (FLUX.1-schnell and Qwen-Image Lightning). Both models use 4-step sampling on the predescribed dataset. CLIP and ImageReward (IR) are absolute scorer means, not teacher-relative differences; neither measures teacher fidelity. Bold and underline mark the best and second-best unrounded means per subset and metric. H-SVDQuant use group-64 residuals and the stated protected rank; DiRotQ uses matched A4/group-64.

Full Paired Prompt Distributions

Figure 5. Paired teacher-fidelity differences across five diffusion backbones. This expanded version of Figure 1 adds Qwen-Image and compares rank-4 HH-SVDQuant against SVDQuant ranks 4 and 32 on identical prompts and seeds. Columns separate baseline rank; rows show PSNR gain and LPIPS reduction. Boxes show the interquartile range, white bars the medians, whiskers the 5th–95th percentiles, and black dots the means. Red denotes MJHQ and blue sDCI; positive values favor HH-SVDQuant. The compared checkpoints retain their respective activation quantizers and are complete-recipe comparisons. Qwen-Image images are paired by index under identical prompt, seed, and teacher protocols.

Between-block and within-block propagation pilot

ModelBetween blocksWithin blockPSNRLPIPS
PixArt-Σ\Sigmaquantizedsequential15.5230.4834
referencesequential15.7010.4675
referenceindependent15.8330.4662
FLUX-schnellquantizedsequential17.4710.3003
referencesequential17.7030.2961
referenceindependent17.0590.3151

Table 9. Three-way calibration replay pilot. All rows use rank 4, W4A4/group-64, λA=0\lambda_A = 0, and the weight-error code path. Within each model, evaluation uses the same 16 MJHQ prompts and image identifiers. These pilot checkpoints are not substituted into Table 1.

Relative to reference/sequential, the two PixArt PSNR differences are −0.177-0.177 dB (95% paired interval [−0.839,0.412][-0.839, 0.412]) and +0.133+0.133 dB ([−0.239,0.529][-0.239, 0.529]). This pilot does not establish a ranking. For FLUX-schnell, the corresponding differences are −0.232-0.232 dB ([−0.500,0.016][-0.500, 0.016]) and −0.644-0.644 dB ([−1.395,−0.003][-1.395, -0.003]); both LPIPS intervals include zero. Despite worse image fidelity in the independent FLUX run, its largest local module MSE is slightly smaller. Local errors are measured on each route’s own calibration activations and are not paired errors on a shared held-out activation set. The pilot therefore illustrates a limitation of local MSE as a predictor of full-image behavior.

References

  1. [1]Saleh Ashkboos, Amirkeivan Mohtashami, Maximilian L. Croci, Bo Li, Pashmina Cameron, Martin Jaggi, Dan Alistarh, Torsten Hoefler, and James Hensman. QuaRot: Outlier-free 4-bit inference in rotated LLMs. In Advances in Neural Information Processing Systems (NeurIPS), volume 37, 2024.arxiv.org/abs/2404.00456
  2. [2]Yonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao, and Yejin Choi. PIQA: Reasoning about physical commonsense in natural language. In Proceedings of the AAAI Conference on Artificial Intelligence (AAAI), volume 34(05), pp. 7432–7439, 2020.arxiv.org/abs/1911.11641
  3. [3]Black Forest Labs. FLUX.1: Text-to-image generation with flow transformers. https://blackforestlabs.ai, 2024.
  4. [4]Yann Bouquet, Alireza Khodamoradi, Sophie Yáng Shen, Kristof Denolf, and Mathieu Salzmann. LoRaQ: Optimized low rank approximation for 4-bit quantization, 2026. URL https://arxiv.org/abs/2604.18117.
  5. [5]Junsong Chen, Chongjian Ge, Enze Xie, Yue Wu, Lewei Yao, Xiaozhe Ren, Zhongdao Wang, Ping Luo, Huchuan Lu, and Zhenguo Li. PixArt-Σ: Weak-to-strong training of diffusion transformer for 4k text-to-image generation. In Computer Vision – ECCV 2024, pp. 74–91, 2024.
  6. [6]Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. Think you have solved question answering? try ARC, the AI2 reasoning challenge. arXiv preprint arXiv:1803.05457, 2018.arxiv.org/abs/1803.05457
  7. [7]Elias Frantar, Saleh Ashkboos, Torsten Hoefler, and Dan Alistarh. GPTQ: Accurate post-training quantization for generative pre-trained transformers. In International Conference on Learning Representations (ICLR), 2023.arxiv.org/abs/2210.17323
  8. [8]Yefei He, Luping Liu, Jing Liu, Weijia Wu, Hong Zhou, and Bohan Zhuang. PTQD: Accurate post-training quantization for diffusion models. In Advances in Neural Information Processing Systems, volume 36, 2023. doi: 10.52202/075280-0580.DOI
  9. [9]Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. Measuring massive multitask language understanding. In International Conference on Learning Representations (ICLR), 2021.
  10. [10]Jack Hessel, Ari Holtzman, Maxwell Forbes, Ronan Le Bras, and Yejin Choi. CLIPScore: A reference-free evaluation metric for image captioning. In Marie-Francine Moens, Xuanjing Huang, Lucia Specia, and Scott Wen-tau Yih (eds.), Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pp. 7514–7528, Online and Punta Cana, Dominican Republic, November 2021. Association for Computational Linguistics. doi: 10.18653/v1/2021.emnlp-main.595. URL https://aclanthology.org/2021.emnlp-main.595/.DOI
  11. [11]Donghyun Lee, Jitesh Chavan, Duy Nguyen, Sam Huang, Liming Jiang, Priyadarshini Panda, Timo Mertens, and Saurabh Shukla. OrbitQuant: Data-agnostic quantization for image and video diffusion transformers, 2026. URL https://arxiv.org/abs/2607.02461.
  12. [12]Daiqing Li, Aleks Kamko, Ehsan Akhgari, Ali Sabet, Linmiao Xu, and Suhail Doshi. Playground v2.5: Three insights towards enhancing aesthetic quality in text-to-image generation. arXiv preprint arXiv:2402.17245, 2024.arxiv.org/abs/2402.17245
  13. [13]Muyang Li, Yujun Lin, Zhekai Zhang, T ianle Cai, Xiuyu Li, Junxian Guo, Enze Xie, Chenlin Meng, Jun-Yan Zhu, and Song Han. SVDQuant: Absorbing outliers by low-rank components for 4-bit diffusion models. In International Conference on Learning Representations (ICLR), 2025.arxiv.org/abs/2411.05007

Paper details

vlnc:W_29x9j4az
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents