Manuscript Offprint

arXiv:2608.21142

COEC: Calibrated Orthogonal-Equivalence Compensation for Structured Pruning of Large Language Models

Peiqi Yu, Nam Ling, Wei Wang, Wei Jiang

Abstract

Structured pruning reduces the size and inference cost of large language models (LLMs) by removing weight columns, but the resulting output error can degrade accuracy. Existing training-free compensation methods use an additive bias or a single orthogonal rotation on the output side of the retained weight. These corrections leave its input singular frame unchanged and therefore limit how the retained weight can adapt after column removal. We propose COEC (Calibrated Orthogonal-Equivalence Compensation), a training-free compensation framework that applies alternating left and right orthogonal rotations to the retained weight. The right rotation is optimized on a reduced Stiefel manifold, while singular values are rescaled using generalized cross-validation to select the regularization strength for each layer. COEC further tempers the calibration Gram matrix to reduce the dominance of high-energy activation directions and introduces an alignment penalty that preserves the geometric relation between adjacent attention projections. All components use second-order statistics from a small calibration set and require neither backpropagation through the LLM nor retraining of the model parameters. COEC is independent of the column pruning criterion and can be applied to multiple structured pruning methods. Experiments on the Llama-3, Llama-3.1, and Qwen2.5 model families across multiple structured sparsity levels show that COEC improves perplexity on every model and zero-shot accuracy in most settings over existing compensation methods, with larger gains at higher sparsity. These results show that post-pruning compensation can recover part of the performance lost to column removal.

1 Introduction

Large language models (LLMs) are increasingly deployed across a wide range of applications, yet their inference costs in computation and memory remain substantial. Common compression techniques include quantization (Frantar et al. 2023; Lin et al. 2026; Xiao et al. 2024), distillation (Hinton, Vinyals, and Dean 2015; Gu et al. 2026), and pruning (LeCun, Denker, and Solla 1989; Hassibi and Stork 1992). Among them, structured pruning removes parameters at the granularity of entire weight-matrix columns, including MLP neurons and attention key-value groups. This produces a smaller dense model with reduced parameter count, memory usage, and computational cost on standard hardware. Because retraining at LLM scale is expensive, structured pruning methods that preserve accuracy without additional training are particularly attractive.

A training-free structured pruning pipeline comprises two largely separable components: a selection rule that determines which columns to retain and a compensation mechanism that adjusts the retained weights to reduce the output error induced by pruning. Existing methods have primarily focused on selection, while treating compensation as secondary. Wanda-sp (Sun et al. 2024) extends Wanda's activation-aware importance score to column pruning but performs no compensation, leaving the output discrepancy caused by the removed columns uncorrected. FLAP (An et al. 2023) compensates for the mean error through an additive bias term. This approach is simple and effective at low sparsity, but a constant bias cannot correct input-dependent directional errors. Direct least-squares refitting of the retained weights can reduce calibration error, but with a limited calibration set it is prone to overfitting and may substantially distort the pretrained weights (Haruta et al. 2026). More recently, RCPU (Haruta et al. 2026) constrains compensation to an orthogonal rotation of the output space followed by global rescaling. This geometry-preserving formulation avoids the distortions introduced by unconstrained refitting and achieves state-of-the-art performance.

However, RCPU applies rotation only on the left. Let the singular value decomposition (SVD) of the retained weight be WK=UKΣKVK⊤W_K = U_K \Sigma_K V_K^\top. A left rotation QWKQW_K changes the output frame UKU_K while leaving the input frame VKV_K unchanged. This one-sided constraint is limiting because column pruning removes input coordinates and alters the correlation structure represented by the retained columns. Effective compensation must therefore recover, through the retained columns, the output contributions previously associated with the removed columns. Our analysis in Sec. 5.6 shows that pruning substantially rotates the input singular subspace across all examined layers, and neither left-sided rotation nor reconstruction-optimal compensation generally restores this subspace.

Motivated by these limitations, we propose COEC (Calibrated Orthogonal-Equivalence Compensation), a general post-pruning compensation framework designed as a universal plug-in (Fig. 1). COEC takes the retained set produced by any column-importance criterion and modifies only the retained weights. It can therefore be applied after existing structured pruning methods without changing their selection.

Copyright © 2027, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved.

Figure

Figure 1: Overview of COEC. Columns are pruned using an arbitrary importance score, and the retained weight WKW_K is compensated as W~=QℓWK(S)Qr\widetilde{W} = Q_\ell W_K^{(S)} Q_r. The left and right rotations adjust the output and input singular frames, while per-mode rescaling adapts the singular values. All updates use calibration statistics only, without LLM backpropagation or model retraining. The objective combines relative reconstruction error with an alignment penalty on the attention output projection.

rules or model architectures. Rather than refitting the retained weights through unconstrained least squares, COEC searches within a spectrum-preserving family that applies rotations on both sides and rescales individual singular modes. COEC alternates between a closed-form left rotation and an iterative right rotation optimized over a reduced Stiefel manifold. Because the right-rotation objective is coupled with the overall scale, the optimal scaling factor is recomputed at every iteration. COEC further replaces global rescaling with per-mode singular-value rescaling, with the regularization strength selected independently for each layer through closed-form generalized cross-validation. Two additional components improve the calibration objective and preserve inter-layer geometry. Spectral tempering of the calibration Gram matrix balances perplexity and zero-shot accuracy, while an alignment penalty anchored to the original input frame restores geometric relations between adjacent layers that reconstruction objectives alone fail to preserve. All components depend only on second-moment statistics estimated from a small calibration set and require neither backpropagation through the LLM nor retraining of the model parameters.

We evaluate COEC on the Llama-3, Llama-3.1, and Qwen2.5 model families across multiple structured sparsity levels. Under identical column selections, COEC improves perplexity on every model and zero-shot accuracy in most settings over existing compensation methods, with larger gains at higher pruning ratios. When applied to the column selections produced by Wanda-sp and FLAP, COEC recovers a substantial portion of the accuracy lost during pruning. Our main contributions are summarized as follows.

• We formulate post-pruning compensation as a two-sided spectrum-preserving update. We develop an alternating solver that combines a closed-form left rotation, a reduced-Stiefel right rotation with in-loop rescaling, per-mode rescaling selected by generalized cross-validation, spectral tempering, and an inter-layer alignment penalty. We isolate the effect of each component through ablation studies in Sec. 5.4.

• We design COEC as a criterion-agnostic compensation method that can be applied after any column-selection rule without changing the model architecture. We demonstrate this plug-in capability using the selections produced by Wanda-sp, FLAP, and RCPU in Sec. 5.2.

• We evaluate COEC under a unified protocol on the Llama-3, Llama-3.1, and Qwen2.5 model families across multiple structured sparsity levels. COEC improves perplexity on every model and zero-shot accuracy in most settings over Wanda-sp, FLAP, and RCPU in Sec. 5.2.