All models

MS-ResNet-SNN

A spiking residual network with membrane-based shortcuts for ImageNet image classification.

Spiking networks · 3,122 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

This diagram has 3,122 operations (2.2 MB) and is drawn when you ask.

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
21.8M
Operations
3,122
Framework
PyTorch
Recurrent
Yes
Published
IEEE Transactions on Neural Networks and Learning Systems (2024)
Cited by
14 (as of 27 October 2026)
Authors
Yifan Hu, Lei Deng, Yujie Wu 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
m18214
Graph hash
84a6ea2b279d25641f3277f187f26d3b1189ec1100e1a1b8e53dbc1cb23e9e36
Skeleton hash
8794a27292eaa979d8d7ec0a414f46e5d101b983b39712a32d6815b19dd8ecee
Architecture hash
1eab7638773549e177d2f5936dfd344ab89b8a9f26146bfaec6f57e457b29f69
Diagram SHA-256
2e2dbea79456d0f51f4bc417337a83b349f833c5a00d5ceec75c09c8fdc5d420
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

MS-ResNet is a residual architecture designed for spiking neural networks (SNNs), built so that they can be trained directly at large depth. The paper argues that earlier residual SNNs adopted shortcuts without assessing how they suit spike-based communication, and that this impeded information flow and led to a degradation problem.

In MS-ResNet the shortcut pathways are membrane-based, and the authors use block dynamical isometry theory to prove that gradient norm equality can be achieved. With this design the paper trains SNNs directly at up to 482 layers on CIFAR-10 and 104 layers on ImageNet without observing a degradation problem. The paper reports 76.02% accuracy on ImageNet for MS-ResNet104. It also reports an average of only one spike per neuron to classify an input sample.

The official repository contains the code for training MS-ResNet on ImageNet at depths 18, 34 and 104. It also states that the weight decay used for training should be 1e-5 for MS-ResNet18/34 instead of the 1e-4 reported in the paper.

Key idea. MS-ResNet adds membrane-based shortcut pathways to residual spiking networks, letting directly trained SNNs reach 482 layers on CIFAR-10 and 104 layers on ImageNet without degradation.

  • MS-ResNet
  • MS-ResNet-SNN
  • membrane-shortcut ResNet
  • spiking neural network
  • SNN
  • spiking ResNet
  • deep residual learning
  • neuromorphic computing
  • directly trained SNN
  • image classification

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

Cite the paper

@misc{hu2023advancingspikingneuralnetworks,
      title={Advancing Spiking Neural Networks towards Deep Residual Learning}, 
      author={Yifan Hu and Lei Deng and Yujie Wu and Man Yao and Guoqi Li},
      year={2023},
      eprint={2112.08954},
      archivePrefix={arXiv},
      primaryClass={cs.NE},
      url={https://arxiv.org/abs/2112.08954}, 
}