What will our model see when the image changes?

We don’t know yet how fragile a confident classifier is. Clean accuracy alone cannot establish stability under RGB gain, Fourier amplitude mixing, or resolution reduction. Even a highly confident clean prediction can change after a mild transformation.

SAC-QUTAB compares paired EuroSAT RGB images across two models and three severities per transformation. ResNet-50 achieves 98.63% mean clean accuracy; under severe resolution reduction, ViT-Small/16 retains 43.00% accuracy versus 12.94% for ResNet-50.

27,000EuroSAT RGB source images
2 × 3model × training seeds
3 × 3transformation families × severities
4separate data partitions

A model can be highly accurate on untouched images and still behave very differently after changes in spectral appearance, texture statistics, or resolution. Confidence can stay high after a class switch. Internal features can move without a label change, and a label can change even when feature vectors remain relatively close.

Observed example from the paper01 / 03
Clean
Clean EuroSAT example used in the paper
HerbaceousVegetationp(max) = 0.999992
Mild RGB gain
Mild RGB-gain transformed EuroSAT example used in the paper
PermanentCropp(max) = 0.856258

Example 2 · ViT-Small/16 · seed 17. The clean prediction matches the dataset label; the mild RGB-gain version does not.

Archived research inputs from the paper, not generated illustrations.
01

Problem: clean accuracy can hide fragility.

The benchmark pairs each source image with a deterministic transformation. Keeping source identity fixed isolates the response to the change.

02

High confidence is not a guarantee of stability.

Four selected mild RGB-gain failures begin with clean confidence above 0.99 and then switch between PermanentCrop and HerbaceousVegetation. These cases illustrate the failure definition; they do not estimate prevalence.

03

Prediction stability and representation stability are different signals.

A model’s label, probability distribution, and internal feature vector can react on different scales. SAC-QUTAB therefore measures all three, rather than treating confidence as a complete diagnostic.

Why the problem matters

There is no single model ordering across the tested changes.

Clean final test accuracy
98.63%ResNet-5096.77%ViT-Small/16

On untouched final-test images, ResNet-50 has the higher mean accuracy under the executed training recipes.

Severe resolution accuracy
12.94%ResNet-5043.00%ViT-Small/16

Under the strongest tested resolution reduction, the ordering reverses.

The paper explicitly cautions that architecture is not isolated: pretraining recipes, learning rates, software, and training hardware differ.

Our proposed solution

Turn robustness into a paired, frozen, auditable experiment.

Instead of asking only “How accurate is the model?”, the study fixes source identity, applies prespecified transformations, measures several response channels, and freezes checkpoints, pair manifests, normalization references, and detectors before final evaluation.

01

Partition

Content-group split into training, validation, calibration, and final test.

16,200 · 4,050 · 2,700 · 4,050
02

Train

ResNet-50 and ViT-Small/16, each with seeds 17, 29, and 43.

6 frozen runs
03

Calibrate

Validation selects checkpoints and fits model/seed-specific control ECDFs; calibration fits nested failure detectors.

No final-test fitting
04

Freeze

Checkpoint digests, pairing policy, ECDF references, and detectors are fixed before final evaluation.

Protocol freeze
05

Evaluate

Three transformation families × three non-sham severities, plus identity shams, on each final-test source.

Paired outputs + representations
EuroSAT Industrial_42 source used for the three transformation story examples
RGB gainr = 0.05
Transformation 01

RGB gain

Each source receives a fixed three-channel gain direction. Severity scales the radius: 0.05, 0.10, 0.20. The operation probes sensitivity to RGB appearance; it is not a calibrated atmospheric or sensor model.

Transformation 02

Fourier amplitude mixing

The source keeps its phase while its full amplitude spectrum is convexly mixed with a deterministic same-label training donor at λ = 0.10, 0.25, 0.40. This is not target-domain adaptation.

Transformation 03

Resolution reduction

The native 64×64 image is downsampled to 48, 32, or 16 pixels per side, restored to 64×64, then passed through the common 224×224 preprocessing. Severe degradation can erase genuine class evidence.

Visual method explainer

One image. Three ways to change it.

01 / 03 · COLOR

RGB gain

RADIUSr = 0.05
Previous HerbaceousVegetation example from the paper
SOURCE 64 × 64
IMAGE × CHANNEL GAIN1× MIDLINE · ±10% SCALE
R / RED0.990×
G / GREEN0.980×
B / BLUE1.024×
FILTERED IMAGE · MUTED DISPLAYBARS SHOW GAIN CHANGE →
RGB gain output at r = 0.05
TRANSFORMED Mild
Fixed channel directionOnly the radius grows →
02 / 03 · TEXTURE

Fourier amplitude mixing

DONOR WEIGHTλ = 0.10
Previous HerbaceousVegetation example from the paper
SOURCE phase kept
AMPLITUDE SPECTRASAME-LABEL DONOR
Source tile Fourier amplitude spectrumAₛ
Same-label donor Fourier amplitude spectrumA_d
Amplitude spectrum mixed at λ = 0.10Aₘ
Magnitude of donor-amplitude contribution at λ = 0.10, on a scale shared across doses
DONOR CONTRIBUTION · FIXED SCALE|ΔA| = λ |A_d − Aₛ|

The source phase remains fixed. This view isolates the amplitude change even when the mixed image looks similar.

AMPLITUDE BLEND90% Aₛ + 10% A_d
SOURCE PHASE φₛ HELD FIXEDINVERSE FFT → IMAGE
Amplitude mixing output at λ = 0.10
MIXED Mild
Source phase stays fixedDonor amplitude grows →
03 / 03 · DETAIL

