Dendritic nonlinearities mitigate communication costs.
The 3 matches
- [1] § Methods › Datasets for machine learning experiments › Model architectures ↔ machine_learning_experiments/cifar/cifar/models/models_for_cifar/rir.py, lines 14 to 76 · score 0.77 · shortcut connection, convolutional layer, residual blocks, ReLU, ResNet, architecture · Report a mismatch
- [2] § Methods › Datasets for machine learning experiments › ImageNet dataset ↔ machine_learning_experiments/imagenet/imagenet/dataloader/cifar100.py, lines 10 to 54 · score 0.68 · random horizontal flipping, random cropping, jittering, ImageNet, training · Report a mismatch
- [3] § Methods › Datasets for machine learning experiments › ImageNet dataset ↔ machine_learning_experiments/cifar/cifar/dataloader/cifar10.py, lines 5 to 41 · score 0.67 · random horizontal flipping, random cropping, jittering, training · Report a mismatch
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Python · 175 lines · 6.9 KB · CC-BY-4.0 · 1 match
- """resnet in resnet in pytorch
- [1] Sasha Targ, Diogo Almeida, Kevin Lyman.
- Resnet in Resnet: Generalizing Residual Architectures
- https://arxiv.org/abs/1603.08029v1
- """
- import torch
- import torch.nn as nn
- #geralized
- class ResnetInit(nn.Module):
- def __init__(self, in_channel, out_channel, stride):
- super().__init__()
- #"""The modular unit of the generalized residual network architecture is a
- #generalized residual block consisting of parallel states for a residual stream,
- #r, which contains identity shortcut connections and is similar to the structure
- #of a residual block from the original ResNet with a single convolutional layer
- #(parameters W l,r→r )
- self.residual_stream_conv = nn.Conv2d(in_channel, out_channel, 3, padding=1, stride=stride)
- #"""and a transient stream, t, which is a standard convolutional layer
- #(W l,t→t )."""
- self.transient_stream_conv = nn.Conv2d(in_channel, out_channel, 3, padding=1, stride=stride)
- #"""Two additional sets of convolutional filters in each block (W l,r→t , W l,t→r )
- #also transfer information across streams."""
- self.residual_stream_conv_across = nn.Conv2d(in_channel, out_channel, 3, padding=1, stride=stride)
- #"""We use equal numbers of filters for the residual and transient streams of the
- #generalized residual network, but optimizing this hyperparameter could lead to
- #further potential improvements."""
- self.transient_stream_conv_across = nn.Conv2d(in_channel, out_channel, 3, padding=1, stride=stride)
- self.residual_bn_relu = nn.Sequential(
- nn.BatchNorm2d(out_channel),
- nn.ReLU(inplace=True)
- )
- self.transient_bn_relu = nn.Sequential(
- nn.BatchNorm2d(out_channel),
- nn.ReLU(inplace=True)
- )
- #"""The form of the shortcut connection can be an identity function with
- #the appropriate padding or a projection as in He et al. (2015b)."""
- self.short_cut = nn.Sequential()
- if in_channel != out_channel or stride != 1:
- self.short_cut = nn.Sequential(
- nn.Conv2d(in_channel, out_channel, kernel_size=1, stride=stride)
- )
- def forward(self, x):
- x_residual, x_transient = x
- residual_r_r = self.residual_stream_conv(x_residual)
- residual_r_t = self.residual_stream_conv_across(x_residual)
- residual_shortcut = self.short_cut(x_residual)
- transient_t_t = self.transient_stream_conv(x_transient)
- transient_t_r = self.transient_stream_conv_across(x_transient)
- #transient_t_t = self.transient_stream_conv(x_residual)
- #transient_t_r = self.transient_stream_conv_across(x_residual)
- #"""Same-stream and cross-stream activations are summed (along with the
- #shortcut connection for the residual stream) before applying batch
- #normalization and ReLU nonlinearities (together σ) to get the output
- #states of the block (Equation 1) (Ioffe & Szegedy, 2015)."""
- x_residual = self.residual_bn_relu(residual_r_r + transient_t_r + residual_shortcut)
- x_transient = self.transient_bn_relu(residual_r_t + transient_t_t)
- return x_residual, x_transient
- class RiRBlock(nn.Module):
- def __init__(self, in_channel, out_channel, layer_num, stride, layer=ResnetInit):
- super().__init__()
- self.resnetinit = self._make_layers(in_channel, out_channel, layer_num, stride)
- #self.short_cut = nn.Sequential()
- #if stride != 1 or in_channel != out_channel:
- # self.short_cut = nn.Conv2d(in_channel, out_channel, kernel_size=1, stride=stride)
- def forward(self, x):
- x_residual, x_transient = self.resnetinit(x)
- #x_residual = x_residual + self.short_cut(x[0])
- #x_transient = x_transient + self.short_cut(x[1])
- return (x_residual, x_transient)
- #"""Replacing each of the convolutional layers within a residual
- #block from the original ResNet (Figure 1a) with a generalized residual block
- #(Figure 1b) leads us to a new architecture we call ResNet in ResNet (RiR)
- #(Figure 1d)."""
- def _make_layers(self, in_channel, out_channel, layer_num, stride, layer=ResnetInit):
- strides = [stride] + [1] * (layer_num - 1)
- layers = nn.Sequential()
- for index, s in enumerate(strides):
- layers.add_module("generalized layers{}".format(index), layer(in_channel, out_channel, s))
- in_channel = out_channel
- return layers
- class ResnetInResneet(nn.Module):
- def __init__(self, num_classes=100):
- super().__init__()
- base = int(96 / 2)
- self.residual_pre_conv = nn.Sequential(
- nn.Conv2d(3, base, 3, padding=1),
- nn.BatchNorm2d(base),
- nn.ReLU(inplace=True)
- )
- self.transient_pre_conv = nn.Sequential(
- nn.Conv2d(3, base, 3, padding=1),
- nn.BatchNorm2d(base),
- nn.ReLU(inplace=True)
- )
- self.rir1 = RiRBlock(base, base, 2, 1)
- self.rir2 = RiRBlock(base, base, 2, 1)
- self.rir3 = RiRBlock(base, base * 2, 2, 2)
- self.rir4 = RiRBlock(base * 2, base * 2, 2, 1)
- self.rir5 = RiRBlock(base * 2, base * 2, 2, 1)
- self.rir6 = RiRBlock(base * 2, base * 4, 2, 2)
- self.rir7 = RiRBlock(base * 4, base * 4, 2, 1)
- self.rir8 = RiRBlock(base * 4, base * 4, 2, 1)
- self.conv1 = nn.Sequential(
- nn.Conv2d(384, num_classes, kernel_size=3, stride=2), #without this convolution, loss will soon be nan
- nn.BatchNorm2d(num_classes),
- nn.ReLU(inplace=True),
- )
- self.classifier = nn.Sequential(
- nn.Linear(900, 450),
- nn.ReLU(),
- nn.Dropout(),
- nn.Linear(450, 100),
- )
- self._weight_init()
- def forward(self, x):
- x_residual = self.residual_pre_conv(x)
- x_transient = self.transient_pre_conv(x)
- x_residual, x_transient = self.rir1((x_residual, x_transient))
- x_residual, x_transient = self.rir2((x_residual, x_transient))
- x_residual, x_transient = self.rir3((x_residual, x_transient))
- x_residual, x_transient = self.rir4((x_residual, x_transient))
- x_residual, x_transient = self.rir5((x_residual, x_transient))
- x_residual, x_transient = self.rir6((x_residual, x_transient))
- x_residual, x_transient = self.rir7((x_residual, x_transient))
- x_residual, x_transient = self.rir8((x_residual, x_transient))
- h = torch.cat([x_residual, x_transient], 1)
- h = self.conv1(h)
- h = h.view(h.size()[0], -1)
- h = self.classifier(h)
- return h
- def _weight_init(self):
- for m in self.modules():
- if isinstance(m, nn.Conv2d):
- torch.nn.init.kaiming_normal(m.weight)
- m.bias.data.fill_(0.01)
- def resnet_in_resnet():
- return ResnetInResneet()
rir.py, under CC-BY-4.0 · at the source
Overview
- Zhejiang Lab, Hangzhou, Zhejiang, China
- Beijing Academy of Artificial Intelligence, Beijing, China
- Zhejiang University, Hangzhou, China
- Bytedance, Beijing, China
- National Biomedical Imaging Center, Peking University, Beijing, China
- IMBB-FORTH, Heraklion, Crete, Greece
- National Key Laboratory for Multimedia Information Processing, School of Computer Science, Peking University, Beijing, China
Abstract
Why have modern artificial neural networks not adopted the nonlinear dendritic structures found in biological brain cells, and what is the core advantage of such active dendritic units? While early studies suggested that dendritic nonlinearities can enhance learning capabilities by boosting capacity, we provide empirical evidence reassessing this. Using extensive machine learning experiments, we show that dendritic nonlinearities in neural networks offer comparable learning capacity to standard point-neuron models when controlled for parametric complexity. Instead, we believe that their key advantage lies in enabling network scaling while substantially reducing communication costs via localized feature aggregation. Our experiments and analysis suggest that incorporating nonlinear dendritic architectures can significantly lower memory access or data transfer overhead during neural network inference—the primary sources of energy consumption in modern AI systems—and potentially during training as well. We argue that these insights motivate further theoretical and architectural exploration of dendritic-like structures in artificial neural networks.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 3 matches between paragraphs and lines of code.
motifMachine/Dendrite_communication
475521f032ac732e9bac2aca6c5e3f4a31f5ee1f, 11 February 2026Availability: 1 check, the latest on 30 September 2026: the link answers
- 30 September 2026: the link answers
126 files
- gpu_code/
branch_for_search.py , Python, 132 lines - gpu_code/
parsed_ncu_search.py , Python, 137 lines - gpu_code/
parsed_ncu_search_speed. , Python, 139 linespy - gpu_code/
search.sh , Shell, 12 lines - gpu_code/
search_speed_all.sh , Shell, 13 lines - machine_learning_experim
ents/ , Shell, 12 linescifar/ cifar/ clean.sh - machine_learning_experim
ents/ , Python, 1 linecifar/ cifar/ dataloader/ __init__.py - machine_learning_experim
ents/ , Python, 46 linescifar/ cifar/ dataloader/ cifar10.py - machine_learning_experim
ents/ , Python, 65 linescifar/ cifar/ dataloader/ cifar100.py - machine_learning_experim
ents/ , Python, 109 linescifar/ cifar/ dataloader/ imagenet.py - machine_learning_experim
ents/ , Python, 1 linecifar/ cifar/ models/ __init__.py - machine_learning_experim
ents/ , Python, 521 linescifar/ cifar/ models/ dd_resnet.py - machine_learning_experim
ents/ , Python, 522 linescifar/ cifar/ models/ dd_resnet_nores.py - machine_learning_experim
ents/ , Python, 107 linescifar/ cifar/ models/ densenet.py - machine_learning_experim
ents/ , Python, 98 linescifar/ cifar/ models/ dpn.py - machine_learning_experim
ents/ , Python, 107 linescifar/ cifar/ models/ googlenet.py - machine_learning_experim
ents/ , Python, 490 linescifar/ cifar/ models/ group_sparse_conv2d.py - machine_learning_experim
ents/ , Python, 23 linescifar/ cifar/ models/ lenet.py - machine_learning_experim
ents/ , Python, 391 linescifar/ cifar/ models/ maxout_conv2d.py - machine_learning_experim
ents/ , Python, 326 linescifar/ cifar/ models/ mbv2GS.py - machine_learning_experim
ents/ , Python, 61 linescifar/ cifar/ models/ mobilenet.py - machine_learning_experim
ents/ , Python, 237 linescifar/ cifar/ models/ mobilenetv2.py - machine_learning_experim
ents/ , Python, 1 linecifar/ cifar/ models/ models_for_cifar/ __init__.py - machine_learning_experim
ents/ , Python, 349 linescifar/ cifar/ models/ models_for_cifar/ attention.py - machine_learning_experim
ents/ , Python, 421 linescifar/ cifar/ models/ models_for_cifar/ dd_resnet.py - machine_learning_experim
ents/ , Python, 130 linescifar/ cifar/ models/ models_for_cifar/ densenet.py - machine_learning_experim
ents/ , Python, 139 linescifar/ cifar/ models/ models_for_cifar/ googlenet.py - machine_learning_experim
ents/ , Python, 335 linescifar/ cifar/ models/ models_for_cifar/ inceptionv3.py - machine_learning_experim
ents/ , Python, 550 linescifar/ cifar/ models/ models_for_cifar/ inceptionv4.py - machine_learning_experim
ents/ , Python, 211 linescifar/ cifar/ models/ models_for_cifar/ mobilenet.py - machine_learning_experim
ents/ , Python, 102 linescifar/ cifar/ models/ models_for_cifar/ mobilenetv2.py - machine_learning_experim
ents/ , Python, 328 linescifar/ cifar/ models/ models_for_cifar/ nasnet.py - machine_learning_experim
ents/ , Python, 131 linescifar/ cifar/ models/ models_for_cifar/ preactresnet.py - machine_learning_experim
ents/ , Python, 158 linescifar/ cifar/ models/ models_for_cifar/ resnet.py - machine_learning_experim
ents/ , Python, 129 linescifar/ cifar/ models/ models_for_cifar/ resnext.py - machine_learning_experim
ents/ , Python, 175 linescifar/ cifar/ models/ models_for_cifar/ rir.py - machine_learning_experim
ents/ , Python, 171 linescifar/ cifar/ models/ models_for_cifar/ senet.py - machine_learning_experim
ents/ , Python, 256 linescifar/ cifar/ models/ models_for_cifar/ shufflenet.py - machine_learning_experim
ents/ , Python, 159 linescifar/ cifar/ models/ models_for_cifar/ shufflenetv2.py - machine_learning_experim
ents/ , Python, 97 linescifar/ cifar/ models/ models_for_cifar/ squeezenet.py - machine_learning_experim
ents/ , Python, 206 linescifar/ cifar/ models/ models_for_cifar/ stochasticdepth.py - machine_learning_experim
ents/ , Python, 75 linescifar/ cifar/ models/ models_for_cifar/ vgg.py - machine_learning_experim
ents/ , Python, 104 linescifar/ cifar/ models/ models_for_cifar/ wideresidual.py - machine_learning_experim
ents/ , Python, 227 linescifar/ cifar/ models/ models_for_cifar/ xception.py - machine_learning_experim
ents/ , Python, 125 linescifar/ cifar/ models/ pnasnet.py - machine_learning_experim
ents/ , Python, 118 linescifar/ cifar/ models/ preact_resnet.py - machine_learning_experim
ents/ , Python, 375 linescifar/ cifar/ models/ resnet.py - machine_learning_experim
ents/ , Python, 95 linescifar/ cifar/ models/ resnext.py - machine_learning_experim
ents/ , Python, 121 linescifar/ cifar/ models/ senet.py - machine_learning_experim
ents/ , Python, 109 linescifar/ cifar/ models/ shufflenet.py - machine_learning_experim
ents/ , Python, 47 linescifar/ cifar/ models/ vgg.py - machine_learning_experim
ents/ , Python, 1 linecifar/ cifar/ models_for_cifar/ __init__.py - machine_learning_experim
ents/ , Python, 349 linescifar/ cifar/ models_for_cifar/ attention.py - machine_learning_experim
ents/ , Python, 421 linescifar/ cifar/ models_for_cifar/ dd_resnet.py - machine_learning_experim
ents/ , Python, 130 linescifar/ cifar/ models_for_cifar/ densenet.py - machine_learning_experim
ents/ , Python, 139 linescifar/ cifar/ models_for_cifar/ googlenet.py - machine_learning_experim
ents/ , Python, 335 linescifar/ cifar/ models_for_cifar/ inceptionv3.py - machine_learning_experim
ents/ , Python, 550 linescifar/ cifar/ models_for_cifar/ inceptionv4.py - machine_learning_experim
ents/ , Python, 211 linescifar/ cifar/ models_for_cifar/ mobilenet.py - machine_learning_experim
ents/ , Python, 102 linescifar/ cifar/ models_for_cifar/ mobilenetv2.py - machine_learning_experim
ents/ , Python, 328 linescifar/ cifar/ models_for_cifar/ nasnet.py - machine_learning_experim
ents/ , Python, 131 linescifar/ cifar/ models_for_cifar/ preactresnet.py - machine_learning_experim
ents/ , Python, 173 linescifar/ cifar/ models_for_cifar/ resnet.py - machine_learning_experim
ents/ , Python, 129 linescifar/ cifar/ models_for_cifar/ resnext.py - machine_learning_experim
ents/ , Python, 175 linescifar/ cifar/ models_for_cifar/ rir.py - machine_learning_experim
ents/ , Python, 171 linescifar/ cifar/ models_for_cifar/ senet.py - machine_learning_experim
ents/ , Python, 256 linescifar/ cifar/ models_for_cifar/ shufflenet.py - machine_learning_experim
ents/ , Python, 159 linescifar/ cifar/ models_for_cifar/ shufflenetv2.py - machine_learning_experim
ents/ , Python, 97 linescifar/ cifar/ models_for_cifar/ squeezenet.py - machine_learning_experim
ents/ , Python, 206 linescifar/ cifar/ models_for_cifar/ stochasticdepth.py - machine_learning_experim
ents/ , Python, 75 linescifar/ cifar/ models_for_cifar/ vgg.py - machine_learning_experim
ents/ , Python, 104 linescifar/ cifar/ models_for_cifar/ wideresidual.py - machine_learning_experim
ents/ , Python, 227 linescifar/ cifar/ models_for_cifar/ xception.py - machine_learning_experim
ents/ , Shell, 5 linescifar/ cifar/ myscript.sh - machine_learning_experim
ents/ , Python, 357 linescifar/ cifar/ train.py - machine_learning_experim
ents/ , Python, 1 linecifar/ cifar/ utils/ __init__.py - machine_learning_experim
ents/ , Python, 13 linescifar/ cifar/ utils/ data_util.py - machine_learning_experim
ents/ , Python, 21 linescifar/ cifar/ utils/ log_util.py - machine_learning_experim
ents/ , Python, 43 linescifar/ cifar/ utils/ model_util.py - machine_learning_experim
ents/ , Python, 103 linescifar/ cifar/ utils/ prun_util.py - machine_learning_experim
ents/ , Python, 25 linescifar/ cifar/ utils/ scheduler_util.py - machine_learning_experim
ents/ , Python, 521 linescifar/ cifar/ utils/ util.py - machine_learning_experim
ents/ , Shell, 12 linesimagenet/ imagenet/ clean.sh - machine_learning_experim
ents/ , Python, 1 lineimagenet/ imagenet/ dataloader/ __init__.py - machine_learning_experim
ents/ , Python, 46 linesimagenet/ imagenet/ dataloader/ cifar10.py - machine_learning_experim
ents/ , Python, 59 linesimagenet/ imagenet/ dataloader/ cifar100.py - machine_learning_experim
ents/ , Python, 109 linesimagenet/ imagenet/ dataloader/ imagenet.py - machine_learning_experim
ents/ , Python, 1 lineimagenet/ imagenet/ models/ __init__.py - machine_learning_experim
ents/ , Python, 521 linesimagenet/ imagenet/ models/ dd_resnet.py - machine_learning_experim
ents/ , Python, 522 linesimagenet/ imagenet/ models/ dd_resnet_nores.py - machine_learning_experim
ents/ , Python, 107 linesimagenet/ imagenet/ models/ densenet.py - machine_learning_experim
ents/ , Python, 98 linesimagenet/ imagenet/ models/ dpn.py - machine_learning_experim
ents/ , Python, 107 linesimagenet/ imagenet/ models/ googlenet.py - machine_learning_experim
ents/ , Python, 490 linesimagenet/ imagenet/ models/ group_sparse_conv2d.py - machine_learning_experim
ents/ , Python, 23 linesimagenet/ imagenet/ models/ lenet.py - machine_learning_experim
ents/ , Python, 391 linesimagenet/ imagenet/ models/ maxout_conv2d.py - machine_learning_experim
ents/ , Python, 326 linesimagenet/ imagenet/ models/ mbv2GS.py - machine_learning_experim
ents/ , Python, 61 linesimagenet/ imagenet/ models/ mobilenet.py - machine_learning_experim
ents/ , Python, 237 linesimagenet/ imagenet/ models/ mobilenetv2.py - machine_learning_experim
ents/ , Python, 125 linesimagenet/ imagenet/ models/ pnasnet.py - machine_learning_experim
ents/ , Python, 118 linesimagenet/ imagenet/ models/ preact_resnet.py - machine_learning_experim
ents/ , Python, 375 linesimagenet/ imagenet/ models/ resnet.py - machine_learning_experim
ents/ , Python, 95 linesimagenet/ imagenet/ models/ resnext.py - machine_learning_experim
ents/ , Python, 121 linesimagenet/ imagenet/ models/ senet.py - machine_learning_experim
ents/ , Python, 109 linesimagenet/ imagenet/ models/ shufflenet.py - machine_learning_experim
ents/ , Python, 47 linesimagenet/ imagenet/ models/ vgg.py - machine_learning_experim
ents/ , Shell, 5 linesimagenet/ imagenet/ myscript.sh - machine_learning_experim
ents/ , Python, 369 linesimagenet/ imagenet/ train.py - machine_learning_experim
ents/ , Python, 1 lineimagenet/ imagenet/ utils/ __init__.py - machine_learning_experim
ents/ , Python, 14 linesimagenet/ imagenet/ utils/ data_util.py - machine_learning_experim
ents/ , Python, 15 linesimagenet/ imagenet/ utils/ log_util.py - machine_learning_experim
ents/ , Python, 43 linesimagenet/ imagenet/ utils/ model_util.py - machine_learning_experim
ents/ , Python, 103 linesimagenet/ imagenet/ utils/ prun_util.py - machine_learning_experim
ents/ , Python, 25 linesimagenet/ imagenet/ utils/ scheduler_util.py - machine_learning_experim
ents/ , Python, 506 linesimagenet/ imagenet/ utils/ util.py - machine_learning_experim
ents/ , Python, 280 linesspeech/ table1/ 1st_complexity_level/ dendrites_1/ model.py - machine_learning_experim
ents/ , Python, 311 linesspeech/ table1/ 1st_complexity_level/ dendrites_16/ model.py - machine_learning_experim
ents/ , Python, 311 linesspeech/ table1/ 1st_complexity_level/ dendrites_4/ model.py - machine_learning_experim
ents/ , Python, 311 linesspeech/ table1/ 2nd_complexity_level/ dendrites_1/ model.py - machine_learning_experim
ents/ , Python, 311 linesspeech/ table1/ 2nd_complexity_level/ dendrites_16/ model.py - machine_learning_experim
ents/ , Python, 311 linesspeech/ table1/ 2nd_complexity_level/ dendrites_4/ model.py - machine_learning_experim
ents/ , Python, 307 linesspeech/ table2/ dendrites_1/ model.py - machine_learning_experim
ents/ , Python, 306 linesspeech/ table2/ dendrites_16/ model.py - machine_learning_experim
ents/ , Python, 306 linesspeech/ table2/ dendrites_4/ model.py - machine_learning_experim
ents/ , Shell, 89 linesspeech/ train.sh - README.md, Text, 2 lines
figshare 31305517
Availability: 1 check, the latest on 30 September 2026: the link answers (HTTP 200)
- 30 September 2026: the link answers (HTTP 200)
126 files
- gpu_code/
branch_for_search.py , Python, 132 lines - gpu_code/
parsed_ncu_search.py , Python, 137 lines - gpu_code/
parsed_ncu_search_speed. , Python, 139 linespy - gpu_code/
search.sh , Shell, 12 lines - gpu_code/
search_speed_all.sh , Shell, 13 lines - machine_learning_experim
ents/ , Shell, 12 linescifar/ cifar/ clean.sh - machine_learning_experim
ents/ , Python, 1 linecifar/ cifar/ dataloader/ __init__.py - machine_learning_experim
ents/ , Python, 46 lines, 1 matchcifar/ cifar/ dataloader/ cifar10.py - machine_learning_experim
ents/ , Python, 65 linescifar/ cifar/ dataloader/ cifar100.py - machine_learning_experim
ents/ , Python, 109 linescifar/ cifar/ dataloader/ imagenet.py - machine_learning_experim
ents/ , Python, 1 linecifar/ cifar/ models/ __init__.py - machine_learning_experim
ents/ , Python, 521 linescifar/ cifar/ models/ dd_resnet.py - machine_learning_experim
ents/ , Python, 522 linescifar/ cifar/ models/ dd_resnet_nores.py - machine_learning_experim
ents/ , Python, 107 linescifar/ cifar/ models/ densenet.py - machine_learning_experim
ents/ , Python, 98 linescifar/ cifar/ models/ dpn.py - machine_learning_experim
ents/ , Python, 107 linescifar/ cifar/ models/ googlenet.py - machine_learning_experim
ents/ , Python, 490 linescifar/ cifar/ models/ group_sparse_conv2d.py - machine_learning_experim
ents/ , Python, 23 linescifar/ cifar/ models/ lenet.py - machine_learning_experim
ents/ , Python, 391 linescifar/ cifar/ models/ maxout_conv2d.py - machine_learning_experim
ents/ , Python, 326 linescifar/ cifar/ models/ mbv2GS.py - machine_learning_experim
ents/ , Python, 61 linescifar/ cifar/ models/ mobilenet.py - machine_learning_experim
ents/ , Python, 237 linescifar/ cifar/ models/ mobilenetv2.py - machine_learning_experim
ents/ , Python, 1 linecifar/ cifar/ models/ models_for_cifar/ __init__.py - machine_learning_experim
ents/ , Python, 349 linescifar/ cifar/ models/ models_for_cifar/ attention.py - machine_learning_experim
ents/ , Python, 421 linescifar/ cifar/ models/ models_for_cifar/ dd_resnet.py - machine_learning_experim
ents/ , Python, 130 linescifar/ cifar/ models/ models_for_cifar/ densenet.py - machine_learning_experim
ents/ , Python, 139 linescifar/ cifar/ models/ models_for_cifar/ googlenet.py - machine_learning_experim
ents/ , Python, 335 linescifar/ cifar/ models/ models_for_cifar/ inceptionv3.py - machine_learning_experim
ents/ , Python, 550 linescifar/ cifar/ models/ models_for_cifar/ inceptionv4.py - machine_learning_experim
ents/ , Python, 211 linescifar/ cifar/ models/ models_for_cifar/ mobilenet.py - machine_learning_experim
ents/ , Python, 102 linescifar/ cifar/ models/ models_for_cifar/ mobilenetv2.py - machine_learning_experim
ents/ , Python, 328 linescifar/ cifar/ models/ models_for_cifar/ nasnet.py - machine_learning_experim
ents/ , Python, 131 linescifar/ cifar/ models/ models_for_cifar/ preactresnet.py - machine_learning_experim
ents/ , Python, 158 linescifar/ cifar/ models/ models_for_cifar/ resnet.py - machine_learning_experim
ents/ , Python, 129 linescifar/ cifar/ models/ models_for_cifar/ resnext.py - machine_learning_experim
ents/ , Python, 175 lines, 1 matchcifar/ cifar/ models/ models_for_cifar/ rir.py - machine_learning_experim
ents/ , Python, 171 linescifar/ cifar/ models/ models_for_cifar/ senet.py - machine_learning_experim
ents/ , Python, 256 linescifar/ cifar/ models/ models_for_cifar/ shufflenet.py - machine_learning_experim
ents/ , Python, 159 linescifar/ cifar/ models/ models_for_cifar/ shufflenetv2.py - machine_learning_experim
ents/ , Python, 97 linescifar/ cifar/ models/ models_for_cifar/ squeezenet.py - machine_learning_experim
ents/ , Python, 206 linescifar/ cifar/ models/ models_for_cifar/ stochasticdepth.py - machine_learning_experim
ents/ , Python, 75 linescifar/ cifar/ models/ models_for_cifar/ vgg.py - machine_learning_experim
ents/ , Python, 104 linescifar/ cifar/ models/ models_for_cifar/ wideresidual.py - machine_learning_experim
ents/ , Python, 227 linescifar/ cifar/ models/ models_for_cifar/ xception.py - machine_learning_experim
ents/ , Python, 125 linescifar/ cifar/ models/ pnasnet.py - machine_learning_experim
ents/ , Python, 118 linescifar/ cifar/ models/ preact_resnet.py - machine_learning_experim
ents/ , Python, 375 linescifar/ cifar/ models/ resnet.py - machine_learning_experim
ents/ , Python, 95 linescifar/ cifar/ models/ resnext.py - machine_learning_experim
ents/ , Python, 121 linescifar/ cifar/ models/ senet.py - machine_learning_experim
ents/ , Python, 109 linescifar/ cifar/ models/ shufflenet.py - machine_learning_experim
ents/ , Python, 47 linescifar/ cifar/ models/ vgg.py - machine_learning_experim
ents/ , Python, 1 linecifar/ cifar/ models_for_cifar/ __init__.py - machine_learning_experim
ents/ , Python, 349 linescifar/ cifar/ models_for_cifar/ attention.py - machine_learning_experim
ents/ , Python, 421 linescifar/ cifar/ models_for_cifar/ dd_resnet.py - machine_learning_experim
ents/ , Python, 130 linescifar/ cifar/ models_for_cifar/ densenet.py - machine_learning_experim
ents/ , Python, 139 linescifar/ cifar/ models_for_cifar/ googlenet.py - machine_learning_experim
ents/ , Python, 335 linescifar/ cifar/ models_for_cifar/ inceptionv3.py - machine_learning_experim
ents/ , Python, 550 linescifar/ cifar/ models_for_cifar/ inceptionv4.py - machine_learning_experim
ents/ , Python, 211 linescifar/ cifar/ models_for_cifar/ mobilenet.py - machine_learning_experim
ents/ , Python, 102 linescifar/ cifar/ models_for_cifar/ mobilenetv2.py - machine_learning_experim
ents/ , Python, 328 linescifar/ cifar/ models_for_cifar/ nasnet.py - machine_learning_experim
ents/ , Python, 131 linescifar/ cifar/ models_for_cifar/ preactresnet.py - machine_learning_experim
ents/ , Python, 173 linescifar/ cifar/ models_for_cifar/ resnet.py - machine_learning_experim
ents/ , Python, 129 linescifar/ cifar/ models_for_cifar/ resnext.py - machine_learning_experim
ents/ , Python, 175 linescifar/ cifar/ models_for_cifar/ rir.py - machine_learning_experim
ents/ , Python, 171 linescifar/ cifar/ models_for_cifar/ senet.py - machine_learning_experim
ents/ , Python, 256 linescifar/ cifar/ models_for_cifar/ shufflenet.py - machine_learning_experim
ents/ , Python, 159 linescifar/ cifar/ models_for_cifar/ shufflenetv2.py - machine_learning_experim
ents/ , Python, 97 linescifar/ cifar/ models_for_cifar/ squeezenet.py - machine_learning_experim
ents/ , Python, 206 linescifar/ cifar/ models_for_cifar/ stochasticdepth.py - machine_learning_experim
ents/ , Python, 75 linescifar/ cifar/ models_for_cifar/ vgg.py - machine_learning_experim
ents/ , Python, 104 linescifar/ cifar/ models_for_cifar/ wideresidual.py - machine_learning_experim
ents/ , Python, 227 linescifar/ cifar/ models_for_cifar/ xception.py - machine_learning_experim
ents/ , Shell, 5 linescifar/ cifar/ myscript.sh - machine_learning_experim
ents/ , Python, 357 linescifar/ cifar/ train.py - machine_learning_experim
ents/ , Python, 1 linecifar/ cifar/ utils/ __init__.py - machine_learning_experim
ents/ , Python, 13 linescifar/ cifar/ utils/ data_util.py - machine_learning_experim
ents/ , Python, 21 linescifar/ cifar/ utils/ log_util.py - machine_learning_experim
ents/ , Python, 43 linescifar/ cifar/ utils/ model_util.py - machine_learning_experim
ents/ , Python, 103 linescifar/ cifar/ utils/ prun_util.py - machine_learning_experim
ents/ , Python, 25 linescifar/ cifar/ utils/ scheduler_util.py - machine_learning_experim
ents/ , Python, 521 linescifar/ cifar/ utils/ util.py - machine_learning_experim
ents/ , Shell, 12 linesimagenet/ imagenet/ clean.sh - machine_learning_experim
ents/ , Python, 1 lineimagenet/ imagenet/ dataloader/ __init__.py - machine_learning_experim
ents/ , Python, 46 linesimagenet/ imagenet/ dataloader/ cifar10.py - machine_learning_experim
ents/ , Python, 59 lines, 1 matchimagenet/ imagenet/ dataloader/ cifar100.py - machine_learning_experim
ents/ , Python, 109 linesimagenet/ imagenet/ dataloader/ imagenet.py - machine_learning_experim
ents/ , Python, 1 lineimagenet/ imagenet/ models/ __init__.py - machine_learning_experim
ents/ , Python, 521 linesimagenet/ imagenet/ models/ dd_resnet.py - machine_learning_experim
ents/ , Python, 522 linesimagenet/ imagenet/ models/ dd_resnet_nores.py - machine_learning_experim
ents/ , Python, 107 linesimagenet/ imagenet/ models/ densenet.py - machine_learning_experim
ents/ , Python, 98 linesimagenet/ imagenet/ models/ dpn.py - machine_learning_experim
ents/ , Python, 107 linesimagenet/ imagenet/ models/ googlenet.py - machine_learning_experim
ents/ , Python, 490 linesimagenet/ imagenet/ models/ group_sparse_conv2d.py - machine_learning_experim
ents/ , Python, 23 linesimagenet/ imagenet/ models/ lenet.py - machine_learning_experim
ents/ , Python, 391 linesimagenet/ imagenet/ models/ maxout_conv2d.py - machine_learning_experim
ents/ , Python, 326 linesimagenet/ imagenet/ models/ mbv2GS.py - machine_learning_experim
ents/ , Python, 61 linesimagenet/ imagenet/ models/ mobilenet.py - machine_learning_experim
ents/ , Python, 237 linesimagenet/ imagenet/ models/ mobilenetv2.py - machine_learning_experim
ents/ , Python, 125 linesimagenet/ imagenet/ models/ pnasnet.py - machine_learning_experim
ents/ , Python, 118 linesimagenet/ imagenet/ models/ preact_resnet.py - machine_learning_experim
ents/ , Python, 375 linesimagenet/ imagenet/ models/ resnet.py - machine_learning_experim
ents/ , Python, 95 linesimagenet/ imagenet/ models/ resnext.py - machine_learning_experim
ents/ , Python, 121 linesimagenet/ imagenet/ models/ senet.py - machine_learning_experim
ents/ , Python, 109 linesimagenet/ imagenet/ models/ shufflenet.py - machine_learning_experim
ents/ , Python, 47 linesimagenet/ imagenet/ models/ vgg.py - machine_learning_experim
ents/ , Shell, 5 linesimagenet/ imagenet/ myscript.sh - machine_learning_experim
ents/ , Python, 369 linesimagenet/ imagenet/ train.py - machine_learning_experim
ents/ , Python, 1 lineimagenet/ imagenet/ utils/ __init__.py - machine_learning_experim
ents/ , Python, 14 linesimagenet/ imagenet/ utils/ data_util.py - machine_learning_experim
ents/ , Python, 15 linesimagenet/ imagenet/ utils/ log_util.py - machine_learning_experim
ents/ , Python, 43 linesimagenet/ imagenet/ utils/ model_util.py - machine_learning_experim
ents/ , Python, 103 linesimagenet/ imagenet/ utils/ prun_util.py - machine_learning_experim
ents/ , Python, 25 linesimagenet/ imagenet/ utils/ scheduler_util.py - machine_learning_experim
ents/ , Python, 506 linesimagenet/ imagenet/ utils/ util.py - machine_learning_experim
ents/ , Python, 280 linesspeech/ table1/ 1st_complexity_level/ dendrites_1/ model.py - machine_learning_experim
ents/ , Python, 311 linesspeech/ table1/ 1st_complexity_level/ dendrites_16/ model.py - machine_learning_experim
ents/ , Python, 311 linesspeech/ table1/ 1st_complexity_level/ dendrites_4/ model.py - machine_learning_experim
ents/ , Python, 311 linesspeech/ table1/ 2nd_complexity_level/ dendrites_1/ model.py - machine_learning_experim
ents/ , Python, 311 linesspeech/ table1/ 2nd_complexity_level/ dendrites_16/ model.py - machine_learning_experim
ents/ , Python, 311 linesspeech/ table1/ 2nd_complexity_level/ dendrites_4/ model.py - machine_learning_experim
ents/ , Python, 307 linesspeech/ table2/ dendrites_1/ model.py - machine_learning_experim
ents/ , Python, 306 linesspeech/ table2/ dendrites_16/ model.py - machine_learning_experim
ents/ , Python, 306 linesspeech/ table2/ dendrites_4/ model.py - machine_learning_experim
ents/ , Shell, 89 linesspeech/ train.sh - README.md, Text, 2 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 250 scripts, each with its path and the digest of its content;
- 3 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data and code availability
Our source code is available at GitHub (https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 30 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 10 authors, 9 keywords, 1 funder, 30 references.
Cite
This paper
Wu, X., Zhao, P., Yu, Z., Ma, L., Gao, Y., Yip, K.-W., Tang, H., Pan, G., Poirazi, P., & Huang, T. (2026). Dendritic nonlinearities mitigate communication costs. Patterns (New York, N.Y.), 7(6), 101520. https://
BibTeX
@article{wu2026dendritic
author = {Wu, Xundong and Zhao, Pengfei and Yu, Zilin and Ma, Lei and Gao, Yifan and Yip, Ka-Wa and Tang, Huajin and Pan, Gang and Poirazi, Panayiota and Huang, Tiejun},
title = {{Dendritic nonlinearities mitigate communication costs}},
journal = {Patterns (New York, N.Y.)},
year = {2026},
month = mar,
volume = {7},
number = {6},
pages = {101520},
publisher = {Elsevier},
issn = {2666-3899},
doi = {10.1016/
url = {https://
pmid = {42328205},
pmcid = {PMC13280677}
}
RIS
TY - JOUR
AU - Wu, Xundong
AU - Zhao, Pengfei
AU - Yu, Zilin
AU - Ma, Lei
AU - Gao, Yifan
AU - Yip, Ka-Wa
AU - Tang, Huajin
AU - Pan, Gang
AU - Poirazi, Panayiota
AU - Huang, Tiejun
TI - Dendritic nonlinearities mitigate communication costs
T2 - Patterns (New York, N.Y.)
J2 - Patterns (N Y)
PY - 2026
DA - 2026/
VL - 7
IS - 6
SP - 101520
SN - 2666-3899
PB - Elsevier
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"type": "article-journal",
"title": "Dendritic nonlinearities mitigate communication costs",
"container-title": "Patterns (New York, N.Y.)",
"author": [
{
"family": "Wu",
"given": "Xundong"
},
{
"family": "Zhao",
"given": "Pengfei"
},
{
"family": "Yu",
"given": "Zilin"
},
{
"family": "Ma",
"given": "Lei"
},
{
"family": "Gao",
"given": "Yifan"
},
{
"family": "Yip",
"given": "Ka-Wa"
},
{
"family": "Tang",
"given": "Huajin"
},
{
"family": "Pan",
"given": "Gang"
},
{
"family": "Poirazi",
"given": "Panayiota"
},
{
"family": "Huang",
"given": "Tiejun"
}
],
"container-title-short":
"volume": "7",
"issue": "6",
"page": "101520",
"DOI": "10.1016/
"PMID": "42328205",
"PMCID": "PMC13280677",
"ISSN": "2666-3899",
"publisher": "Elsevier",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
3,
30
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1038/s41467-025-56297-9 [code]
- Dendrites endow artificial neural networks with accurate, robust and parameter-efficient learning.Journal: Nature communicationsIn common: PyTorch, NumPy, 8 references
- [2] doi:10.1016/j.celrep.2026.117159 [code]
- Cellular and subcellular specialization enables biology-constrained deep learning.Journal: Cell reportsIn common: PyTorch, NumPy, 4 references
- [3] doi:10.1371/journal.pbio.3002935 [code]
- Local changes in potassium ions regulate input integration in active dendrites.Journal: PLoS biologyIn common: NumPy, 5 references
- [4] doi:10.1016/j.isci.2025.112928 [code]
- Of mice and men: Dendritic architecture differentiates human from mouse neuronal networks.Journal: iScienceIn common: NumPy, 5 references
- [5] doi:10.1073/pnas.2533168123 [code]
- Dendritic morphology and synaptic nonlinearities enhance functional complexity in human cortical neurons.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: PyTorch, NumPy, 4 references
- [6] doi:10.1038/s41467-023-41553-7 [code]
- A GPU-based computational framework that bridges neuron simulation and artificial intelligence.Journal: Nature communicationsIn common: NumPy, 4 references
- [7] doi:10.1038/s41467-022-35747-8 [code]
- Introducing the Dendrify framework for incorporating dendrites to spiking neural networks.Journal: Nature communicationsIn common: NumPy, 4 references
- [8] doi:10.1371/journal.pcbi.1012285 [code]
- Parallel synapses with transmission nonlinearities enhance neuronal classification capacity.Journal: PLoS computational biologyIn common: PyTorch, NumPy, 3 references
- [9] doi:10.7554/elife.89629 [code]
- Active dendrites enable robust spiking computations despite timing jitter.Journal: eLifeIn common: NumPy, 4 references
- [10] doi:10.1038/s42003-026-11157-0 [code]
- A NEST-based framework unlocks massively parallel simulation of networks of multi-compartment neurons with customizable subcellular dynamics.Journal: Communications biologyIn common: NumPy, 3 references
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 2 repositories of the authors' code, each at its verified commit and with its license, 250 scripts, and 3 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:31a9eab07d35a654…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1016/j.patter.2026.101520)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1016/j.patter.2026.101520.svg
:target: https://openscicode.org/badge/doi/10.1016/j.patter.2026.101520
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1016/j.patter.2026.101520"><img src="https://openscicode.org/badge/doi/10.1016/j.patter.2026.101520.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
