Training Deeper Convolutional Networks with Deep Supervision

Liwei Wang, Chen-Yu Lee, Zhuowen Tu, Svetlana LazebnikarXiv 2015

Introduction

In the evolution of computer vision, increasing the depth of convolutional neural networks (CNNs) has been a primary driver for performance gains. However, as networks grow deeper, they encounter significant optimization challenges. This paper introduces Convolutional Networks with Deep Supervision (CNDS), a method designed to facilitate the training of deep architectures by incorporating auxiliary supervision branches at intermediate layers.

The Challenge of Depth: Vanishing Gradients

The primary obstacle in training deep networks is the "vanishing gradient" problem. During backpropagation, the error signal is propagated from the output layer back toward the input. In very deep architectures, this signal can diminish exponentially, leaving early layers with negligible updates. Consequently, these layers fail to learn meaningful features, stalling the training process. Additionally, deeper models often require complex multi-stage training or meticulous initialization to converge.

Methodology: Deep Supervision

The authors propose a systematic approach to inject learning signals directly into the middle of the network.

Auxiliary Classifiers

The core of CNDS involves attaching auxiliary "supervision" branches to intermediate layers. These branches consist of mini-networks (typically a few convolutional and fully connected layers) that perform classification based on intermediate feature maps. This allows the network to receive direct feedback at multiple depths.

Architectural diagrams for CNDS-8 and CNDS-13 models, showing the placement of auxiliary supervision branches.

Strategic Placement and Weighted Loss

Rather than placing supervision at every layer, the authors employ a heuristic: auxiliary branches are inserted where the gradient magnitude falls below a specific threshold (e.g., $10^{-7}$) during standard training. The total training objective is a weighted sum of the final loss ($L_0$) and the auxiliary losses ($L_s$):

$$L_{total} = L_0 + \sum \alpha_t L_s$$

The weight $\alpha_t$ typically starts high (e.g., 0.3) and decays to zero as training progresses. This allows the auxiliary branches to act as "training wheels" that guide the network early on but are discarded before inference, ensuring no additional computational cost during test time.

Experimental Evaluation

The CNDS framework was evaluated on two major benchmarks: ImageNet (ILSVRC) and MIT Places-205.

Gradient Analysis

Empirical results demonstrate the effectiveness of deep supervision in maintaining gradient flow. In standard CNNs, gradients for early layers often flatline early in the training process. In contrast, CNDS maintains robust gradient magnitudes throughout the network, enabling simultaneous learning across all layers.

Comparison of mean absolute gradient values between standard CNNs and CNDS across different convolutional layers.

Performance Results

  • ImageNet: An 8-layer CNDS model achieved a top-5 error rate of 13.2%, outperforming vanilla 8-layer (14.0%) and even some 13-layer baselines from previous literature.
  • MIT Places: The CNDS-8 model reached 55.7% top-1 accuracy, significantly outperforming a 5-layer baseline (50.0%) and nearly matching the performance of the much deeper 22-layer GoogLeNet (56.3%) while being significantly more efficient.

Conclusion

Deep supervision provides a powerful regularization effect and a solution to the vanishing gradient problem. By forcing intermediate layers to be discriminative, the network learns more robust features and converges faster. While later architectures like ResNets introduced skip connections to address similar issues, the concept of auxiliary supervision remains a vital technique for training complex, multi-task, or extremely deep vision models.

Summary updated

BibTeX
@misc{wang2015training,
  author = {Liwei Wang and Chen-Yu Lee and Zhuowen Tu and Svetlana Lazebnik},
  title = {{Training Deeper Convolutional Networks with Deep Supervision}},
  year = {2015},
  eprint = {1505.02496},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1505.02496},
}
Figure