Med-SegLens: Latent-Level Model Diffing for Interpretable Medical Image Segmentation
Abstract
Lay Summary
Doctors use AI to outline tumors in medical scans, but these systems can fail when patients come from different hospitals, age groups, or populations. The problem is that we often do not know why the AI fails or how to fix it without retraining the whole model. We introduce Med-SegLens, a tool that looks inside medical segmentation models and breaks their internal decisions into smaller, understandable pieces. By comparing models across healthy, adult, pediatric, and Sub-Saharan African brain MRI datasets, we found that some internal features are shared across groups, while others are specific to certain populations. Most importantly, we show that some of these features directly cause segmentation mistakes. By adjusting them, Med-SegLens can correct many failures without retraining the model, recovering performance in about 70% of failure cases. This makes AI medical imaging systems easier to inspect, diagnose, and improve when they face real-world patient differences.