All models

VOneBlock

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

Image classification · 39 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 (41 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
1.9M
Operations
39
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
m3307
Graph hash
685c9887ac8de029a41c09140b18b7616a0e4d0f33b5219a332827120437de85
Skeleton hash
9126c7794bf76a6cc34992b6fdcac5b499ab1a7bbcdf3c9592e95ba1414257d6
Architecture hash
7c812a726439c70d82283bc3847e6e82b1cde91e962c5ddf78201293b3a0514b
Diagram SHA-256
8ef4d456a7ee805c3dbe910df29e802cdc8c0b7f393c8a176c906489aae743f0
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 is the VOneBlock on its own, the fixed-weight front-end that simulates primate V1, without a back-end network. 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 }