[Paper Review] Class Activation Map Generation by Representative Class Selection and Multi-Layer Feature Fusion
This paper proposes a novel class activation map (CAM) generation method that improves localization accuracy by selecting representative classes for binary classification and fusing multi-layer features. By clustering to identify discriminative class pairs and leveraging both high-level and low-level features, the method achieves state-of-the-art performance on PASCAL VOC and COCO datasets, with a 33.43% mIoU on PASCAL VOC 2012 and 15.41% on COCO 2017 using ResNet-101.
Existing method generates class activation map (CAM) by a set of fixed classes (i.e., using all the classes), while the discriminative cues between class pairs are not considered. Note that activation maps by considering different class pair are complementary, and therefore can provide more discriminative cues to overcome the shortcoming of the existing CAM generation that the highlighted regions are usually local part regions rather than global object regions due to the lack of object cues. In this paper, we generate CAM by using a few of representative classes, with aim of extracting more discriminative cues by considering each class pair to obtain CAM more globally. The advantages are twofold. Firstly, the representative classes are able to obtain activation regions that are complementary to each other, and therefore leads to generating activation map more accurately. Secondly, we only need to consider a small number of representative classes, making the CAM generation suitable for small networks. We propose a clustering based method to select the representative classes. Multiple binary classification models rather than a multiple class classification model are used to generate the CAM. Moreover, we propose a multi-layer fusion based CAM generation method to simultaneously combine high-level semantic features and low-level detail features. We validate the proposed method on the PASCAL VOC and COCO database in terms of segmentation groundtruth. Various networks such as classical network (Resnet-50, Resent-101 and Resnet-152) and small network (VGG-19, Resnet-18 and Mobilenet) are considered. Experimental results show that the proposed method improves the CAM generation obviously.
Motivation & Objective
- Address the limitation of existing CAM methods that use all classes for comparison, leading to localized, non-global activation regions.
- Overcome the issue of inter-class interference by selecting a small set of representative classes that provide complementary discriminative cues.
- Enable effective CAM generation on small networks by using multiple binary classification models instead of a single multi-class model.
- Improve feature representation by fusing high-level semantic features with low-level detail features across multiple network layers.
Proposed method
- Proposes a clustering-based method to select representative classes from the full set of classes using a classification similarity matrix.
- Constructs a similarity matrix based on classification performance between class pairs to guide clustering.
- Applies an improved k-means clustering algorithm to identify a subset of representative classes that maximize complementary activation cues.
- Trains multiple binary classification models, each comparing one target class against its representative classes to generate individual CAMs.
- Employs a multi-layer feature fusion strategy that combines activation maps from different layers (e.g., Layer1 to Layer4) of the CNN to preserve both semantic and spatial details.
- Fuses the binary CAMs from representative class pairs using a simple averaging strategy to generate the final, more accurate activation map.
Experimental results
Research questions
- RQ1Can selecting a subset of representative classes instead of all classes improve the global localization of class activation maps?
- RQ2How does the choice of comparison classes affect the discriminative quality and spatial coverage of the generated CAMs?
- RQ3Can multi-layer feature fusion enhance CAM quality by combining semantic and spatial information from different network depths?
- RQ4Does the proposed method maintain or improve performance on small neural networks such as MobileNet and ResNet-18?
- RQ5How does the method compare to existing CAM generation techniques like Grad-CAM, CAM, ACoL, and CBAM in terms of mIoU on standard benchmarks?
Key findings
- The proposed method achieves a 33.43% mIoU on the PASCAL VOC 2012 validation set, significantly outperforming the baseline Grad-CAM method (27.94%) and other state-of-the-art methods.
- On the COCO 2017 validation set, the method achieves a 15.41% mIoU, surpassing the previous best method (CBAM) by over 5 percentage points.
- The ablation study confirms that multi-layer fusion improves performance by 2.56 percentage points (12.85% to 15.41% mIoU), demonstrating the effectiveness of feature fusion.
- The method performs well even on small networks such as MobileNet and ResNet-18, due to the use of binary classification models that reduce computational overhead.
- The use of representative class selection leads to more globally localized activation maps, as shown in qualitative comparisons where the proposed method highlights entire objects rather than partial regions.
- The method outperforms ACoL and CBAM on COCO and PASCAL VOC, where these methods suffer from performance degradation due to object erasure or attention misalignment in complex scenes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.