Scale-Invariant Convolutional Neural Networks

Yichong Xu, Tianjun Xiao, Jiaxing Zhang, Kuiyuan Yang, Zheng ZhangarXiv 2014

Abstract

While Convolutional Neural Networks (CNNs) exhibit inherent shift-invariance, they often struggle to generalize across different object scales. Traditional solutions rely on extensive data augmentation or significant increases in model parameters. This paper introduces the Scale-Invariant Convolutional Neural Network (SiCNN), a multi-column architecture that incorporates scale-invariance directly into the network design. By mathematically tying filters across different columns through linear transformations, SiCNN achieves robust performance on multi-scale datasets without a corresponding explosion in parameter count. Experiments on CIFAR-10 and its scaled variants demonstrate that SiCNN significantly outperforms standard CNN baselines in both accuracy and scale stability.

Introduction

Convolutional Neural Networks (CNNs) have revolutionized computer vision, largely due to their ability to recognize patterns regardless of their spatial location (shift-invariance). However, they are surprisingly sensitive to changes in scale. A filter trained to detect a specific feature at one size may fail entirely if that feature appears twice as large in a different image.

Currently, the industry standard for addressing this limitation is "brute force": practitioners either scale the network size to learn redundant features at various resolutions or employ "scale-jittering" (data augmentation) to expose the model to multiple sizes during training. Both methods are computationally expensive and fail to address the underlying architectural deficiency. SiCNN proposes a more elegant, mathematically grounded approach to scale-invariance.

Architecture and Methods

The core of the SiCNN is a multi-column architecture where each column acts as a convolutional stack specializing in a specific scale. Unlike standard ensemble methods, SiCNN employs Filter Tying to maintain efficiency.

The multi-column architecture of SiCNN with tied filters across columns.

Instead of allowing each column to learn independent weights, filters across all columns are tied to a single "canonical" filter through a linear transformation. The authors prove that the transformation from a canonical filter to any specific scale is a linear operation ($f_t = Q \cdot f_c$). This allows the network to use standard backpropagation to update shared canonical filters. At the final stage, the feature maps from all columns are concatenated into a single feature vector and passed to a classification layer (e.g., softmax).

The Principle of Scale-Invariance

The fundamental insight of SiCNN is that if an input image is scaled, the network should be able to "scale" its filters to match. By enforcing this relationship mathematically, the network avoids the need to re-learn the same visual concepts at multiple sizes.

Visualization of the scale-invariance property: scaling the input image and the filter leads to equivalent feature maps.

As shown in the visualization above, convolving a scaled image with a appropriately scaled filter produces a result equivalent to scaling the output of the original convolution. This architectural constraint ensures that the model remains parameter-efficient; adding more columns to handle a wider range of scales does not increase the number of free parameters in the convolutional layers.

Experimental Results

The researchers evaluated SiCNN using the standard CIFAR-10 benchmark and a custom "Scaled CIFAR-10" dataset, where images were cropped and resized into small, middle, and large scales to stress-test robustness.

Performance on CIFAR-10

On the standard, unaugmented CIFAR-10 dataset, SiCNN achieved a 14.22% error rate, a notable improvement over the baseline CNN's 17.33%. When combined with Maxout units, the error rate dropped further to 11.33%, outperforming many contemporary state-of-the-art models.

Scale Robustness

The advantage of SiCNN became even more apparent on the Scaled CIFAR-10 dataset. While the baseline CNN's performance plummeted to a 24.82% error rate, SiCNN remained stable at 18.83% error. The "performance drop" when moving from standard to scaled data was 43.22% for the baseline, but only 32.42% for SiCNN, confirming its superior generalization across scales.

Conclusion and Future Work

SiCNN demonstrates that scale-invariance can be effectively baked into neural architectures through tied, transformed filters. This approach provides a significant boost in robustness while keeping the parameter count manageable.

While the number of parameters is fixed, the computational cost of training currently increases linearly with the number of columns. Future research will focus on more efficient training strategies and testing the architecture on larger, more complex datasets like ImageNet. Additionally, exploring more sophisticated merging strategies beyond simple concatenation, such as inter-column connectivity, remains a promising avenue for further improvement.

Summary updated

BibTeX
@misc{xu2014scale,
  author = {Yichong Xu and Tianjun Xiao and Jiaxing Zhang and Kuiyuan Yang and Zheng Zhang},
  title = {{Scale-Invariant Convolutional Neural Networks}},
  year = {2014},
  eprint = {1411.6369},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1411.6369},
}
Figure