Minh To All publications  ↗
Fairness in medical AI

Shift happens.

DPE-Former learns diverse prototype classifiers, then uses transformer attention to combine them—improving consistency across hidden patient subpopulations without requiring group labels during training.

International Journal of Computer Assisted Radiology and Surgery Research article · 2026

From hidden bias to adaptive aggregation.

The published framework spans three stages: supervised representation learning, diverse prototype discovery, and attention-based aggregation.

DPE-Former framework showing feature extraction for prostate ultrasound and skin lesions, prototype learning on balanced subsets, and final transformer aggregation
DPE-Former overview from the paper. Subgroup annotations are reserved for evaluation and are not needed to train the prototype ensemble.

Average accuracy can hide who a model leaves behind.

Medical classifiers can learn shortcuts from the environments in which data are collected. A model may associate a hospital's imaging style, a scanner setting, or a demographic pattern with disease—even when that cue is not clinically meaningful.

These shortcuts are easy to miss. Overall performance can remain high while accuracy drops sharply for a particular site or patient subgroup.

The groups that matter for fair performance are often the same groups that are missing, incomplete, or too sensitive to use as training supervision.

DPE-Former is designed around that practical constraint. It explores latent variation through multiple class prototypes, then learns how those different views should contribute to each final prediction.

Complementary experts, coordinated by attention.

i

Learn the representation

A supervised encoder maps each image or clinical record into a compact feature embedding.

ii

Diversify the prototypes

Prototype heads are trained on balanced subsets and regularized to explore distinct regions of the feature space.

iii

Aggregate with a transformer

Self-attention captures relationships between prototype predictions and replaces a fixed ensemble average with an adaptive decision.

One framework, three kinds of clinical shift.

The study tests DPE-Former across imaging and structured clinical data, with each domain exposing a different source of hidden population imbalance.

01 / ULTRASOUND

Prostate cancer

Acquisition-site differences across clinical centres.

02 / DERMOSCOPY

Skin lesions

Visual, class, and demographic imbalance in HAM10000.

03 / TABULAR

Cardiac treatment

Latent treatment subgroups in structured clinical records.

Across the study settings, DPE-Former improves performance for underrepresented groups and produces more consistent subgroup behavior than the comparison methods considered in the paper.

Clinical-use note

This work is a research framework, not a medical device. Any clinical application requires independent external validation, governance review, and appropriate regulatory oversight.

Authors & affiliations

Minh Nguyen Nhat To, Diane Kim, Mohamed Harmanani, Paul F. R. Wilson, Fahimeh Fooladgar, Samira Sojoudi, Amoon Jamzad, Sherif Abdalla, Teresa Tsang, Christina Luong, Silvia Chang, Peter Black, Robert Siemens, Michael Leveridge, Rahul G. Krishnan, Parvin Mousavi, and Purang Abolmaesumi.

University of British Columbia Queen's University Vancouver Hospital University of Toronto

Cite this work

@article{to2026shifthappens,
  title   = {Shift Happens: A Fairness-Oriented Framework for
             Medical Classification under Hidden Bias},
  author  = {To, Minh Nguyen Nhat and Kim, Diane and Harmanani,
             Mohamed and Wilson, Paul F. R. and others},
  journal = {International Journal of Computer Assisted Radiology
             and Surgery},
  year    = {2026},
  doi     = {10.1007/s11548-026-03624-0}
}

Authentic logo assets: UBC, Queen's, Vancouver Hospital, and University of Toronto. Institutional marks remain the property of their respective organizations and are shown for identification only.