Thrust 4 · Chapter 6
Safety
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. Correctness is a separate axis: on PadChest the text-reliant cell is often more accurate than the grounded one, so the screen flags behavior, not per-prediction error.
How I ran it
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
The limitation that matters most
The quadrant audit is a behavioral screen, not a per-prediction safety verdict: on PadChest the Dangerous cell can be more accurate than the grounded cell (Base 100% vs 33%), and the widely-quoted r=-0.86 consistency-grounding correlation is largely definitional, falling to r=-0.15 once conditioned on consistency.
Confirmed Reducing flips can create a false sense of safety: averaged across ten model-dataset settings, 81% of each model's consistent predictions are image-invariant (range 45-100%), so consistency and grounding routinely come apart.
Negative result 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.
Mixed 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).