TL;DR
Deep learning models for medical imaging often fail when encountering new hospitals or demographic groups because they rely on spurious correlations rather than clinical logic. This paper introduces KnoBo (Knowledge-enhanced Bottlenecks), a method that forces models to reason using concepts derived from medical textbooks and PubMed, significantly improving robustness to domain shifts by up to 32.4% on average.
What Problem Does This Paper Address?
When we train a vision model on natural images (like cats and dogs), the architecture itself often has a "deep image prior"—an innate bias that helps it understand shapes and textures even before it sees a single training example. However, the authors discovered a startling gap: existing vision backbones lack an appropriate prior for medical images.
In medical settings, models frequently latch onto "confounds"—irrelevant features like the specific X-ray machine used, the patient's sex, or their race—to make predictions. For instance, if a training set mostly features pneumonia cases from Hospital A and healthy cases from Hospital B, a standard model might simply learn to identify the hospital's unique image artifacts rather than the disease itself. When tested on data where these associations are reversed, performance collapses.
Methods
The authors propose Knowledge-enhanced Bottlenecks (KnoBo), which mimics medical education by first learning from "textbooks" and then applying that knowledge to data. KnoBo is a type of Concept Bottleneck Model (CBM) that decomposes the prediction process into three interpretable stages:
- Structure Prior: Instead of letting the model invent its own features, the authors use Retrieval-Augmented Generation (RAG). A Large Language Model (LLM) queries medical corpora (like PubMed or textbooks) to identify clinically relevant, visually identifiable concepts (e.g., "Is there ground-glass opacity?").
- Bottleneck Predictor: The model learns to "ground" these text-based concepts in images. It uses a pretraining corpus of image-text pairs (like clinical reports) to train simple classifiers for each concept.
- Parameter Prior: To prevent the model from learning weird statistical shortcuts, the authors use an LLM to define a "prior" on how concepts should relate to labels. For example, the weight for the "lung collapse" concept should be positive when predicting "pneumonia." This acts as a regularizer during the final training phase.
Datasets
The authors evaluated KnoBo across a massive benchmark of 20 datasets covering two modalities: Chest X-rays and Skin Lesions.
- Confounded Datasets: They created 10 adversarial splits where training and testing data have reversed associations with demographic or environmental factors (sex, age, race, scan position, and hospital site).
- Unconfounded Datasets: 10 standard datasets (e.g., NIH-CXR, HAM10000) were used to ensure the model still performs well in normal settings.
- Knowledge Sources: They compared concepts derived from PubMed (5.5M articles), StatPearls, Wikipedia, and medical textbooks.
Key Insights and Ideas
- The Medical Prior Gap: As shown in Figure 2, while standard vision transformers (ViTs) are much better than raw pixels at featurizing natural images, they are often worse than raw pixels for medical images when untrained. This proves that standard architectures don't "understand" medical data out of the box.
- PubMed is the Best "Teacher": Among all knowledge sources, PubMed provided the most diverse and effective concept space, leading to the best overall prediction performance.
- Interpretability as a Defense: By forcing the model to pass through a "bottleneck" of human-understandable concepts, KnoBo prevents the model from using hidden, spurious features that don't exist in medical literature.
- Efficiency: KnoBo is remarkably data-efficient. It achieves high performance even when the concept grounding module is trained on as few as 100 clinical reports.
Key Results
- OOD Robustness: KnoBo outperformed fine-tuned black-box models (like ViT-L/14) on confounded datasets by an average of 32.4%.
- X-ray Performance: On X-ray domain shifts, KnoBo increased out-of-distribution (OOD) accuracy by 41.8% compared to the strongest baseline.
- Skin Lesion Performance: It saw a 22.9% boost in OOD accuracy for skin lesions.
- Minimal Trade-off: Unlike some robust methods that sacrifice accuracy on standard data, KnoBo maintained competitive performance on unconfounded datasets, ranking top overall when averaging both settings.
Limitations and Future Work
- Multimodal Dependency: KnoBo relies on the availability of image-text pairs (like clinical reports) to train its concept grounding functions. This might limit its application to extremely rare diseases where such paired data is scarce.
- Human-Level Gap: While KnoBo is more robust than standard models, it still doesn't reach the level of human medical experts in handling complex domain shifts.
- Concept Quality: The authors noted that while concepts are highly relevant, "groundability" (the ease of seeing a concept in an image) remains a challenge for text-only knowledge sources. Future work could explore using multimodal foundation models to further refine these concept spaces.
Summary updated