Abstract

Deep learning models often fail to generalize when classifying medical images that originate from a different data distribution than the training images. Their error rate increases, posing a severe risk to patients. Test-Time Training (TTT) with Masked Autoencoders (MAE) addresses distribution shifts by adapting a trained model to unlabeled images at inference time, using a self-supervised objective. However, we find that its success in the natural image domain does not immediately transfer to the medical domain. A key limitation is that TTT can degrade model performance when the auxiliary loss used for inference-time adaptation is uncorrelated with the main task. Thus, we tackle distribution shifts from a different angle, eliminating the need for a suitable loss function or weight adaptation during inference time. We propose WhiCo, a novel Test-Time Adaptation method that mitigates distribution shifts by aligning test features with the training feature distribution through whitening and coloring. We evaluate WhiCo on diverse medical tasks, including COVID-19 diagnosis, brain hemorrhage detection, and organ identification. WhiCo improves accuracy by 3.5 to 8.4 percentage points on COVID-19 diagnosis, 3.4 to 10.3 points on brain hemorrhage detection, and by up to 21.9 points on organ identification. Moreover, WhiCo is architecture-agnostic in principle and requires only one hyperparameter (the batch size). Our code is available on GitHub

Links to Paper and Supplementary Materials

Main Paper (Open Access Version): https://papers.miccai.org/miccai-2026-sat/paper/CLiMeM_005.pdf

SharedIt Link: Not yet available

SpringerLink (DOI): Not yet available

Supplementary Material: Not Submitted

Link to Open Review

Open Review Page: https://openreview.net/forum?id=nnwkA90wtm&referrer=%5BProgram%20Chair%20Console%5D(%2Fgroup%3Fid%3DMICCAI.org%2F2026%2FWorkshop%2FCLiMeM%2FProgram_Chairs%23submission-status)

BibTex

@InProceedings{StöPat_Investigating_MICCAISAT2026,
        author = { Stöhr, Patricia AND Götz, Michael AND Ropinski, Timo AND Wolf, Daniel Santak},
        title = { { Investigating Test-Time Adaptation of Convolutional Neural Networks for Medical Image Analysis under Distribution Shifts } },
        booktitle = {Medical Image Computing and Computer Assisted Intervention -- MICCAI 2026 Workshops and Challenges},
        year = {2026},
        publisher = {Springer Nature Switzerland},
        volume = {LNCS 17263},
        month = {pending},
        page = {pending}
}


back to top