betaFeedback

WorksComputer Science

Joint Branch-Space Transform Coding for Diffusion Activation Quantization with Classifier-Free Guidance

Abstract

Post-training quantization for diffusion models increasingly exploits timestep, feature, and layer structure. While recent work has begun incorporating CFG structure into diffusion quantization, activation quantization still operates independently across conditional and unconditional coordinates, leaving cross-activation structure unexploited. We show that matched CFG activations form a strongly correlated two-dimensional source and that, under a fixed bit budget, the choice of branch coding basis materially affects quantization fidelity. Motivated by this observation, we introduce branch-space transform coding, which rotates matched CFG branches via an offline derived 2x2 orthogonal matrix, requiring minimal modifications to model parameters or the quantization pipeline. We further derive the Guidance-Correlation Branch Transform (GCBT), which jointly incorporates the CFG guidance direction and cross-branch second moments. Under an equal-rate quantization-noise surrogate, GCBT admits a closed-form per-layer solution without gradient optimization or angle search. Applied on top of existing diffusion PTQ methods, GCBT yields statistically significant fidelity gains in most evaluated comparisons with no statistically significant degradation, while leaving the underlying host quantization pipeline unchanged.

Comparison of PixArt-Σ and Sana-1.6B diffusion image generation under different quantization methods

Figure 1. GCBT is a plug-and-play activation transform built on top of existing post-training quantizers in CFG-guided diffusion models. By applying a branch-wise rotation prior to quantization, it requires minimal modifications to model parameters or base pipelines. On PixArt-Σ (top) and Sana-1.6B (bottom), GCBT demonstrates superior visual fidelity over naive PTQ and SVDQuant.

Introduction

Diffusion models [15, 19, 20] (Ho et al. 2020) achieve high generation quality at the cost of repeated, computationally heavy denoising steps. This has motivated extensive work on post-training quantization (PTQ) [3, 17, 18, 28] (Li et al. 2025; Li et al. 2023) to reduce inference overhead via low-bit representations of weights and activations. Recent methods increasingly exploit activation structure during diffusion inference, exploiting (i) variation across denoising timesteps [3, 28], (ii) architectural and feature heterogeneity within the denoising model [3] (Li et al. 2023), and (iii) activation outliers (Li et al., 2025, 2026). These advances raise a natural question: what additional structural information in diffusion inference can be exploited to improve activation quantization?

One such structure is the paired computation in classifier-free guidance (CFG) [5]. CFG plays a central role in modern diffusion pipelines by strengthening the influence of the condition on generation. At each denoising step, CFG evaluates the same model weights with and without condition, producing matched predictions pcp_c and pup_u and then combining them using a guidance scale ss. We denote the corresponding activations as XcX_c and XuX_u, and refer to the two-dimensional axis formed by this matched pair as the CFG branch space. While recent work has begun incorporating CFG into post-training calibration [17, 18], activation quantization still typically operates on XcX_c and XuX_u independently in separate branch coordinates. This choice implicitly fixes the branch basis, overlooking the fact that both activations arise from matched CFG passes through the same model weights.

We find two properties of this branch space that are relevant to activation quantization. First, matched XcX_c and XuX_u activations are strongly correlated, exhibiting cross-branch correlation coefficients of a median uncentered correlation of 0.86 (vs. 0.33 for mismatched pairs) across DiT-XL/2 [16] layers (Figure 2). Second, the two CFG branches are coupled at the model output by the known guidance direction gs=[s,1−s]Tg_s = [s, 1-s]^{\mathsf{T}}, which varies with the guidance scale ss. As illustrated in Figure 3, standard PTQ quantizes activations independently along native branch axes, imposing a structural mismatch between the quantization grid, principal activation variance, and the guidance vector gsg_s. Under a fixed activation-bit budget, this directional mismatch limits quantization fidelity.

Figure 2. Matched CFG branches are strongly correlated. Matched CFG branches exhibit substantially stronger cross-branch correlation than deliberately mismatched pairs.

Motivated by these observations, we introduce branch-space transform coding. Before activation quantization, we apply a 2×22 \times2 orthogonal branch rotation matrix (R)(R) across each matched conditional/unconditional pair, quantize the transformed activations on top of the existing low-bit quantizer, and invert the transform afterward. The procedure does not change model parameters, nominal activation precision, or the number of quantized values; it changes only the branch coordinates in which activation quantization is performed. Branch-space coding is therefore complementary to existing timestep-, feature-, layer-, and precision-aware diffusion PTQ methods.

To determine the optimal rotation matrix RR, we derive the Guidance-Correlation Branch Transform (GCBT), which jointly incorporates the CFG guidance direction and per-layer cross-branch second moments. Under an equal-rate quantization-noise surrogate, this formulation yields a closed-form per-layer solution without gradient optimization or angle search. Across diverse diffusion PTQ backbones, models, and datasets, GCBT consistently improves reconstruction and perceptual fidelity, establishing CFG branch space as a complementary axis for activation quantization.

Our work makes the following contributions:

  • CFG Branch Space as a Design Axis. To our knowledge, we are the first to treat the CFG branch axis as an explicit coding space, demonstrating that cross-branch structure between matched activations directly governs quantization fidelity.

  • Branch-Space Transform Coding & GCBT. We introduce a lightweight branch-space transform coding framework that incorporates the CFG guidance direction and cross-branch second moments into the coding basis.

  • Closed-Form Global Optimum. We derive a guidance-weighted distortion objective over 2×22 \times2 orthogonal rotations and prove that its global optimum admits a closed-form per-layer solution under an equal-rate quantization-noise surrogate.

  • Broad PTQ Compatibility. We apply GCBT on top of existing activation quantizers without modifying the underlying quantization method, achieving consistent improvements in reconstruction and perceptual fidelity.

Related Work

Post-Training Quantization for Diffusion Models. Diffusion PTQ increasingly exploits structure specific to iterative generation. Q-Diffusion [12] addresses timestep-dependent activation distributions and architectural outliers, while Q-DiT [3] and ViDiT-Q [28] further account for spatial, temporal, layer, and channel variation in Diffusion Transformers. SVDQuant [11] handles activation outliers through smoothing and low-rank compensation, and DeltaQuant (Li et al., 2026) exploits spatiotemporal activation structure for low-bit video diffusion. These methods adapt quantization to diffusion-specific activation structure, but retain the native conditional/unconditional branch coordinates during activation quantization.

Rotation-Based Quantization. Rotary quantization has been widely studied beyond diffusion models. QuaRot [1] applies orthogonal rotations to reduce activation outliers, while SpinQuant [14] learns rotation matrices for improved low-bit quantization. Related methods use Hadamard-based incoherence processing [22] or learnable linear transformations [21] (Hu et al. 2025) to improve the quantizability of weights and activations. In diffusion models, TR-DQ [18] introduces timestep-dependent feature rotations, while OrbitQuant [10] quantizes in a normalized rotated basis. These approaches transform feature or hidden-state coordinates; in contrast, our transform acts across the two-dimensional CFG branch axis while leaving token and feature coordinates unchanged.

Figure 3. Overview of branch-space coding. (a) Matched CFG activations define a two-dimensional branch axis at each token–feature coordinate. (b) Native quantizer QAQ_A operates directly on (Xc,Xu)(X_c, X_u), while branch-space coding rotates the pair, applies the same host quantizer in transformed coordinates, and rotates back. (c) The coding basis is determined jointly by the activation geometry Σℓ\Sigma_\ell and CFG branch direction gsg_s, yielding the optimal coding axis r1⋆r_1^\star and angle θℓ⋆\theta_\ell^\star where θℓ⋆=∠(Xc,r1⋆)\theta_\ell^\star= \angle(X_c,r_1^\star).

