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 · DOI

Introduction

Medical vision-language pre-training (VLP) has emerged as a powerful paradigm for developing AI models capable of interpreting clinical images. However, traditional approaches often rely on coarse image-report matching, which struggles with the inherent complexity and noise of radiology reports. MedFILIP (Medical Fine-grained Language-Image Pre-training) addresses these limitations by shifting the focus from abstract disease labels to fine-grained visual attributes and structured medical knowledge. By decomposing clinical findings into concrete visual features like shape and texture, MedFILIP achieves state-of-the-art performance and demonstrates a unique capacity for zero-shot diagnosis of emerging diseases.

The Challenge: Noisy Reports and Abstract Labels

Most medical AI models are trained by pairing an image with its corresponding radiology report. This approach faces two primary hurdles:

  1. Report Noise: Radiology reports are often unstructured and contain extraneous information. A single report might mention multiple findings with varying degrees of relevance (e.g., "tiny pleural effusion" alongside "stable edema"), making it difficult for models to associate specific visual features with the correct diagnostic entity.
  2. Lack of Granularity: Standard models treat disease categories as abstract, monolithic labels. They do not inherently understand the visual manifestations of a disease—for instance, that "Pneumonia" typically appears as "patchy white areas." This leads to poor handling of intra-class variation (where mild and severe cases look different but share a label) and limited generalization to "unseen" diseases that share visual characteristics with known conditions.

The MedFILIP Framework

To overcome these issues, MedFILIP introduces a multi-stage pipeline designed to inject domain knowledge and structure into the learning process. The framework consists of four core components:

GPT-IE (Information Extractor)

To handle the complexity of raw clinical text, the authors utilize a Large Language Model (GPT-3.5-Turbo) to decouple reports into structured triplets: {severity, location, category}. This process filters out linguistic noise while retaining the critical diagnostic details necessary for precise image alignment.

IKI (Image-specific Knowledge Injector)

This component bridges the gap between abstract medical terminology and visual reality. By leveraging a medical dictionary, the IKI maps disease categories to detailed explanations of their visual attributes. For example, instead of just learning the label "Atelectasis," the model is provided with descriptions like "streaky opacities," allowing it to learn the underlying visual patterns.

SSM (Semantic Similarity Matrix)

Unlike traditional models that use "hard" binary labels (0 or 1), MedFILIP employs a "soft" similarity matrix. This matrix calculates the semantic relationships between different findings, providing a smoother supervisory signal. This helps the model understand that "bilateral pneumonia" is semantically closer to "right-sided pneumonia" than it is to an unrelated condition like "edema."

Multimodal Contrastive Learning

The architecture utilizes a dual-encoder setup—a ResNet-50 for image processing and a Transformer for text—trained to align fine-grained image features with their corresponding semantic and attribute-based descriptions.

Experimental Results

MedFILIP was pre-trained on a refined version of the MIMIC-CXR dataset, consisting of 141,171 images enhanced with fine-grained entities. Its performance was evaluated across several benchmarks, including NIH ChestX-ray14, RSNA-Pneumonia, and SIIM-ACR Pneumothorax.

State-of-the-Art Classification

MedFILIP achieved a significant performance boost, increasing classification accuracy by up to 6.69% compared to previous state-of-the-art models such as MedKLIP and GloRIA.

Zero-Shot Generalization

A standout feature of MedFILIP is its ability to identify diseases not present in the training set. When tested on a COVID-19 dataset, the model significantly outperformed its competitors. Because the model learned to recognize the visual attributes associated with respiratory infections (like ground-glass opacities), it could accurately diagnose COVID-19 despite never having seen the specific label during pre-training.

Data Efficiency and Segmentation

In fine-tuning experiments, MedFILIP demonstrated remarkable data efficiency; using only 10% of the training data, it often outperformed competing models trained on 100% of the data. Additionally, the model achieved higher Dice scores in segmentation tasks, indicating that its pre-training helps it learn localized, anatomically relevant features.

Conclusion and Future Work

MedFILIP demonstrates that teaching AI models to recognize visual attributes rather than just abstract labels is a more effective path for medical imaging. While the current framework relies on a proprietary LLM for information extraction and uses category-level explanations, future iterations aim to incorporate open-source medical LLMs and patient-specific, dynamic visual descriptions. By focusing on semantic continuity and fine-grained details, MedFILIP sets a new standard for robust and generalizable medical AI.

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