Distortion-to-Content Variance Ratios for Recovering Perceptual Similarity in Accurate Classifiers

Deep networks trained to classify images are widely used as rulers for visual quality: a perceptual metric compares two images by the distance between their internal activations. A known puzzle breaks this practice. Across 722 ImageNet models, Do better ImageNet classifiers assess perceptual similarity better? found that once top-1 accuracy passes a modest level, further accuracy gains hurt agreement with human similarity judgments (correlation −0.84). The best perceptual oracles in that study were deliberately weak networks: a 6-layer ResNet, or a ResNet-200 stopped before 5 epochs. The authors ruled out spatial-frequency sensitivity and class granularity, and left the mechanism open.

We propose a simple test of one explanation: accurate networks do not lose distortion-sensitive features, but bury them among many channels that respond to what is in the image rather than how well it is rendered. If so, a training-free filter should recover perceptual alignment from a fully trained network. The filter keeps a channel (one feature map of a convolutional layer) only if its activation changes much more when an image is degraded than when the image content changes. It needs unlabeled photographs and a few synthetic corruptions, and no human judgments. The contribution has two parts. The first is a diagnostic: does the share of content-dominated channels grow with accuracy, tracking Ding et al.'s inverse-U? The second is a practical metric that competes with human-calibrated ones.

Core Claim

For channel $c$ of a pretrained network, let $a_c(x)$ be its spatially averaged, unit-normalized activation on image $x$. Draw clean images $x_i$ and apply a corruption family $d$ at strengths $s$. We define the channel's distortion-to-content ratio as

$$R_c = \frac{\mathbb{E}_{i,d}\,\mathrm{Var}_s\big[a_c(d_s(x_i))\big]}{\mathbb{E}_{d,s}\,\mathrm{Var}_i\big[a_c(d_s(x_i))\big] + \epsilon},$$

where the numerator is the variance across corruption strengths for a fixed image, the denominator is the variance across images at a fixed corruption, and $\epsilon$ is a small constant for stability. Both terms use the same channel's units, so the ratio does not depend on activation scale. This removes one standard weakness of raw-variance filtering. We claim that an LPIPS-style distance computed only over the top-$k$ channels by $R_c$, with uniform weights, closes most of the perceptual-score gap between a fully trained deep classifier and its early-stopped counterpart. We also claim that the fraction of low-$R_c$ channels in late layers increases monotonically over training.

The closest existing uses of variance each select along a different axis, and none targets this question. Unsupervised Part-Based Weighting Aggregation of Deep Convolutional Features for Image Retrieval (PWA) keeps VGG16 channels with high variance across images, which improved Oxford5k retrieval to 79.1% mAP using 25 of 512 filters. That criterion rewards exactly the content-selective channels we expect to harm perceptual metrics. Our numerator/denominator split inverts part of it, and raw PWA-style selection becomes our key ablation. DR2S selects spatial patches by prediction variance across 140 cameras photographing fixed test charts. It motivates variance-across-degradation as a signal, but it works in image space and needs aligned captures. Adaptive Feature Selection for No-Reference Image Quality Assessment by Mitigating Semantic Noise Sensitivity (QFM-IQM) names the same failure, "semantic noise", and removes it with memory banks, adversarial consistency losses and distillation, trained on human opinion scores. We ask whether an unsupervised channel statistic does most of that work. Using Skew to Assess the Quality of GAN-generated Image Features uses PCA to shrink Inception features. PCA maximizes total variance and so mixes content and distortion directions, which is why it serves here as a baseline rather than a component.

Research Program

The first stage is measurement. We obtain a checkpoint trajectory for one architecture: a ResNet-50 retrained on ImageNet, with checkpoints saved every few epochs, so that accuracy and perceptual score both vary. We add several public fully trained models spanning families (ResNets, EfficientNets, ViTs). For each layer we compute $R_c$ from about 5,000 unlabeled ImageNet validation images. The corruption families are Gaussian blur, additive noise and JPEG at several strengths. We then relate the distribution of $R_c$ to BAPPS 2AFC score, where 2AFC means the fraction of triplets in which the metric agrees with the human choice of which distorted patch is closer to the reference.

The second stage is the metric. We keep the top-$k$ channels per layer by $R_c$, compute LPIPS-style normalized squared differences, and average them uniformly. The ratio uses only a handful of corruption families that overlap BAPPS's "traditional" distortions. We therefore treat leakage as a first-class risk. The main results use held-out evaluation: BAPPS's CNN-based, super-resolution and colorization splits, and the CLIC compression judgments, none of which the ratio's corruptions resemble.