CFG-Aware Quantization. Recent diffusion PTQ methods have also begun to exploit the relation between CFG branches. TR-DQ [18] uses redundancy across CFG executions, while guidance-aware methods such as GAMP [17] calibrate quantization with respect to the guided prediction and CFG sensitivity. These methods incorporate CFG structure while retaining the native conditional/unconditional branch basis. Our work studies a complementary variable: the branch coding basis itself. We treat the CFG branch axis as an explicit quantization space and select its basis from the CFG branch direction and cross-branch second moments.

Method

Problem Setup

Classifier-free guidance (CFG) [5] combines the conditional and unconditional branch predictions as

pcfg=spc+(1−s)pu=gsT[pcpu],gs=[s1−s],(1)p_{\mathrm{cfg}} = s p_c + (1-s)p_u = g_s^{\mathsf{T}}\begin{bmatrix}p_c\\p_u\end{bmatrix}, \qquad g_s = \begin{bmatrix}s\\1-s\end{bmatrix}, \tag*{(1)}

where ss is the guidance scale.

At a given denoising step and activation-quantization site, let Xc,Xu∈RN×dX_c, X_u \in\mathbb{R}^{N \times d} denote the matched conditional and unconditional branch activations, where NN indexes token or spatial positions and dd is the feature dimension. We stack them along the CFG branch axis as

X=[XcXu]∈R2×N×d,(2)X = \begin{bmatrix}X_c\\X_u\end{bmatrix} \in\mathbb{R}^{2 \times N \times d}, \tag*{(2)}

whose leading dimension defines the CFG branch space with native coordinates (c,u)(c,u). At each token–feature coordinate (n,j)(n,j), the corresponding matched branch-activation pair is xn,j=[xc,n,j,xu,n,j]T∈R2x_{n,j} = [x_{c,n,j},x_{u,n,j}]^{\mathsf{T}} \in\mathbb{R}^2.

Let QAQ_A denote the host AA-bit activation quantizer. Standard PTQ quantizes the two branch activations in the native basis: X^nat=[QA(Xc)QA(Xu)]\widehat{X}_{\mathrm{nat}} = \begin{bmatrix}Q_A(X_c)\\Q_A(X_u)\end{bmatrix}. @page 4/21 starts_mid=0 ends_mid=1

Figure 3 (PDF p. 4). Overview of branch-space coding. (a) Matched CFG activations define a two-dimensional branch axis at each token–feature coordinate. (b) Native quantizer QAQ_A operates directly on (Xc,Xu)(X_c, X_u), while branch-space coding rotates the pair, applies the same host quantizer in transformed coordinates, and rotates back. (c) The coding basis is determined jointly by the activation geometry Σℓ\Sigma_\ell and CFG branch direction gsg_s, yielding the optimal coding axis r1⋆r_1^\star and angle θℓ⋆\theta_\ell^\star where θℓ⋆=∠(Xc,r1⋆)\theta_\ell^\star= \angle(X_c,r_1^\star).

CFG-Aware Quantization. Recent diffusion PTQ methods have also begun to exploit the relation between CFG branches. TR-DQ [18] uses redundancy across CFG executions, while guidance-aware methods such as GAMP [17] calibrate quantization with respect to the guided prediction and CFG sensitivity. These methods incorporate CFG structure while retaining the native conditional/unconditional branch basis. Our work studies a complementary variable: the branch coding basis itself. We treat the CFG branch axis as an explicit quantization space and select its basis from the CFG branch direction and cross-branch second moments.

Method

Problem Setup

Classifier-free guidance (CFG) [5] combines the conditional and unconditional branch predictions as

pcfg=spc+(1−s)pu=gsT[pcpu],gs=[s1−s],(3)p_{\mathrm{cfg}} = s p_c + (1-s)p_u = g_s^{\mathsf{T}}\begin{bmatrix}p_c\\p_u\end{bmatrix}, \qquad g_s = \begin{bmatrix}s\\1-s\end{bmatrix}, \tag*{(3)}

where ss is the guidance scale.

At a given denoising step and activation-quantization site, let Xc,Xu∈RN×dX_c, X_u \in\mathbb{R}^{N \times d} denote the matched conditional and unconditional branch activations, where NN indexes token or spatial positions and dd is the feature dimension. We stack them along the CFG branch axis as

X=[XcXu]∈R2×N×d,(4)X = \begin{bmatrix}X_c\\X_u\end{bmatrix} \in\mathbb{R}^{2 \times N \times d}, \tag*{(4)}

whose leading dimension defines the CFG branch space with native coordinates (c,u)(c,u). At each token–feature coordinate (n,j)(n,j), the corresponding matched branch-activation pair is xn,j=[xc,n,j,xu,n,j]T∈R2x_{n,j} = [x_{c,n,j},x_{u,n,j}]^{\mathsf{T}} \in\mathbb{R}^2.

Let QAQ_A denote the host AA-bit activation quantizer. Standard PTQ quantizes the two branch activations in the native basis: X^nat=[QA(Xc)QA(Xu)]\widehat{X}_{\mathrm{nat}} = \begin{bmatrix}Q_A(X_c)\\Q_A(X_u)\end{bmatrix}.

Branch-Space Structure and Transform Coding

Standard diffusion PTQ [3, 10, 28] (Li et al. 2025; Li et al. 2023; Li et al. 2026) quantizes CFG activations directly in the native (c,u)(c,u) branch coordinates. To determine whether activation quantization can benefit from a different branch coding basis, we examine whether matched CFG activations exhibit cross-branch structure and whether changing only the branch coding basis affects quantization fidelity under a fixed activation-bit budget.

Observation I: CFG branches form a structured matched source. On DiT-XL/2 with W4A4 SVDQuant (CFG = 2, 64 trajectories), the median correlation between matched branch activations across all linear sites in DiT-XL/2 is 0.859, compared with 0.328 for deliberately mismatched pairs (Figure 2, Table 6). The matched activations are also highly directional: their dominant axis lies at a median 42.71∘42.71^\circ from the conditional axis, close to the diagonal c=uc=u. Figure 3(a) illustrates this structure schematically. These measurements motivate considering the matched activations jointly when choosing a quantization basis.

ngeomn_{\mathrm{geom}}Matched corr.Mismatched corr.ψℓ\psi_{\ell}λ1,ℓ/λ2,ℓ\lambda_{1,\ell}/\lambda_{2,\ell}
160.86350.316642.89°13.71
320.86040.324342.71°13.46
640.85870.327642.71°13.27
1280.85690.323142.67°13.03

Table 6. Measurement-pool-size stability of CFG branch geometry on DiT-XL/2. Values are medians across 112 linear sites under repository-native SVDQuant W4A4 with an FP rank-32 branch. All sizes use nested class/noise inputs and frozen weights.

Observation II: Activation-quantization fidelity depends on the branch basis. Under the same activation-bit budget and host activation quantizer, changing only the branch coding basis produces measurable differences in generation fidelity. At CFG = 4.5, a guidance-aligned rotation improves PSNR and SSIM while reducing LPIPS under the same host quantizer and activation-bit budget; see Table 4.

BasisLPIPS ↓SSIM ↑PSNR ↑
Native0.3270.65117.472
Guidance0.3150.67817.707
GCBT0.2960.69517.917

Table 4. Branch-basis ablation. PixArt-Σ\Sigma, SVDQuant W4A4 on MJHQ.

These observations motivate treating the branch coding basis as an explicit degree of freedom in activation quantization, rather than inheriting the native (c,u)(c,u) execution coordinates. This leads to the following general formulation.

Definition 3.1 (Branch-space transform coding). Let R∈R2×2R \in\mathbb{R}^{2 \times2} be an orthogonal matrix, whose rows define an orthonormal coding basis. Given a host activation quantizer QAQ_A, we quantize matched CFG activations in the transformed branch basis as

X^(R):=RTQA(RX)=[X^c(R)X^u(R)](5)\widehat{X}(R) := R^\mathsf{T} Q_A(RX) = \begin{bmatrix} \widehat{X}_c(R) \\ \widehat{X}_u(R) \end{bmatrix} \tag*{(5)}

The transform acts only across matched conditional/unconditional pairs, leaving token and feature coordinates unchanged. Setting R=IR=I recovers native branchwise activation quantization.

