Testing concept-level audits of melanoma classifiers with diffusion counterfactuals and matched positive controls
Organizations: Department of Computer Science & Engineering, Rajshahi University of Engineering & Technology, Rajshahi, 6204, Bangladesh · Department of Computer Science & Engineering, American International University-Bangladesh (AIUB), Dhaka, Bangladesh · ELITE Research Lab, Queens, NY, 11435, USA · Centre for Intelligent Cloud Computing (CICC), COE of Advanced Cloud, Faculty of Information Science & Technology, Multimedia University, Jalan Ayer Keroh Lama, Bukit Beruang, Melaka, 75450, Malaysia
Abstract
Concept-based explanations of melanoma classifiers are rarely tested against controls with known targets. We built a counterfactual audit from a diffusion model conditioned on seven 7-point checklist concepts and tested it with such controls. Colour-calibrated start noise reduced colour outliers from 78.5-84.8% to 6.6-13.3%. Four of seven knobs were target-dominant but also changed other concepts. Quartile-based positive controls were confounded, and the audit failed its pre-specified rule. It recovered the targets of all 16 controls matched on the generator's pseudo-labels and of 12 of 12 controls labelled by a second evaluator, for three concepts; concept activation vectors recovered fewer (11 of 16). In 18 permuted-label classifiers, significant sweep responses and target rankings also arose, whereas standardised effect margins separated the controls from these null classifiers. The pigmentation sweep raised the melanoma logit in 15 of 15 ISIC 2020 classifiers (+3.12 on average) and 6 of 6 HAM10000 classifiers (+4.01), about four times the null response in scale-free units; the regression effect did not transfer. An exploratory decomposition, evaluated against the controls, suggested that knob cross-talk partly hides vascular responses. Matched controls and null classifiers are practical checks of concept audits.
Figures & tables
| Method | Pre-specified rule, quartile controls | Matched controls passed, CBM-A labels | Matched controls passed, CBM-B labels | Concepts passing | Negative- control ratio (limit 0.25): logit (scale-free) | , same architecture, other seed | , different classifier |
|---|---|---|---|---|---|---|---|
| Counterfactual audit | Not valid: veil control 0 of 4 bases | 16 of 16 | 12 of 12 (Reg not testable) | PN, VS, Pig with both label sets; Reg with CBM-A labels only | 0.023 (0.47) | 0.883 | 0.717 |
| TCAV, our implementation | Not valid: negative control | 11 of 16 | Not tested | PN, VS, Reg with CBM-A labels; not Pig | 0.834 (0.834) | 0.318 | 0.072 |
| TCAV, Captum 0.9.0 | Not valid: both positives and the negative | 0 of 3 | Not tested | Not tested | 0.889 (0.889) | 0.209 | 0.252 |
| Observational attribution | No rule fixed in advance | 16 of 16 (largest coefficient) | 12 of 12 (circular) | One setting only | 0.025 (0.45) | 0.976 | 0.647 |
Explainable Medical Image Analysis
Explainable Medical Image Analysis develops methods that make medical image predictions understandable, verifiable, and useful for clinical review.
See all 262 papers