Skip to main content
QUICK REVIEW

[Paper Review] Log-DenseNet: How to Sparsify a DenseNet

Hanzhang Hu, Debadeepta Dey|arXiv (Cornell University)|Oct 30, 2017
Advanced Neural Network ApplicationsComputer Science18 references28 citations
TL;DR

Log-DenseNet proposes a sparsified variant of DenseNet that reduces computational complexity from O(L²) to O(L log L) by strategically placing skip connections to maintain short backpropagation distances (1 + log₂L), achieving superior performance on semantic segmentation and competitive results on image recognition with fewer parameters and better scalability than standard DenseNets.

ABSTRACT

Skip connections are increasingly utilized by deep neural networks to improve accuracy and cost-efficiency. In particular, the recent DenseNet is efficient in computation and parameters, and achieves state-of-the-art predictions by directly connecting each feature layer to all previous ones. However, DenseNet's extreme connectivity pattern may hinder its scalability to high depths, and in applications like fully convolutional networks, full DenseNet connections are prohibitively expensive. This work first experimentally shows that one key advantage of skip connections is to have short distances among feature layers during backpropagation. Specifically, using a fixed number of skip connections, the connection patterns with shorter backpropagation distance among layers have more accurate predictions. Following this insight, we propose a connection template, Log-DenseNet, which, in comparison to DenseNet, only slightly increases the backpropagation distances among layers from 1 to ($1 + \log_2 L$), but uses only $L\log_2 L$ total connections instead of $O(L^2)$. Hence, Log-DenseNets are easier than DenseNets to implement and to scale. We demonstrate the effectiveness of our design principle by showing better performance than DenseNets on tabula rasa semantic segmentation, and competitive results on visual recognition.

Motivation & Objective

  • To address the scalability limitations of DenseNet, which suffers from O(L²) computational complexity due to full skip connections across all layers.
  • To investigate whether minimizing backpropagation distance between feature layers improves model performance when the number of skip connections per layer is fixed.
  • To design a more efficient network architecture that maintains high accuracy while reducing parameter and FLOP counts for deep networks, especially in fully convolutional settings.
  • To enable training of deeper networks without requiring specialized GPU memory management or architectural modifications.

Proposed method

  • Proposes a connection template, Log-DenseNet, where each layer connects to previous layers via a logarithmic hierarchy, reducing total connections from O(L²) to O(L log L).
  • Uses a binary-tree-inspired connection pattern to ensure that the maximum backpropagation distance between any two layers is 1 + log₂L, only slightly increasing from 1 in DenseNet.
  • Employs block-wise grouping and compression to reduce channel dimensions early in the network, improving training stability and efficiency.
  • Designs two variants: Log-DenseNet V1, which uses a uniform logarithmic distance pattern, and V2, which optimizes block-level connections to better preserve short distances.
  • Implements the architecture using standard convolutional layers and skip connections, with no additional learnable parameters beyond standard residual learning.
  • Validates the design through ablation studies comparing backpropagation distance, connection sparsity, and performance across multiple datasets.

Experimental results

Research questions

  • RQ1Does minimizing the maximum backpropagation distance (MBD) among feature layers improve model accuracy when the number of skip connections per layer is constrained?
  • RQ2Can a sparsified connection pattern with O(L log L) connections maintain performance comparable to DenseNet’s O(L²) connections?
  • RQ3To what extent does Log-DenseNet improve scalability for deep fully convolutional networks, such as those used in semantic segmentation?
  • RQ4How does the performance of Log-DenseNet compare to DenseNet and ResNet in terms of accuracy, FLOPs, and parameter count on standard benchmarks?

Key findings

  • Log-DenseNet V2 achieves comparable top-1 error rates to DenseNet on ILSVRC2012 classification, with similar FLOP usage and significantly reduced parameter count.
  • On CamVid for tabula rasa semantic segmentation, Log-DenseNet outperforms DenseNet while using only half the number of parameters and similar FLOP counts.
  • The maximum backpropagation distance in Log-DenseNet increases logarithmically (1 + log₂L), compared to 1 in DenseNet, yet this small increase results in minimal performance degradation.
  • Log-DenseNet V1 shows slightly worse performance than V2 and DenseNet, especially in deeper networks, due to higher average MBD, confirming the importance of optimized connection placement.
  • Naïve implementations of Log-DenseNet can scale to depths beyond 100 layers with 11GB GPU memory, whereas DenseNet (52, 24) already fails to fit under the same conditions.
  • On CIFAR100, Log-DenseNet V2 matches DenseNet’s accuracy at the same FLOP level, demonstrating that sparsity does not compromise performance when connections are strategically placed.

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.