# CountXplain: Interpretable Cell Counting with Prototype-Based Density Map Estimation

arXiv: https://arxiv.org/abs/2511.19686 · HTML: https://mlsanity.com/paper/2511.19686/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- Builds on 14 of its 39 references that are in the map.
- First posted on arXiv 24 Nov 2025.

## Builds on (most cited first, 14 of 14)

- [Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localization](https://mlsanity.com/paper/1610.02391/) (2016)
- [This Looks Like That: Deep Learning for Interpretable Image Recognition](https://mlsanity.com/paper/1806.10574/) (2018)
- [Do Vision Transformers See Like Convolutional Neural Networks?](https://mlsanity.com/paper/2108.08810/) (2021)
- [ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biases](https://mlsanity.com/paper/2103.10697/) (2021)
- [How Do Vision Transformers Work?](https://mlsanity.com/paper/2202.06709/) (2022)
- [CSRNet: Dilated Convolutional Neural Networks for Understanding the Highly Congested Scenes](https://mlsanity.com/paper/1802.10062/) (2018)
- [IAIA-BL: A Case-based Interpretable Deep Learning Model for Classification of Mass Lesions in Digital Mammography](https://mlsanity.com/paper/2103.12308/) (2021)
- [ProtoVAE: A Trustworthy Self-Explainable Prototypical Variational Model](https://mlsanity.com/paper/2210.08151/) (2022)
- [Count-ception: Counting by Fully Convolutional Redundant Counting](https://mlsanity.com/paper/1703.08710/) (2017)
- [People, Penguins and Petri Dishes: Adapting Object Counting Models To New Visual Domains And Object Types Without Forgetting](https://mlsanity.com/paper/1711.05586/) (2017)
- [INSightR-Net: Interpretable Neural Network for Regression using Similarity-based Comparisons to Prototypical Examples](https://mlsanity.com/paper/2208.00457/) (2022)
- [This actually looks like that: Proto-BagNets for local and global interpretability-by-design](https://mlsanity.com/paper/2406.15168/) (2024)
- [Rethinking Cell Counting Methods: Decoupling Counting and Localization](https://mlsanity.com/paper/2503.13989/) (2025)
- [IDCIA: Immunocytochemistry Dataset for Cellular Image Analysis](https://mlsanity.com/paper/2411.08992/) (2024)

## Built on by (most cited first, 1 of 1)

- [A texture-based framework for foundational ultrasound models](https://mlsanity.com/paper/2602.01444/) (2026)

## Abstract (arXiv)

Cell counting in biomedical imaging is pivotal for various clinical applications, yet the interpretability of deep learning models in this domain remains a significant challenge. We propose a novel prototype-based method for interpretable cell counting via density map estimation. Our approach integrates a prototype layer into the density estimation network, enabling the model to learn representative visual patterns for both cells and background artifacts. The learned prototypes were evaluated through a survey of biologists, who confirmed the relevance of the visual patterns identified, further validating the interpretability of the model. By generating interpretations that highlight regions in the input image most similar to each prototype, our method offers a clear understanding of how the model identifies and counts cells. Extensive experiments on two public datasets demonstrate that our method achieves interpretability without compromising counting effectiveness. This work provides researchers and clinicians with a transparent and reliable tool for cell counting, potentially increasing trust and accelerating the adoption of deep learning in critical biomedical applications. Code is available at https://github.com/NRT-D4/CountXplain.