Guidance-Correlation Branch Transform

Branch-space coding leaves one question: which basis should be used? We choose the basis jointly from the geometry of matched CFG activations and the CFG branch direction.

At layer ℓ\ell, for each matched token–feature coordinate (n,j)(n,j), define

xn,j(ℓ)=[Xc(ℓ)[n,j]Xu(ℓ)[n,j]]∈R2.(6)x_{n,j}^{(\ell)} = \begin{bmatrix} X_c^{(\ell)}[n,j] \\ X_u^{(\ell)}[n,j] \end{bmatrix} \in\mathbb{R}^2. \tag*{(6)}

Suppressing (n,j)(n,j) for brevity, we write a generic matched branch-activation pair as x(ℓ)=[xc(ℓ),xu(ℓ)]Tx^{(\ell)} = [x_c^{(\ell)},x_u^{(\ell)}]^\mathsf{T}. The branch-space geometry at layer ℓ\ell is summarized by

Σℓ=E[x(ℓ)x(ℓ)T],(7)\Sigma_\ell= \mathbb{E}\left[x^{(\ell)}x^{(\ell)\mathsf{T}}\right], \tag*{(7)}

where the expectation is taken over calibrated matched branch-activation pairs. Thus, Σℓ\Sigma_\ell is the uncentered second-moment matrix describing the two-dimensional branch geometry at layer ℓ\ell.

For the remainder of this derivation, we fix layer ℓ\ell and suppress the layer superscript on local branch-space quantities. Let R=[r1T;r2T]∈R2×2R=[r_1^\mathsf{T};r_2^\mathsf{T}] \in\mathbb{R}^{2 \times2} be an orthogonal rotation matrix, where r1,r2∈R2r_1,r_2 \in\mathbb{R}^2 define the coding basis. For a matched pair xx, the transformed coordinates are z=Rxz=Rx, with zi=riTxz_i=r_i^\mathsf{T}x.

Design principle: Couple activation geometry with guidance sensitivity. Let z^i\hat{z}_i denote the quantized value of transformed coordinate ziz_i. We approximate the quantization distortion of each transformed coordinate as proportional to its projected second moment,

E[(z^i−zi)2]=κℓ riTΣℓri,κℓ>0,(8)\mathbb{E}\left[(\hat{z}_i-z_i)^2\right]=\kappa_{\ell}\,r_i^{\mathsf{T}}\Sigma_{\ell}r_i,\qquad\kappa_{\ell}>0, \tag*{(8)}

where κℓ\kappa_{\ell} is shared by the two coordinates, and cross-coordinate quantization-error terms are neglected.

Proposition 3.2 (Guidance-weighted distortion). Under this approximation, the expected squared branch-space distortion along the CFG direction is proportional to

Dsur(R)=∑i=12(riTgs)2 (riTΣℓri).(9)D_{\mathrm{sur}}(R)=\sum_{i=1}^{2}(r_i^{\mathsf{T}}g_s)^2\,(r_i^{\mathsf{T}}\Sigma_{\ell}r_i). \tag*{(9)}

The objective therefore favors a branch basis that jointly accounts for how strongly each coding direction is represented in the activations and how strongly it contributes to the CFG.

Because the branch space is two-dimensional, the rotation can be parameterized by a single angle θ\theta. We measure all angles relative to the native conditional axis and write

R(θ)=[r1(θ)Tr2(θ)T],r1(θ)=[cos⁡θsin⁡θ],r2(θ)=[−sin⁡θcos⁡θ].(10)R(\theta)=\begin{bmatrix}r_1(\theta)^{\mathsf{T}}\\r_2(\theta)^{\mathsf{T}}\end{bmatrix},\qquad r_1(\theta)=\begin{bmatrix}\cos\theta\\\sin\theta\end{bmatrix},\qquad r_2(\theta)=\begin{bmatrix}-\sin\theta\\\cos\theta\end{bmatrix}. \tag*{(10)}

Let ψℓ\psi_{\ell} denote the angle of the dominant eigenvector of Σℓ\Sigma_{\ell}, and let ϕs=arctan⁡2(1−s,s)\phi_s=\arctan2(1-s,s) denote the angle of the CFG direction gsg_s.

Theorem 3.3 (Closed-form optimal branch rotation). Let λ1,ℓ>λ2,ℓ\lambda_{1,\ell}>\lambda_{2,\ell} be the eigenvalues of Σℓ\Sigma_{\ell}. The global minimizers of Eq. (9) over two-dimensional orthogonal rotations are

θ⋆(s)=ϕs+ψℓ2−π4(modπ2).(11)\theta^{\star}(s)=\frac{\phi_s+\psi_{\ell}}{2}-\frac{\pi}{4}\pmod{\frac{\pi}{2}}. \tag*{(11)}

If λ1,ℓ=λ2,ℓ\lambda_{1,\ell}=\lambda_{2,\ell}, the surrogate is rotationally invariant.

We call R(θ⋆)R(\theta^{\star}) the Guidance-Correlation Branch Transform (GCBT). A guidance-aligned basis depends only on gsg_s, while the principal-axis basis of Σℓ\Sigma_{\ell} depends only on activation geometry. GCBT combines both quantities in a single coding basis. Calibration requires only the three distinct entries of the 2×22\times2 matrix Σℓ\Sigma_{\ell} per layer; no gradient optimization or angle search is required. The derivation and proof are given in Appendix § 8.§ 1 and A.2.

Compatibility with Rotation-Based and CFG-Aware PTQ Backbones

Rotation-based Quantizer Compatibility. Some diffusion PTQ backbones apply a shared feature-space rotation or linear transform before activation quantization. Let Uℓ∈Rd×dU_{\ell}\in\mathbb{R}^{d\times d} denote such a transform at layer ℓ\ell, shared by the conditional and unconditional branches, and let Rℓ∈R2×2R_{\ell}\in\mathbb{R}^{2\times2} denote the GCBT branch transform. Because UℓU_{\ell} acts on the feature dimension whereas RℓR_{\ell} acts on the CFG branch dimension, the two operations commute exactly.

Proposition 3.4 (Exact composition with shared feature-space rotations). For branch activations X∈R2×N×dX \in\mathbb{R}^{2 \times N \times d}, a shared feature-space transform Uℓ∈Rd×dU_{\ell} \in\mathbb{R}^{d \times d}, and a branch-space transform Rℓ∈R2×2R_{\ell} \in\mathbb{R}^{2 \times2},

Rℓ(XUℓ)=(RℓX)Uℓ.(12)R_{\ell}(XU_{\ell}) = (R_{\ell}X)U_{\ell}. \tag*{(12)}

Consequently, a host activation quantizer that operates on XUℓXU_{\ell} can be combined with GCBT without changing the transformed activation seen by the quantizer:

QA(Rℓ(XUℓ))=QA((RℓX)Uℓ).(13)Q_A(R_{\ell}(XU_{\ell})) = Q_A((R_{\ell}X)U_{\ell}). \tag*{(13)}

Thus, GCBT is algebraically compatible with host PTQ methods that already use shared feature-space rotations: branch-space and feature-space transforms are strictly composable rather than competing for the same degree of freedom.

CFG-aware calibration hosts. CFG-aware calibration and GCBT act on distinct quantization variables: a guidance-aware host optimizes quantization parameters against guided-output error while retaining the native (c,u)(c,u) coordinates, whereas GCBT changes the branch basis in which quantization is performed. For a matched branch-activation pair xx with z=Rℓxz = R_{\ell}x,

gsTx=gsTRℓTz=(Rℓgs)Tz.(14)g_s^{\mathsf{T}}x = g_s^{\mathsf{T}}R_{\ell}^{\mathsf{T}}z = (R_{\ell}g_s)^{\mathsf{T}}z. \tag*{(14)}

Thus, the CFG branch information is preserved exactly under the basis change, so guided-output calibration does not determine the branch coding basis.

