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:
|
| 8 |
+
- config_name: activation_maximization
|
| 9 |
+
features:
|
| 10 |
+
- name: model
|
| 11 |
+
dtype: string
|
| 12 |
+
- name: layer
|
| 13 |
+
dtype: string
|
| 14 |
+
- name: channel
|
| 15 |
+
dtype: int32
|
| 16 |
+
- name: neuron_id
|
| 17 |
+
dtype: string
|
| 18 |
+
- name: original_filename
|
| 19 |
+
dtype: string
|
| 20 |
+
- name: image
|
| 21 |
+
dtype: image
|
| 22 |
+
splits:
|
| 23 |
+
- name: train
|
| 24 |
+
num_bytes: 1408434214
|
| 25 |
+
num_examples: 5804
|
| 26 |
+
download_size: 2518344881
|
| 27 |
+
dataset_size: 1408434214
|
| 28 |
+
- config_name: dataset_examples
|
| 29 |
+
features:
|
| 30 |
+
- name: model
|
| 31 |
+
dtype: string
|
| 32 |
+
- name: layer
|
| 33 |
+
dtype: string
|
| 34 |
+
- name: channel
|
| 35 |
+
dtype: int32
|
| 36 |
+
- name: neuron_id
|
| 37 |
+
dtype: string
|
| 38 |
+
- name: rank
|
| 39 |
+
dtype: int16
|
| 40 |
+
- name: activation_score
|
| 41 |
+
dtype: float32
|
| 42 |
+
- name: source_image_id
|
| 43 |
+
dtype: string
|
| 44 |
+
- name: full_image
|
| 45 |
+
dtype: image
|
| 46 |
+
- name: crop_image
|
| 47 |
+
dtype: image
|
| 48 |
+
splits:
|
| 49 |
+
- name: conv2d0
|
| 50 |
+
num_bytes: 8843639
|
| 51 |
+
num_examples: 640
|
| 52 |
+
- name: conv2d1
|
| 53 |
+
num_bytes: 8867534
|
| 54 |
+
num_examples: 640
|
| 55 |
+
- name: conv2d2
|
| 56 |
+
num_bytes: 25732765
|
| 57 |
+
num_examples: 1920
|
| 58 |
+
- name: mixed3a
|
| 59 |
+
num_bytes: 34633461
|
| 60 |
+
num_examples: 2560
|
| 61 |
+
- name: mixed3b
|
| 62 |
+
num_bytes: 63885612
|
| 63 |
+
num_examples: 4800
|
| 64 |
+
- name: mixed4a
|
| 65 |
+
num_bytes: 64855685
|
| 66 |
+
num_examples: 5080
|
| 67 |
+
- name: mixed4b
|
| 68 |
+
num_bytes: 63178857
|
| 69 |
+
num_examples: 5120
|
| 70 |
+
- name: mixed4c
|
| 71 |
+
num_bytes: 63797176
|
| 72 |
+
num_examples: 5120
|
| 73 |
+
- name: mixed4d
|
| 74 |
+
num_bytes: 63804127
|
| 75 |
+
num_examples: 5280
|
| 76 |
+
- name: mixed4e
|
| 77 |
+
num_bytes: 97750616
|
| 78 |
+
num_examples: 8320
|
| 79 |
+
- name: mixed5a
|
| 80 |
+
num_bytes: 99572465
|
| 81 |
+
num_examples: 8320
|
| 82 |
+
- name: mixed5b
|
| 83 |
+
num_bytes: 122531881
|
| 84 |
+
num_examples: 10240
|
| 85 |
+
download_size: 726255360
|
| 86 |
+
dataset_size: 717453818
|
| 87 |
+
configs:
|
| 88 |
+
- config_name: activation_maximization
|
| 89 |
+
data_files:
|
| 90 |
+
- split: train
|
| 91 |
+
path: activation_maximization/train-*
|
| 92 |
+
- config_name: dataset_examples
|
| 93 |
+
data_files:
|
| 94 |
+
- split: conv2d0
|
| 95 |
+
path: dataset_examples/conv2d0-*
|
| 96 |
+
- split: conv2d1
|
| 97 |
+
path: dataset_examples/conv2d1-*
|
| 98 |
+
- split: conv2d2
|
| 99 |
+
path: dataset_examples/conv2d2-*
|
| 100 |
+
- split: mixed3a
|
| 101 |
+
path: dataset_examples/mixed3a-*
|
| 102 |
+
- split: mixed3b
|
| 103 |
+
path: dataset_examples/mixed3b-*
|
| 104 |
+
- split: mixed4a
|
| 105 |
+
path: dataset_examples/mixed4a-*
|
| 106 |
+
- split: mixed4b
|
| 107 |
+
path: dataset_examples/mixed4b-*
|
| 108 |
+
- split: mixed4c
|
| 109 |
+
path: dataset_examples/mixed4c-*
|
| 110 |
+
- split: mixed4d
|
| 111 |
+
path: dataset_examples/mixed4d-*
|
| 112 |
+
- split: mixed4e
|
| 113 |
+
path: dataset_examples/mixed4e-*
|
| 114 |
+
- split: mixed5a
|
| 115 |
+
path: dataset_examples/mixed5a-*
|
| 116 |
+
- split: mixed5b
|
| 117 |
+
path: dataset_examples/mixed5b-*
|
| 118 |
+
---
|
| 119 |
+
|
| 120 |
+
# Inception V1 Microscope Data
|
| 121 |
+
|
| 122 |
+
This dataset powers the [Inception V1
|
| 123 |
+
Microscope](https://huggingface.co/spaces/akankshanc/inception-v1-microscope),
|
| 124 |
+
an interactive interface for exploring visual features learned by individual
|
| 125 |
+
neurons in Inception V1.
|
| 126 |
+
|
| 127 |
+
It combines two complementary interpretability views:
|
| 128 |
+
|
| 129 |
+
1. **Activation maximization:** one synthesized visualization optimized to
|
| 130 |
+
strongly activate each neuron.
|
| 131 |
+
2. **Top dataset examples:** the ten ImageNet examples producing the strongest
|
| 132 |
+
recorded activations for each neuron, paired with crops associated with the
|
| 133 |
+
activating regions.
|
| 134 |
+
|
| 135 |
+
These visualizations are evidence about model behavior, not definitive semantic
|
| 136 |
+
labels for neurons.
|
| 137 |
+
|
| 138 |
+
## Dataset scale
|
| 139 |
+
|
| 140 |
+
The production release covers **5,804 neurons across 12 layers**.
|
| 141 |
+
|
| 142 |
+
| Layer | Channels | Activation visualizations | Ranked FULL/CROP pairs |
|
| 143 |
+
| --- | ---: | ---: | ---: |
|
| 144 |
+
| `conv2d0` | 64 | 64 | 640 |
|
| 145 |
+
| `conv2d1` | 64 | 64 | 640 |
|
| 146 |
+
| `conv2d2` | 192 | 192 | 1,920 |
|
| 147 |
+
| `mixed3a` | 256 | 256 | 2,560 |
|
| 148 |
+
| `mixed3b` | 480 | 480 | 4,800 |
|
| 149 |
+
| `mixed4a` | 508 | 508 | 5,080 |
|
| 150 |
+
| `mixed4b` | 512 | 512 | 5,120 |
|
| 151 |
+
| `mixed4c` | 512 | 512 | 5,120 |
|
| 152 |
+
| `mixed4d` | 528 | 528 | 5,280 |
|
| 153 |
+
| `mixed4e` | 832 | 832 | 8,320 |
|
| 154 |
+
| `mixed5a` | 832 | 832 | 8,320 |
|
| 155 |
+
| `mixed5b` | 1,024 | 1,024 | 10,240 |
|
| 156 |
+
| **Total** | **5,804** | **5,804** | **58,040** |
|
| 157 |
+
|
| 158 |
+
Each ranked pair contains two images, giving **116,080 natural-image and crop
|
| 159 |
+
records**, in addition to the 5,804 synthesized activation visualizations.
|
| 160 |
+
|
| 161 |
+
## Configurations
|
| 162 |
+
|
| 163 |
+
### `activation_maximization`
|
| 164 |
+
|
| 165 |
+
This configuration contains one row per neuron.
|
| 166 |
+
|
| 167 |
+
| Field | Type | Description |
|
| 168 |
+
| --- | --- | --- |
|
| 169 |
+
| `model` | string | Model identifier (`inception_v1`) |
|
| 170 |
+
| `layer` | string | Selected layer |
|
| 171 |
+
| `channel` | int32 | Zero-indexed channel number |
|
| 172 |
+
| `neuron_id` | string | Stable layer/channel identifier |
|
| 173 |
+
| `original_filename` | string | Source visualization filename |
|
| 174 |
+
| `image` | image | Activation-maximization visualization |
|
| 175 |
+
|
| 176 |
+
The configuration uses the split name `train` as a Hugging Face storage label.
|
| 177 |
+
These records are visualizations and are not a model-training set.
|
| 178 |
+
|
| 179 |
+
### `dataset_examples`
|
| 180 |
+
|
| 181 |
+
This configuration uses one split per layer and contains ten rows per neuron.
|
| 182 |
+
Each row keeps the full source image and its crop together.
|
| 183 |
+
|
| 184 |
+
| Field | Type | Description |
|
| 185 |
+
| --- | --- | --- |
|
| 186 |
+
| `model` | string | Model identifier (`inception_v1`) |
|
| 187 |
+
| `layer` | string | Selected layer |
|
| 188 |
+
| `channel` | int32 | Zero-indexed channel number |
|
| 189 |
+
| `neuron_id` | string | Stable layer/channel identifier |
|
| 190 |
+
| `rank` | int16 | Rank from 1 through 10 within the neuron |
|
| 191 |
+
| `activation_score` | float32 | Raw response used for within-neuron ranking |
|
| 192 |
+
| `source_image_id` | string | ImageNet source identifier |
|
| 193 |
+
| `full_image` | image | Full natural image |
|
| 194 |
+
| `crop_image` | image | Crop associated with the activating region |
|
| 195 |
+
|
| 196 |
+
## Example
|
| 197 |
+
|
| 198 |
+
```python
|
| 199 |
+
from datasets import load_dataset
|
| 200 |
+
|
| 201 |
+
activation = load_dataset(
|
| 202 |
+
"akankshanc/inception-v1-microscope-data",
|
| 203 |
+
"activation_maximization",
|
| 204 |
+
split="train",
|
| 205 |
+
)
|
| 206 |
+
|
| 207 |
+
mixed4a_examples = load_dataset(
|
| 208 |
+
"akankshanc/inception-v1-microscope-data",
|
| 209 |
+
"dataset_examples",
|
| 210 |
+
split="mixed4a",
|
| 211 |
+
)
|
| 212 |
+
|
| 213 |
+
neuron = mixed4a_examples.filter(
|
| 214 |
+
lambda row: row["channel"] == 254
|
| 215 |
+
).sort("rank")
|
| 216 |
+
|
| 217 |
+
print(neuron)
|
| 218 |
+
```
|
| 219 |
+
|
| 220 |
+
## Methodology
|
| 221 |
+
|
| 222 |
+
### Activation maximization
|
| 223 |
+
|
| 224 |
+
Each synthesized image was produced by optimizing a parameterized input to
|
| 225 |
+
increase the response of one selected Inception V1 channel. The resulting image
|
| 226 |
+
provides a visual hypothesis about patterns that strongly excite that neuron
|
| 227 |
+
under the chosen optimization procedure.
|
| 228 |
+
|
| 229 |
+
### Dataset examples
|
| 230 |
+
|
| 231 |
+
Natural images were scored for each neuron. The ten highest-scoring examples
|
| 232 |
+
were retained and ordered by raw activation score. Each full image was paired
|
| 233 |
+
with a precomputed crop associated with its strongly activating region.
|
| 234 |
+
|
| 235 |
+
## Validation
|
| 236 |
+
|
| 237 |
+
The release was checked for:
|
| 238 |
+
|
| 239 |
+
- 5,804 activation-maximization rows;
|
| 240 |
+
- exactly ten ranked example pairs per neuron;
|
| 241 |
+
- expected row counts for all 12 layer splits;
|
| 242 |
+
- matching model, layer, channel, and neuron identifiers;
|
| 243 |
+
- complete rank sets from 1 through 10;
|
| 244 |
+
- presence of both FULL and CROP image fields;
|
| 245 |
+
- correct first and last records at every layer boundary; and
|
| 246 |
+
- image URL availability through the Hugging Face Dataset Viewer API.
|
| 247 |
+
|
| 248 |
+
## Intended use
|
| 249 |
+
|
| 250 |
+
This dataset is intended for non-commercial research and educational work on:
|
| 251 |
+
|
| 252 |
+
- neural-network interpretability;
|
| 253 |
+
- feature visualization;
|
| 254 |
+
- qualitative analysis of convolutional representations;
|
| 255 |
+
- interpretability interfaces and teaching demonstrations; and
|
| 256 |
+
- comparisons between synthesized features and natural-image evidence.
|
| 257 |
+
|
| 258 |
+
## Limitations
|
| 259 |
+
|
| 260 |
+
- A visualization is an interpretability aid, not a definitive neuron label or
|
| 261 |
+
complete causal explanation.
|
| 262 |
+
- Activation-maximization results depend on the checkpoint, objective,
|
| 263 |
+
parameterization, regularization, and optimization procedure.
|
| 264 |
+
- Top examples characterize the evaluated image collection and may not cover
|
| 265 |
+
every pattern that activates a neuron.
|
| 266 |
+
- Crops can omit contextual information that contributes to the full-image
|
| 267 |
+
response.
|
| 268 |
+
- Raw activation scores are suitable for ranking examples within a neuron but
|
| 269 |
+
should not be compared directly across layers or channels.
|
| 270 |
+
- The natural-image examples inherit biases and coverage limitations from
|
| 271 |
+
ImageNet.
|
| 272 |
+
|
| 273 |
+
## Data provenance and terms
|
| 274 |
+
|
| 275 |
+
The natural-image examples are derived from ImageNet and are provided for
|
| 276 |
+
non-commercial research and educational interpretability work. ImageNet does
|
| 277 |
+
not own the copyright in the underlying images; individual images may remain
|
| 278 |
+
subject to their original copyright and applicable ImageNet access terms. This
|
| 279 |
+
repository does not relicense those source images.
|
| 280 |
+
|
| 281 |
+
Review the [ImageNet terms of
|
| 282 |
+
access](https://www.image-net.org/download.php) before downloading,
|
| 283 |
+
redistributing, or repurposing the natural-image examples.
|
| 284 |
+
|
| 285 |
+
## References
|
| 286 |
+
|
| 287 |
+
- Szegedy, C. et al. **Going Deeper with Convolutions.** CVPR 2015.
|
| 288 |
+
[Paper](https://arxiv.org/abs/1409.4842)
|
| 289 |
+
- Deng, J. et al. **ImageNet: A Large-Scale Hierarchical Image Database.**
|
| 290 |
+
CVPR 2009. [ImageNet](https://www.image-net.org/)
|
| 291 |
+
- Olah, C. et al. **The Building Blocks of Interpretability.** Distill, 2018.
|
| 292 |
+
[Article](https://distill.pub/2018/building-blocks/)
|
| 293 |
+
- OpenAI. **OpenAI Microscope.**
|
| 294 |
+
[Project](https://microscope.openai.com/)
|
| 295 |
+
|
| 296 |
+
## Citation
|
| 297 |
+
|
| 298 |
+
```bibtex
|
| 299 |
+
@misc{devkar_inception_v1_microscope_data_2026,
|
| 300 |
+
author = {Akanksha Devkar},
|
| 301 |
+
title = {Inception V1 Microscope Data},
|
| 302 |
+
year = {2026},
|
| 303 |
+
howpublished = {Hugging Face Dataset},
|
| 304 |
+
url = {https://huggingface.co/datasets/akankshanc/inception-v1-microscope-data}
|
| 305 |
+
}
|
| 306 |
+
```
|
| 307 |
+
|