Erasing Integrated Learning: A Simple Yet Effective Approach for Weakly Supervised Object Localization

Jinjie Mai, Meng Yang, Wenfeng LuoCVPR 2020

Abstract

Weakly Supervised Object Localization (WSOL) aims to localize objects using only image-level labels. Standard convolutional neural networks (CNNs) often focus on small, highly discriminative regions, failing to capture the full extent of an object. We present Erasing Integrated Learning (EIL), a lightweight module that masks discriminative regions during training to force the network to discover secondary features. By utilizing a dual-stream architecture with shared weights, EIL achieves state-of-the-art localization accuracy on CUB-200-2011 and ImageNet benchmarks without adding parameters during inference.

Introduction

The primary challenge in Weakly Supervised Object Localization (WSOL) is the "sparse attention" problem. CNNs trained for classification are inherently "lazy"; they only need to identify the most discriminative parts of an object (e.g., a bird's beak) to classify the image correctly. Consequently, Class Activation Maps (CAMs) generated by these networks typically highlight only these small regions rather than the entire object.

Previous attempts to solve this, known as "adversarial erasing," involve hiding the most discriminative parts to force the network to find others. However, these methods often require complex multi-step training or introduce significant computational overhead.

Methodology

The proposed Erasing Integrated Learning (EIL) module integrates discriminative region mining and adversarial erasing into a single forward-backward propagation cycle.

The EIL Module and Dual Streams

When a feature map passes through an EIL-enabled layer, the module generates an "erasing mask" by thresholding the average intensity of the feature channels. This mask identifies the most active pixels. The network then splits into two parallel streams that share the same weights:

  1. Unerased Branch ($F^u$): Processes the original feature map.
  2. Erased Branch ($F^e$): Processes the feature map with the most discriminative regions masked out.
Comparison of erasing strategies: (a) Step-wise, (b) Multi-branch, (c) Random, and (d) the proposed EIL.

The model is optimized using a joint loss function $L = L_u + \sigma L_e$, where $L_u$ and $L_e$ are classification losses for the unerased and erased branches, respectively. This "adversarial cooperation" forces the shared weights to become sensitive to secondary features. Because the weights are shared, the unerased branch benefits from this broader understanding, leading to a more complete localization map.

Multi-EIL (MEIL)

To capture multi-scale features, the authors propose MEIL, which places EIL modules at different levels of the network (e.g., after different pooling layers). This allows the model to capture both fine details and the global structure of the object.

Results and Discussion

EIL and MEIL were evaluated on the CUB-200-2011 and ILSVRC 2016 (ImageNet) datasets.

Localization Performance

On CUB-200-2011, VGG-MEIL achieved a 57.46% Top-1 Localization accuracy, a significant improvement over the 44.15% CAM baseline and previous state-of-the-art methods like ADL (52.36%). On ImageNet, MEIL achieved 49.48% Top-1 Localization accuracy, outperforming the baseline by over 6%.

Evolution of attention maps during training. The erased branch ($F^e$) forces the shared weights to identify non-primary discriminative regions, leading to more complete object coverage in the unerased branch ($F^u$).

Efficiency and Classification

Unlike iterative erasing approaches, EIL is efficient as it uses a single forward pass. Crucially, it maintains high classification accuracy by keeping the unerased branch active, ensuring the network does not lose sight of primary features. Since the erasing module is deactivated during inference, EIL adds zero additional parameters to the final model.

Conclusion

Erasing Integrated Learning (EIL) provides a simple yet powerful framework for WSOL. By forcing the network to "see" the whole object through a dual-stream erasing mechanism with shared weights, it achieves state-of-the-art results with minimal computational cost. Future work may explore automated hyperparameter tuning and applications in more complex, multi-object scenes.

Summary updated

BibTeX
@inproceedings{mai2020erasing,
  author = {Jinjie Mai and Meng Yang and Wenfeng Luo},
  title = {{Erasing Integrated Learning: A Simple Yet Effective Approach for Weakly Supervised Object Localization}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.00879},
}
Figure