Manuscript Offprint

arXiv:2610.11315

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

Shiwen Wang, Pengxiang Zhao, Xiaoming Yuan

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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 H-SVDQuant, 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 H-SVDQuant 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× smaller rank and up to 6.25× faster quantization. Furthermore, on the Qwen3-8B LLM, rank-4 H-SVDQuant improves MMLU accuracy from 61.50% to 68.17% over rank-32 SVDQuant. Overall, H-SVDQuant achieves better W4A4 performance with substantially lower rank and quantization cost.

1 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 (Li et al., 2025) 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 (Bouquet et al., 2026) 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_1 L_2 + R, where L1,L2L_1, L_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

H⊥=H−HL1(L1⊤HL1)†L1⊤H,H⊥L1=0,(1)H_{\perp}=H-H L_{1}\left(L_{1}^{\top}H L_{1}\right)^{\dagger}L_{1}^{\top}H,\qquad H_{\perp}L_{1}=0, \tag{1}

Figure

vs SVDQuant r4

vs SVDQuant r32

PSNR gain (dB)

Figure

LPIPS reduction

(a) Hessian deflation metric.

(b) Paired rank efficiency gains over SVDQuant.

Figure 1: (a) Residual quantization with Hessian deflation: For a fixed protected subspace L1L_1, Hessian deflation (H~⊥L1=0)(\widetilde{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.

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^\widehat{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 Section 3.

We evaluate H-SVDQuant against PTQ baselines for DiTs: SVDQuant (Li et al., 2025), DiRotQ (Sharify et al., 2026), OrbitQuant (Lee et al., 2026), and ViDiT-Q (Zhao et al., 2025). Our backbones include diffusion transformers ranging from 0.6B to 20B parameters: PixArt-Σ (Chen et al., 2024), SANA-1.6B (Xie et al., 2025), FLUX.1-schnell (Black Forest Labs, 2024), FLUX.1-dev (Black Forest Labs, 2024), 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×6.25\times.

References (30)