Back to search

McGill University

Adapting foundation models for medical image generation

Abstract

dc:description.abstract

Recent advances in vision–language foundation models have enabled new possibilities in high-resolution, semantically aligned medical image synthesis, an increasingly important capability for improving data efficiency, robustness, and transparency in clinical AI systems. Yet, existing approaches remain limited by three key challenges: (1) the absence of principled methods for disentangling and controlling latent factors of variation in high-resolution medical images using vision-language foundation models. (2) the absence of sufficiently high-resolution medical image generation models hinders the faithful synthesis of clinically relevant fine-grained anatomical details, limiting their suitability for diagnostic scenarios that depend on subtle structural cues. (3) the large number of available fine-tuning paradigms makes it difficult to choose an appropriate strategy, and there is currently no comprehensive overview of how these methods affect downstream performance across different clinical contexts. This thesis addresses these gaps through three complementary contributions. First, I propose a novel framework for language-guided latent trajectory traversal in fine-tuned Stable Diffusion models. I demonstrate that these models learn disentangled directions corresponding to medical attributes such as pleural effusion, support devices, and dermatological artifacts. To quantify disentanglement, I introduce the Classifier Flip Rate along a Trajectory (CFRT) and show that latent traversals enable fine-grained, isolated manipulation of specific clinical factors without altering patient identity or unrelated attributes.Second, I introduce Pixel Perfect MegaMed, the first vision–language foundation model capable of synthesizing ultra-high-resolution chest X-rays at 1024×1024 and up to 2048×2048, substantially exceeding the 512×512 resolution at which these widely used datasets are almost exclusively explored in prior work. Built on a high-capacity Stable Diffusion XL backbone with LoRA-based adaptation and progressive upscaling, the model produces anatomically faithful images that preserve clinically meaningful detail. When incorporated as data augmentation, the generated images produce measurable improvements in disease classification performance on both CheXpert and MIMIC-CXR, exceeding the gains typically observed with conventional deep learning–based augmentation methods.Finally, I present the first systematic evaluation of full and parameter-efficient fine-tuning strategies for high-resolution (512×512) medical image generation. Comparing LoRA, DoRA, BitFit, DiffFit, and full U-Net training, I quantify trade-offs in fidelity (FID), diversity (Vendi Score), semantic alignment, and downstream generalization. Despite their computational benefits, parameter-efficient methods fall short of the generative and diagnostic performance achieved through full U-Net fine-tuning, highlighting its value in data-limited clinical settings.Together, these contributions advance the state of the art in high-resolution medical image synthesis, offer principled insights into fine-tuning paradigms for generative foundation models, and introduce the first controlled latent-space manipulation framework for medical imaging, paving the way for more robust, interpretable, and clinically dependable generative AI systems.

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
  • TehraniNasab, Zahra
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
1600267563

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

TehraniNasab, Zahra. Adapting foundation models for medical image generation. McGill University, 2026. https://doi.org/10.82308/56016