Abstract
Weakly-supervised Object Localization (WSOL) aims to identify object locations using only image-level labels. Traditional Class Activation Mapping (CAM) methods often suffer from "context entanglement," where the model incorrectly associates co-occurring background features with the target object. This paper proposes CI-CAM, a novel framework that leverages causal inference to decouple objects from their confounding backgrounds. By applying backdoor adjustment through a global Causal Context Pool, CI-CAM effectively "averages out" background bias, leading to more precise object boundaries. Evaluations on CUB-200-2011 and ImageNet benchmarks demonstrate significant improvements in localization accuracy over existing baselines.
Introduction
Weakly-supervised Object Localization (WSOL) is a challenging task that involves finding the location of an object in an image using only a category label as supervision. The standard approach, Class Activation Mapping (CAM), generates heatmaps based on the classifier's attention. However, CAM faces two primary issues: discriminative bias, where it only highlights the most salient parts of an object, and entangled context, where it fails to distinguish the object from its typical environment (e.g., a boat and water). This paper focuses on solving the latter by treating context as a causal confounder.
Methodology
Causal Perspective on WSOL
The authors model the WSOL process using a Structural Causal Model (SCM). In this model, the context ($C$) acts as a confounder that influences both the image features ($X$) and the classification label ($Y$). This creates a "backdoor path" ($X \leftarrow C \rightarrow Y$), leading the model to learn spurious correlations between the background and the object class. To address this, the authors propose using backdoor adjustment from causal inference. By calculating $P(Y|do(X))$, the model intervenes on $X$ to break its dependence on $C$, effectively "averaging out" the influence of specific backgrounds.
The CI-CAM Architecture
The CI-CAM framework implements this causal intervention through a two-branch network with shared weights.
- Initial CAM Branch: Generates standard activation maps to identify potential object regions.
- Causal Context Pool ($Q$): A memory module that stores the global contextual information for each category across the entire dataset.
- Enhanced CAM Branch: This branch uses the information from the Causal Context Pool to perform element-wise multiplication with the backbone features. This "enhancement" spotlights the object while suppressing confounding background features, resulting in cleaner localization maps.
Experiments and Results
The model was evaluated on the CUB-200-2011 (fine-grained birds) and ILSVRC 2016 (ImageNet) datasets.
Quantitative Performance
On the CUB-200-2011 dataset, where context entanglement is particularly severe, CI-CAM achieved a Top-1 Localization accuracy of 58.39%. This represents a significant improvement over the traditional CAM baseline (52.4%) and other state-of-the-art methods like DANet and MEIL. On ImageNet, CI-CAM maintained competitive performance (48.71% Top-1 Loc), demonstrating its robustness across diverse scenarios.
Qualitative Analysis
Visualizations highlight the effectiveness of the causal intervention. While standard CAM often includes surrounding water, roads, or branches in its heatmaps, CI-CAM produces maps that tightly adhere to the object's actual boundaries.
Limitations
Despite its success, CI-CAM has some limitations. The model's performance is sensitive to hyperparameters such as the context pool update rate and segmentation thresholds. Additionally, like most WSOL methods, it assumes a single primary object per image, and maintaining a global context pool for datasets with thousands of classes (like full ImageNet) introduces additional computational overhead.
Conclusion
CI-CAM introduces a principled causal approach to the problem of context entanglement in WSOL. By treating background context as a confounder and applying backdoor adjustment via a global context pool, the method successfully decouples objects from their environments. This leads to more accurate and robust object localization using only image-level supervision.
Summary updated