NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MedFILIP: Medical Fine-Grained Language-Image Pre-Training

Xinjie Liang, Xiangyu Li, Fanding Li, Jie Jiang, Qing Dong, Wei Wang, Kuanquan Wang, Suyu Dong, Gongning Luo, Shuo Li

TL;DR

MedFILIP is a novel medical vision-language pre-training (VLP) framework that moves beyond coarse image-report matching by extracting fine-grained disease entities and injecting medical domain knowledge. By decomposing abstract disease categories into concrete visual attributes (like shape and texture), the model achieves state-of-the-art performance in medical image classification and demonstrates a remarkable ability to identify "unseen" diseases like COVID-19 in a zero-shot setting.

What Problem Does This Paper Address?

Most medical AI models learn by pairing an image with a full radiology report. However, radiology reports are notoriously "noisy." A single report might mention multiple findings (e.g., "tiny pleural effusion" alongside "stable edema"), making it difficult for a model to learn which visual feature belongs to which disease.

Furthermore, standard models treat disease categories as abstract labels. They don't inherently understand that "Pneumonia" manifests as "patchy white areas." This lack of granularity leads to two major issues:

  1. Intra-class variation: A "mild" case and a "severe" case of the same disease are often treated as identical labels, despite looking very different.
  2. Poor Generalization: If a model hasn't seen a specific label (like COVID-19) during training, it cannot diagnose it, even if it recognizes the underlying visual patterns (like "ground-glass opacities") associated with it.

Methods

The authors introduce MedFILIP, which stands for Medical Fine-grained Language-Image Pre-training. It consists of four key innovations:

  • GPT-IE (Information Extractor): Instead of using raw, messy text, the authors use a Large Language Model (GPT-3.5-Turbo) to "decouple" reports into structured triplets: {severity, location, category}. This reduces text complexity while retaining critical diagnostic details.
  • IKI (Image-specific Knowledge Injector): This component acts as a bridge between abstract medical terms and visual reality. It uses a medical dictionary to map disease categories to fine-grained explanations of visual attributes (e.g., mapping "Atelectasis" to "streaky opacities").
  • SSM (Semantic Similarity Matrix): Traditional models use "hard" labels (0 or 1). MedFILIP uses a "soft" similarity matrix. It calculates how semantically related different findings are, providing a smoother supervisory signal that helps the model cluster similar subclasses together.
  • Multimodal Contrastive Learning: The model uses a dual-encoder architecture (ResNet-50 for images, Transformer for text) trained to align these fine-grained image features with their corresponding semantic descriptions.

Datasets

The researchers utilized several high-profile datasets for training and evaluation:

  • MIMIC-CXR: The primary pre-training source. The authors introduced a refined version of this dataset containing 141,171 images enhanced with fine-grained entities and explanations.
  • Evaluation Benchmarks: RSNA-Pneumonia (single-label), NIH ChestX-ray14 (multi-label), VinBigData, and a specific COVID-19 dataset to test zero-shot generalization.
  • SIIM-ACR Pneumothorax: Used to evaluate the model's performance on downstream segmentation tasks.

Key Insights and Ideas

  • Attributes over Categories: The "aha moment" here is that teaching a model to recognize visual attributes (shape, color, texture) is more effective than teaching it to recognize labels. Because different diseases often share visual attributes, the model can "reason" its way to a diagnosis for a disease it has never officially seen.
  • LLMs as Clinical Labelers: The paper demonstrates that LLMs are exceptionally good at structuring unstructured clinical narratives. This automated "cleaning" of the data significantly boosts the quality of the supervision signal.
  • Semantic Continuity: By using the SSM, the model learns that "bilateral pneumonia" is closer to "right-sided pneumonia" than it is to "edema." This nuanced understanding of medical relationships prevents the model from making "confident but wild" errors.

Key Results

MedFILIP achieved state-of-the-art (SOTA) results across multiple tasks:

  • Classification Accuracy: Increased by a maximum of 6.69% compared to previous SOTA models like MedKLIP and GloRIA.
  • Zero-Shot Performance: On the COVID-19 dataset (unseen during training), MedFILIP significantly outperformed competitors, proving that its knowledge-injection strategy works for emerging diseases.
  • Data Efficiency: In fine-tuning experiments, MedFILIP using only 10% of the training data often outperformed other models using 100% of the data.
  • Segmentation: Achieved a higher Dice score on the SIIM-ACR dataset, indicating that the pre-training helps the model learn localized, anatomically relevant features.

Limitations and Future Work

The authors acknowledge a few areas for improvement:

  • The "Black Box" LLM: The GPT-IE relies on a proprietary LLM. Future work could explore using open-source medical LLMs to ensure reproducibility and data privacy.
  • Generic Explanations: Currently, the visual explanations are category-level (e.g., all pneumonia cases get the same general description). The authors aim to create a more dynamic database that can provide patient-specific, fine-grained explanations for different subclasses of diseases.
  • Inference Pipeline: They plan to build a more robust inference pipeline that can automatically map image features back to specific disease subclasses in real-time clinical settings.

Summary updated

BibTeX
@article{liang2025medfilip,
  author = {Xinjie Liang and Xiangyu Li and Fanding Li and Jie Jiang and Qing Dong and Wei Wang and Kuanquan Wang and Suyu Dong and Gongning Luo and Shuo Li},
  title = {{MedFILIP: Medical Fine-Grained Language-Image Pre-Training}},
  journal = {IEEE JBHI},
  year = {2025},
  doi = {10.1109/jbhi.2025.3528196},
}
Figure