# Interpretable weakly-supervised learning through kernel density matrices: A digital pathology use case

**Authors:** Sebastian Medina, Eduardo Romero, Angel Cruz-Roa, Fabio A. González

PMC · DOI: 10.1371/journal.pone.0335826 · PLOS One · 2025-11-05

## TL;DR

This paper introduces WiSDoM, a new framework that combines supervised and weakly-supervised learning to improve interpretability and uncertainty quantification in digital pathology.

## Contribution

WiSDoM introduces kernel density matrices to unify supervision modes with quantifiable interpretability metrics in deep learning.

## Key findings

- WiSDoM achieved high performance in supervised patch classification (κ = 0.896) and weakly-supervised whole-slide classification (κ = 0.930).
- The framework generates posterior probability distributions, uncertainty maps, and interpretable prototypes with high expert agreement (0.88).
- WiSDoM consistently performs well across supervision modes in Gleason grading tasks.

## Abstract

Classification methods based on deep learning require selecting between fully-supervised or weakly-supervised approaches, each presenting limitations in uncertainty quantification and interpretability. A framework unifying both supervision modes while maintaining quantifiable interpretation metrics remains unexplored. We introduce WiSDoM (Weakly-Supervised Density Matrices), which uses kernel matrices to model probability distributions of input data and their labels. The framework integrates: (1) differentiable kernel density matrices enabling stochastic gradient descent optimization, (2) local-global attention mechanisms for multi-scale feature weighting, (3) data-driven prototype generation through kernel space sampling, and (4) ordinal regression through density matrix operations. WiSDoM was validated through supervised patch classification (κ = 0.896) and weakly-supervised whole-slide classification (κ = 0.930) on histopathology images. WiSDoM generates three quantifiable outputs: posterior probability distributions, variance-based uncertainty maps, and phenotype prototypes. Through validation in a Gleason grading task at a patch and whole-slide level using histopathology images, WiSDoM demonstrated consistent performance across supervision modes (κ > 0.89) and prototype interpretability (0.88 expert agreement). These results show that kernel density matrices can serve as a foundation for classification models requiring both prediction interpretability and uncertainty quantification across supervision modes.

## Full-text entities

- **Genes:** MUC2 (mucin 2, oligomeric mucus/gel-forming) [NCBI Gene 4583] {aka MLP, MUC-2, SMUC}, MARCKSL1 (MARCKS like 1) [NCBI Gene 65108] {aka F52, MACMARCKS, MLP, MLP1, MRP}, ABCC3 (ATP binding cassette subfamily C member 3) [NCBI Gene 8714] {aka ABC31, EST90757, MLP2, MOAT-D, MRP3, cMOAT2}
- **Diseases:** diabetic retinopathy (MESH:D003930), deaths (MESH:D003643), ISUP (MESH:D014570), metastasis (MESH:D009362), PANDA (MESH:D011471), MIL (MESH:D007859), KDM (MESH:D001851), cancer (MESH:D009369)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12588513/full.md

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12588513/full.md

## References

25 references — full list in the complete paper: https://tomesphere.com/paper/PMC12588513/full.md

---
Source: https://tomesphere.com/paper/PMC12588513