The third stage is a variant in which sub-pixel translations are added to the denominator's nuisance variance. The prediction is that this lowers the 1-pixel rank-flip rate that Shift-Tolerant Perceptual Similarity Metric measured, without redesigning the backbone.

Baselines

The naive reference point is the unfiltered, uniformly weighted distance over all channels of the same fully trained network. Beating it by itself proves little, but it fixes the size of the gap. For context, The Unreasonable Effectiveness of Deep Features as a Perceptual Metric reports SSIM/FSIM near 63%, uncalibrated AlexNet/VGG at 67–69%, and a human agreement ceiling of 73.9%.

The strongest label-free competitor is simply to use a weak network. Ding et al. report Perceptual Score 70.2 for an early-stopped ResNet-200 and 69.1 for ResNet-6, against 68.9 for AlexNet and 67.0 for VGG. Our decisive success criterion is that a fully trained, high-accuracy network with $R_c$ filtering reaches at least 70.2 on the same BAPPS protocol with no human labels. That would show the perceptual capacity was present and masked, not destroyed.

The strongest supervised competitor is LPIPS with linear channel weights learned from BAPPS judgments. The file reports that it nears the human ceiling but gives no exact figure, so there is no reported result found on Lacuna for LPIPS-lin's exact 2AFC score, and we will re-run it. For fairness we train LPIPS-lin on the same backbone and layers with the same per-layer channel budget. We also run it at reduced label budgets (1%, 10%, 100% of BAPPS training judgments) so that the comparison measures label efficiency rather than asserting parity. Matching LPIPS-lin at 10% labels, or beating it on held-out CLIC, counts as a win. On CLIC the file reports 73.68% for LPIPS and 76.97% for the shift-tolerant metric. For robustness we compare against E-LPIPS, which reports 69.16% 2AFC.

The ablations isolate the key ingredient. The first is raw across-image variance as in PWA (content variance alone). The second is the numerator alone (distortion variance without normalization). The third is random channel subsets of equal size. The fourth is PCA to the same dimensionality. The fifth is an oracle best-single-layer choice. If the numerator alone matches the ratio, the "content masking" story is wrong even if the metric works.

Why not just…?

Why not just learn linear weights as LPIPS does? This is the real threat on in-distribution BAPPS, where learned weights will likely win. The argument for the ratio rests on label cost and transfer, not on beating supervision on its home data. QFM-IQM's evidence that naive supervised heads over-index on semantics under cross-dataset shift (LIVEFB→KonIQ SRCC 0.716 unaddressed vs 0.768 addressed) suggests learned weights may transfer poorly. The label-budget sweep and the held-out CLIC and CNN-distortion splits settle this directly. If LPIPS-lin at 1% labels dominates everywhere, we report the ratio as a diagnostic tool only.

Why not just use an earlier layer or an early-stopped network? Ding et al. already show that weak or shallow networks are good perceptual oracles, so a working metric is not new by itself. What is new is locating the damage at the channel level inside accurate models. The oracle best-layer baseline tests whether our selection is merely rediscovering "use shallower layers". The claim fails if best-layer matches top-$k$ ratio selection.

Why not just apply PCA or PWA-style variance selection? PCA maximizes total variance and PWA maximizes across-image variance. Both favor the content-selective channels we hypothesize are harmful. Both run as equal-budget ablations, and our hypothesis predicts they will score below random subsets on perceptual tasks while PWA stays better for retrieval. A crossover like that would be strong mechanistic evidence.

Why not just anti-alias the backbone for shift robustness? BlurPool redesign cuts LPIPS's 1-pixel flip rate from 2.81% to 0.57%, but it requires retraining and does nothing about the accuracy–perception trade-off. Our shift variant is judged on whether it approaches 0.57% without retraining. If it does not, we concede that point to architecture.

Proposed Experiments and Decisive Checks

The central experiment plots BAPPS 2AFC against ImageNet accuracy along the checkpoint trajectory under three conditions: unfiltered, $R_c$-filtered and PWA-filtered. The hypothesis predicts that the unfiltered curve reproduces the inverse-U, the filtered curve flattens it, and the late-training drop coincides with a rising fraction of low-$R_c$ channels.

A second check addresses leakage. We recompute $R_c$ using only noise and JPEG, then evaluate on blur-containing and CNN-distortion splits.

A third check measures robustness. We report the Shifted BAPPS rank-flip rate, and the LPIPS distance under $\ell_\infty = 0.05$ perturbations, where R-LPIPS reports 0.03–0.05 against LPIPS's 1.20–1.69 (R-LPIPS). This tests whether dropping low-ratio channels removes attack surface for free.

The proposal is falsified if $R_c$ filtering on fully trained models stays below the unfiltered early-stopped checkpoint on held-out splits, or if the numerator-only ablation matches the ratio.