Abstract
Vision-Language Pretraining (VLP) in the medical domain is often hindered by noisy web-crawled data and the neglect of structured medical knowledge. This paper presents a two-stage framework: MAGEN (Multi-Agent data GENeration) for automated data refinement and O-MAKE (Ontology-based Multi-Aspect Knowledge-Enhanced pretraining) for structured learning. MAGEN utilizes a multi-agent system to enrich noisy image-text pairs with expert-verified descriptions. O-MAKE leverages medical ontologies to guide feature alignment and incorporates hierarchical relationships through soft-label learning. Experimental results in dermatology demonstrate that this framework achieves state-of-the-art zero-shot performance across eight diverse datasets, significantly outperforming existing general and medical VLP models.
Introduction
Vision-Language Pretraining (VLP) typically relies on massive datasets of image-text pairs scraped from the web. However, in the medical domain, this data is often noisy: textbooks may lack descriptions, video captions are frequently misaligned, and clinical reports can be too verbose for standard encoders. Furthermore, existing models often treat diseases as independent categories, ignoring the hierarchical relationships and shared visual features inherent in medical ontologies. This paper addresses these limitations by combining automated data enrichment with knowledge-aware pretraining.
Methodology: MAGEN and O-MAKE
The proposed framework addresses these challenges in two distinct stages: data synthesis and structured pretraining.
MAGEN: Multi-Agent Data Generation
MAGEN is an automated pipeline designed to "upcycle" low-quality medical data. It employs a Dermatology Foundation Model for initial diagnosis, a Captioning Agent (LLaVA-based) for detailed descriptions, and a Summary Agent to distill information from a medical knowledge base into "Disease Cards." Finally, a Verification Agent cross-references these outputs to ensure factual accuracy and visual grounding, identifying the best-matching disease candidate among the cards.
O-MAKE: Ontology-based Multi-Aspect Knowledge-Enhanced Pretraining
O-MAKE introduces a training logic that respects medical structures through three key components:
- Text Decomposition: Breaks text into "Raw," "Ontology," and "Visual Concept" aspects to bypass encoder character limits and capture multi-faceted information.
- Ontology-Guided Weighting: Prioritizes diagnostically relevant sub-captions by mimicking a clinician's focus.
- Soft-Label Learning: Uses medical hierarchies to inform the model about similarities between related conditions, allowing it to "borrow" knowledge from common conditions to identify rare ones.
Experimental Setup
The models were pretrained on Derm1M (~400k pairs) and a newly introduced Derm1M-AgentAug dataset, where 45% of the noisiest original pairs were recaptioned by the MAGEN system. Evaluation was conducted across eight downstream datasets, including Fitzpatrick17K (diverse skin tones) and specialized "long-tail" sets like SNU-Tails and SD-Tails for rare conditions.
Key Results
The O-MAKE framework achieved state-of-the-art (SOTA) results in zero-shot tasks, demonstrating the efficacy of both the data augmentation and the structured training approach.
- Disease Classification: Reached an average accuracy of 54.4%, significantly outperforming standard CLIP (44.4%) and specialized models like DermLIP (49.2%).
- Cross-Modal Retrieval: Achieved an average recall of 45.3%, a substantial improvement over general-purpose and prior medical VLP models.
- Rare Disease Performance: The "soft-label" approach improved performance on rare-disease datasets like Daffodil by 4.2% by leveraging hierarchical knowledge from common conditions.
- Visual Clarity: t-SNE visualizations indicated tighter, more distinct clusters for different diseases compared to previous methods, proving the model learned more discriminative features.
Conclusion and Future Work
This research highlights that automated data enrichment (quality over quantity) and the use of medical ontologies as "semantic anchors" can drastically improve VLP performance. While currently focused on dermatology, the modular design of MAGEN and O-MAKE is extensible to other medical fields such as radiology or pathology. Future work will explore general medicine applications, the incorporation of diverse clinical data (e.g., lab results), and dynamic ontology construction.
Summary updated