We test this complementarity by applying GCBT to a fixed CFG-aware W4A4 PixArt-Σ host on MJHQ and sDCI, holding the calibrated host parameters, quantization configuration, and generation seeds fixed. Table 1 shows consistent LPIPS and SSIM gains on both datasets, while the smaller yet positive PSNR changes are not statistically conclusive. The gains therefore persist after guided-output calibration, supporting branch-basis selection as a complementary quantization variable. Full calibration details and paired confidence intervals are reported in Appendix § 9.§ 2.

DataMethodLPIPS ↓SSIM ↑PSNR ↑
MJHQCFG-Cal.0.47750.572216.454
MJHQ+GCBT0.46340.582916.547
sDCICFG-Cal.0.53100.476815.279
sDCI+GCBT0.51790.487215.352

Table 1. GCBT after CFG-aware calibration. PixArt-Σ, W4A4, we implement [17] on SVDQuant given GAMP is closed-source. Bold: 95% CI excludes zero.

Experiments

Experimental Settings

Models and PTQ hosts. We evaluate GCBT across image and video diffusion models with multiple activation-quantization hosts. For image generation, the main evaluation includes PixArt-Σ (Chen et al., [2]) and SANA-1.6B (Xie et al., [25]) with SVDQuant (Li et al., [11]) (W4A4) and Q-DiT (Chen et al., [3]) (W4A8), with SD3.5-Large (Esser et al., [4]) included for large-scale validation. All host precision settings strictly follow the default evaluation protocols established in their respective original works. For video generation, we evaluate Wan2.1-T2V-1.3B and Wan2.1-T2V-14B (Wan et al., [23]), CogVideoX-2B (Yang et al., [26]), and OpenSora v1.2 (Zheng et al., [29]) with OrbitQuant (Lee et al., [10]) (W4A4) or ViDiT-Q (Zhao et al., [28]) (W4A8-MP). GCBT uses 64 calibration samples disjoint from evaluation. Full model-specific generation and calibration settings are provided in Appendix § 9.§ 5.

Evaluation. We measure FP-reference fidelity using LPIPS [27], SSIM [24], and PSNR [9]. For video, we additionally report VBench subject consistency (S.C.), aesthetic quality (A.Q.), and imaging quality (I.Q.) [8]. Evaluation uses fixed paired prompt sets (n=256n = 256), and statistical significance is determined from paired 95% confidence intervals; full effect sizes and intervals are reported in the Appendix § 9.§ 5.

Main Results

Image generation. Across the full image-generation matrix, GCBT yields statistically significant gains in most paired metric comparisons, while no comparison shows a statistically significant degradation. All statistically resolved effects therefore favor GCBT. The significant gains span both SVDQuant models, Q-DiT on PixArt-Σ\Sigma, and the larger SD3.5-Large model, consistently across MJHQ and sDCI. The remaining comparisons are statistically inconclusive, with no evidence of a systematic regression. Overall, these results show that the benefits of GCBT transfer across architectures, PTQ hosts, datasets, and model scales.

Video generation. The video experiments extend this pattern beyond image generation and, more importantly, beyond teacher-referenced reconstruction alone. Across Wan2.1, CogVideoX, and OpenSora, GCBT improves both FP-referenced fidelity and VBench generation-quality metrics. LPIPS and SSIM improve significantly for every evaluated video model, while subject consistency and aesthetic quality also improve significantly

Ablations and System Analysis

PTQ HostModelMethodLPIPS ↓\downarrowSSIM ↑\uparrowPSNR ↑\uparrowS.C. ↑\uparrowA.Q. ↑\uparrowI.Q. ↑\uparrow
OrbitQuant W4A4Wan2.1-T2V-1.3BNative0.5450.49712.8710.9570.5270.672
OrbitQuant W4A4Wan2.1-T2V-1.3B+ GCBT0.5040.51812.9650.9750.5840.675
OrbitQuant W4A4CogVideoX-2BNative0.4270.63917.4740.9270.4940.593
OrbitQuant W4A4CogVideoX-2B+ GCBT0.3900.64917.5540.9370.5250.606
ViDiT-Q W4A8-MPOpenSora v1.2Native0.5440.54013.8710.9350.4550.490
ViDiT-Q W4A8-MPOpenSora v1.2+ GCBT0.5410.54213.8910.9380.4590.493
Large-scale validation
OrbitQuant port W4A4Wan2.1-T2V-14BNative0.4310.59015.0210.9710.5880.704
OrbitQuant port W4A4Wan2.1-T2V-14B+ GCBT0.4130.60115.0290.9760.6070.703

Table 3. Quantitative evaluation of video generation on VBench (n=256n = 256). Bold indicates statistically significant improvements (paired 95% CIs lie entirely in the favorable direction). Full paired confidence intervals are provided in Appendix Table 9.

Qualitative comparison of GCBT on image and video generation

Figure 4. Qualitative comparison of GCBT on image and video generation. (a) Image generation on PixArt with SVDQuant. (b) Video generation at W4A4 on Wan2.1-T2V-1.3B + OrbitQuant.

throughout. The effect persists on the larger Wan2.1-T2V-14B model, showing that the branch-space benefit transfers across video architectures, PTQ hosts, and model scales. These results indicate that the fidelity gains from GCBT are accompanied by improvements in generation-level quality, rather than being confined to closer reconstruction of the full-precision reference.

Ablations and System Analysis

We isolate the design choices underlying GCBT and examine its robustness and systems cost. Unless stated otherwise, ablations use PixArt-Σ\Sigma with SVDQuant W4A4 on the fixed n=256n = 256 MJHQ subset at CFG = 4.5, with 64 calibration samples disjoint from evaluation.

Branch-basis components. GCBТ selects the coding basis jointly from the branch geometry Σℓ\Sigma_\ell and the CFG readout direction gsg_s. We first compare the native basis, a guidance-aligned basis using only gsg_s, and GCBT using both quantities under the same quantization and generation settings.

Table 4 shows a clear progression: aligning the basis with the CFG readout already improves over native branch coding, while incorporating the measured branch geometry yields a further gain across all three fidelity metrics. This indicates that guidance information alone does not account for the benefit of GCBT; the coding basis benefits from coupling CFG sensitivity with the geometry of the matched activations. Full statistics are reported in Appendix § 9.3.

Adaptation across guidance scales. Because GCBT optimizes its basis using the CFG branch direction gsg_s, we evaluate its behavior across varying guidance scales while holding all other configurations fixed. As illustrated in Figure 5, GCBT exhibits a clear scale-dependent pattern: its fidelity gains over the host quantizer grow monotonically as guidance becomes stronger. At weak guidance (s=2s = 2), the perceptual improvement is marginal; however, from s=3s = 3 onward, GCBT consistently strengthens performance across LPIPS, SSIM, and PSNR. This trend directly reflects the role of gsg_s in our objective function: as stronger CFG alters the guidance readout orientation, adapting the branch coding basis becomes increasingly consequential for preserving activation fidelity.

Figure 5. Fidelity gains across CFG scales. GCBT achieves monotonically larger gains over native PTQ across all metrics as guidance scale ss increases.

Runtime and memory overhead. To evaluate GCBT’s practical system cost, we measure end-to-end generation latency and peak GPU memory footprint on representative SVDQuant and OrbitQuant deployments, with SVDQuant evaluated using the Nunchaku inference engine (offline calibration excluded). As shown in Figure 6, adding GCBT leaves the memory footprint unchanged and introduces only negligible runtime overhead (1–2%) relative to the corresponding host implementations. Thus, the fidelity gains of GCBT do not require a materially more expensive inference pipeline.

Figure 6. System overhead comparison. Host+GCBT matches native engines in end-to-end latency and peak GPU memory across image and video pipelines, imposing minimal practical overhead.

