Out-of-distribution (OoD) detectors, built on top of models trained on a single dataset (in-distribution, ID), should flag test-time inputs that don't belong to that distribution. Spike-like models replace standard...
Model source
Source excerpt
Out-of-distribution (OoD) detectors, built on top of models trained on a single dataset (in-distribution, ID), should flag test-time inputs that don't belong to that distribution. Spike-like models replace standard...
Sources
1 sourceVerified Aug 5
Model artifacts
64 artifactsSource excerpts
2 excerptsresnet10-cifar10/cross-entropy-baseline/T1_E1_S2020/model.safetensors
safetensors · 18.7 MB · SHA-256 05245e6d46c1…3269 · Hugging Face
Downloadresnet10-cifar10/cross-entropy-baseline/T1_E1_S2024/model.safetensors
safetensors · 18.7 MB · SHA-256 2256bf3229a5…1f0f · Hugging Face
Downloadresnet10-cifar10/cross-entropy-baseline/T1_E1_S42/model.safetensors
safetensors · 18.7 MB · SHA-256 82364cb1f3c9…a4b6 · Hugging Face
Downloadresnet10-cifar10/cross-entropy-baseline/T1_E10_S1987/model.safetensors
safetensors · 18.9 MB · SHA-256 22f80123bc1c…9d78 · Hugging Face
Downloadresnet10-cifar10/cross-entropy-baseline/T1_E10_S1991/model.safetensors
safetensors · 18.9 MB · SHA-256 9011c7d21d45…05d2 · Hugging Face
Downloadresnet10-cifar10/cross-entropy-baseline/T1_E10_S2020/model.safetensors
safetensors · 18.9 MB · SHA-256 2984ab533e62…8f05 · Hugging Face
Downloadresnet10-cifar10/cross-entropy-baseline/T1_E10_S2024/model.safetensors
safetensors · 18.9 MB · SHA-256 3a3e43089bef…8e2c · Hugging Face
Downloadresnet10-cifar10/cross-entropy-baseline/T1_E10_S42/model.safetensors
safetensors · 18.9 MB · SHA-256 4f8b72c51d34…1bcc · Hugging Face
Downloadresnet10-cifar10/cross-entropy-baseline/T1_E25_S1987/model.safetensors
safetensors · 19.2 MB · SHA-256 7d26ecf6bb85…ea3f · Hugging Face
Downloadresnet10-cifar10/cross-entropy-baseline/T1_E25_S1991/model.safetensors
safetensors · 19.2 MB · SHA-256 0329cb1cabbc…f19b · Hugging Face
Downloadresnet10-cifar10/cross-entropy-baseline/T1_E25_S2020/model.safetensors
safetensors · 19.2 MB · SHA-256 9c35d5230f99…4759 · Hugging Face
Downloadresnet10-cifar10/cross-entropy-baseline/T1_E25_S2024/model.safetensors
safetensors · 19.2 MB · SHA-256 d7f92e5a3000…f36a · Hugging Face
Downloadresnet10-cifar10/cross-entropy-baseline/T1_E25_S42/model.safetensors
safetensors · 19.2 MB · SHA-256 859e067cc5cb…432f · Hugging Face
Downloadresnet10-cifar10/cross-entropy-baseline/T1_E5_S1987/model.safetensors
safetensors · 18.8 MB · SHA-256 4c8a0f71a149…588d · Hugging Face
Downloadresnet10-cifar10/cross-entropy-baseline/T1_E5_S1991/model.safetensors
safetensors · 18.8 MB · SHA-256 6529d2bf3c87…fd04 · Hugging Face
Downloadresnet10-cifar10/cross-entropy-baseline/T1_E5_S2020/model.safetensors
safetensors · 18.8 MB · SHA-256 204740356df6…a36c · Hugging Face
Downloadresnet10-cifar10/cross-entropy-baseline/T1_E5_S2024/model.safetensors
safetensors · 18.8 MB · SHA-256 8267a470d016…52ae · Hugging Face
Downloadresnet10-cifar10/cross-entropy-baseline/T1_E5_S42/model.safetensors
safetensors · 18.8 MB · SHA-256 2d9ebbc2f781…5342 · Hugging Face
Downloadresnet10-cifar10/cross-entropy-baseline/T1_E50_S1987/model.safetensors
safetensors · 19.7 MB · SHA-256 a23ce6f1dbf5…ad9d · Hugging Face
Downloadresnet10-cifar10/cross-entropy-baseline/T1_E50_S1991/model.safetensors
safetensors · 19.7 MB · SHA-256 77f74c546d37…dce6 · Hugging Face
Downloadresnet10-cifar10/cross-entropy-baseline/T1_E50_S2020/model.safetensors
safetensors · 19.7 MB · SHA-256 af9647f52b1e…ac5f · Hugging Face
Downloadresnet10-cifar10/cross-entropy-baseline/T1_E50_S2024/model.safetensors
safetensors · 19.7 MB · SHA-256 508b3aeb185e…984f · Hugging Face
Downloadresnet10-cifar10/cross-entropy-baseline/T1_E50_S42/model.safetensors
safetensors · 19.7 MB · SHA-256 b7418e256ad5…53d5 · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E1_S1987/model.safetensors
safetensors · 42.7 MB · SHA-256 a40bb8842d7a…51d4 · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E1_S1991/model.safetensors
safetensors · 42.7 MB · SHA-256 b90ffe8edc88…db3f · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E1_S2020/model.safetensors
safetensors · 42.7 MB · SHA-256 93f8211ada68…1681 · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E1_S2024/model.safetensors
safetensors · 42.7 MB · SHA-256 61f8bcdbf231…db0d · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E1_S42/model.safetensors
safetensors · 42.7 MB · SHA-256 e634868f1496…2624 · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E10_S1987/model.safetensors
safetensors · 42.8 MB · SHA-256 5215f91feadc…606c · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E10_S1991/model.safetensors
safetensors · 42.8 MB · SHA-256 c834411c7423…ca5d · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E10_S2020/model.safetensors
safetensors · 42.8 MB · SHA-256 ca1067164ad1…23ef · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E10_S2024/model.safetensors
safetensors · 42.8 MB · SHA-256 391df0b091d3…ca6c · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E10_S42/model.safetensors
safetensors · 42.8 MB · SHA-256 3c7d71f81c2d…befc · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E25_S1987/model.safetensors
safetensors · 43.1 MB · SHA-256 0c069c5d0219…e6a3 · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E25_S1991/model.safetensors
safetensors · 43.1 MB · SHA-256 b7dd6ee7785c…11ae · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E25_S2020/model.safetensors
safetensors · 43.1 MB · SHA-256 475213c1b721…fcea · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E25_S2024/model.safetensors
safetensors · 43.1 MB · SHA-256 40a3be1758e2…5d5b · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E25_S42/model.safetensors
safetensors · 43.1 MB · SHA-256 d287967a5064…d3b1 · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E5_S1987/model.safetensors
safetensors · 42.8 MB · SHA-256 3a6e48ec5e3b…2e87 · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E5_S1991/model.safetensors
safetensors · 42.8 MB · SHA-256 9140e2992318…430e · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E5_S2020/model.safetensors
safetensors · 42.8 MB · SHA-256 2ad94e14a3e2…902d · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E5_S2024/model.safetensors
safetensors · 42.8 MB · SHA-256 1e43569e986e…4ccb · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E5_S42/model.safetensors
safetensors · 42.8 MB · SHA-256 d5cb23a2d2ef…34b1 · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E50_S1987/model.safetensors
safetensors · 43.6 MB · SHA-256 811f020bf9e8…5386 · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E50_S1991/model.safetensors
safetensors · 43.6 MB · SHA-256 02f73432fbef…c61f · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E50_S2020/model.safetensors
safetensors · 43.6 MB · SHA-256 1a81387d6655…3bd3 · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E50_S2024/model.safetensors
safetensors · 43.6 MB · SHA-256 789afe10519a…3bac · Hugging Face
Downloadresnet18-cifar10/cross-entropy-baseline/T1_E50_S42/model.safetensors
safetensors · 43.6 MB · SHA-256 ddf753528ba7…9472 · Hugging Face
Downloadresnet4-cifar10/cross-entropy-baseline/T1_E1_S1987/model.safetensors
safetensors · 21.7 MB · SHA-256 8e34bb09a343…0608 · Hugging Face
Downloadresnet4-cifar10/cross-entropy-baseline/T1_E1_S1991/model.safetensors
safetensors · 21.7 MB · SHA-256 4ca2b2f23584…0185 · Hugging Face
Downloadresnet4-cifar10/cross-entropy-baseline/T1_E1_S2020/model.safetensors
safetensors · 21.7 MB · SHA-256 ee0fe5a947b3…469f · Hugging Face
Downloadresnet4-cifar10/cross-entropy-baseline/T1_E1_S2024/model.safetensors
safetensors · 21.7 MB · SHA-256 a306d9f648fe…efaf · Hugging Face
Downloadresnet4-cifar10/cross-entropy-baseline/T1_E1_S42/model.safetensors
safetensors · 21.7 MB · SHA-256 86d67b855d3b…7d1f · Hugging Face
Downloadresnet4-cifar10/cross-entropy-baseline/T1_E10_S1987/model.safetensors
safetensors · 21.8 MB · SHA-256 878b44024ba0…7257 · Hugging Face
Downloadresnet4-cifar10/cross-entropy-baseline/T1_E10_S1991/model.safetensors
safetensors · 21.8 MB · SHA-256 8bc3ea41a020…353f · Hugging Face
Downloadresnet4-cifar10/cross-entropy-baseline/T1_E10_S2020/model.safetensors
safetensors · 21.8 MB · SHA-256 88cddf44631d…e090 · Hugging Face
Downloadresnet4-cifar10/cross-entropy-baseline/T1_E10_S2024/model.safetensors
safetensors · 21.8 MB · SHA-256 4f9852f07468…3d90 · Hugging Face
Downloadresnet4-cifar10/cross-entropy-baseline/T1_E10_S42/model.safetensors
safetensors · 21.8 MB · SHA-256 93642f7df376…b0d0 · Hugging Face
Downloadresnet4-cifar10/cross-entropy-baseline/T1_E25_S1987/model.safetensors
safetensors · 21.9 MB · SHA-256 7d125a20f4ad…407a · Hugging Face
Downloadresnet4-cifar10/cross-entropy-baseline/T1_E25_S1991/model.safetensors
safetensors · 21.9 MB · SHA-256 0468b59462ea…dcd9 · Hugging Face
Downloadresnet4-cifar10/cross-entropy-baseline/T1_E25_S2020/model.safetensors
safetensors · 21.9 MB · SHA-256 c88da4e779fb…d65f · Hugging Face
Downloadresnet4-cifar10/cross-entropy-baseline/T1_E25_S2024/model.safetensors
safetensors · 21.9 MB · SHA-256 905dc0200b9a…2191 · Hugging Face
Download--- license: mit tags: - pytorch - image-classification - spiking-neural-network - out-of-distribution-detection - cifar10 - cifar100 datasets: - cifar10 - cifar100 library_name: pytorch --- # SpikingResNet Out-of-distribution (OoD) detectors, built on top of models trained on a single dataset (in-distribution, ID), should flag test-time inputs that don't belong to that distribution. Spike-like models replace standard ReLU activations with leaky integrate-and-fire (LIF) neurons on conventional ResNet backbones, operating at a single inference time step to achieve binary spike activations and substantially reduced arithmetic complexity, while remaining competitive with full-precision CNN baselines on OpenOOD benchmarks. Full code: [https://github.com/Alex-TLR/spikingResNet](https://github.com/Alex-TLR/spikingResNet) ## About the OoD experiments Two difficulties are evaluated: **near-OoD** (a semantically similar dataset, e.g. CIFAR-100 against a CIFAR-10 model) and **far-OoD** (a very different one, e.g. SVHN/MNIST). Detectors are scored by **AUROC** (higher is better) and **FPR95** (false-positive rate at 95% true-positive rate, lower is better). The experiments conform to the [OpenOoD benchmark](https://zjysteven.github.io/OpenOOD/). ## How this repository is organized The code includes the inference-only pipeline, the OoD benchmarks, and one folder per model "family" (architecture + dataset). Within each family, checkpoints are grouped by experiment (loss function + training time steps), then by expansion/seed: ``` spikingresnet/ ├── code/ <- inference and OoD code ├── checkpoints.csv <- every checkpoint in this repo, one row each └── <family>/<experiment>/T<T>_E<E>_S<seed>/ ├── config.json └── model.safetensors ``` 495 checkpoints across 7 families: - [`resnet10-cifar10`](#resnet10-cifar10) -- CIFAR10, 25 checkpoints - [`resnet18-cifar10`](#resnet18-cifar10) -- CIFAR10, 25 checkpoints - [`resnet4-cifar10`](#resnet4-cifar10) -- CIFAR10, 25 checkpoints - [`spikingresnet4-cifar10`](#spikingresnet4-cifar10) -- CIFAR10, 75 checkpoints - [`spikingresnet10-cifar10`](#spikingresnet10-cifar10) -- CIFAR10, 75 checkpoints - [`spikingresnet18-cifar10`](#spikingresnet18-cifar10) -- CIFAR10, 150 checkpoints - [`spikingresnet18-cifar100`](#spikingresnet18-cifar100) -- CIFAR100, 120 checkpoints Every experiment sweeps all 5 seeds (42, 1987, 1991, 2020, 20...
Source context: 0 downloads · 0 likes · Pipeline image-classification · Library pytorch · Repo dsluga/spikingresnet