Skip to content
image-classification · wild OOD · Occlusion · Blur · Contrast · Invert · Noise WASM q8 · 97.32 MB License: Apache-2.0

Wild: OOD, Occlusion, Blur & Noisy Texture Stress Suite

Measure honest failure modes and Shannon entropy spikes in 88M-parameter Swin-Base. Probe in-domain photos and out-of-distribution inputs (flat planks texture, bar chart, glass refraction, night skyline) across 25% center occlusion, 4px Gaussian blur, 200% contrast, 100% color invert, sensor grain noise, and a synthetic checker OOD texture.

1 · OOD, occlusion & corruption stress suite

Initialising model loader…

transform: clean (224×224)

Baseline Top-1–
Stress Top-1–
Probability shift–
Target retention–
Peak entropy–
Top-1 rank flips–
Stress suite rank-flip, probability-shift & entropy-spike table
Perturbation Group Transform Top-1 prediction Prob shift Entropy (Δ) Retention Rank flip Latency
Run the 9-step stress suite to measure live confidence drops & entropy spikes.

2 · Top-5 ImageNet synset ambiguity audit

Selected reference photo for synset ambiguity audit

Inspecting the top-5 probability distribution distinguishes OOD uncertainty (flat entropy spike) from fine-grained ImageNet sibling synset competition.

Ambiguity verdict–
Top-1 vs Top-2 margin–
Top-5 mass–
Sibling synsets–
Top-5 runner-up synset competition vs Top-1
Rank Competing synset Probability Ratio to Top-1 Relation
Run clean baseline or any stress probe to audit top-5 ImageNet synset ambiguity.

See inside the code

Show the code — swin-base-core.mjs: evaluatePerturbation() & summarizeStressSuite()
Show the code — swin-base-client.js: renderPerturbedInput() (occlusion, noise, invert, synthetic OOD)

References