Abstract
Medical Visual Question Answering (Med-VQA) presents unique challenges due to the complexity of medical imagery and the scarcity of annotated data. Current Vision-Language Pre-training (VLP) methods often suffer from fragmented modality alignment, difficulty in distinguishing clinically similar "hard negatives," and the introduction of noise during external knowledge fusion. We propose AMiF (Alignment, Mining, and Fusion), a novel framework that unifies multi-level global and local alignment, implements a hard negative mining strategy using soft labels, and employs a gated cross-attention mechanism for selective knowledge integration. AMiF achieves state-of-the-art results across four major Med-VQA benchmarks, demonstrating superior performance particularly in open-ended question scenarios.
Introduction
Med-VQA requires models to identify subtle pathological features and reason across specialized domains. Existing approaches typically focus on global inter-modality alignment, often neglecting intra-modality relationships and local-level feature correspondences. Furthermore, the clinical similarity between different patients can lead to "hard negatives" that confuse standard contrastive learning objectives. Finally, while external medical knowledge can aid reasoning, its unselective fusion often introduces task-irrelevant noise. AMiF addresses these gaps through a multi-stage pre-training and fine-tuning pipeline.
Methods
The AMiF framework is structured around three core innovations: unified alignment, hard negative mining, and gated fusion.
1. Unified Modality Alignment
AMiF performs alignment across multiple dimensions to build robust representations. It considers both global features (via [CLS] tokens) and local features (matching image patches to words). Crucially, it incorporates intra-modality alignment, leveraging multi-view images of the same patient and text-text similarities. Pre-training is divided into two stages: Stage 1 focuses on global alignment, while Stage 2 utilizes Optimal Transport (OT) theory for fine-grained local-level alignment between image regions and text tokens.
2. Hard Negative Mining (HNM)
To address the "hard negative" problem where distinct patients share similar clinical presentations, AMiF utilizes soft labels distilled from a pre-trained medical CLIP model. This approach moves beyond binary classification, allowing the model to recognize varying degrees of similarity. By explicitly mining hard negatives and training a classifier to distinguish them from true positives, the model learns more discriminative medical features.
3. Gated Knowledge Fusion
During the fine-tuning phase for VQA tasks, AMiF integrates prior knowledge extracted from the answer vocabulary. To prevent the introduction of irrelevant information, a Gated Cross-Attention Module is employed. A sigmoid-based gate learns to dynamically weight the importance of external knowledge, ensuring that only relevant information is fused into the joint image-text representation used for decoding.
Experimental Evaluation
AMiF was evaluated on four benchmark datasets: VQA-RAD, SLAKE, PathVQA, and VQA-2019. It established new state-of-the-art benchmarks across the board:
- VQA-RAD: Achieved 80.49% overall accuracy.
- SLAKE: Reached 86.71% accuracy.
- PathVQA: Achieved 65.33%, a significant jump in a notoriously difficult pathology dataset.
Significant improvements were observed in open-ended questions, indicating a more profound semantic understanding of medical content compared to previous models. The results suggest that intra-modality signals and selective knowledge fusion are critical for high-performance medical reasoning.
Conclusion
The AMiF framework demonstrates that unifying multi-level alignment with intelligent negative mining and selective knowledge fusion significantly advances Med-VQA performance. While the framework relies on the quality of the teacher model for soft labels, its modular design allows for future integration of more complex, structured knowledge sources—such as full medical knowledge graphs—to handle even more sophisticated clinical reasoning tasks.
Summary updated