All models

vonenet_alexnet_stochastic

A fixed-weight simulation of primate primary visual cortex (V1) used as the front-end of a CNN image classifier.

Image classification · 59 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (9 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Family
VOneNet
Parameters
76.7M
Operations
59
Framework
PyTorch
Recurrent
No
Published
NeurIPS 2020
Cited by
130 (as of 22 October 2026)
Authors
Joel Dapello, Tiago Marques, Martin Schrimpf and others
License
GPL-3.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m11185
Graph hash
c9de2b200cc15c332bf352608660e9e14a22660df4a7e43d5939be8e0d1ac515
Skeleton hash
bfd94cec900a6ecd908f24e9399e3b11464c21825b5dbe46b840677545c78345
Architecture hash
06b1e4315b2652e1251968602e8ad58a28779271b8411d4817eaa1031874b974
Diagram SHA-256
c500382de3d58dd189dcce105325c701eebcad47c1cc2051741337241b63f697
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

This model pairs the VOneBlock with a back-end based on AlexNet. Its V1 stochasticity is on, which the paper specifies for both training and inference.

About this model's family

VOneNet is a convolutional image classifier whose first block is a fixed-weight simulation of primate primary visual cortex (V1), called the VOneBlock, followed by a back-end adapted from a standard CNN. The authors built it after observing that CNN models with a hidden layer that better matches primate V1 are also more robust to adversarial attacks.

The VOneBlock follows the linear-nonlinear-Poisson model of V1: a Gabor filter bank, simple and complex cell nonlinearities, and a neuronal stochasticity generator. The Gabor parameters are sampled from empirically observed distributions rather than learned, and the stochasticity stage adds independent Gaussian noise to each unit with variance equal to its activation. A trained 1 × 1 convolution, the transition layer, then compresses the block's channels to the depth of the block it replaced. The paper builds VOneNets from three base architectures: ResNet50, CORnet-S and AlexNet.

The paper reports that VOneNets retain high ImageNet performance while outperforming their base CNNs by 18% on a conglomerate benchmark of white box adversarial attacks and common image corruptions. In its ablations, removing the V1 stochasticity considerably decreased white box accuracy while improving accuracy for both clean and corrupted images.

Key idea. VOneNets put a fixed-weight model of primate V1, the VOneBlock, in front of a standard CNN back-end, and the paper shows this improves robustness to adversarial attacks and image corruptions.

  • vonenet
  • voneblock
  • primary visual cortex
  • v1 front-end
  • gabor filter bank
  • adversarial robustness
  • biologically inspired cnn
  • robust image classification
  • brain-inspired vision

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@article{Dapello_2020, title={Simulating a Primary Visual Cortex at the Front of CNNs Improves Robustness to Image Perturbations}, url={http://dx.doi.org/10.1101/2020.06.16.154542}, DOI={10.1101/2020.06.16.154542}, publisher={openRxiv}, author={Dapello, Joel and Marques, Tiago and Schrimpf, Martin and Geiger, Franziska and Cox, David D. and DiCarlo, James J.}, year={2020}, month=June }