Manuscript Offprint

arXiv:2608.26848

MedFG-VQA: Low-Frequency Memory and Graph Attention for Lightweight Medical VQA

Haowen Gu, Gensheng Pei, Zeren Sun, Mingwu Ren, Xiangbo Shu, Yazhou Yao, Fumin Shen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Medical Visual Question Answering (Med-VQA) holds significant promise for clinical decision support, yet faces challenges due to limited annotated data and the high computational demands of existing large vision-language models. We propose MedFG-VQA, a lightweight framework that leverages a memory bank to augment DCT-based low-frequency features and employs graph-enhanced cross-attention for effective visual-textual alignment. Specifically, our approach features two key components: Frequency-Memory Fusion (FMF), which enhances low-frequency features by retrieving from a learnable memory bank built on DCT decomposition, and Graph-Aware Cross-Attention (GACA), which aligns visual-textual features via cross-attention and refines them through graph-convolutional aggregation. To address data scarcity, we construct SynMed-VQA, a large-scale synthetic dataset comprising over 2 million question-answer pairs across 9 imaging modalities and 10 major organs, generated with GPT-4o. Extensive experiments on SynMed-VQA and three other standard biomedical VQA benchmarks demonstrate that MedFG-VQA achieves competitive or superior performance compared to much larger models while maintaining significantly lower computational costs, highlighting its efficiency and potential for clinical deployment.

1. Introduction

Radiological imaging serves as a cornerstone of modern medicine, producing over 80 million images each year [2]. With the growing demand for diagnostic interpretation, Medical Visual Question Answering (VQA) has emerged

Figure

Which of the following are potential pathological implications of debris accumulation in tissue sections?

A: Result of maladaptive healing leading to fibrosis.

B: Indication of tissue necrosis due to ischemic injury or infection.

C: Early sign of malignancy characterized by atypical cell clusters.

D: Marker of ongoing tissue regeneration and repair.

LLaVA-Med: C

Ours: B

Which anatomical regions of the lungs show abnormal opacities in this radiograph?

Qwen3-VL: Based on the provided chest radiograph (an anterior-posterior view), the abnormal opacities are primarily located in the right lower lobe and left lower lobe. Here's the reasoning: The radiograph shows .....

Ours: The opacities are primarily in the right middle and lower lung zones.

Figure 1. Illustration of VLMs evaluated on the SynMedVQA dataset. Among the 6 VLMs, MedFG-VQA achieves the highest overall score. Qualitative VQA comparison between two models, showcasing the effectiveness of MedFG-VQA.

as a promising direction with substantial clinical relevance. By linking visual content in medical images with natural language queries, it enables more effective diagnostic assistance, image retrieval, and clinical decision support.

In recent years, the rapid advancement of Large

∗^{*}Corresponding author.

Language Models (LLMs) and Vision-Language Models (VLMs) [1, 39, 43, 46] has brought new opportunities for the development of medical VQA. However, unlike general-domain VQA, medical VQA faces two major challenges. First, The lack of high-quality annotated data, especially for cross-modal tasks requiring domain-specific medical knowledge. Although several public datasets have been released [10, 15, 23, 27, 28], their limited scale makes them insufficient for training large VLMs. Second, clinical deployment imposes strict constraints on model size and computational resources, while existing models [8, 14, 17, 22, 24, 32] fail to maintain strong diagnostic capability under lightweight configurations.

Motivated by the aforementioned gap, we propose MedFG-VQA, a lightweight medical visual question answering model with frequency graph fusion, achieving efficient learning and strong generalization through structured module design and high-quality synthetic data. First of all, MedFG-VQA employs a pretrained visual backbone and introduces a lightweight FreqMemoryFusion (FMF) module. By retrieving and residually integrating low-frequency priors in the frequency domain, FMF enhances the model's capacity to capture global structural information. Then, we design a Graph-Aware Cross-Attention (GACA) module to jointly model global cross-modal semantics and local visual structure. Given image and text features, GACA achieves global cross-modal alignment through multi-head mutual attention, producing semantically enriched image representations. Meanwhile, a dynamic KNN-based graph convolution captures local spatial relationships among image patches. A gated residual fusion mechanism then adaptively balances these two complementary perspectives, and the resulting multimodal features are fed into an LLM to accomplish the VQA task. Equipped with the above methods, MedFG-VQA seamlessly integrates frequency-domain global modeling and graph-based local structural reasoning. To train MedFG-VQA, we construct a large-scale medical VQA synthetic dataset SynMedVQA comprising 2.059 million samples, generated with the assistance of GPT-4o. The dataset covers diverse medical scenarios and question types, enabling comprehensive model training. As shown in 1, extensive experiments on multiple benchmarks demonstrate that MedFG-VQA achieves competitive performance with significantly reduced model size and computational cost.

Our contributions are as follows:

(1) We introduce SynMedVQA, a large-scale synthetic multimodal dataset generated via GPT-4o, comprising 2.059 million Q&A pairs. The dataset spans 9 imaging modalities across 10 major organs, offering diverse and comprehensive supervision for medical VQA tasks.

(2) We develop FreqMemoryFusion (FMF), a novel module that leverages a learnable, frequency-domain memory bank. FMF retrieves low-frequency components and injects global structural priors through residual fusion, enhancing the robustness and generalization of lightweight models on structurally-oriented medical questions.

(3) We present Graph-Aware Cross-Attention (GACA), which combines cross-modal attention with a feature-adaptive KNN-based GCN. Adaptively fusing global semantic and local topological information via a gated mechanism, GACA improves alignment between fine-grained visual features and textual descriptions.

(4) Extensive experiments and ablation studies on multiple medical VQA benchmarks demonstrate that our approach achieves competitive performance. Notably, it does so using significantly fewer parameters than mainstream large models, validating the feasibility of small vision language models (SVLMs) in clinically relevant scenarios.

References (42)