Abstract
Weakly Supervised Object Localization (WSOL) aims to identify object locations using only image-level category labels. Traditional methods like Class Activation Mapping (CAM) often fail to capture the full extent of objects, instead focusing on small, highly discriminative regions. This paper introduces Structure-Preserving Activation (SPA), a novel approach that mitigates this "greedy" behavior. SPA utilizes a Restricted Activation Module (RAM) during training to prevent over-concentration on hotspots and a High-order Self-Correlation (HSC) module during inference to recover structural details from convolutional features. Experimental results on CUB-200-2011 and ILSVRC demonstrate that SPA significantly outperforms existing baselines, setting a new state-of-the-art in structure-preserving localization.
Introduction
The primary challenge in Weakly Supervised Object Localization (WSOL) is the lack of pixel-level or bounding-box annotations. Most existing methods rely on Class Activation Maps (CAM) generated by classification networks. However, because these networks are optimized for classification accuracy, they tend to identify only the minimum necessary features to distinguish a class (e.g., a bird’s beak rather than its entire body). This "discriminative region mining" leads to incomplete localization maps.
Furthermore, standard architectures often employ Global Average Pooling (GAP), which treats all spatial locations equally, potentially conflating object features with background noise. To address these issues, we propose Structure-Preserving Activation (SPA), which focuses on preserving the inherent structural information present in convolutional layers.
Methodology
SPA is a two-stage framework designed to capture the full structural extent of objects without requiring additional supervision.
Restricted Activation Module (RAM)
During the training phase, the Restricted Activation Module (RAM) is introduced to prevent the network from focusing solely on the most discriminative parts. RAM applies a sigmoid-based suppression to high-response values, forcing the network to seek secondary discriminative regions to satisfy the classification loss. Additionally, RAM generates coarse pseudo-masks by analyzing the channel-wise variance of features. High variance typically indicates object-related features, while low variance suggests background noise. This guidance encourages the model to activate the entire object area.
High-order Self-Correlation (HSC)
In the inference phase, the model leverages the structural information embedded in the trained convolutional features through the Self-Correlation Map Generating (SCG) process. The core of SCG is High-order Self-Correlation (HSC). While first-order correlation measures the similarity between individual pixels, it often fails when an object has diverse textures (e.g., a bird with different colored wings and belly). HSC looks at second-order correlations—how similar the relationships of two pixels are to the rest of the image. This higher-order approach is more robust to intra-object appearance variations and effectively "fills in" the gaps in the activation map.
Experiments and Results
The proposed SPA method was evaluated on two major benchmarks: the fine-grained CUB-200-2011 dataset and the large-scale ILSVRC (ImageNet) dataset.
Quantitative Performance
On ILSVRC, using a VGG16 backbone, SPA achieved a Top-1 Localization Error of 50.44%, a substantial improvement over the 57.20% error rate of the baseline CAM. Similar gains were observed on the CUB-200-2011 dataset, where SPA reached a 39.73% Top-1 Loc. Err., outperforming the baseline by nearly 16 percentage points. In terms of Peak-IoU, SPA improved results by roughly 2.3% to 5% over other modern methods, validating the structure-preserving claim.
Qualitative Analysis
Visual comparisons demonstrate that SPA produces much more complete and accurate localization maps compared to traditional CAM. As shown in the figures below, SPA successfully covers the entire body of various objects, from animals to complex machinery, whereas CAM often only highlights small fragments.
Conclusion
Structure-Preserving Activation (SPA) provides a robust solution to the "structure-missing" problem in WSOL. By restricting peak activations during training and utilizing high-order self-correlations during inference, SPA recovers the full spatial extent of objects from standard classification features. While the method excels in single-object scenarios, future work will focus on extending these principles to weakly supervised instance localization to better handle complex scenes with multiple objects.
Summary updated