All models

Digital twin of visual cortex

A digital twin of macaque V4 that predicts the responses of 394 recorded neurons to color images.

Neuroscience signals · 542 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 (15 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

Parameters
16.8M
Operations
542
Framework
PyTorch
Recurrent
No
Published
2025, eLife (reviewed preprint)
Cited by
0 (as of 24 October 2026)
Authors
Katrin Franke, Nikos Karantzas, Konstantin Willeke and others
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
m16148
Graph hash
d381830a8b131eabe843f721c470414b86211e78e58079a68a0ec638f59557a8
Skeleton hash
8ad6df2347371e58e1331e27e1642b716a98a3f4381c0cdd42368844d66e1c47
Architecture hash
eec00343afa41f8da306c49c012135084bf20c56332fb06703e7a0b9c6eb40ba
Diagram SHA-256
d9284e0576ced136791ff2596c6f473e00764a1d9f649f38f19103a1c2148b50
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 a functional digital twin of macaque visual cortex, a deep learning-based predictive model of biological neurons. It consists of a core shared across neurons and a neuron-specific readout, so each output is an in silico neuron that models the responses of one recorded neuron. The color V4 task-driven twin takes 100×100 RGB images and models 394 V4 neurons.

Its core is an adversarially trained ResNet50, with the first residual block of layer 3 providing the feature maps, and the parameters of this pretrained network stay fixed during training. For each V4 neuron, a Gaussian readout learns a receptive field center position on the output tensor and extracts a feature vector there. The extracted features then pass through a linear-nonlinear model with L1-regularized weights and an ELU+1 nonlinearity. The authors trained an ensemble of five models with different random seeds and averaged their predictions for all analyses.

With these models the authors identified each neuron's preferred and non-preferred features. They report that many neurons in areas V1 and V4 are selectively tuned to two distinct visual features, one that enhances and one that suppresses activity, around an elevated baseline firing rate. Their further analysis kept only neurons whose correlation to the average response was above a threshold of 0.4, which left 205 V4 neurons, 52% of the total.

Key idea. Digital twin models of macaque V1 and V4 neurons let the authors show that many neurons are tuned to two features, one enhancing and one suppressing activity.

  • DualNeuron
  • digital twin
  • digital twin of visual cortex
  • macaque V4
  • macaque V1
  • neural predictive model
  • visual cortex
  • dual-feature selectivity
  • V4ColorTaskDriven
  • neuronal response prediction

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

Cite the paper

@article{Karantzas_2025, title={Dual-feature selectivity enables bidirectional coding in visual cortical neurons}, url={http://dx.doi.org/10.1101/2025.07.16.665209}, DOI={10.1101/2025.07.16.665209}, publisher={openRxiv}, author={Karantzas, Nikos and Franke, Katrin and Willeke, Konstantin and Diamantaki, Maria and Ramakrishnan, Kandan and Bedel, Hasan Atakan and Elumalai, Pavithra and Restivo, Kelli and Fahey, Paul and Nealley, Cate and Shinn, Tori and Garcia, Gabrielle and Patel, Saumil and Ecker, Alexander and Walker, Edgar Y. and Froudarakis, Emmanouil and Sanborn, Sophia and Sinz, Fabian H. and Tolias, Andreas}, year={2025}, month=July }