DANet: Divergent Activation for Weakly Supervised Object Localization

Haolan Xue, Chang Liu, Fang Wan, Jianbin Jiao, Xiangyang Ji, Qixiang Ye

Introduction: The Challenge of Sparse Localization

Weakly Supervised Object Localization (WSOL) aims to identify object boundaries using only image-level labels. While Class Activation Mapping (CAM) has been a cornerstone of this field, it suffers from a significant limitation: the "discriminative bias." Because neural networks are trained to minimize classification error, they often focus solely on the most discriminative parts of an object (e.g., a bird's beak) rather than the entire body. This results in sparse activation maps that fail to provide accurate localization for the full object extent.

The DANet Framework: Divergent Activation

To address this, the Divergent Activation Network (DANet) is proposed. DANet encourages the network to explore a broader range of visual features through two primary modules: Hierarchical Divergent Activation (HDA) and Discrepant Divergent Activation (DDA).

The DANet architecture featuring DDA and HDA modules.

Hierarchical Divergent Activation (HDA)

HDA leverages semantic hierarchies (e.g., Species -> Family -> Order). By requiring the network to classify an image at multiple levels of abstraction, it forces the model to learn both fine-grained discriminative features and more general, shared characteristics. This multi-level supervision prevents the network from over-specializing on a single small part. For instance, while a species might be identified by a beak shape, the broader family category might require recognizing the overall body structure.

Discrepant Divergent Activation (DDA)

DDA introduces spatial exclusivity by generating multiple activation maps ($K$) for a single class. A cosine similarity-based "discrepancy loss" is applied to ensure these maps focus on different, non-overlapping parts of the object. If one map identifies the head, the discrepancy loss pushes other maps to find the body or legs. When fused, these diverse maps provide a comprehensive mask of the entire object.

Experimental Evaluation

DANet was evaluated on the CUB-200-2011 and ILSVRC 2016 (ImageNet) datasets. On CUB-200, DANet achieved a Top-1 localization error of 47.48%, a significant improvement over the 55.85% error of the baseline CAM. On ImageNet, using a GoogLeNet backbone, it reached a Top-1 localization error of 52.47%, outperforming other competitive methods like ACoL and SPG.

Qualitative comparison between CAM and DANet during training.

As shown in the qualitative results, while CAM's attention tends to shrink toward a single point during training, DANet maintains and expands its focus to cover the entire silhouette of the object, leading to superior bounding box predictions.

Conclusion

DANet effectively mitigates the sparse localization problem in WSOL by promoting feature diversity. By integrating hierarchical knowledge and explicit spatial discrepancy, the model captures the full extent of objects without sacrificing classification performance. Future work may explore the application of divergent activation to broader tasks such as semantic segmentation and unsupervised feature learning.

Summary updated

BibTeX
@inproceedings{xue2019danet,
  author = {Haolan Xue and Chang Liu and Fang Wan and Jianbin Jiao and Xiangyang Ji and Qixiang Ye},
  title = {{DANet: Divergent Activation for Weakly Supervised Object Localization}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  doi = {10.1109/iccv.2019.00669},
}
Figure