Calibration Sample Stability. GCBT depends only on the 2×22 \times2 branch second-moment matrix at each layer, so the required branch geometry can be estimated from a modest measurement pool. As shown in Table 5 (full results in Table 6), the measured geometry is already stable by ngeom=64n_{\mathrm{geom}} = 64: increasing the pool to 128 changes the median principal-axis orientation by only 0.04∘0.04^{\circ}, while the matched-branch correlation remains approximately 0.86 and the source remains strongly anisotropic. We therefore use 64 samples for GCBT calibration throughout. Full results are reported in Appendix § 9.§ 1.

ngeomn_{\mathrm{geom}}Matched corr.ψℓ\psi_{\ell}λ1,ℓ/λ2,ℓ\lambda_{1,\ell}/\lambda_{2,\ell}
160.86442.89∘42.89^{\circ}13.71
640.85942.71∘42.71^{\circ}13.27
1280.85742.67∘42.67^{\circ}13.03

Table 5. Calibration stability. Layerwise medians.

Conclusion

We identify CFG branch space as an overlooked coding dimension for diffusion activation quantization and introduce GCBT, a closed-form transform that jointly exploits matched-branch geometry and guidance sensitivity. Across many settings, GCBT consistently yields favorable fidelity and generation-quality improvements without modifying model parameters or the underlying quantization pipeline. These results establish branch-space coding as a lightweight and complementary design axis for diffusion PTQ, with negligible runtime and memory overhead.

Appendix

Additional Details for GCBT

Derivation of the Guidance-Weighted Distortion

Fix a layer ℓ\ell and suppress the layer superscript on local branch-space quantities. Let R=[r1Tr2T]∈R2×2R = \begin{bmatrix} r_1^{\mathsf T} \\ r_2^{\mathsf T} \end{bmatrix} \in\mathbb{R}^{2 \times2} be an orthogonal branch rotation, and let z=Rxz = Rx denote the transformed coordinates of a matched branch-activation pair xx. Define the transformed-coordinate quantization error as δ=z^−z=[δ1δ2]\delta= \hat{z} - z = \begin{bmatrix} \delta_1 \\ \delta_2 \end{bmatrix}, with δi=z^i−zi\delta_i = \hat{z}_i - z_i.

Following the distortion surrogate in Eq. (8), we assume

E[δi2]=κℓriTΣri,E[δ1δ2]=0,κℓ>0,(15)\mathbb{E}[\delta_i^2] = \kappa_\ell r_i^{\mathsf T}\Sigma r_i,\qquad\mathbb{E}[\delta_1\delta_2] = 0,\qquad\kappa_\ell> 0, \tag*{(15)}

where the same κℓ\kappa_\ell is used for both transformed coordinates. No zero-mean assumption on the quantization error is required.

After inversion of the branch rotation, the local branch-space error is R⊤δR^\top\delta. Its component along the CFG readout direction gsg_s is

gs⊤R⊤δ=∑i=12(ri⊤gs)δi.(16)g_s^\top R^\top\delta= \sum_{i=1}^{2}(r_i^\top g_s)\delta_i. \tag*{(16)}

Therefore,

E[(gs⊤R⊤δ)2]=∑i=12(ri⊤gs)2E[δi2]+2(r1⊤gs)(r2⊤gs)E[δ1δ2](17)\mathbb{E}\left[\left(g_s^\top R^\top\delta\right)^2\right] = \sum_{i=1}^{2}(r_i^\top g_s)^2\mathbb{E}[\delta_i^2] + 2(r_1^\top g_s)(r_2^\top g_s)\mathbb{E}[\delta_1\delta_2] \tag*{(17)}
=κℓ∑i=12(ri⊤gs)2(ri⊤Σℓri).(18)= \kappa_\ell\sum_{i=1}^{2}(r_i^\top g_s)^2(r_i^\top\Sigma_\ell r_i). \tag*{(18)}

Because κℓ>0\kappa_\ell> 0 is independent of the branch basis, minimizing this expected squared distortion is equivalent to minimizing Dsur(R)D_{\mathrm{sur}}(R) in Eq. (9).

Proof of Theorem 3.3

Because the branch space is two-dimensional, any rotation can be parameterized by a single angle θ\theta. Measuring angles relative to the native conditional axis, write

R(θ)=[r1(θ)⊤r2(θ)⊤],r1(θ)=[cos⁡θsin⁡θ],r2(θ)=[−sin⁡θcos⁡θ].(19)R(\theta) = \begin{bmatrix} r_1(\theta)^\top\\ r_2(\theta)^\top \end{bmatrix}, \qquad r_1(\theta) = \begin{bmatrix} \cos\theta\\ \sin\theta \end{bmatrix}, \qquad r_2(\theta) = \begin{bmatrix} -\sin\theta\\ \cos\theta \end{bmatrix}. \tag*{(19)}

Let

λˉℓ=λ1,ℓ+λ2,ℓ2,Δℓ=λ1,ℓ−λ2,ℓ2,(20)\bar{\lambda}_\ell= \frac{\lambda_{1,\ell}+\lambda_{2,\ell}}{2}, \qquad \Delta_\ell= \frac{\lambda_{1,\ell}-\lambda_{2,\ell}}{2}, \tag*{(20)}

and let ψℓ\psi_\ell denote the angle of the dominant eigenvector of Σℓ\Sigma_\ell and let ϕs\phi_s denote the angle of gsg_s, both measured relative to the native conditional axis. Then

r1⊤Σℓr1=λˉℓ+Δℓcos⁡2(θ−ψℓ),(21)r_1^\top\Sigma_\ell r_1 = \bar{\lambda}_\ell+ \Delta_\ell\cos2(\theta-\psi_\ell), \tag*{(21)}
r2⊤Σℓr2=λˉℓ−Δℓcos⁡2(θ−ψℓ).(22)r_2^\top\Sigma_\ell r_2 = \bar{\lambda}_\ell- \Delta_\ell\cos2(\theta-\psi_\ell). \tag*{(22)}

Similarly,

r1⊤gs=∥gs∥2cos⁡(ϕs−θ),(23)r_1^\top g_s = \lVert g_s\rVert_2\cos(\phi_s-\theta), \tag*{(23)}
r2⊤gs=∥gs∥2sin⁡(ϕs−θ).(24)r_2^\top g_s = \lVert g_s\rVert_2\sin(\phi_s-\theta). \tag*{(24)}

Substituting these expressions into Eq. (9) gives

Dsur(θ)∥gs∥22∝λˉℓ+Δℓcos⁡2(ϕs−θ)cos⁡2(θ−ψℓ)(25)\frac{D_{\mathrm{sur}}(\theta)}{\lVert g_s\rVert_2^2} \propto\bar{\lambda}_\ell+ \Delta_\ell\cos2(\phi_s-\theta)\cos2(\theta-\psi_\ell) \tag*{(25)}
=Cℓ+Δℓ2cos⁡(4θ−2ϕs−2ψℓ),(26)= C_\ell+ \frac{\Delta_\ell}{2}\cos(4\theta-2\phi_s-2\psi_\ell), \tag*{(26)}

where

Cℓ=λˉℓ+Δℓ2cos⁡2(ϕs−ψℓ)C_\ell= \bar{\lambda}_\ell+ \frac{\Delta_\ell}{2}\cos2(\phi_s-\psi_\ell)

is independent of θ\theta.

For Δℓ>0\Delta_{\ell} > 0, the minimum is attained when

4θ−2ϕs−2ψℓ=−π(mod⁡2π)(27)4\theta- 2\phi_{s} - 2\psi_{\ell} = -\pi\qquad(\operatorname{mod} 2\pi) \tag*{(27)}

which gives

θℓ⋆(s)=ϕs+ψℓ2−π4(mod⁡π2).(28)\theta_{\ell}^{\star}(s) = \frac{\phi_{s} + \psi_{\ell}}{2} - \frac{\pi}{4} \qquad\left(\operatorname{mod} \frac{\pi}{2}\right). \tag*{(28)}

This is Eq. (11). For Δℓ=0\Delta_{\ell} = 0, equivalently λ1,ℓ=λ2,ℓ\lambda_{1,\ell} = \lambda_{2,\ell}, the objective is independent of θ\theta, and the surrogate is rotationally invariant.

