All models

Morphological Dendritic Neural Network (MDNN/Dendrite Net)

Ten dendritic-tree neurons with branching factor 2, a masked sparse alternative to an MLP classifier.

63 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 (6 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
69.9M
Operations
63
Framework
PyTorch
Recurrent
No
Published
DyNN workshop at ICML 2022
Cited by
0 (as of 3 November 2026)
Authors
Ziwen Han, Evgeniya Gorobets, Pan Chen
License
MIT
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
m18536
Graph hash
9f50dbb293ca9a2704cd39d7e036a3fcc1406936916c6b948af80d08db946aa5
Skeleton hash
1fc5c0ffd558b253da63160a654c0d3e084fc7caf2b73a7bda77552b8b4ab9eb
Architecture hash
8a63508b7cfdfef0888999a26b4b6f32933b6034716387ce4476cc85379f1bf0
Diagram SHA-256
375b3f55aecebc08cb8a4311ec83444022d40f0eae1ac8b3aa5f1ead6b921d4d
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 is a classifier built from dendritic-tree neurons, units whose inputs pass through a tree of nonlinear branches instead of the single weighted sum of a perceptron. The idea comes from neuroscience findings that the dendrites of a biological neuron perform nonlinear computations on their input signals.

The building block is the DendriticLayer, a PyTorch module with a settable branching factor and number of neurons. Each level of the tree is a weight matrix multiplied element-wise by a mask that keeps only the connections belonging to the tree. Each level ends in a LeakyReLU with a negative slope of 0.1. The paper notes the cost of this design: the masks sit on full weight matrices, which adds unnecessary computation to a sparse structure.

This model is the MLNClassifier, which feeds the same inputs to one neuron per class, ten here, and applies a softmax to their outputs. Its input is a flattened 1,024-value vector, the size the paper uses for MNIST images outside its CNN experiments. It uses a branching factor of 2 with input dropout of 0.2. In the paper's experiments, dendritic models with a branching factor of 2 did worse than their control MLPs, and those with larger branching factors did better on validation.

Key idea. The paper builds a dendritic-tree neuron layer with tunable branching and input dropout, and reports that with branching above 2 it outperforms parameter-matched MLPs on MNIST.

  • dendritic neural network
  • dendritic-tree neuron
  • DendriticLayer
  • MLNClassifier
  • multi-layer neuron
  • dendritic neuron
  • perceptron replacement
  • branching factor
  • MNIST classification

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

Cite the paper

@misc{han2022parameterefficientdendritictreeneurons,
      title={Parameter efficient dendritic-tree neurons outperform perceptrons}, 
      author={Ziwen Han and Evgeniya Gorobets and Pan Chen},
      year={2022},
      eprint={2207.00708},
      archivePrefix={arXiv},
      primaryClass={cs.NE},
      url={https://arxiv.org/abs/2207.00708}, 
}