Skip to main content
QUICK REVIEW

[Paper Review] ResNet or DenseNet? Introducing Dense Shortcuts to ResNet

Chaoning Zhang, Philipp Benz|arXiv (Cornell University)|Oct 23, 2020
Advanced Neural Network ApplicationsComputer Science44 references18 citations
TL;DR

This paper proposes Dense Shortcuts (DSNet), a novel residual connection mechanism that replaces ResNet's identity shortcuts and DenseNet's feature concatenation with dense weighted normalized shortcuts. By enabling efficient, parameter-efficient feature reuse through shared normalization and learnable weights, DSNet achieves state-of-the-art performance on ImageNet and COCO, outperforming ResNet by a significant margin while using fewer parameters and less GPU memory than DenseNet.

ABSTRACT

ResNet or DenseNet? Nowadays, most deep learning based approaches are implemented with seminal backbone networks, among them the two arguably most famous ones are ResNet and DenseNet. Despite their competitive performance and overwhelming popularity, inherent drawbacks exist for both of them. For ResNet, the identity shortcut that stabilizes training also limits its representation capacity, while DenseNet has a higher capacity with multi-layer feature concatenation. However, the dense concatenation causes a new problem of requiring high GPU memory and more training time. Partially due to this, it is not a trivial choice between ResNet and DenseNet. This paper provides a unified perspective of dense summation to analyze them, which facilitates a better understanding of their core difference. We further propose dense weighted normalized shortcuts as a solution to the dilemma between them. Our proposed dense shortcut inherits the design philosophy of simple design in ResNet and DenseNet. On several benchmark datasets, the experimental results show that the proposed DSNet achieves significantly better results than ResNet, and achieves comparable performance as DenseNet but requiring fewer computation resources.

Motivation & Objective

  • To address the trade-off between representation capacity and computational efficiency in ResNet and DenseNet.
  • To overcome the limited representational capacity of ResNet's identity shortcut and the high memory cost of DenseNet's dense concatenation.
  • To propose a unified perspective on dense summation that clarifies the core difference between ResNet and DenseNet.
  • To design a lightweight, efficient, and high-performing alternative to both ResNet and DenseNet.
  • To achieve better feature utilization without increasing parameter count or computational overhead.

Proposed method

  • Replace ResNet's identity shortcut with a dense weighted normalized shortcut that aggregates features from all preceding layers.
  • Apply shared batch normalization to the aggregated feature maps, followed by learnable scaling and shifting weights for each shortcut path.
  • Perform normalization once per aggregation output and reuse it across all shortcuts linked to that layer, reducing computation and parameter overhead.
  • Use a weighted summation of normalized features instead of concatenation, avoiding the memory explosion of DenseNet.
  • Maintain the same residual block architecture as ResNet, only replacing the shortcut connection mechanism.
  • Implement the shortcut as a lightweight operation: multiply the shared normalized feature by a learnable weight, minimizing computational cost.

Experimental results

Research questions

  • RQ1How can we improve the representational capacity of ResNet without increasing computational or memory costs?
  • RQ2Can we achieve performance comparable to DenseNet while avoiding its high GPU memory and training time requirements?
  • RQ3What is the fundamental difference between ResNet and DenseNet in terms of feature reuse and parameter sharing?
  • RQ4Can a unified dense summation perspective reveal better design principles for residual networks?
  • RQ5Does a dense shortcut with normalized, weighted summation outperform both identity shortcuts and feature concatenation?

Key findings

  • On ImageNet, DSNet50 achieves a top-1 accuracy of 22.49%, significantly outperforming ResNet50 (24.01%) and approaching DenseNet264 (22.15%).
  • DSNet50 achieves higher mAP on COCO detection (54.2% mAP.5) than ResNet50 (51.3%), demonstrating superior generalization.
  • DSNet50 uses only 4777 MB GPU memory per GPU, significantly less than DenseNet264 (9981 MB), while maintaining faster training speed (0.37s per iteration vs. 0.60s).
  • The proposed implementation reduces computation and parameter overhead by sharing normalization across shortcuts and eliminating redundant affine transformations.
  • Grad-CAM visualization shows that DSNet focuses more sharply on objects than ResNet50, indicating improved attention and feature learning.
  • DS2Net50 achieves comparable performance to DenseNet264 (22.03% top-1) with even lower memory (5133 MB) and faster training than ResNet152.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.