Commutation with Shared Linear Operators

Let L(X)=XW\mathcal{L}(X) = XW be a linear operator shared by the two CFG branches. Since RR acts along the branch dimension while WW acts along the feature dimension,

L(RTZ)=RTL(Z).(29)\mathcal{L}(R^{\mathsf{T}}Z) = R^{\mathsf{T}}\mathcal{L}(Z). \tag*{(29)}

Let Z^=QA(RX)\widehat{Z} = Q_A(RX) denote the quantized activation in transformed branch coordinates. (29) allows the shared linear operator to act directly on Z^\widehat{Z},

Z^→WY′→RTY,(30)\widehat{Z} \xrightarrow{W} Y' \xrightarrow{R^{\mathsf{T}}} Y, \tag*{(30)}

rather than first reconstructing the quantized activation in the native branch basis.

For an affine operator with a bias shared by the two CFG branches, the bias is added after the inverse branch transform. Thus, branch-space coding does not require reconstruction of the full native-basis activation before the shared quantized linear operation.

Additional Experiments

Calibration-Size Stability

GCBT estimates the three distinct entries of the 2×22 \times2 second-moment matrix Σℓ\Sigma_{\ell} at each layer. To assess how much calibration data is required for these statistics to stabilize, we vary the calibration-set size on DiT-XL/2 with SVDQuant W4A4 and report layerwise median branch-space statistics. The mismatched correlation is computed by deliberately pairing conditional and unconditional activations from different samples, providing a reference for the matched-branch structure.

The estimated branch geometry is already stable at modest calibration sizes. In particular, beyond ncal=64n_{\mathrm{cal}} = 64, the principal-axis orientation changes negligibly, while matched-branch correlation remains close to 0.855 and consistently exceeds the mismatched reference. The source also remains strongly anisotropic throughout the sweep. We therefore use 64 calibration samples in the main experiments.

Additional Statistics for Branch-Basis Ablation

Paired Statistics for CFG-Aware Calibration

Setup. GAMP (Shafi and Suma, [17]) has no public implementation, so we implement a GAMP-inspired guided-output calibration on the official SVDQuant W4A4 PixArt-Σ\Sigma host. This is not an official GAMP reproduction. The W4 GPTQ residual weights, smoothing, and FP rank-32 branch are frozen. For each of the 168 activation quantizers (dynamic group-64 A4), we fit one positive clipping multiplier in [0.1,2.0][0.1, 2.0] by minimizing the MSE between the quantized and full-precision guided noise predictions, ϵu+s(ϵc−ϵu)\epsilon_u + s(\epsilon_c - \epsilon_u) with s=4.5s = 4.5. We use 1,024 paired states from 64 training prompts and 256 states from 16 validation prompts, 800 Adam updates (learning rate 0.01, batch size one), and keep the checkpoint with the lowest validation error. The calibrated host is then frozen, and GCBT angles are computed from 64 complete Native trajectories on this host. Host-training, validation, GCBT-calibration, and evaluation prompts are disjoint.

This study uses a separate execution setup from Table 2: BF16 execution and a BF16 teacher, with initial noise drawn from a CPU generator. Evaluation uses the same 256 MJHQ and 256 sDCI prompts and seeds (1024×1024, 20 DPM-Solver++ steps), but the different dtype and noise generator yield different teacher images. Absolute values are therefore not comparable across the two tables; the evidence is the paired Host versus +GCBT comparison under an identical host, prompts, seeds, and teacher.

PTQ HostsModelMethodMJHQ LPIPS ↓\downarrowMJHQ SSIM ↑\uparrowMJHQ PSNR ↑\uparrowsDCI LPIPS ↓\downarrowsDCI SSIM ↑\uparrowsDCI PSNR ↑\uparrow
SVDQuant W4A4PixArt-Σ\Sigma CFG 4.5Native0.3270.65117.4720.3550.57416.450
+ GCBT0.296 [0.024, 0.038]0.695 [0.039, 0.050]17.917 [0.287, 0.607]0.319 [0.029, 0.043]0.625 [0.047, 0.057]17.017 [0.418, 0.708]
SANA-1.6B CFG 4.5Native0.2300.70217.2830.2340.65116.565
+ GCBT0.210 [0.015, 0.026]0.730 [0.023, 0.033]17.825 [0.383, 0.703]0.213 [0.016, 0.025]0.685 [0.029, 0.038]17.051 [0.364, 0.608]
Q-DiT W4A8PixArt-Σ\Sigma CFG 4.5Native0.2690.71117.9390.2810.64817.135
+ GCBT0.266 [0.001, 0.005]0.715 [0.003, 0.006]18.009 [0.035, 0.106]0.278 [0.001, 0.005]0.654 [0.004, 0.007]17.192 [0.019, 0.094]
SANA-1.6B CFG 4.5Native0.1750.76418.9070.1780.72217.941
+ GCBT0.174 [−0.002, 0.004]0.765 [−0.002, 0.003]18.877 [−0.120, 0.059]0.179 [−0.002, 0.002]0.722 [−0.002, 0.002]17.928 [−0.089, 0.057]
SVDQuant W4A4SD3.5-Large CFG 4.5Native0.3940.67416.2420.3860.65315.898
+ GCBT0.378 [0.011, 0.021]0.690 [0.013, 0.019]16.385 [0.042, 0.243]0.371 [0.010, 0.020]0.667 [0.011, 0.018]16.018 [0.031, 0.211]

Table 2. Quantitative evaluation of image-generation fidelity on MJHQ and sDCI (n=256n = 256). For each +GCBT row, the second line reports the pointwise paired 95% confidence interval of improvement (Native minus GCBT for LPIPS; GCBT minus Native for SSIM and PSNR). Bold denotes gains whose paired interval lies entirely above zero. Large-scale validation

As shown in Table 7, the paired intervals are entirely favorable for LPIPS and SSIM on both datasets, whereas the PSNR intervals overlap zero. These statistics provide the paired uncertainty estimates underlying the significance annotations in Table 1.

DatasetLPIPS reduction ↑ΔSSIM ↑ΔPSNR (dB) ↑
MJHQ2.97% [2.17, 3.78]%+0.0107 [0.0079, 0.0135]+0.093 [−0.005, 0.190]
sDCI2.47% [1.71, 3.23]%+0.0104 [0.0077, 0.0132]+0.073 [−0.017, 0.169]

Table 7. Paired effects of GCBT after CFG-aware calibration. Positive values favor GCBT. LPIPS reports relative reduction, while SSIM and PSNR report absolute paired improvements. Brackets denote paired 95% confidence intervals.

Additional Statistics for Branch-Basis Ablation

Table 8 provides the statistical details underlying the branch-basis ablation in Table 4. All variants are evaluated on the same 256 MJHQ prompts with identical generation seeds, enabling paired prompt-level comparisons. We report bootstrap 95% confidence intervals from 10,000 prompt-level resamples for both the absolute metric means and the paired improvements between basis choices.

(a) Absolute metrics: mean [95% CI]
BasisLPIPS ↓SSIM ↑PSNR ↑
Native0.327 [0.315, 0.338]0.651 [0.638, 0.664]17.472 [17.150, 17.805]
Guidance0.315 [0.303, 0.327]0.678 [0.664, 0.691]17.707 [17.378, 18.044]
GCBT0.296 [0.284, 0.308]0.695 [0.682, 0.708]17.917 [17.584, 18.256]
(b) Paired improvements: mean [95% CI]
Candidate vs. referenceLPIPS reduction ↑SSIM gain ↑PSNR gain ↑
Guidance vs. Native+0.012 [0.004, 0.020]+0.027 [0.021, 0.032]+0.236 [0.069, 0.406]
GCBT vs. Native+0.031 [0.024, 0.038]+0.044 [0.039, 0.050]+0.445 [0.287, 0.607]
GCBT vs. Guidance+0.019 [0.014, 0.024]+0.017 [0.014, 0.020]+0.209 [0.104, 0.307]

