Binesh Sadanandan PhD Dissertation Companion
Read thesis

Thesis map

How the five thrusts fit together

Each thrust answers a question the previous one opened, and several of the answers are negative. The argument view below follows that chain. The chapter view shows how the dissertation is organized instead.

  1. Nobody had measured how often a rephrased clinical question changes a medical model’s answer, at scale, on audited paraphrases.

  2. Chapter 3

    Thrust 1: Measurement

    How often do equivalent questions change model answers?

    PSF-Med evaluates six medical vision-language models on 92,856 evaluated paraphrase pairs built from 26,850 chest X-ray questions spanning three countries. Pairwise flip rates on the binary yes/no subset range from 6.4% to 54.7% (an 8.5x spread), and scale does not buy consistency. Two model-dataset cells with degenerate yes-bias (>98% positive on originals) are set aside, and no consistency is claimed for them.

    Method, data, and sources
    Method
    Generate roughly 92,000 candidate paraphrases, adjudicate 122,778 pairs for semantic equivalence with an LLM judge validated against clinician review (50.3% retained), regenerate the PadChest paraphrases to remove laterality and scope leakage and judge-filter that set separately, then measure answer flips at both pairwise and query-level denominators on the resulting 92,856 pairs: audit-retained MIMIC-CXR (8,938) and VinDr-CXR (24,345) plus PadChest v2 (59,573), which is not a subset of the 61,761-pair audited core.
    Datasets
    MIMIC-CXR, PadChest, VinDr-CXR
    Models
    MedGemma-27B, MedGemma-1.5-4B, MedGemma-4B, CheXone, LLaVA-Rad, RadFM
    Thesis tables
    Table 3.3 (tab:t1_flip_rates), Table 3.4 (tab:t1_denominators)
    Papers
    PSF-Med
  3. Measurement showed some models are strikingly consistent. That raised a harder question: is consistency evidence of good reasoning, or of ignoring the image?

  4. Chapter 4

    Thrust 2: Diagnosis

    Does consistency mean the model is using the image?

    Three backends are compared on a curated 107-pair set. The most consistent model, LLaVA-Rad at 6.5% flips, gives the same answer on nearly every question when you take the image away. The least consistent, MedGemma-4B at 42.1% here, is the one that reacts most when you swap the image for another. Across these three, consistency and text-reliance rise together. The set predates the equivalence audit, so these figures are illustrative. They are not estimates.

    Method, data, and sources
    Method
    Text-only evaluation (image removed) and controlled image swap (image replaced with one showing the opposite finding) run on the identical 107 pairs across all three backends; the attention-bounding-box analysis is a separate balanced 200-pair PadChest subsample (100 flip, 100 no-flip) with ground-truth boxes, MedGemma-4B only.
    Datasets
    MIMIC-CXR, PadChest
    Models
    MedGemma-4B, MedGemma-27B, LLaVA-Rad
    Thesis tables
    tab:thrust2_backend_summary, tab:thrust2_attention_bbox, tab:thrust2_quadrant_preview
  5. If consistency can be ungrounded, then reducing flips is only worth doing if it does not come from leaning further on the text. That means finding where the answer is decided.

  6. Chapter 5

    Thrust 3: Mechanisms and Mitigation

    Can paraphrase flips be reduced without degrading observed accuracy?

    The answer commits at layer 16, and a candidate two-stage account runs from Feature 3818 at layer 17 to Feature 12139 at layer 29. Both are exploratory. Ablating the single feature restores the original answer in only 6 of 76 flips, and the layers the diagnosis pointed at turn out not to be the best place to intervene: early layers beat them. The adapter still works. A targeted LoRA on layers 15 to 19, touching 0.10% of parameters, cuts the pairwise flip rate from 8.5% to 3.5% on a clean patient-disjoint set, about 59%, with no observed accuracy reduction. A controlled probe (FlipLens) then isolates where the sensitivity comes from: holding architecture, parameters, seed and evaluation fixed and varying only the training-phrasing distribution moves the flip rate from 4.8% under full paraphrase coverage to 67.1% under a single phrasing and 88.4% when a phrasing register is tied to the answer (Cliff's delta 1.00), which identifies the training data as a cause rather than a correlate. Part of that 4.8% is recognition of familiar wording rather than invariance: scored only on the 24 phrasings withheld from training, augmented rises to 26.6% against canonical's 65.9% and adversarial's 87.4%, and 26.6% against 65.9% is the honest size of the lever.

    Method, data, and sources
    Method
    Residual-stream transplants and sparse-autoencoder feature analysis on MedGemma-4B to locate candidate mechanisms, followed by targeted low-rank adaptation of layers 15-19 evaluated on a patient-disjoint fleet (5 seeds) against a full-layer LoRA baseline.
    Datasets
    MIMIC-CXR, PadChest
    Models
    MedGemma-4B, Targeted LoRA, Full LoRA
    Thesis tables
    tab:thrust3_main_results, tab:thrust3_layer_ablation, tab:thrust3_padchest_transfer, tab:pd_safety_audit
  7. The adapter cut flips. Whether that made the model safer is a separate question, and it needs a screen that tests consistency and image dependence together.

  8. Chapter 6

    Thrust 4: Safety Evaluation

    Do consistency improvements produce safer, more image-dependent behavior?

    A four-quadrant audit crossing consistency with image reliance shows that, averaged across ten model-dataset settings, 81% of each model's consistent predictions are image-invariant (range 45-100%). Consistency-optimized adapters concentrate predictions in the Dangerous quadrant (consistent but text-reliant), reaching 84.1% for Targeted LoRA on PadChest, though Chapter 6 qualifies that placement: Targeted LoRA also has the highest image-swap sensitivity of the LoRA variants (31.5% on the same 861 questions), so the text-only-agreement criterion can overcount on PadChest, where high finding base rates let the text prior and the image agree. Correctness is a separate axis: on PadChest the text-reliant cell is often more accurate than the grounded one, so the screen flags behavior. It does not flag per-prediction error.

    Method, data, and sources
    Method
    Classify each prediction on curated flip banks by paraphrase consistency and text-only agreement into four quadrants, with attention-grounding (true vs shifted box), occlusion faithfulness, and demographic fairness stratification as companion analyses.
    Datasets
    MIMIC-CXR, PadChest
    Models
    MedGemma-4B, Targeted LoRA, Full LoRA, LLaVA-Rad, LLaVA-Rad LoRA
    Thesis tables
    tab:quadrant_counts, tab:grounding, tab:fairness
  9. If a consistent model can still be ungrounded, deployment cannot rely on consistency. Something has to flag the predictions a clinician should look at.

  10. Chapter 7

    Thrust 5: Deployment

    Can uncertainty and audit signals identify predictions that should be escalated?

    One forward pass is enough to rank flip risk. Predictive entropy predicts paraphrase flips at an AUROC of 0.823 and errors at 0.862 for Targeted LoRA on the PadChest flip bank, and it carries across architectures: LLaVA-Rad LoRA reaches 0.830 on PadChest and 0.905 on MIMIC. The gate is an offline readiness audit: its region term needs a radiologist's bounding box that no undiagnosed patient has, so that term cannot run online, though the MIMIC configuration, where the rule already reduces to paraphrase agreement plus an image-swap check, is deployable as written. And what it admits is mostly what the question text already answers: on the slice where text and image disagree, Targeted LoRA scores 2.9%.

    Method, data, and sources
    Method
    Compare uncertainty methods (softmax entropy, Monte Carlo dropout, deep ensemble, temperature scaling) for flip and error prediction, calibration, corruption stress, and descriptive conformal coverage, then evaluate a multi-signal admit rule combining paraphrase agreement, swap sensitivity, and region evidence.
    Datasets
    MIMIC-CXR, PadChest
    Models
    MedGemma-4B, Targeted LoRA, Full LoRA, LLaVA-Rad, LLaVA-Rad LoRA, Qwen2-VL
    Thesis tables
    tab:bridge_auroc, tab:gate_results, tab:conformal_shift, tab:clean_calibration

What the five thrusts add up to

Low paraphrase sensitivity is insufficient evidence of grounded visual reasoning. Consistency must be evaluated together with correctness, image dependence, and uncertainty.

The mitigation cuts flips but does not preserve grounding. The mechanism is a candidate account, its circuit unproven. The deployment audit admits the cases a text prior already answers.

Every research question, and its answer

From the synthesis table in Chapter 8. The chip states how strongly the evidence supports the answer.

SupportedChapter 3

Scale does not buy paraphrase consistency: MedGemma-27B is the most consistent of the three MedGemma variants on MIMIC (6.4%) and VinDr (8.1%) but not on PadChest, where MedGemma-4B edges it (13.4% vs 13.9%), and no stable consistency ordering by parameter count exists across datasets.

scale-no-consistency · flip-rate-range

MixedChapter 5

Partly. Targeted LoRA on layers 15 to 19 touches 0.1% of parameters and cuts pairwise flips from 8.5% to 3.5% over five seeds, about 59%. McNemar p < 0.002 in every seed, and no observed accuracy reduction on a patient- and image-disjoint split. But it does not preserve visual grounding: both adapters raise text-only agreement from 53.5% to about 77%.

lora-flip-reduction-pd · lora-accuracy-delta-pd · lora-param-fraction · lora-textonly-increase-pd

Negative resultChapter 5

No: the best intervention layer does not match the diagnosis layer. Ablating early layers 0-10 reduces margin difference to 0.26 (86% reduction), beating the mechanistically identified layers 15-19 (0.38, 80%) by six points.

layer-ablation-early-vs-middle

Negative resultChapter 6

No: attention does not reliably indicate grounding. True-box coverage only marginally exceeds a displaced box (0.296 vs 0.261 for Base), and patch-rank correlation between attention and causal occlusion importance is near zero across all three MedGemma variants.

attention-occlusion-rho · attention-true-vs-shifted

MixedChapter 6

Partially: the worst-calibrated model also shows the largest demographic disparities. Full LoRA has the worst calibration (ECE of about 0.25 or higher for every group) and the largest sex gaps, while Targeted LoRA has the smallest sex ECE gap (0.012) but the steepest age accuracy gradient (13 pp).

fairness-ece-sex-gap-targeted · fairness-age-gradient-targeted

ConfirmedChapter 7

Yes: single-pass predictive entropy predicts paraphrase flips (AUROC 0.823) as well as errors (AUROC 0.862) on PadChest, and the flip bridge replicates across architectures (LLaVA-Rad LoRA 0.830 PadChest, 0.905 MIMIC).

entropy-flip-auroc · entropy-error-auroc

Negative resultChapter 7

No. Gates admit the cases the text already answers over the ones grounded in the image. Admitted-case accuracy does rise, to 96.8% against 91.5% for Targeted LoRA on PadChest. Yet that same model scores 2.9% on the slice where text and image disagree, and Qwen2-VL gets 0 of 279 such questions right under every rule tried.

gate-grounded-slice-failure · gate-admission-targeted-padchest

Negative resultChapter 7

No: no single internal monitor transfers across model families. Gemma, LLaVA-Rad, and Qwen2-VL each require different monitors, and the multi-pass alternatives fail in family-specific ways: adapter-only Monte Carlo dropout is an uninformative epistemic probe and the MedGemma deep ensemble collapses out of distribution.

mcdropout-mi · ensemble-ood-failure · gate-grounded-slice-failure

ExploratoryChapter 3

Paraphrase sensitivity persists in frontier general-purpose models that were never medically finetuned: four configurations of three such models flip on 3.1% to 9.5% of clinically equivalent rephrasings, and enabling reasoning on Claude Opus 5 raised its flip rate rather than lowering it (9.53% against 8.36%, p = 0.022). On PadChest, the one population where a frontier run and the published medical cells are directly comparable, the frontier rate is 3.08% against 12.0% to 32.8%.

frontier-flip-persists · frontier-reasoning-no-benefit · frontier-padchest-like-for-like

Cite

Permanent link

Type to search. Press Escape to close.