All models

SPD-Conv

A YOLOv5 object detector that downsamples with space-to-depth layers instead of strided convolutions.

Detection and tracking · 286 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 (53 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
8.8M
Operations
286
Framework
PyTorch
Recurrent
No
Published
ECML PKDD 2022
Cited by
974 (as of 28 October 2026)
Authors
Raja Sunkara, Tie Luo
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
m20099
Graph hash
d892a09587fa19cf66ce01fad2d5e33faa1f1ee326bcda062c3d80567bef4836
Skeleton hash
06ff0fc0c8532d9a31c3078bf91c48b290217e87187ff45ed67507dfd81e2d86
Architecture hash
5a17608ea002ed39c96628d34f5beedacc78e181cc3227b8fe74250402c3585d
Diagram SHA-256
032046a41d37199b7217f621c3dd6429de77cc83530dca67d69c8a9299deb42a
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

SPD-Conv is a convolutional building block meant to replace every strided convolution and pooling layer in a CNN. The paper starts from the observation that CNN performance degrades rapidly when images are of low resolution or objects are small. It traces this to strided convolution and pooling, which it says lose fine-grained information and lead to less effective feature representations.

The block is a space-to-depth (SPD) layer followed by a non-strided convolution. The SPD layer cuts a feature map into sub-maps and concatenates them along the channel dimension, shrinking the spatial size by the scale factor and multiplying the channels by its square. According to the paper, this keeps all the information in the channel dimension, so the downsampling loses none of it.

The authors build YOLOv5-SPD, ResNet18-SPD and ResNet50-SPD and evaluate them on COCO-2017, Tiny ImageNet and CIFAR-10. The paper reports that these models outperform the deep learning models it compares against, especially on low-resolution images and small objects. The model on this page is the YOLOv5-SPD-s detector, built from the repository's space_depth_s configuration. For YOLOv5-spd-s, the repository's table of pre-trained models lists an AP of 40.0 and a small-object AP of 23.5.

Key idea. SPD-Conv replaces strided convolutions and pooling with a space-to-depth layer and a non-strided convolution, so CNNs downsample without discarding information.

  • spd-conv
  • space-to-depth convolution
  • yolov5-spd
  • object detection
  • small object detection
  • low-resolution images
  • strided convolution
  • pooling

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

Cite the paper

@misc{sunkara2022stridedconvolutionspoolingnew,
      title={No More Strided Convolutions or Pooling: A New CNN Building Block for Low-Resolution Images and Small Objects}, 
      author={Raja Sunkara and Tie Luo},
      year={2022},
      eprint={2208.03641},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2208.03641}, 
}