Back to search

McGill University

Toward trustworthy modern artificial intelligence for medical image analysis through model calibration

Abstract

dc:description.abstract

Artificial intelligence (AI) systems are increasingly entrusted with interpreting medical images and assisting clinical reasoning. Beyond accuracy, real-world deployment demands calibrated confidence: probabilities that reflect the true likelihood of correctness so clinicians can decide when to trust, verify, or defer. Yet calibration is fragile. It deteriorates under distribution shift, is difficult to shape in large language model (LLM) and multimodal large language models (MLLMs) that reason over images and text, and can vary across patient subgroups, raising fairness concerns. This thesis develops methods for model calibration across these settings, moving from conventional end-to-end vision models based on deep neural networks to modern large scale conversational language models and, finally, to equity considerations.We begin with our first contribution, LaDiNE, which equips a standard deep learning Vision Transformer (ViT) with generative modeling to strengthen calibration under distribution shifts. By coupling discriminative feature learners with diffusion-based density estimators inside a nested ensemble, LaDiNE aims to stabilize both predictions and confidence when inputs are corrupted, resolutions change, or acquisition conditions differ, typical realities in clinical medical imaging.As conversational AI and MLLM-based AI agents gain traction in medical imaging, it has become clear that how we prompt these models strongly shapes both their answers and their stated confidence. Often, these models are overconfident even when they are wrong. Our second contribution, Prompt4Trust, addresses this by using reinforcement-learned prompt optimization: a lightweight policy model produces context-aware prompts that steer a frozen task MLLM toward clinically aligned confidence scores: prioritizing high confidence when correct and uncertainty when incorrect. This policy-learning approach improves calibration on medical visual reasoning tasks and also boosts task accuracy, with promising zero-shot transfer to larger MLLMs.Finally, we turn to fairness in calibration. Even when overall population-level calibration improves, disparities can persist across demographic groups, which can lead to unequal treatment. We expose these calibration biases in MLLM-based image classification and introduce CALIN, an training-free, inference-time adjustment algorithm that mitigates mis-calibration gaps while preserving utility.Taken together, these studies argue that trustworthy medical image AI benefits from calibration-aware design at three aspects: modeling, prompt control, and equitable adjustment. The thesis concludes with practical guidance on evaluating calibration under shift, integrating prompt-level control into clinical workflows, and auditing subgroup calibration to support safe and fair deployment.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Grantor dc:publisher
McGill University
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Shen, Xing
Advisor dc:contributor.advisor
  • Arbel, Tal

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
Language dc:language.iso
en

Identifiers

dc:identifier.*
OCLC
1600266826

Chain of custody

source
Harvested from
McGill University
Base URL
mcgill.scholaris.ca/server/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Shen, Xing. Toward trustworthy modern artificial intelligence for medical image analysis through model calibration. McGill University, 2026. https://doi.org/10.82308/55748