Correlated Fisher Pruning for One-Shot Edge Compression

When a trained network has to be shrunk to fit a phone or embedded board, the usual recipe scores each channel, meaning each output feature map of a layer, by how much the loss would rise if that channel alone were deleted. The cheapest channels are cut, and the network is then fine-tuned for many epochs to recover. That scoring has a blind spot. If two channels compute nearly the same feature, deleting either one alone costs little, but each still looks important as long as the other is also counted as present. A redundancy-blind score therefore either keeps both copies or, once one is gone, still values the survivor as if its twin were there. Fine-tuning usually hides this mistake. On edge deployments that have only a few hundred unlabeled images and no training budget, it does not.

We propose to score channels jointly with the Fisher information matrix. This matrix measures how sensitive the model's output distribution is to small changes in parameters. Here we compute it over per-channel mask variables rather than weights, and we keep its off-diagonal entries, which measure how much two channels substitute for each other in their effect on the output. Removing a set of channels then has a closed-form predicted cost: the loss increase that remains after the surviving channels have been optimally rescaled to absorb the removed ones. We pair this with measured device latency tables and a greedy removal procedure, which gives a one-shot, fine-tuning-free pruning method whose selection rule counts shared information only once. The central claim can be tested directly. In the regime of few samples and no retraining, keeping the Fisher cross-terms should beat both the diagonal Fisher score and Euclidean activation-reconstruction selection at matched measured latency. The advantage should be largest in layers where channels are strongly redundant.

What exists and where the gap is

Group Fisher Pruning supplies most of our machinery. It groups channels that must be pruned together (residual shortcuts, depthwise convolutions, feature pyramids) using a search over the computation graph. It scores each group by $\frac{1}{2}F_{ii}\,\Delta m_i^2$, where $F_{ii}$ is the squared gradient of the group's mask, and it normalizes by memory saved rather than FLOPs. Its score is strictly diagonal, so it cannot tell that two groups are redundant with each other. It also relies on multi-epoch fine-tuning. We reuse its grouping and its mask parameterization, and we replace its diagonal score with the full within-layer mask Fisher.

Several other pruning methods motivate the gap because they, too, score filters independently. HALP uses first-order Taylor saliency inside a knapsack over measured latency lookup tables. CAIE ranks filters by the ratio of loss increase to resource saved, projected onto several resource budgets at once. Dependency Aware Filter Pruning uses the heuristic $|\gamma|\cdot\|W^{l+1}\|$, which multiplies a channel's batch-normalization scale by the norm of its outgoing weights. We borrow HALP's latency tables and its grouping by hardware step, since latency on accelerators changes in staircase steps and not smoothly.

Two methods do model redundancy directly, and they are the real competitors. Structural Redundancy Reduction builds a graph over filters using Euclidean distance between weights to decide which layers are most redundant. It then prunes by weight magnitude, and its decisions depend on an arbitrary edge threshold. Data-Efficient Structured Pruning via Submodular Optimization greedily picks channels to minimize Euclidean reconstruction error of the next layer's activations. It uses 512 unlabeled images, a look-back scheme that matches activations against the unpruned network, and a least-squares reweighting of downstream weights. That paper is the closest prior work.

Our difference from it is specific. Euclidean reconstruction treats every direction of the next layer's activations as equally important. The Fisher criterion weights each direction by how much it moves the network's output distribution. A channel that is poorly reconstructed only in directions the classifier ignores should be cheap to remove. The submodular method, however, charges for it.

Three papers constrain the design. Trade-Offs of Diagonal Fisher Information Matrix Estimators shows two things we act on. The empirical Fisher, which uses true labels, is biased. The Hessian-based estimator requires networks that are twice differentiable, which ReLU networks are not. We therefore use the gradient outer-product estimator with labels sampled from the model's own predictions. This estimator is valid for ReLU networks and needs no labels, but it is noisy, and we treat that noise as a central risk.

