Bias-aware, automated dermatological triage engine
THE PROBLEM
Clinical networks face severe bottlenecks in diagnosing skin lesions, but deploying standard AI is dangerous. Existing deep learning models suffer from “majority-class collapse”: they achieve high nominal accuracy by blindly guessing common, benign conditions while missing rare, malignant melanomas. Worse, those models behave as uncalibrated black boxes, returning false 99% confidence scores even on blurry or non-clinical images, which destroys physician trust the first time it happens.
THE CONSTRAINT
The system could not act as an autonomous diagnostic tool because of liability and regulatory risk; it had to function purely as a triage assistant. Doctors required visual, interpretable evidence for every algorithmic decision. And the entire deployment had to operate under strict HIPAA and GDPR constraints, where protected health information could not be permanently stored on the inference server.
WHAT WE BUILT
An end-to-end clinical decision support system built for safety-first routing. We engineered a multi-expert vision ensemble (EfficientNet, DenseNet, ViT) and wrapped it in aggressive MLOps guardrails. Instead of emitting a bare prediction, we implemented Monte Carlo Dropout to compute epistemic risk, making the system aware of its own uncertainty. We added a dual-gate out-of-distribution firewall that mathematically rejects anomalies (blurry photos, non-skin inputs) before inference rather than guessing at them. We then deployed this behind a high-throughput interface with a doctor-in-the-loop active learning database, letting attending physicians override the model and stamp decisions onto airgapped, cryptographically hashed PDF reports.
scan intake
(anomaly reject)
EfficientNet · DenseNet · ViT
risk scoring
accept / flag / reject
& active learning log
OUTCOME
Eradicated the majority-class bias, so rare malignancies were caught rather than averaged away, while uncertain scans were routed automatically to the top of the human expert’s queue. The result is a clinically usable, legally defensible triage tool that keeps learning from physician overrides, reaching a well-calibrated macro F1 of 0.75+ on unseen pathology data.