Introduction
Standard Convolutional Neural Networks (CNNs) have revolutionized computer vision primarily through their inherent translation equivariance—the ability to recognize a pattern regardless of its location in an image. However, these architectures often struggle with variations in scale. In the physical world, an object's identity remains constant whether it is viewed from a distance or up close. For a standard CNN, however, a small instance of an object and a large one appear as fundamentally different pixel patterns.
This paper introduces Deep Scale-spaces (DSS), a framework that embeds scale equivariance directly into the network architecture. By leveraging the mathematics of semigroups, DSS allows models to naturally reason about objects across a continuous range of sizes without relying on common "hacks" like extensive data augmentation or computationally expensive image pyramids.
The Challenge: Scale as a Semigroup
While rotation and translation are "group" operations—transformations that can be perfectly inverted—scaling is often a "one-way street." Reducing the resolution of an image or applying a blur involves a loss of high-frequency information that cannot be recovered. This makes scale a semigroup rather than a group.
Traditional methods to handle scale, such as dilated convolutions or multi-resolution pyramids, fail to bake this fundamental symmetry into the internal logic of the network. DSS addresses this by treating scale as a structured dimension within the network's feature space.
Methodology: Semigroup Correlation
The authors propose a principled extension of standard convolutions termed Semigroup Correlation. This approach is built upon two pillars:
1. Scale-Space Foundation
Drawing from classical scale-space theory, the network processes an image by convolving it with Gaussian kernels of increasing width. This creates a "stack" of images where each level represents a progressively blurrier version of the input.
A critical property of this stack is recursivity: a highly blurred level can be derived from a moderately blurred level. This recursive structure allows the network to maintain consistency across scales.
2. Lifting and Equivariance
The DSS framework "lifts" a 2D image into a 3D volume (Height x Width x Scale). Instead of sliding a filter only across spatial axes, the DSS correlation operates across the scale axis as well. In this lifted space, a change in the input image's scale corresponds to a simple translation (a shift) along the scale axis. By transforming a complex scaling problem into a translation problem, the network can leverage its existing strengths to achieve equivariance.
3. Implementation via Dilated Convolutions
To ensure the method is "plug-and-play" for modern architectures, the authors demonstrate that scale-equivariant operations can be implemented using dilated convolutions. As filters move "up" the scale-space stack, they effectively sample information from different resolutions. This allows DSS to be integrated into standard backbones like ResNet and DenseNet, resulting in S-ResNet and S-DenseNet variants.
Experimental Results
The DSS framework was evaluated on two challenging benchmarks where scale variability is a primary factor:
- Patch Camelyon (PCam): In histopathology, biological structures vary significantly in size. The scale-equivariant S-DenseNet achieved 88.1% accuracy, surpassing the standard DenseNet baseline of 87.0%.
- Cityscapes: For urban semantic segmentation, objects like pedestrians and cars appear at vastly different scales depending on their distance. Here, S-ResNet achieved a mean Average Precision (mAP) of 63.53, a dramatic improvement over the standard ResNet's 45.66 using a comparable parameter count.
Furthermore, empirical tests confirmed that the network maintains high symmetry, with equivariance error remaining below 0.01 until reaching the boundaries of the truncated scale-space.
Discussion and Future Work
While DSS provides a robust mathematical foundation for scale equivariance, it faces practical challenges. The "top" and "bottom" of the scale stack create boundary effects where equivariance is partially lost. Additionally, the added scale dimension increases memory consumption and computational overhead.
Future research directions include exploring non-integer scale jumps (beyond powers of 2) and applying semigroup correlations to other "lossy" domains, such as temporal shifts in video or occlusions in 3D point clouds.
Summary updated