Dendritic Computation DNN (Beniaguev et al.)
Seven-layer temporal convolutional net that mimics a cortical pyramidal neuron's spikes and voltage.
Neuroscience signals · 39 operations Checked
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
- Task
- Neuroscience signals
- Parameters
- 9.2M
- Operations
- 39
- Framework
- PyTorch
- Recurrent
- No
- Published
- Neuron 109(17):2727-2739, 2021
- Cited by
- 40 (as of 5 October 2026)
- Authors
- David Beniaguev, Idan Segev, Michael London
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m14374
- Graph hash
- ce93b88595a9fd6c31fb1416055da309878dad78a454ab355b64640c249d85a4
- Skeleton hash
- 0e0330f603cf9706f15b97e17441b39ab23f1c2009184ca5aa00012aab24bbec
- Architecture hash
- 0b484d7fac24cbbba4b58e925ae86c345e4e7f3d09105f694edb4377f857bcc9
- Diagram SHA-256
- 4851ae26f4361c2792da4c992c5dc97bfb8c261782ea07b48c11fe2df9ecd9de
- 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 network is a stand-in for a single neuron: a deep net trained to reproduce the input/output behaviour of a detailed biophysical model of a layer 5 cortical pyramidal cell. The point is not engineering but neuroscience: the authors use machine learning to measure how complex a neuron's input/output mapping really is. Their headline finding is that a temporally convolutional network with seven layers was needed to capture the neuron's behaviour at millisecond resolution.
The input is a window of presynaptic spike trains, discretised into 1 ms bins so each synapse carries a binary sequence. At every time step the network predicts both whether the soma spikes and what its voltage is, so the graph ends in two heads trained with a combined loss. Spike prediction is treated as binary classification with a log loss and voltage prediction as regression with a mean squared error loss. Fully connected architectures failed on this neuron; only a TCN with 7 layers and 128 channels per layer gave a good fit. On held-out data that model reached an AUC of 0.9911 for spike prediction and explained 94.6% of the somatic voltage variance with an RMSE of 0.71mV.
The depth turns out to come from NMDA receptors: when those were removed from the biophysical model, a fully connected network with one hidden layer was enough to fit it. Reading the trained weights, the authors argue that synaptic integration in dendritic branches can be thought of as pattern matching against a set of spatiotemporal templates. The published code fits the network with fit_CNN.py and generates its training data by simulating the neuron in the NEURON simulator.
Key idea. Showing that a seven-layer temporally convolutional network is needed to replicate a layer 5 pyramidal neuron at millisecond resolution, with the depth traced to NMDA-based dendritic nonlinearities.
- single cortical neurons as deep networks
- Beniaguev
- dendritic computation
- TCN
- temporal convolutional network
- layer 5 pyramidal cell
- L5PC
- NMDA
- spike prediction
- somatic voltage
- neuron surrogate
- Segev London lab
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@article{Beniaguev_2019, title={Single Cortical Neurons as Deep Artificial Neural Networks}, url={http://dx.doi.org/10.1101/613141}, DOI={10.1101/613141}, publisher={openRxiv}, author={Beniaguev, David and Segev, Idan and London, Michael}, year={2019}, month=Apr }