Neural networks trained to detect the human fingerprint in climate data, meaning the spatial pattern of change driven by greenhouse gases and aerosols, now slightly beat linear regression on real weather snapshots. The open question is what they rely on to do it. The climate system also produces its own chaotic fluctuations, called internal variability, such as El Niño and multi-decadal ocean oscillations. These fluctuations can mimic or hide forced warming. A detector that partly reads El Niño as warming will be right on average and wrong in exactly the years that matter for policy. Standard explanation tools cannot answer this, because they explain one prediction at a time. The newer "global" tools, which describe a model's behaviour across a whole dataset, need counterfactual inputs, and in images these must be made by generative models that tangle concepts together.
Climate science already has what those tools lack. A large initial-condition ensemble runs one climate model many times under identical forcing, with only tiny differences in starting state. Two members on the same date share the forced signal exactly and differ only in internal variability. We propose to use these member differences as confound-free counterfactuals. From them we can measure how much of a neural detector's output is driven by internal variability, split that sensitivity across physical modes and unnamed latent directions, and test whether the audit predicts where the detector fails on the single real-world record. In short, the ensemble lets us ask of a black-box detector the question Hasselmann's optimal fingerprint asks of a linear one: does the detection direction avoid the noise?
Core Claim
A global audit of a climate detector should be computed on within-ensemble differences, not on raw anomalies. Raw anomalies mix forced trends into every "mode" index; the Atlantic multidecadal index, for example, itself trends under forcing. Member differences remove that trend by construction. Let $f$ be a detector that maps a daily field $x$ to an estimate of forced global warming. Let $x_{m,t}$ be member $m$ at date $t$. Define the detector's noise sensitivity as
$$ S(f) = \mathbb{E}_{t}\,\mathbb{E}_{m}\big[(f(x_{m,t}) - \bar f_t)^2\big], \qquad \bar f_t = \mathbb{E}_{m} f(x_{m,t}), $$
which is the spread of detector output across members at fixed forcing. An ideal fingerprint detector has $S=0$. For a linear detector $f(x)=w^\top x$, $S$ reduces exactly to $w^\top C_N w$, where $C_N$ is the internal-variability covariance. This is the quantity the optimal fingerprint minimises, and whose geometry Hu et al. verified in a laboratory spin system by showing the optimal direction points away from the noise ellipse. $S$ is therefore a nonlinear generalisation of a well-understood linear criterion, with a closed-form check available on linear models. The new part is decomposing $S$. We attribute the across-member output spread to concept directions in the detector's latent space, and each direction is estimated only from member differences.
Research Program
Motivation and constraints from prior work. ClimDetect trains vision transformers to map de-seasonalised daily fields to annual global mean temperature. It shows through a mean-removed ablation that they learn spatial contrasts, but it never asks which internal-variability patterns move their output. The Impact of Internal Variability on Benchmarking Deep Learning Climate Emulators shows deep emulators fit decadal noise when ensembles are small. It diagnoses this only through Fourier spectra and test error, not through the model's internal representation. Together these papers motivate the audit.
Methods we reuse. Three lines of global interpretability supply the tools. Concept vectors, as in TCAV, are linear directions in activation space that separate concept examples from others. Error-separating directions, as in Distilling Model Failures as Directions in Latent Space, use a linear classifier's normal vector to split correct predictions from errors. Global permutation importance, as in DEPICT, scores a concept by the performance drop when it is scrambled. All three were built for images, where counterfactuals must be synthesised. DEPICT's own limitation is that its diffusion generator entangles concepts; changing patient BMI alters lung opacity. We replace the generator with ensemble members, which are physically consistent by construction. On the Variability of Concept Activation Vectors constrains the design in two ways. We use difference-of-means directions, which it finds as stable as logistic regression and about 46 times cheaper. We also avoid sign-counting TCAV scores, which it shows can plateau because of samples near the decision boundary. We report variance fractions of $S$ instead.
What gets built. We build three components.
The first is a set of named mode directions. For El Niño, the Pacific decadal pattern and the Atlantic multidecadal pattern, we compute each mode index on member-difference fields. We then take the latent difference of means between strong positive and strong negative phases.
The second is a set of unnamed failure directions. Within member differences, we fit an error-separating linear classifier that splits members whose detector output lies far from $\bar f_t$ from members close to it. We repeat this after projecting out the named directions, so that errors spread over several submanifolds are not collapsed onto one axis. That collapse is the single-direction weakness Jain et al. acknowledge.
The third is a decomposition. We regress $f(x_{m,t})-\bar f_t$ on the member's projections onto all directions and report the fraction of $S$ each explains. We also run a permutation check: we swap one member's difference component along a direction with another member's, and measure the change in detector error.
Proposed Experiments
We train a masked-autoencoder detector and a ViT-b/16 detector on ClimDetect following its protocol, alongside its ridge regression baseline. The audit needs many members per model at daily resolution. ClimDetect's CMIP6 pool may not provide enough, and this must be checked before committing. If it does not, the audit set will be daily output from the MPI-ESM1.2-LR grand ensemble, the source of the 50-member Em-MPI benchmark, regridded to ClimDetect's 64×128 inputs. Emulators trained on ClimateBench and Em-MPI are a secondary target. For them we test whether the same decomposition explains the "complexity trap" at fewer than six members.
Four checks decide whether the method works.
The first is the linear closure test. On ridge, the empirical $S$ must match $w^\top C_N w$ computed from the ensemble.
The second is the planted-shortcut test. We retrain the detector on a subsample in which El Niño phase is deliberately correlated with the warming target, and on a second subsample with a synthetic dipole added to high-target members. The audit must rank the planted factor first. This mirrors DEPICT's synthetic ground-truth evaluation, and we report rank correlation with the known planted strength.
The third is external validity. The share of $S$ attributed to El Niño in simulation should predict the sign and size of the correlation between detector residuals and observed Niño 3.4 in ERA5, JRA-3Q and MERRA-2. We also test whether it predicts year-of-emergence shifts when strong El Niño years are withheld.
The fourth is an intervention. We fine-tune the detector with a penalty on $S$ along the discovered directions. We then test whether single-realization reanalysis error falls, and whether the gain exceeds that of penalising $S$ in all directions.
Baselines
The naive reference is averaged local saliency: Grad-CAM and integrated-gradient maps averaged over the test set and projected onto mode patterns. DEPICT reports that this kind of aggregation badly fails to recover known importance. Grad-CAM reached a Pearson correlation of 0.08 against oracle weights, versus 0.92 for DEPICT, on its synthetic benchmark. We run it on identical inputs and require the audit to beat it on the planted-shortcut rank correlation.
The strongest competitor is residual-on-index regression. This means regressing detector residuals, computed against the ensemble-mean target, on standard El Niño, Pacific and Atlantic indices computed from raw anomalies. It is cheap, physically legible, and what a climate scientist would do first. No reported result was found on Lacuna for this method on ClimDetect. It receives the same members, dates and index definitions. Our method beats it if it recovers the planted non-mode dipole, which index regression cannot see by design. It also beats it if it better predicts held-out reanalysis residuals, by out-of-sample $R^2$ of residual prediction with the same number of fitted directions.
The linear reference is ridge regression, the closest thing to an optimal fingerprint on this benchmark. ClimDetect reports ERA5 root-mean-square error of 0.0943°C for ridge versus 0.0921°C for the masked autoencoder. The audit asks whether the neural model's small accuracy gain comes with higher or lower $S$ than ridge.
The key ablation removes ensemble pairing. We compute the same concept directions and error-separating classifier on raw anomalies rather than member differences, which amounts to Jain et al.'s method applied directly. If the ablation matches the full method on the planted and external tests, ensemble contrast adds nothing. All variants use the same frozen detector, the same layer, and the same number of directions.
Why not just…?
Why not just regress detector errors on El Niño and decadal indices? This is the real threat, which is why it is the main baseline rather than a straw man. It will likely capture the El Niño share well. It fails in two identifiable places. Raw indices carry forced trends, so part of what they "explain" is signal, not noise; member differences remove this. And it cannot find failure patterns that match no named index. The planted-dipole test and the paired-versus-raw ablation settle both points. If index regression matches our audit on all four checks, we will report that the cheap method suffices.
Why not just use a linear optimal-fingerprint detector, which is interpretable by construction? For a linear model the audit is trivial, since $S = w^\top C_N w$. We keep ridge as a reference for exactly that reason. But neural detectors are already being preferred on ClimDetect, and nothing currently tells users whether their extra skill comes from the forced pattern or from correlated noise. The audit measures that directly, and if the neural gain turns out to be noise-driven, the conclusion favours the linear method.
Why not just train on ensemble means so the noise disappears? That removes noise from training targets, as Lütjens et al. show for emulators. A detector applied to observations still sees one noisy realization at inference. $S$ measures inference-time sensitivity, which target averaging does not remove. We verify this by auditing a detector trained against ensemble-mean targets and checking whether its $S$ is near zero.
Why not just average Grad-CAM maps? DEPICT's 0.08 versus 0.92 correlation, and its negative Grad-CAM correlation of −0.10 on COCO, are strong evidence that averaged saliency misattributes global importance. Our planted-shortcut test checks whether that failure carries over to climate fields.
Decisive Checks
The proposal fails if the paired audit does not beat residual-on-index regression and the unpaired ablation on the planted dipole. It also fails if simulated mode shares do not predict reanalysis residuals. It succeeds if it closes exactly on ridge, recovers planted shortcuts, and identifies directions whose penalisation lowers single-realization error on ERA5 beyond undirected penalisation.
References
- Experimental verification of the optimal fingerprint method for detecting climate change
- ClimDetect: A Benchmark Dataset for Climate Change Detection and Attribution
- The Impact of Internal Variability on Benchmarking Deep Learning Climate Emulators
- Interpretability Beyond Feature Attribution: Quantitative Testing with Concept Activation Vectors (TCAV)
- Distilling Model Failures as Directions in Latent Space
- DEPICT: Diffusion-Enabled Permutation Importance for Image Classification Tasks
- On the Variability of Concept Activation Vectors