DDxBasis: Explaining Frozen Foundation Encoder-based Medical Classification by Exact Differential Diagnosis
Abstract
In differential diagnosis (DDx), a clinician explains a diagnosis by the few findings that separate it from the alternatives. Medical image classifiers cannot yet explain themselves this way. Existing explanations are either faithful but spread over hundreds of concepts, or compact but leave part of each decision unexplained. We present DDxBasis, which explains a classifier on a frozen foundation encoder as a differential diagnosis in three steps. First, a concept bottleneck reads all patch tokens at every encoder layer using gated, second-order slot attention. A concept basis then regroups the concepts into two-pole axes, each a differential between groups of diagnoses. Finally, we read a differential diagnosis from each axis through the typical presentation of its poles, the pertinent findings of the case, and counterfactual edits of borderline cases. Across five medical datasets, DDxBasis is the most accurate frozen-encoder model and close to the best published domain-specific results. Because every concept adds its own evidence, its reproducible concept basis splits each decision exactly, at no cost in accuracy. Without ordered stage or concept labels, the axes recover cell lineages and rare subtypes, agree with dermatologists' structure annotations, and expose planted and real shortcuts.
Related
- Can tiered open-source mandates optimize innovation? A differential game study osn platform vs. independent project dynamics in foundation software ecosystems
- Leveraging a Foundation Model for the EEG-Based Diagnosis of Alzheimer's Disease
- EEG-based classification models reveal differential neural processing of words and images
- When Foundation Models Disagree: Representational Heterogeneity for Calibrated Uncertainty in Whole-Slide Image Classification
- Transductive Learning From a Transformer Foundation Model Improves the Taxonomic Classification of eDNA Metabarcodes
BibTeX
@misc{huang2026ddxbasis,
title = {{DDxBasis: Explaining Frozen Foundation Encoder-based Medical Classification by Exact Differential Diagnosis}},
author = {Luojie Huang and Gregory N. McKay and Nicholas J. Durr},
howpublished = {arXiv},
year = {2026},
month = nov,
doi = {10.48550/arxiv.2611.33358},
eprint = {2611.33358},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.33358},
note = {CC BY 4.0},
}
RIS
TY - UNPB
TI - DDxBasis: Explaining Frozen Foundation Encoder-based Medical Classification by Exact Differential Diagnosis
AU - Luojie Huang
AU - Gregory N. McKay
AU - Nicholas J. Durr
PY - 2026
DA - 2026/11/24
PB - arXiv
DO - 10.48550/arxiv.2611.33358
UR - https://arxiv.org/abs/2611.33358
AB - In differential diagnosis (DDx), a clinician explains a diagnosis by the few findings that separate it from the alternatives. Medical image classifiers cannot yet explain themselves this way. Existing explanations are either faithful but spread over hundreds of concepts, or compact but leave part of each decision unexplained. We present DDxBasis, which explains a classifier on a frozen foundation encoder as a differential diagnosis in three steps. First, a concept bottleneck reads all patch tokens at every encoder layer using gated, second-order slot attention. A concept basis then regroups the concepts into two-pole axes, each a differential between groups of diagnoses. Finally, we read a differential diagnosis from each axis through the typical presentation of its poles, the pertinent findings of the case, and counterfactual edits of borderline cases. Across five medical datasets, DDxBasis is the most accurate frozen-encoder model and close to the best published domain-specific results. Because every concept adds its own evidence, its reproducible concept basis splits each decision exactly, at no cost in accuracy. Without ordered stage or concept labels, the axes recover cell lineages and rare subtypes, agree with dermatologists' structure annotations, and expose planted and real shortcuts.
ER -