Efficient Bilinear Attention-based Fusion for Medical Visual Question Answering

Zhilin Zhang, Jie Wang, Ruiqi Zhu, Xiaoliang Gong, Gong, XiaoliangarXiv 2024

TL;DR

The researchers introduce OMniBAN, a fusion framework for Medical Visual Question Answering (MedVQA) that achieves Transformer-level accuracy with significantly lower computational costs. By combining bilinear attention with a specialized orthogonality loss, the model reduces FLOPs by 75% and parameters by 33% compared to standard co-attention models, making it a prime candidate for real-world clinical deployment.

What Problem Does This Paper Address?

Medical Visual Question Answering (MedVQA) is a specialized AI task where a system must interpret a medical image (like an X-ray or MRI) to answer a clinical question. This is significantly harder than general-domain VQA because medical images contain subtle, high-stakes details, and the language used is highly technical.

Currently, the field is dominated by massive, pre-trained Vision-Language Models (VLMs) and heavy Transformer-based fusion architectures. While powerful, these models are "computationally thirsty." They require significant GPU resources for training and inference, which is a major barrier for real-time clinical applications or hospitals with limited computing infrastructure. The authors identify a critical gap: the need for a fusion mechanism that is both high-performing and computationally efficient.

Methods

The authors propose OMniBAN (Orthogonal Multi-head Bilinear Attention Network). The architecture is built on three main pillars:

  1. Domain-Specific Encoders: Instead of general-purpose encoders, the model uses BiomedCLIP for images and BioBERT for text. These are frozen during training, meaning the computational focus is entirely on the fusion layer.
  2. Bilinear Attention Network (BAN): Rather than using a stack of expensive Transformer layers to fuse modalities, OMniBAN uses a bilinear attention mechanism. This captures complex, multi-modal interactions by evaluating attention distributions across all pairs of input channels. To keep it efficient, they use a factorized approach that projects features into a lower-dimensional shared space.
  3. Orthogonality Loss ($L_{\perp}$): This is the "secret sauce." Medical images often have very similar-looking regions. To prevent the model's multiple attention "glimpses" from all focusing on the same redundant features, this loss function penalizes overlap between glimpses. It forces the model to look at diverse parts of the image and text simultaneously.

The system also utilizes a Question Routing (CR) strategy, where a classifier first determines if a question is open-ended or closed-ended (e.g., Yes/No) and routes it to a specialized sub-model.

Datasets

The model was evaluated on two gold-standard MedVQA benchmarks:

  • VQA-RAD: A manually constructed dataset containing 3,515 QA pairs from 315 radiology images.
  • SLAKE (English subset): A larger, bilingual dataset with 7,033 QA pairs and 642 images, covering a wider range of body parts and modalities.

Key Insights and Ideas

  • Efficiency doesn't require a performance hit: The paper proves that bilinear attention—a technique often overshadowed by the "Transformer revolution"—can approximate or even exceed Transformer performance in specialized domains if implemented correctly.
  • Diversity is a Regularizer: In medical imaging, "overfitting" to the most obvious visual feature is a common failure mode. The Orthogonality Loss acts as a powerful regularizer, ensuring the model doesn't ignore subtle diagnostic cues (like tiny lesions) by forcing attention heads to diverge.
  • The "Frozen Encoder" Advantage: By keeping the heavy-duty encoders (BiomedCLIP/BioBERT) frozen, the researchers show that the "intelligence" of a MedVQA system can be significantly improved just by optimizing how those pre-extracted features talk to each other.

Key Results

OMniBAN demonstrates a superior "accuracy-per-watt" profile:

  • Computational Efficiency: Compared to a standard Transformer-based Co-Attention model, OMniBAN requires only 21.6M parameters (vs. 31.9M) and just 182M FLOPs (vs. 701M). That is a ~74% reduction in FLOPs.
  • Accuracy: On VQA-RAD, OMniBAN achieved an overall accuracy of 75.1%, nearly identical to the much heavier BiomedCLIP+Transformer (75.2%).
  • Closed-Ended Performance: Interestingly, OMniBAN actually outperformed the Transformer baseline on closed-ended questions (80.9% vs 79.8% on VQA-RAD), suggesting its focused attention is particularly good at "Yes/No" diagnostic verification.

Limitations and Future Work

While the results are promising, the authors note a few areas for growth:

  • Dataset Breadth: The model has only been tested on radiology-focused datasets (VQA-RAD and SLAKE). Its performance on more niche areas like Surgical VQA or pathology remains unproven.
  • Encoder Dependency: The study only looked at PubMedCLIP and BiomedCLIP. It’s unclear how the fusion layer would behave with the latest generation of even larger foundation models.
  • Knowledge Integration: The current model relies purely on the features extracted from the image and text. Future work could involve integrating external medical knowledge graphs to help the model "reason" through complex diagnoses.

Summary updated

Abstract

Medical Visual Question Answering (MedVQA) has attracted growing interest at the intersection of medical image understanding and natural language processing for clinical applications. By interpreting medical images and providing precise answers to relevant clinical inquiries, MedVQA has the potential to support diagnostic decision-making and reduce workload across various fields like radiology. While recent approaches rely heavily on unified large pre-trained Visual-Language Models, research on more efficient fusion mechanisms remains relatively limited in this domain. In this paper, we introduce a fusion model, OMniBAN, that integrates Orthogonality loss, Multi-head attention, and a Bilinear Attention Network to achieve high computational efficiency as well as solid performance. We conduct comprehensive experiments and demonstrate how bilinear attention fusion can approximate the performance of larger fusion models like cross-modal Transformer. Our results show that OMniBAN requires fewer parameters (approximately 2/3 of Transformer-based Co-Attention) and substantially lower FLOPs (approximately 1/4), while achieving comparable overall performance and even slight improvements on closed-ended questions on two key MedVQA benchmarks. This balance between efficiency and accuracy suggests that OMniBAN could be a viable option for real-world medical image question answering, where computational resources are often constrained.
BibTeX
@misc{zhang2024efficient,
  author = {Zhilin Zhang and Jie Wang and Ruiqi Zhu and Xiaoliang Gong and Gong, Xiaoliang},
  title = {{Efficient Bilinear Attention-based Fusion for Medical Visual Question Answering}},
  year = {2024},
  eprint = {2410.21000},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.21000},
}
Figure