arXiv:2609.02224cs.CVSep 2026

Manuscript Offprint

arXiv:2609.02224

Signal or Noise? Auditing Rotation-Induced Saliency Drift in Medical and Aerial Imaging

Khawaja Murad ul Hassan, Mehran Ebrahimi

Abstract

Post-hoc saliency maps such as Grad-CAM are increasingly used to audit why a deployed vision model made a decision, yet the heatmap drifts when the input is rotated, even when the prediction is unchanged. In domains with no canonical orientation, such as histopathology and aerial imagery, this drift directly undermines using saliency as evidence. We take the drift itself as a question: when an explanation changes under rotation, is that faithful signal (the network genuinely attending elsewhere) or operator noise introduced by the CAM operator? We answer it by opening the operator and measuring equivariance at each of its stages, rather than inferring it from the network's output. The instability is not where one would guess: the channel weights are the most rotation-stable stage, and on ResNet-50 exactly stable, because a GAP+linear head makes the class gradient field spatially constant. What moves is the spatial activation tensor, and the classifier's own pooling discards that movement. A causal test confirms the consequence: occluding the pixels whose saliency drifts costs the model less than occluding random pixels, at either orientation. The drift is therefore carried by degrees of freedom the classifier throws away, which is what makes removing it faithful rather than destructive. EquiGrad-CAM is a training-free wrapper that takes T rotated views, inverse-rotates each view's saliency back to a common canonical frame, and averages, making a pretrained Grad-CAM (CNN or ViT) approximately rotationally equivariant. On the full ImageNet-1K validation set it raises equivariance over single-view Grad-CAM by +36.0% (ResNet-50), +87.5% (VGG-16), and +247% (ViT-B/16); a scale-matched ablation isolates canonical-frame alignment before averaging (not where the averaging happens) as the driver, with unaligned averaging falling to or below single-view Grad-CAM on the CNN backbones. Rotation augmentation during training only partially closes the gap and costs clean accuracy, whereas our wrapper needs no retraining. We demonstrate it as a saliency-auditing tool on two rotation-natural domains,

histopathology (PatchCamelyon) and aerial scene classification (RESISC45), where it produces rotation-consistent explanations training-free, and on zero-shot CLIP, where it lifts equivariance +145% while improving both faithfulness measures. Its by-product, PEUM (a per-image explanation-uncertainty score), needs no computation beyond the views the wrapper has already taken and turns into a review-budget triage rule: at a 10% inspection budget it surfaces 4.4× (aerial) and 2.8× (histopathology) more rotation-unstable explanations than random inspection, giving a human auditor a concrete place to look. Code is available at https://github.com/Khawaja-Murad/EquiGrad-CAM.

1. Introduction

Post-hoc saliency maps are increasingly used to audit deployed vision models, to check why a network made a decision before that decision is trusted in a safety- or compliance-critical setting [11, 15, 29]. Grad-CAM [29] is the default tool: one forward-backward pass yields a heatmap over the input. Yet Grad-CAM and its variants share a limitation that is fatal for auditing: the heatmap is conditioned on a single geometric configuration of the input. Rotate the image by 30° and the map changes qualitatively, often while the prediction does not.

This is not a corner case. In many high-value domains the input has no canonical orientation at all: a pathologist rotates a slide freely, and an aerial tile has no intrinsic “up.” There, two rotations of one image are equally valid views of the same evidence, so an explanation that changes between them cannot be used as evidence: the auditor has no principled way to decide which map to believe [11].

A question the drift itself poses. A natural objection precedes any fix: perhaps the map should change, because a rotated (partly out-of-distribution) input makes the network genuinely compute something different, and forcing consistency would hide a faithful change. We take this objection as our central question rather than an assumption. When an explanation drifts under rotation, is that faithful signal (the network attending elsewhere) or operator noise introduced by the CAM operator? We answer it empirically (§3): under rotation the network's internal representation is nearly stable (feature/logit cosine 0.90/0.85), the drift persists on the 74% of rotations that leave the prediction unchanged, and it is uncorrelated with confidence change, so the drift is mostly operator noise, and removing it recovers the explanation the model's own stable state already implies.

Removing the noise, training-free. Averaging over rotated views is the natural remedy, and is standard for predictions [18]. But the obvious instantiation (averaging the finished heatmaps, as multi-view saliency methods such as Augmented Score-CAM [19] do) is not enough, and on fragile backbones it degrades equivariance below the single-view baseline. The missing ingredient is alignment: each view's saliency must be inverse-rotated back to a common canonical frame before averaging, so that consistent evidence reinforces and operator noise cancels. EquiGrad-CAM does exactly this: T rotated views, each inverse-aligned, then averaged, as a training-free wrapper around any pretrained Grad-CAM, CNN or ViT. A scale-matched ablation (§6) shows that this canonical-frame alignment, not where the averaging happens (feature space vs. aligned output space, which are near-identical at full scale), is what drives the gain.

Auditing rotation-natural domains. We frame the wrapper as a saliency-auditing tool and demonstrate it where it matters most: two rotation-natural domains, histopathology (PatchCamelyon) and aerial scene classification (RESISC45) (§5). On both, single-view Grad-CAM drifts sharply under rotation, our wrapper produces rotation-consistent explanations without retraining, and its by-product PEUM (a per-image explanation-uncertainty score) ranks explanations by how reproducible they are, telling an auditor which maps not to trust unexamined.

References (37)