Table 8. Additional statistics for branch-basis ablation. Evaluated on PixArt-Σ\Sigma (SVDQuant W4A4, CFG s=4.5s = 4.5) on MJHQ (n=256n = 256). Panel (a) reports absolute metric means with 95% CIs. Panel (b) reports paired improvements over the reference (positive values indicate improvement).

The paired analysis supports the stepwise pattern observed in the main text. Guidance alignment significantly improves over Native in LPIPS, SSIM, and PSNR, and GCBT provides a further statistically supported improvement over the guidance-aligned basis on all three metrics. Consequently, the full GCBT–Native comparison is also favorable throughout. We base these comparisons on the paired intervals in Table 8(b), rather than overlap between the marginal confidence intervals of the absolute means in panel (a).

Full Experimental Protocol & Details

Image generation. PixArt-Σ and SANA-1.6B are evaluated at 1024 ×\times 1024 resolution with 20 sampling steps and CFG=4.5CFG = 4.5. Both use the second-order DPM-Solver++ scheduler packaged with their respective checkpoints; PixArt-Σ uses epsilon prediction, whereas SANA uses flow prediction. SD3.5-Large is evaluated at 1024 ×\times 1024 resolution with 28 steps and CFG=4.5CFG = 4.5, using its checkpoint-provided FlowMatch Euler scheduler with shift =3= 3. We use the official non-distilled checkpoints and fixed, empty negative prompts. Within each model, the full-precision reference, native quantized host, and GCBT use identical prompts, generation seeds, samplers, and generation settings.

Video generation. Wan2.1-T2V-1.3B and Wan2.1-T2V-14B generate 832 ×\times 480 videos with 81 frames at 16 FPS, using 50 FlowUniPC steps and CFG=5CFG = 5; their flow shifts are 8 and 5, respectively. CogVideoX-2B generates 720 ×\times 480 videos with 49 frames at 8 FPS, using 50 steps of its checkpoint-provided CogVideoX DDIM scheduler and CFG=6CFG = 6, with dynamic CFG disabled. OpenSora v1.2 generates 512 ×\times 512 videos with 64 frames at 24 FPS, using 30 rectified-flow steps, timestep transformation, and CFG=7CFG = 7; its text preprocessing uses an AES score of 6.5. We use non-distilled checkpoints with active two-branch CFG throughout. For each model, the full-precision reference and both quantized variants share the prompt, generation seed, resolution, frame count, frame rate, and sampling configuration.

Table 9: Paired confidence intervals for video-generation metrics on the fixed n=256n = 256 VBench subset. Each +GCBT cell reports the absolute mean, followed by the pointwise paired 95% confidence interval of improvement: Native minus GCBT for LPIPS, and GCBT minus Native for all other metrics. Positive values favor GCBT. Bold marks favorable intervals excluding zero. The intervals describe paired differences, not uncertainty intervals around the absolute means.

PTQ HostModelMethodLPIPS ↓SSIM ↑PSNR ↑S.C. ↑A.Q. ↑I.Q. ↑
OrbitQuant W4A4Wan2.1-T2V-1.3B CFG 5Native0.5450.49712.8710.9570.5270.672
OrbitQuant W4A4Wan2.1-T2V-1.3B CFG 5+ GCBT0.504 [0.036070, 0.046001]0.518 [0.017282, 0.025529]12.965 [0.017197, 0.179532]0.975 [0.017177, 0.020618]0.584 [0.051873, 0.063167]0.675 [−0.002505, 0.007421]
OrbitQuant W4A4CogVideoX-2B CFG 6Native0.4270.63917.4740.9270.4940.593
OrbitQuant W4A4CogVideoX-2B CFG 6+ GCBT0.390 [0.030245, 0.044470]0.649 [0.004370, 0.015454]17.554 [−0.093723, 0.251918]0.937 [0.007323, 0.011380]0.525 [0.026006, 0.036021]0.606 [0.005985, 0.018786]
ViDiT-Q W4A8-MPOpenSora v1.2 CFG 7Native0.5440.54013.8710.9350.4550.490
ViDiT-Q W4A8-MPOpenSora v1.2 CFG 7+ GCBT0.541 [0.001084, 0.003664]0.542 [0.001102, 0.003845]13.891 [−0.014214, 0.059996]0.938 [0.000561, 0.004034]0.459 [0.000861, 0.007971]0.493 [−0.000222, 0.006053]
Large-scale validation
OrbitQuant port W4A4Wan2.1-T2V-14B CFG 5Native0.4310.59015.0210.9710.5880.704
OrbitQuant port W4A4Wan2.1-T2V-14B CFG 5+ GCBT0.413 [0.013673, 0.022822]0.601 [0.007352, 0.015371]15.029 [−0.088516, 0.103788]0.976 [0.003256, 0.006483]0.607 [0.014723, 0.023360]0.703 [−0.003987, 0.002373]

Table 9. Paired confidence intervals for video-generation metrics on the fixed n=256n = 256 VBench subset. Each +GCBT cell reports the absolute mean, followed by the pointwise paired 95% confidence interval of improvement: Native minus GCBT for LPIPS, and GCBT minus Native for all other metrics. Positive values favor GCBT. Bold marks favorable intervals excluding zero. The intervals describe paired differences, not uncertainty intervals around the absolute means.

Paired evaluation protocol. For video, we use a fixed n=256n = 256 subset of VBench [8], stratified by category. Prompt subsets and generation seeds are fixed once and reused for the full-precision reference, Host PTQ, and Host+GCBT. Within each paired comparison, the checkpoint, host configuration, bitwidth, CFG scale, sampling steps, resolution, and generation seed are identical; only GCBT is changed. Framewise fidelity metrics are averaged within each clip, with prompts treated as the paired statistical units.

On the absolute LPIPS values for Wan. The relatively high BF16-referenced LPIPS on Wan is not specific to GCBT: it is already present in the OrbitQuant baseline. In video diffusion, quantization can shift the sampling trajectory enough to produce a different yet still prompt-consistent realization, making frame-aligned distance to a single BF16 sample large even when visual quality remains good. Figure 7 illustrates this behavior. Accordingly, we interpret LPIPS here as BF16-reference fidelity rather than standalone generation quality, and report VBench metrics alongside it.

Additional qualitative examples showing BF16, OrbitQuant, and + GCBT outputs for a couple resting on their home floor, a brown mountain during fall season, and a macro shot of a ladybug on a green leaf plant

Figure 7. Additional qualitative examples for the appendix. We show full-precision, native quantized, and GCBT outputs under the same prompts and generation settings.

Limitations

GCBT has several scope limitations. First, its closed-form optimality is derived under the equal-rate quantization-noise surrogate in § 4.3, which assumes that transformed-coordinate quantization error scales with projected second moments and neglects cross-coordinate error terms. The resulting rotation is therefore optimal for this surrogate, rather than being guaranteed to minimize the exact distortion of every host quantizer or end-to-end generation error.

Second, GCBT requires an explicit matched conditional–unconditional branch pair and is therefore directly applicable to inference pipelines with active two-branch CFG. We do not study distilled or single-pass guidance schemes, nor timestep-varying or dynamic CFG schedules.

Finally, our CFG-aware comparison uses a GAMP-inspired calibration that we implemented ourselves because no public implementation of GAMP is available. This experiment should therefore be interpreted as evidence that

Figure 8. More Examples of GCBT Generation

GCBT remains complementary to guided-output calibration, rather than as an official reproduction of GAMP; results with the original implementation may differ.

