Beyond Softmax: Dual-Branch Sigmoid Architecture for Accurate Class Activation Maps

Yoojin Oh, Junhyug Noh
11/5/2025
cs.CVcs.LG

Official code: finallyupper/beyond-softmax (3 stars, last commit 2025-11-17).

Abstract

Class Activation Mapping (CAM) and its extensions have become indispensable tools for visualizing the evidence behind deep network predictions. However, by relying on a final softmax classifier, these methods suffer from two fundamental distortions: additive logit shifts that arbitrarily bias importance scores, and sign collapse that conflates excitatory and inhibitory features. We propose a simple, architecture-agnostic dual-branch sigmoid head that decouples localization from classification. Given any pretrained model, we clone its classification head into a parallel branch ending in per-class sigmoid outputs, freeze the original softmax head, and fine-tune only the sigmoid branch with class-balanced binary supervision. At inference, softmax retains recognition accuracy, while class evidence maps are generated from the sigmoid branch -- preserving both magnitude and sign of feature contributions. Our method integrates seamlessly with most CAM variants and incurs negligible overhead. Extensive evaluations on fine-grained tasks (CUB-200-2011, Stanford Cars) and WSOL benchmarks (ImageNet-1K, OpenImages30K) show improved explanation fidelity and consistent Top-1 Localization gains -- without any drop in classification accuracy. Code is available at https://github.com/finallyupper/beyond-softmax.

View on arXivView PDF

Code Implementations(1)

Official repository for "Beyond Softmax: Dual-Branch Sigmoid Architecture for Accurate Class Activation Maps" (BMVC2025)

30Shell, PythonSep 2, 202511 months agoNOASSERTION
camgradcamwsolxai

Similar Papers

Cite this paper

@article{oh2025beyond,
  title  = {Beyond Softmax: Dual-Branch Sigmoid Architecture for Accurate Class Activation Maps},
  author = {Yoojin Oh and Junhyug Noh},
  year   = {2025},
  eprint = {2511.05590},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.05590v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.05590.svg)](https://codeofpaper.com/paper/2511.05590)

Discussion