All models

vonenet_cornet_s_stochastic

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

Image classification · 141 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 (14 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
55.3M
Operations
141
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
m11187
Graph hash
dd836b9f338f2ca8b36dc675b6a59e7b4ef551485e6cd3b877313ec2188cc87e
Skeleton hash
631eceef344bf2918ffc2b91f9f25c1485a803f53ccbc3f8b40892008000e305
Architecture hash
79ca86894138ec840f43b7ef34eb394b1d00bfb7050c4d6490f036672c913f9a
Diagram SHA-256
69779092bce2750fa1acf1a4070f781c65830bbd086f9754bcd1d3e58af242e7
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 recurrent back-end based on CORnet-S. 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 }