References

  1. [1]Ashkboos, S., Mohtashami, A., Croci, M. L., Li, B., Cameron, P., Jaggi, M., Alistarh, D., Hoefler, T., & Hensman, J. (2024). Quarot: Outlier-free 4-bit inference in rotated llms. Advances in Neural Information Processing Systems, 37, 100213–100240.
  2. [2]J. Chen, C. Ge, E. Xie, Y. Wu, L. Yao, X. Ren, Z. Wang, P. Luo, H. Lu, and Z. Li. Pixart-σ: Weak-to-strong training of diffusion transformer for 4k text-to-image generation. In European Conference on Computer Vision, pages 74–91. Springer, 2024.DOI
  3. [3]L. Chen, Y. Meng, C. Tang, X. Ma, J. Jiang, X. Wang, Z. Wang, and W. Zhu. Q-dit: Accurate post-training quantization for diffusion transformers. In 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 28306–28315. IEEE, 2025.arxiv.org/abs/2406.17343
  4. [4]Esser, P., Kulal, S., Blattmann, A., Entezari, R., Müller, J., Saini, H., Levi, Y., Lorenz, D., Sauer, A., Boesel, F., & al., . et . (2024). Scaling rectified flow transformers for high-resolution image synthesis. Forty-first International Conference on Machine Learning.
  5. [5]J. Ho and T. Salimans. Classifier-free diffusion guidance. arXiv preprint arXiv:2207.12598, 2022.arxiv.org/abs/2207.12598
  6. [8]Huang, Z., He, Y., Yu, J., Zhang, F., Si, C., Jiang, Y., Zhang, Y., Wu, T., Jin, Q., Chanpaisit, N., & al., . et . (2024). Vbench: Comprehensive benchmark suite for video generative models. 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 21807–21818.
  7. [9]Huynh-Thu, Q., & Ghanbari, M. (2008). Scope of validity of psnr in image/video quality assessment. Electronics Letters, 44, 800–801. https://doi.org/10.1049/el:20080522
  8. [10]D. Lee, J. Chavan, D. Nguyen, S. Huang, L. Jiang, P. Panda, T. Mertens, and S. Shukla. Orbitquant: Data-agnostic quantization for image and video diffusion transformers, 2026. URL https://arxiv.org/abs/2607.02461.
  9. [11]M. Li, Y. Lin, Z. Zhang, T. Cai, X. Li, J. Guo, E. Xie, C. Meng, J.-Y. Zhu, and S. Han. Svdquant: Absorbing outliers by low-rank component for 4-bit diffusion models. In Y. Yue, A. Garg, N. Peng, F. Sha, and R. Yu, editors, International Conference on Learning Representations, volume 2025, pages 97831–97858, 2025. URL https://proceedings.iclr.cc/paper_files/paper/2025/file/f34f0630c33be15b8c89426bb8056798-Paper-Conference.pdf.proceedings.iclr.cc/paper_files/paper/2025/file/f34f0630c33be15b8c89426bb8056798-Paper-Conference.pdf
  10. [12]X. Li, Y. Liu, L. Lian, H. Yang, Z. Dong, D. Kang, S. Zhang, and K. Keutzer. Q-diffusion: Quantizing diffusion models. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV), pages 17489–17499. IEEE, 2023.arxiv.org/abs/2302.04304
  11. [14]Z. Liu, C. Zhao, I. Fedorov, B. Soran, D. Choudhary, R. Krishnamoorthi, V. Chandra, Y. Tian, and T. Blankevoort. Spinquant: Llm quantization with learned rotations. In International Conference on Learning Representations, volume 2025, pages 92009–92032, 2025.arxiv.org/abs/2405.16406
  12. [15]A. Q. Nichol and P. Dhariwal. Improved denoising diffusion probabilistic models. In International conference on machine learning, pages 8162–8171. PMLR, 2021.arxiv.org/abs/2102.09672
  13. [16]W. Peebles and S. Xie. Scalable diffusion models with transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 4195–4205, 2023.arxiv.org/abs/2212.09748
  14. [17]Shafi, A. A., & Suma, S. R. (2026). Closing the null space: Guidance-aware quantization for classifier-free diffusion. In arXiv preprint. https://arxiv.org/abs/2607.08241
  15. [18]Shao, Y., Lin, D., Yan, M., Chen, S., Zeng, F., Liao, M., Ma, A., Yan, Z., Wang, H., Wang, Y., & al., . et . (2026). Tr-dq: Time-rotation diffusion quantization. Proceedings of the AAAI Conference on Artificial Intelligence, 40, 8869–8877.
  16. [19]J. Sohl-Dickstein, E. Weiss, N. Maheswaranathan, and S. Ganguli. Deep unsupervised learning using nonequilibrium thermodynamics. In International conference on machine learning, pages 2256–2265. pmlr, 2015.arxiv.org/abs/1503.03585
  17. [20]Y. Song, J. Sohl-Dickstein, D. P. Kingma, A. Kumar, S. Ermon, and B. Poole. Score-based generative modeling through stochastic differential equations. In International Conference on Learning Representations, 2021.
  18. [21]Y. Sun, R. Liu, H. Bai, H. Bao, K. Zhao, Y. Li, J. Hu, X. Yu, L. Hou, C. Yuan, X. Jiang, W. Liu, and J. Yao. FlatQuant: Flatness matters for LLM quantization. In A. Singh, M. Fazel, D. Hsu, S. Lacoste-Julien, F. Berkenkamp, T. Maharaj, K. Wagstaff, and J. Zhu, editors, Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 57587–57613. PMLR, 13–19 Jul 2025. URL https://proceedings.mlr.press/v267/sun25l.html.proceedings.mlr.press/v267/sun25l.html
  19. [22]Tseng, A., Chee, J., Sun, Q., Kuleshov, V., & De Sa, C. (2024). Quip#: Even better llm quantization with hadamard incoherence and lattice codebooks. Proceedings of Machine Learning Research, 235, 48630.
  20. [23]Wan, T., Wang, A., Ai, B., Wen, B., Mao, C., Xie, C.-W., Chen, D., Yu, F., Zhao, H., Yang, J., Zeng, J., Wang, J., Zhang, J., Zhou, J., Wan, J., Chen, J., Zhu, K., Zhao, K., Yan, L., … Liu, Z. (2025). Wan: Open and advanced large-scale video generative models. In arXiv preprint.
  21. [24]Z. Wang, A. Bovik, H. Sheikh, and E. Simoncelli. Image quality assessment: from error visibility to structural similarity. IEEE Transactions on Image Processing, 13(4):600–612, 2004. doi: 10.1109/TIP.2003.819861.DOI
  22. [25]E. Xie, J. Chen, J. Chen, H. Cai, H. Tang, Y. Lin, Z. Zhang, M. Li, L. Zhu, Y. Lu, and S. Han. Sana: Efficient high-resolution image synthesis with linear diffusion transformer, 2024. URL https://arxiv.org/abs/2410.10629.
  23. [26]Z. Yang, J. Teng, W. Zheng, M. Ding, S. Huang, J. Xu, Y. Yang, W. Hong, X. Zhang, G. Feng, D. Yin, Y. Zhang, W. Wang, Y. Cheng, B. Xu, X. Gu, Y. Dong, and J. Tang. Cogvideox: Text-to-video diffusion models with an expert transformer. In The Thirteenth International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=LQzN6TRFg9.openreview.net/forum?id=LQzN6TRFg9
  24. [27]R. Zhang, P. Isola, A. A. Efros, E. Shechtman, and O. Wang. The unreasonable effectiveness of deep features as a perceptual metric. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 586–595, 2018.arxiv.org/abs/1801.03924
  25. [28]T. Zhao, T. Fang, H. Huang, E. Liu, R. Wan, W. Soedarmadji, S. Li, Z. Lin, G. Dai, S. Yan, H. Yang, X. Ning, and Y. Wang. Vidit-q: Efficient and accurate quantization of diffusion transformers for image and video generation. In The Thirteenth International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=E1N1oxd63b.openreview.net/forum?id=E1N1oxd63b
  26. [29]Z. Zheng, X. Peng, T. Yang, C. Shen, S. Li, H. Liu, Y. Zhou, T. Li, and Y. You. Open-sora: Democratizing efficient video production for all. arXiv preprint arXiv:2412.20404, 2024.arxiv.org/abs/2412.20404

Paper details

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

views · 0

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