A Novel Weight-Shared Multi-Stage Network Architecture of CNNs for Scale Invariance

Ryo Takahashi, Takashi Matsubara, Kuniaki Uehara

Abstract

Convolutional Neural Networks (CNNs) exhibit inherent translation invariance but often struggle with scale transformations. Standard approaches like data augmentation are parameter-inefficient, requiring the network to learn redundant features at various resolutions. We present the Weight-Shared Multi-Stage Network (WSMS-Net), an architectural framework that processes multiple image scales through shared weights. By forcing the network to learn scale-invariant features and fusing them through an integration layer, WSMS-Net achieves superior performance on benchmarks like CIFAR and ImageNet with negligible parameter overhead.

Introduction: The Challenge of Scale Invariance

While CNNs effectively handle "parallel shifts" (translation invariance), they are sensitive to changes in object scale. A filter optimized to detect a "tire" at a specific resolution may fail if the object is significantly zoomed in or out.

Traditionally, researchers rely on data augmentation—training on multiple resized versions of the same image. However, this approach forces the model to use its limited "expression ability" to learn the same feature multiple times at different sizes.

Comparison between standard data augmentation and the proposed WSMS-Net architecture.

As shown in the figure above, while data augmentation treats different scales as separate training instances for independent CNN passes, WSMS-Net integrates these scales into a single, weight-shared forward pass, promoting structural scale invariance.

Methods: The WSMS-Net Architecture

The WSMS-Net is designed as a wrapper that can be applied to existing architectures like ResNet or DenseNet. Its operation is defined by four key components:

  1. Multi-Stage Processing: The input image is downsampled into $S$ stages. Stage 1 uses the original resolution, while subsequent stages receive images resized by factors of 1/2, 1/4, and so on.
  2. Weight Sharing: This is the core innovation. Instead of distinct filters for each stage, the convolution blocks across all stages share the exact same weight parameters. This forces the network to learn features that are useful regardless of the input resolution.
  3. Feature Fusion: The output feature maps from all stages are concatenated. Because of the input downsampling and internal pooling, these maps reach a compatible spatial size for fusion.
  4. Integration Layer: A final 1x1 convolution layer processes the concatenated maps. This layer acts as a learned selector, identifying the most salient features from the optimal scale for classification.
Detailed architecture of the Weight-Shared Multi-Stage Network (WSMS-Net).

Experimental Results

The authors evaluated WSMS-Net on CIFAR-10, CIFAR-100, and ImageNet (ILSVRC 2012).

  • CIFAR-10/100: A WSMS-DenseNet (3 stages) achieved a 3.51% error rate on CIFAR-10, outperforming the baseline DenseNet (3.74%). On CIFAR-100, the error dropped from 19.25% to 18.45%.
  • ImageNet: Applying a 4-stage WSMS to a ResNet-152 reduced the top-1 error from 22.16% to 21.93%.
  • Ablation Study: The authors compared WSMS-Net to a "Multi-Scale" (MS-Net) baseline that used multiple stages without weight sharing. WSMS-Net significantly outperformed MS-Net, confirming that weight sharing is the primary driver of performance gains, not just the multi-scale input.

Discussion and Key Insights

The success of WSMS-Net lies in its efficiency. By sharing weights in the "scale" dimension—analogous to how standard CNNs share weights across spatial dimensions—the model avoids redundant parameter usage.

T-SNE visualizations of the feature space revealed that the Integration Layer serves as a critical "switch." Before this layer, features from different scales form distinct clusters; after the layer, they merge into a unified, scale-invariant representation. Furthermore, the effectiveness of a simple 1x1 convolution for integration suggests that the network primarily needs to select features across scales rather than perform additional complex spatial reasoning during fusion.

Conclusion and Future Work

WSMS-Net provides a robust, parameter-efficient solution for scale invariance in image classification. While it increases computational cost (FLOPs) due to multi-stage processing, the gains in accuracy and parameter efficiency are significant. Future research will explore extending this weight-shared multi-stage approach to tasks where scale variation is even more critical, such as object detection and semantic segmentation, as well as addressing other geometric variances like rotation.

Summary updated

BibTeX
@article{takahashi2019novel,
  author = {Ryo Takahashi and Takashi Matsubara and Kuniaki Uehara},
  title = {{A Novel Weight-Shared Multi-Stage Network Architecture of CNNs for Scale Invariance}},
  journal = {IEEE Trans. Circuits Syst. Video Technol.},
  year = {2019},
  doi = {10.1109/tcsvt.2018.2822773},
}
Figure