Resolution reduction

DOWN → RESTORE48 → 64 px
Previous HerbaceousVegetation example from the paper
SOURCE 64 × 64
64 PXRESTORED TO 64 PX
↓ BICUBIC48 px↑ RESTORE
Resolution reduction to 48 pixels restored to 64 pixels
RESTORED Mild
Fewer pixels sampledLost detail does not return →
About these images

This explainer restores the previous road-and-fields HerbaceousVegetation image (paper gallery example 5). The RGB direction stays fixed across doses and its channel tint is softened for display. The three operators are applied to a 64×64 reconstruction of that extracted image, with gallery example 3 as the illustrative same-label Fourier donor; these previews are not the paper's native image tensors or benchmark split. The Fourier spectra share a display scale; the donor-contribution maps use a separate fixed scale across doses. No model outcomes or new experimental results are shown here. The preceding transformation story uses a separate, authentic EuroSAT Industrial tile.

What the solution measures

Three response layers, one paired source.

A

Prediction

Did the predicted class stay the same? Did the transformed prediction remain correct against the source label?

L = 1[argmax p = argmax q]
B

Distribution

How did the full class-probability distribution move? Jensen–Shannon divergence captures redistribution even without a class switch.

J(p,q) = ½Dₖₗ(p‖m) + ½Dₖₗ(q‖m)m = (p + q)/2
C

Representation

How far did the feature vector move? Cosine dissimilarity is mapped to a model/seed-specific percentile using different-class validation controls.

U(D) = ECDF_control(D)
Failure for RQ3clean correct → transformed incorrect

Only clean-correct, non-sham pairs enter the detector task. This makes the detector an offline paired diagnostic, not a deployment monitor.

Finding 1 · prediction sensitivityResNet-50ViT-Small/16

Swipe the chart sideways to inspect every condition →

Finding 1

Sensitivity depends strongly on the transformation family.

Resolution reduction produces the largest deterioration on the tested dose grid. Under severe RGB gain and amplitude mixing, ResNet retains the higher mean accuracy; under resolution reduction, ViT retains more accuracy at all three tested levels.

Finding 2 · representation stabilityResNet-50ViT-Small/16

Swipe the chart sideways to inspect every condition →

Finding 2

Prediction stability and representation stability are not interchangeable.

Under severe RGB gain, the normalized representation displacement remains near the floor of the different-class control distribution, yet label consistency falls to 92.61% for ResNet and 86.77% for ViT. A feature vector can remain relatively close and still cross a decision boundary.

Finding 3 · failure discriminationResNet-50ViT-Small/16

Swipe the chart sideways to inspect every condition →

Finding 3

Representation displacement adds failure-discrimination signal.

Adding normalized representation instability to transformed uncertainty and entropy improves AP and AUROC in every model/seed comparison. Mean AP gains are 0.432 for ResNet and 0.402 for ViT.

Finding 4 · per-seed paired gainsResNet-50ViT-Small/16

Swipe the chart sideways to inspect every condition →

Finding 4 · uncertainty

The paired gains remain positive in every reported per-seed interval.

The paper uses 2,000 source-group bootstrap replicates. The displayed intervals are conditional on each trained model and fitted detector and are not simultaneous-coverage intervals.

Class-wise view

A single mean hides substantial class variation.

Severe-condition label consistency is descriptive: each cell averages three seeds and includes all final-test sources in the class, including clean errors. No class-wise significance tests were performed.

Qualitative audit

Attention rollout is illustrative, not causal evidence.

The paper includes a corrected ViT attention rollout for the selected mild RGB-gain failure. Each map is min–max normalized separately, so color intensity cannot be treated as an absolute clean-to-transformed difference.

ROLLOUT INPUT

Move the shared boundary to inspect the archived input and corrected rollout at the same image coordinates.

Archived clean input Corrected clean attention rollout, individually normalized
CleanOriginal input · corrected rollout
Archived mild RGB-gain input Corrected mild RGB-gain attention rollout, individually normalized
Mild RGB gainOriginal input · corrected rollout

Read spatial locations, not absolute brightness: the clean and transformed rollout maps were normalized independently. The wipe is a visual comparison of archived PNGs, not a recalculation of attention.

All four images are extracted directly from the paper’s archived figure assets.

What this study establishes and what remains untested

The evidence is strong inside the frozen benchmark, but deliberately bounded.

No human semantic-preservation review

Failures are measured against original EuroSAT labels. A transformation may remove or alter information needed for that label.

Architecture is not isolated

Pretraining recipe, learning rate, software, representation dimension, and training hardware differ between the two executed model variants.

One RGB benchmark

Content grouping controls the defined duplicate relationships, but there is no independent geographic, seasonal, multispectral, or external-domain evaluation.

Three seeds

Source-group bootstraps quantify finite-source variation conditional on trained runs; they do not create evidence from additional training outcomes.

Detector is an offline paired diagnostic

It requires a clean reference image and does not establish deployment thresholds, false-alarm rates, calibrated failure probabilities, or shift robustness.

Richer output baselines remain open

The specified baseline uses transformed uncertainty and entropy. Full probability-vector differences and clean/transformed JS were not included in that detector comparison.

Data provenance

No synthetic research results were added to this website.

Every empirical number and chart is rendered from values reported in the SAC-QUTAB paper. The scroll animations, layout, and decorative transitions are explanatory design only; they are not additional experimental evidence.

Hugging Face GitHub

Open Source · MIT Research conducted by Khôra Continuum