Skip to main content
QUICK REVIEW

[Paper Review] ShaResNet: reducing residual network parameter number by sharing weights

Alexandre Boulch|arXiv (Cornell University)|Feb 28, 2017
Advanced Neural Network ApplicationsComputer Science10 references19 citations
TL;DR

This paper proposes ShaResNet, a residual network variant that reduces parameter count by sharing 3x3 convolutional weights across residual blocks at the same spatial scale. By reusing shared convolutions across multiple blocks while retaining block-specific layers, ShaResNet achieves up to 39% parameter reduction—e.g., a 152-layer ResNet reduced to 106 layers—while losing less than 0.2% top-1 accuracy on ImageNet.

ABSTRACT

Deep Residual Networks have reached the state of the art in many image processing tasks such image classification. However, the cost for a gain in accuracy in terms of depth and memory is prohibitive as it requires a higher number of residual blocks, up to double the initial value. To tackle this problem, we propose in this paper a way to reduce the redundant information of the networks. We share the weights of convolutional layers between residual blocks operating at the same spatial scale. The signal flows multiple times in the same convolutional layer. The resulting architecture, called ShaResNet, contains block specific layers and shared layers. These ShaResNet are trained exactly in the same fashion as the commonly used residual networks. We show, on the one hand, that they are almost as efficient as their sequential counterparts while involving less parameters, and on the other hand that they are more efficient than a residual network with the same number of parameters. For example, a 152-layer-deep residual network can be reduced to 106 convolutional layers, i.e. a parameter gain of 39\%, while loosing less than 0.2\% accuracy on ImageNet.

Motivation & Objective

  • To reduce the parameter count in deep residual networks without sacrificing accuracy.
  • To investigate whether redundant spatial operations across residual blocks can be shared to improve parameter efficiency.
  • To evaluate whether shared convolutional layers can outperform deeper sequential networks with equivalent parameter budgets.
  • To explore the biological plausibility of recurrent-like weight sharing in artificial neural networks.
  • To develop a training-compatible architecture that maintains the optimization benefits of standard residual networks.

Proposed method

  • Share 3x3 convolutional filters across all residual blocks within the same stage (spatial scale) of a residual network.
  • Maintain block-specific convolutional layers for identity mapping and feature transformation.
  • Use the same shared convolutional layer for multiple residual blocks, allowing signal to flow through it multiple times.
  • Train the entire architecture using standard backpropagation and stochastic gradient descent, identical to standard ResNets.
  • Apply weight sharing only to the main convolutional layers (not batch normalization or fully connected layers), preserving training stability.
  • Design the architecture such that spatial dimensionality reduction occurs only in dedicated blocks (marked red in figures), while shared convolutions (green) operate across multiple blocks.

Experimental results

Research questions

  • RQ1Can shared convolutional weights across residual blocks reduce parameter count without significant accuracy loss?
  • RQ2How does parameter efficiency compare between ShaResNet and standard ResNets with the same number of parameters?
  • RQ3Does weight sharing improve the accuracy-to-parameter ratio in deep networks compared to deeper but less parameter-efficient architectures?
  • RQ4Is the performance gain from weight sharing dependent on network depth or dataset scale?
  • RQ5Can shared convolutions effectively model redundant spatial operations across blocks, as suggested by biological brain architecture?

Key findings

  • ShaResNet reduces the number of parameters in a 152-layer ResNet by 39% (from 106M to 64M parameters), with a top-1 accuracy loss of less than 0.2% on ImageNet.
  • On CIFAR-10, a 164-layer ResNet with shared convolutions (0.93M parameters) achieves 93.8% accuracy, comparable to a shallower 92-layer ResNet (0.96M parameters) with 93.9% accuracy.
  • For Wide ResNet-28-4 on CIFAR-10, the shared version (5.85M parameters) achieves 94.9% accuracy, slightly outperforming the non-shared version (5.85M parameters) at 95.0%.
  • On CIFAR-100, the shared WRN-28-10 (26.86M parameters) achieves 79.8% accuracy, outperforming the non-shared WRN-22-10 (26.85M parameters) at 79.55%.
  • The top-1 error rate of ShaResNet is consistently below that of standard ResNets with the same number of parameters, especially on large-scale datasets like ImageNet.
  • The performance gain from weight sharing is most pronounced in deeper networks, where shared layers better utilize parameters due to higher redundancy in spatial operations.

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.