All models

SkipNet

Residual network with gates that skip convolutional blocks on a per-input basis.

Image classification · 1,171 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 (945 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
44.9M
Operations
1,171
Framework
PyTorch
Recurrent
Yes
Published
ECCV 2018
Cited by
642 (as of 27 October 2026)
Authors
Xin Wang, Fisher Yu, Zi-Yi Dou 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
m20450
Graph hash
e6b4b7db08b8b6ccbbfa40819ae1b7773dad7b6a795f5ec78c813de5693a7912
Skeleton hash
1f0d7dfdbfdd4d3572cfa4b184847be22e91d658f76bab8c05bd9004fd3ac8fe
Architecture hash
1ebaefccf1ec12f1b572992c06196e39c9ab158ca9a3608d2d4efe509cc2ce31
Diagram SHA-256
bfd2295e94885c76b4d61c2223207d63bd00493fd98cbb0929b0c2bdedd64003
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

SkipNet is a modified residual network that learns to skip convolutional layers on a per-input basis. It rests on the observation that deeper networks are needed for maximum accuracy, yet shallower networks are sufficient for many inputs. Challenging images are routed through more layers than easy images.

A gating network decides whether to skip each convolutional block, based on the activations of the previous layer. The paper presents two designs, with feedforward gates and with recurrent gates, which allow different levels of parameter sharing. Because skipping decisions are not differentiable, the authors treat skipping as sequential decision making and train with a hybrid algorithm that combines supervised learning and reinforcement learning.

The paper reports that SkipNet reduced computation by 30-90% while preserving the accuracy of the original model on four benchmark datasets. The authors also examined the gating policy and found a relationship between image scale and saliency and the number of layers skipped. The work was published at ECCV 2018, and the repository holds configurations for both CIFAR and ImageNet.

Key idea. SkipNet adds a gating network to a residual network so that convolutional blocks are skipped per input, trained with a hybrid of supervised and reinforcement learning.

  • SkipNet
  • SkipNet-ResNet
  • dynamic routing
  • layer skipping
  • gating network
  • dynamic network
  • image classification
  • adaptive computation

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

Cite the paper

@misc{wang2018skipnetlearningdynamicrouting,
      title={SkipNet: Learning Dynamic Routing in Convolutional Networks}, 
      author={Xin Wang and Fisher Yu and Zi-Yi Dou and Trevor Darrell and Joseph E. Gonzalez},
      year={2018},
      eprint={1711.09485},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1711.09485}, 
}