A geometric modeling of Occam's razor in deep learning argues that the Fisher matrix of overparameterized networks is highly singular, with near-null directions corresponding to equivalent models. We read the near-null directions of the mask Fisher as exactly the redundancy we want to remove. We must, however, separate true rank deficiency from the rank limit imposed by estimating the matrix from only 512 samples. Finally, Gaussian Image Anomaly Detection with Greedy Eigencomponent Selection found that high-variance feature directions often carry nuisance signal rather than task signal. This is indirect support for preferring output-sensitivity weighting over variance-based or reconstruction-based weighting.

Core Claim

Let $m\in\mathbb{R}^C$ be multiplicative masks on the $C$ channel groups of a layer, all equal to 1 in the trained network. Let $F$ be the $C\times C$ Fisher matrix of the model's output distribution with respect to $m$. Removing a set $R$ of groups while freely rescaling the survivors $S$ gives a second-order predicted loss increase:

$$\Delta\mathcal{L}(R)\approx\tfrac{1}{2}\,\mathbf{1}_R^\top\big(F_{RR}-F_{RS}F_{SS}^{-1}F_{SR}\big)\mathbf{1}_R.$$

Here $\mathbf{1}_R$ is a vector of ones over the removed groups, and $F_{RR}$, $F_{RS}$ and $F_{SS}$ are the blocks of $F$ indexed by removed and surviving groups. The matrix in parentheses is the Schur complement of $F_{SS}$ in $F$. The optimal rescaling of the survivors is $\delta m_S=-F_{SS}^{-1}F_{SR}\mathbf{1}_R$, which we fold into batch-normalization scales at no inference cost.

When two groups are duplicates, the Schur complement term for removing one of them is near zero. The diagonal score, by contrast, still reports $\frac{1}{2}F_{ii}$. This is the whole mechanism. Everything else in the method is making it cheap, stable, and aware of latency.

Research Program

The first component is estimation. For each prunable layer or coupled group set, we accumulate $F$ from mask gradients on $N$ calibration images, with labels sampled from the model's softmax. Mask Fisher matrices are small, at most about $2048\times2048$ for ResNet-50, so storing and inverting one per layer is cheap. This is unlike weight-space Fisher.

With $N=512$ samples, however, the estimate $\hat F$ has rank at most 512. We therefore shrink it toward its diagonal and choose the shrinkage weight by held-out agreement between predicted and measured increases in the KL divergence between the pruned and original model outputs. We ignore Fisher blocks that cross layers. Instead, we borrow the submodular paper's look-back idea and re-estimate each layer's $F$ against the original network's outputs after upstream layers are pruned.

The second component is selection under a latency budget. Channel groups are bucketed into HALP-style hardware steps using lookup tables measured on each target device. We then run greedy backward elimination. Each step removes the bucket with the smallest increase in $\Delta\mathcal{L}(R)$ per millisecond saved, and we update $F_{SS}^{-1}$ with rank-one downdates so each step is cheap. Buckets from all layers compete in one global queue, which avoids fixing per-layer budgets by hand. A floor on per-layer width prevents a layer from collapsing entirely.

The third component is compensation. The default is rescaling by mask scalars, which is free. As a stronger variant, we apply the submodular paper's least-squares reweighting of downstream weights after our selection. This separates two questions that are otherwise tangled: which channels to keep, and how to repair the network after removal.

Baselines

The naive reference is uniform width scaling, which shrinks every layer by the same factor to hit the latency target, plus magnitude pruning. Neither pays attention to redundancy. Both are evaluated at the same measured latency, and our method must beat them clearly or the whole line is moot.

The first strong baseline is diagonal Group Fisher Pruning, which is exactly our method with the off-diagonal entries of $F$ set to zero. It shares our grouping, estimator, calibration set, latency buckets, and greedy solver. This is both the strongest Fisher competitor and the ablation that isolates our key ingredient.

We run diagonal GFP in two modes: one-shot, and iterative, where scores are recomputed after each removal but no fine-tuning is done. The iterative mode matters because recomputation partly accounts for redundancy on its own. For reference, Group Fisher Pruning reports a 1.79x speedup with only a 0.37% top-1 drop on ResNet-50 on ImageNet, but that result includes full fine-tuning. In the full fine-tuning regime we count parity with that number as a success, since our claim is about the regime without retraining.

