Finer-CAM: Spotting the Difference Reveals Finer Details for Visual Explanation

Ziheng Zhang, Jianyang Gu, Arpita Chowdhury, Zheda Mai, David Carlyn, Tanya Y. Berger-Wolf, Yu Su, Wei-Lun Chao

Introduction

As deep learning models achieve superhuman performance in fine-grained visual categorization, the need for interpretable explanations becomes paramount. Standard Class Activation Map (CAM) techniques, such as Grad-CAM, typically identify image regions that contribute to a specific class prediction. However, for highly similar categories—such as the Blue Grosbeak and the Grandala—these methods often produce "coarse" heatmaps that highlight shared features (e.g., the blue plumage) rather than the subtle discriminative traits used by the model to distinguish them.

Methodology: The "Spot-the-Difference" Principle

Finer-CAM introduces a novel paradigm for visual explainability by shifting the focus from absolute class scores to relative differences. Instead of asking "What makes this a Blue Grosbeak?", it asks "What makes this a Blue Grosbeak instead of a Grandala?".

Figure 3: Overview of the Finer-CAM approach. The left plot illustrates the high average cosine similarity between classes in fine-grained datasets. Grad-CAM (center) fails to distinguish between similar classes, providing nearly identical heatmaps. Finer-CAM (right) successfully isolates the discriminative features by comparing the target to a reference.

The core innovation is the use of a logit difference ($y^c - \gamma \cdot y^d$) as the basis for saliency calculation. By subtracting the influence of a similar reference class ($y^d$), Finer-CAM effectively "zeroes out" background information and shared anatomical features, forcing the saliency map to highlight unique "field marks." A comparison strength hyperparameter ($\gamma$) allows for tuning the degree of feature suppression. Finer-CAM is a plug-and-play modification compatible with various existing CAM frameworks, including gradient-based (Grad-CAM, Layer-CAM) and score-based (Score-CAM) methods.

Experimental Results and Insights

The researchers evaluated Finer-CAM across five challenging datasets: Birds-525, CUB-200-2011, Stanford Cars, FGVC-Aircraft, and FishVista.

Quantitative Performance

The authors introduced the Relative Confidence Drop (RD) metric to specifically evaluate fine-grained explanations. RD measures how much the target class confidence drops relative to a similar class when the most salient pixels are masked. Finer-CAM consistently outperformed baselines on this metric, indicating that it identifies pixels that are truly unique to the target class. Furthermore, in "pointing game" evaluations—which check if the highest activation point falls within the object's ground-truth bounding box—Finer-CAM showed a substantial advantage, especially on the CUB-200 and Stanford Cars datasets.

Qualitative Clarity

Visually, Finer-CAM produces significantly sharper and more focused heatmaps. While Grad-CAM might highlight an entire bird and its surroundings, Finer-CAM isolates specific diagnostic features such as the eye, beak shape, or wing coloration.

Figure 1: Finer-CAM in action. By asking "What's the difference from Grandala?", the method suppresses the shared blue body of the Blue Grosbeak and highlights the brown wing bars—the key diagnostic feature for this species.

Multi-modal Extensions

Beyond standard classification, the authors extended Finer-CAM to multi-modal models like CLIP. By comparing a specific attribute prompt (e.g., "red epaulets") against a more general prompt ("bird"), Finer-CAM can precisely localize specific physical traits. This capability suggests that the "spot-the-difference" logic is broadly applicable across different model architectures and modalities.

Conclusion

Finer-CAM demonstrates that the coarseness of existing visual explanations is often a result of the explanation target rather than the underlying mechanism. By adopting a contrastive "spot-the-difference" approach, Finer-CAM provides more faithful and human-centric explanations for fine-grained classification. While the method introduces some computational overhead due to multiple backward passes, it offers a powerful tool for verifying model behavior and identifying the subtle details that truly matter in complex visual domains.

Summary updated

BibTeX
@inproceedings{zhang2025finer,
  author = {Ziheng Zhang and Jianyang Gu and Arpita Chowdhury and Zheda Mai and David Carlyn and Tanya Y. Berger-Wolf and Yu Su and Wei-Lun Chao},
  title = {{Finer-CAM: Spotting the Difference Reveals Finer Details for Visual Explanation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00898},
}
Figure