Papers
Topics
Authors
Recent
Search
2000 character limit reached

Activation Decomposition via QUAD

Updated 14 May 2026
  • Activation Decomposition via QUAD is a quantization framework that enhances large language model performance by isolating energetic activation outliers using SVD.
  • It employs efficient calibration and a single matrix pass to capture principal activation directions for optimal quantization.
  • The method enables parameter-efficient fine-tuning by updating only a small full-precision submatrix, achieving near-baseline accuracy.

Activation Decomposition via QUAD is a quantization framework for LLMs that addresses the inherent challenge of activation outliers degrading quantization effectiveness, particularly in medium-scale architectures. QUAD—Quantization with Activation Decomposition—incorporates singular value decomposition (SVD) to orthogonally transform the activation space, enabling the isolation and full-precision retention of energetically-dominant (outlier) dimensions, while the remainder of activations and associated weights are quantized to 4 bits. The methodology also introduces a parameter-efficient fine-tuning paradigm wherein only a small submatrix corresponding to outlier weights is adapted. This approach achieves near-lossless quantization accuracy and efficient model adaptation with minimal resource overhead (Hu et al., 25 Mar 2025).

1. Background and Motivation

LLMs exhibit a significant challenge for efficient deployment due to their scale-induced computational and memory costs. While post-training quantization provides a pathway to reduce these costs, prevalent strategies—such as uniform 4-bit quantization of both weights and activations (W4A4)—are hampered by the presence of rare yet substantial activation outliers. Standard quantization techniques lead to sharp accuracy degradation in medium-scale models (e.g., Llama-3-8B), manifesting as up to 6% reductions relative to FP16 baselines. These effects are attributed to the inadequate representation of energetic activation modes in low-bit quantization, motivating activation decomposition as a means to decouple and treat outliers distinctly (Hu et al., 25 Mar 2025).

2. Activation Decomposition via Singular Value Decomposition

Let ARB×CA \in \mathbb{R}^{B \times C} denote layer activations, where BB is batch size multiplied by sequence length, and CC is hidden dimension. QUAD applies a thin SVD: A=UΣVA = U \Sigma V^\top where URB×CU \in \mathbb{R}^{B \times C}, Σ=diag(σ1,,σC)\Sigma = \operatorname{diag}(\sigma_1, \dots, \sigma_C), VRC×CV \in \mathbb{R}^{C \times C}, with singular values σ1σ2σC\sigma_1 \geq \sigma_2 \geq \dots \geq \sigma_C. The top-rr right singular vectors Vr=[v1,,vr]RC×rV_r = [v_1, \dots, v_r] \in \mathbb{R}^{C \times r} capture principal activation directions. The orthogonal complement is defined as BB0. An orthogonal transformation matrix BB1 is constructed: BB2 This transform BB3 isolates outlier information in the first BB4 dimensions and preserves isometry (BB5), ensuring no expressivity loss.

3. Offline Calibration of Principal Activation Subspace

To extract the top singular vectors required for activation decomposition, QUAD aggregates second-moment activation statistics using a modest calibration set. The methodology performs, for each calibration sample, an accumulation BB6. SVD is then computed on BB7 to obtain principal singular vectors BB8. The procedure is efficiently implemented in a single matrix pass. The exact pseudocode outlined in QUAD specifies:

URB×CU \in \mathbb{R}^{B \times C}3

The resulting BB9 transforms incoming activations at inference.

4. Activation and Weight Quantization with Outlier Isolation

During inference, activations are projected as CC0. This is partitioned: CC1 The outlier dimensions CC2 are retained in FP16, while the remaining CC3 dimensions are quantized to 4-bit integers using per-token symmetric rounding-to-nearest (RTN): CC4 with CC5 and CC6. The corresponding rows of the weight matrix are quantized with GPTQ for the CC7 quantized dimensions; the CC8 outlier rows remain FP16.

5. Parameter-Efficient Fine-Tuning of Outlier Weights

Fine-tuning in QUAD is parameter-efficient: only the small full-precision submatrix CC9, corresponding to outlier directions in each A=UΣVA = U \Sigma V^\top0-type layer, plus any learned per-row scales A=UΣVA = U \Sigma V^\top1, are updated. All quantized parameters A=UΣVA = U \Sigma V^\top2 remain frozen. Adaptation minimizes the cross-entropy loss:

A=UΣVA = U \Sigma V^\top3

Gradients A=UΣVA = U \Sigma V^\top4 are computed via the straight-through estimator to bypass quantization non-differentiability, followed by standard SGD/Adam updates: A=UΣVA = U \Sigma V^\top5 Proposition 4.3 in the source demonstrates that adapting A=UΣVA = U \Sigma V^\top6 is a sub-optimal but effective adapter for approximating full-model fine-tuning in stationary input distributions (Hu et al., 25 Mar 2025).

6. Empirical Results and Quantitative Performance

QUAD achieves the following zero-shot average accuracies (relative to full-precision FP16 baseline) on Llama-3-8B and Qwen-2.5-7B:

Model Full FP16 QUAD W4A4 QUAD W4A4/A8 + Parameter-Efficient Tuning
Llama-3-8B 73.30 68.76 (93.8%) 70.71 (96.5%) 72.14 (98.4%)
Qwen-2.5-7B 71.95 69.00 (95.9%) 70.54 (98.0%) 72.40 (100.6%)

By decomposing activations and isolating outliers, QUAD enables 4-bit quantization for both weights and activations with at most a A=UΣVA = U \Sigma V^\top7 accuracy loss, recoverable to at least A=UΣVA = U \Sigma V^\top8 of baseline with efficient adapter-style tuning.

7. Theoretical Guarantees and Rationale

The QUAD scheme removes the top-A=UΣVA = U \Sigma V^\top9 singular components, which empirically shrinks the Frobenius norm URB×CU \in \mathbb{R}^{B \times C}0, reducing the upper bound on quantization error (by Proposition 4.1 in the source). The orthogonality of URB×CU \in \mathbb{R}^{B \times C}1 ensures the overall expressivity is preserved, avoiding representational loss. Fine-tuning exclusively URB×CU \in \mathbb{R}^{B \times C}2 focuses adaptation capacity into the most energetically significant directions, thus rendering small updates maximally effective (Hu et al., 25 Mar 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Activation Decomposition via QUAD.