Deep Scale-spaces: Equivariance Over Scale

Daniel E. Worrall, Max Welling

Overview

This paper introduces Deep Scale-spaces (DSS), a framework designed to make convolutional neural networks (CNNs) naturally "understand" scale. By leveraging the mathematical theory of semigroups and scale-spaces, the authors develop a scale-equivariant correlation. This allows networks to process objects at different sizes more robustly and efficiently than standard data augmentation or ad-hoc multi-scale methods.

The Challenge of Scale in CNNs

Standard CNNs are famously "translation invariant"—they can recognize a cat regardless of where it appears in the frame. However, they are notoriously poor at handling scale. A small cat and a large cat look fundamentally different to a standard convolutional filter.

Current solutions usually fall into three categories, which the authors argue are mere "circumventions" rather than principled solutions:

  1. Scale Augmentation: Training on many resized versions of the same image (a brute-force approach).
  2. Scale Averaging: Running the same network on multiple scales at test time and averaging the results (computationally expensive).
  3. Dilated Convolutions: Using filters with "holes" to see larger areas, though this often lacks a principled way to fuse information across those scales.

The authors aim to build scale equivariance directly into the network's architecture, ensuring that if an input image is scaled, the internal feature representations scale in a predictable, mathematically consistent way.

Methods: Semigroup Correlation and Scale-Spaces

The core innovation of DSS is the Semigroup Correlation.

Most equivariant networks (like those designed for rotation) use "Group Theory." However, scaling is often a one-way street: you can blur an image to downscale it, but you cannot perfectly "un-blur" it to recover the original high-frequency details. Because scaling is non-invertible, the authors use Semigroups instead of Groups.

To achieve this, the authors utilize a Gaussian Scale-space—a stack of images where each level is increasingly blurred.

Gaussian Scale-space illustrating progressive blurring

In standard group convolutions, you typically transform the filter (e.g., rotate it). Because scaling and blurring are non-invertible, the authors instead transform the signal. They "lift" the input image into a scale-space (a 3D volume of space plus scale) and perform correlations across this entire volume.

Diagram of Semigroup Correlation across scale-space layers

These DSS layers are designed to be "plug-and-play," meaning they can be dropped into existing architectures like ResNets or DenseNets as a direct replacement for standard convolutions.

Key Insights

  • The "One-Way" Nature of Scale: Realizing that scaling is a semigroup operation (due to information loss during blurring) is a critical theoretical shift from previous work that treated scale like rotation.
  • Principled Multi-scale Fusion: Unlike Feature Pyramid Networks, which often feel like architectural "hacks," DSS provides a mathematically grounded way to share weights across scales.
  • Efficiency through Separability: By exploiting the property that 2D Gaussian blurs are separable into two 1D blurs, the authors effectively manage the computational complexity of creating the scale-space.

Experimental Results

The authors evaluated their method on two distinct computer vision tasks, demonstrating significant improvements:

  • Cityscapes (Semantic Segmentation): This dataset features urban street scenes where objects (cars, pedestrians) appear at vastly different sizes depending on their distance. The scale-equivariant model (S-ResNet) significantly outperformed standard ResNet baselines. When matched for the number of parameters, the S-ResNet achieved a 63.53 mAP, compared to just 45.66 mAP for the standard ResNet. Even when the standard ResNet was given more channels to match the S-ResNet's capacity, it only reached 49.99 mAP.
  • Patch Camelyon (Histopathology): On this binary classification task of metastatic tissue, scale consistency is vital for identifying cell structures. The S-DenseNet achieved 88.1% accuracy, outperforming the standard DenseNet baseline (87.0%) in a strict, size-matched comparison.

Overall, the results suggest that building scale-equivariance into the model improves "sample complexity," allowing the model to learn more effectively from the same amount of data.

Limitations and Future Work

While promising, the DSS framework has a few limitations:

  • Computational Overhead: Adding a "scale" dimension to every activation tensor increases memory usage and computation time. More efficient correlation methods are needed for very large-scale models.
  • Boundary Effects: Because the network cannot represent an infinite range of scales, equivariance breaks down at the very smallest and very largest scales (the "edges" of the scale stack).
  • Integer Scaling: The current implementation focuses on dilations at integer powers of 2. Moving to non-integer dilations and better interpolation could further improve performance.

Looking forward, the authors are interested in applying these semigroup correlations to other domains, such as meshes and graphs, where symmetries are less well-defined.

Summary updated

BibTeX
@inproceedings{worrall2019deep,
  author = {Daniel E. Worrall and Max Welling},
  title = {{Deep Scale-spaces: Equivariance Over Scale}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure