Shallow Feature Matters for Weakly Supervised Object Localization

Jun Wei, Qin Wang, Zhen Li, Sheng Wang, S. Kevin Zhou, Shuguang Cui

Introduction

Weakly Supervised Object Localization (WSOL) is the task of identifying object bounding boxes using only image-level labels. Class Activation Maps (CAMs) have long served as the baseline for this task. However, CAMs are typically derived from the deepest layers of a network, which prioritize high-level semantics at the cost of spatial resolution. This results in "blurry" localization that often misses fine-grained boundaries. While shallow layers contain high-resolution structural details, they are frequently dismissed as too noisy for localization.

Multiplicative Feature Fusion

This paper introduces SPOL (Shallow feature-aware Pseudo supervised Object Localization), a framework designed to bridge the gap between semantic "deep" features and structural "shallow" features. The central innovation is the Multiplicative Feature Fusion (MFF-Net).

Figure 1: (a) The SPOL pipeline utilizing multiplicative fusion. (b) Comparison of fusion strategies, demonstrating that multiplication significantly outperforms addition and concatenation.

Unlike standard additive fusion, which preserves noise from all layers, element-wise multiplication acts as an "AND" gate. Deep features, which accurately identify the object's general location, serve as a mask for shallow features. In background regions where deep activations are near zero, the noisy shallow features are effectively filtered out. This allows the model to leverage the high-resolution edges of shallow layers without being compromised by background clutter. This is further enhanced by Multiplicative based Channel Attention (MCA), which prioritizes the most relevant feature channels across layers.

Refinement via Gaussian Priors and Segmentation

To address the tendency of CAMs to focus only on the most discriminative parts of an object (e.g., a bird's head), SPOL introduces Gaussian Prior Pseudo Label (GPPL).

Figure 2: Visual progression of the refinement process, showing how Gaussian priors help cover the entire object body to generate a precise predicted mask.

By calculating the center of gravity of initial activations and fitting a 2D Gaussian distribution, the model generates a more comprehensive pseudo-label. These labels are then used to train a separate, class-agnostic segmentation model. This two-stage process allows the system to move from merely "pointing" at an object to producing a clean, binary "outline," which significantly improves bounding box accuracy.

Experimental Evaluation

The SPOL framework was evaluated on two major benchmarks: CUB-200-2011 and ImageNet-1K.

  • CUB-200: The model achieved 93.44% Top-5 localization accuracy, representing a 3.93% improvement over previous state-of-the-art methods.
  • ImageNet-1K: The model reached 67.15% Top-5 localization accuracy, a 2.13% improvement.

Qualitative results show that SPOL produces masks with much sharper edges and fewer false-positive activations in the background compared to traditional deep-layer CAM methods.

Conclusion

SPOL demonstrates that shallow features are essential for high-precision object localization. By employing multiplicative fusion, the framework successfully filters noise while retaining critical structural details. While the two-stage pipeline is more computationally demanding than single-pass models, the substantial gains in localization accuracy establish SPOL as a new benchmark in the field of weakly supervised learning.

Summary updated

BibTeX
@inproceedings{wei2021shallow,
  author = {Jun Wei and Qin Wang and Zhen Li and Sheng Wang and S. Kevin Zhou and Shuguang Cui},
  title = {{Shallow Feature Matters for Weakly Supervised Object Localization}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.00593},
}
Figure