The second strong baseline is the submodular structured pruning method with its look-back scheme and least-squares reweighting. We extend it with the same latency knapsack so it is not handicapped by being hardware-oblivious, and we run it on the same 512 unlabeled images. That paper reports only a qualitative advantage over ActGrad and LayerWeightNorm at 8x compression of VGG11 on CIFAR-10. We found no reported number on Lacuna for its accuracy at a fixed ratio, so we will reproduce it ourselves.

We also include the first-order saliency of HALP inside its own knapsack. HALP reports 1.60x throughput with a +0.3% top-1 change on ResNet-50, but that result uses distillation and fine-tuning, so we compare to it in the fine-tuned regime. Finally, we include the Euclidean redundancy graph from SRR, which reports a 0.37% top-1 drop at 44.1% FLOPs reduction on ResNet-50, again with fine-tuning.

All methods get identical calibration data and identical latency tables. Tuning is limited to the same number of held-out evaluations for their hyperparameters: shrinkage for us, and the threshold for SRR. Beating a baseline means higher top-1 accuracy at matched measured latency, averaged over three calibration-set seeds with non-overlapping standard deviations, at two or more latency targets.

Why not just…?

Why not just recompute diagonal Fisher scores after each removal? Once one copy of a duplicated channel is gone, the survivor's score rises. Iterative diagonal pruning therefore approximates our criterion, and this is a real threat. It does not, however, predict how the surviving channels should be rescaled. It also re-estimates from the same small sample at every step, which compounds noise. We run it as a named baseline. If it matches us in the one-shot regime at equal compute, the contribution shrinks to cost savings, and we will say so.

Why not just minimize activation reconstruction error as the submodular method does? Its Gram-matrix objective already captures correlation between channels, so it is the closest alternative. The difference is only the weighting of directions. We test that difference by holding everything else fixed: same greedy solver, same reweighting, same knapsack, with $F$ swapped for the activation Gram matrix. If output sensitivity does not matter, the two will tie. Our prediction is that they diverge most in late layers, where many activation directions do not affect the classifier's decision.

Why not just fine-tune after diagonal pruning and let training repair redundancy? With full ImageNet fine-tuning, the gap may well close. The GFP and HALP numbers above suggest that fine-tuned pipelines already lose very little accuracy. We therefore frame the claim around the regimes with zero or one epoch of fine-tuning, which match the few-sample, no-GPU setting targeted by edge work such as Compressing model with few class-imbalance samples. We report full fine-tuning only to show that nothing is lost.

Proposed Experiments

The first decisive check is synthetic. In a trained ResNet-56 on CIFAR-10, we clone 20% of channels in chosen layers and split each clone's outgoing weights so the function is unchanged. A correct redundancy-aware criterion should remove nearly all clones first at zero accuracy cost. Diagonal Fisher should not. We report the fraction of clones removed at each budget and the resulting accuracy.

The second check is calibration of the prediction itself. On held-out images, we measure the rank correlation between the predicted $\Delta\mathcal{L}(R)$ and the measured KL increase between pruned and original outputs, for random removal sets. We compare the Schur-complement prediction against the diagonal prediction and against the Euclidean reconstruction prediction, as a function of $N\in\{128,512,2048\}$. This is where estimation noise from the rank limit will show up if it dominates.

The main evaluation covers ImageNet with ResNet-50 and MobileNetV2, and CIFAR-10 with VGG11 and ResNet-56. Latency is measured on an embedded GPU board and on a mobile CPU through lookup tables built on each device. We plot accuracy-latency curves under one-shot, one-epoch, and full fine-tuning regimes. We also report calibration and selection wall-clock time on a CPU, since HALP's roughly 30-minute CPU solver sets the practical bar.

A detection transfer on COCO with Faster R-CNN tests whether the approach handles channels coupled through feature pyramids. GFP's reported 3x speedup with a 0.8% mAP drop after fine-tuning serves as the reference there.

The result that would falsify the proposal is the following. If, in the one-shot regime, Fisher selection is not better than activation-Gram selection when compensation is held equal, then the information-geometric weighting adds nothing beyond correlation modeling. We would report that finding directly.