Enhanced Multimodal RAG-LLM for Accurate Visual Question Answering

Junxiao Xue,Quan Deng,Fei Yu,Yanhao Wang,Jun Wang,Yuehua Li
2024-12-30
Abstract:Multimodal large language models (MLLMs), such as GPT-4o, Gemini, LLaVA, and Flamingo, have made significant progress in integrating visual and textual modalities, excelling in tasks like visual question answering (VQA), image captioning, and content retrieval. They can generate coherent and contextually relevant descriptions of images. However, they still face challenges in accurately identifying and counting objects and determining their spatial locations, particularly in complex scenes with overlapping or small objects. To address these limitations, we propose a novel framework based on multimodal retrieval-augmented generation (RAG), which introduces structured scene graphs to enhance object recognition, relationship identification, and spatial understanding within images. Our framework improves the MLLM's capacity to handle tasks requiring precise visual descriptions, especially in scenarios with challenging perspectives, such as aerial views or scenes with dense object arrangements. Finally, we conduct extensive experiments on the VG-150 dataset that focuses on first-person visual understanding and the AUG dataset that involves aerial imagery. The results show that our approach consistently outperforms existing MLLMs in VQA tasks, which stands out in recognizing, localizing, and quantifying objects in different spatial contexts and provides more accurate visual descriptions.
Computer Vision and Pattern Recognition
What problem does this paper attempt to address?
This paper attempts to solve several key problems in multimodal large - language models (MLLMs) in visual question - answering (VQA) tasks, specifically including: 1. **Accuracy of small - object recognition and counting**: Existing MLLMs have difficulty accurately recognizing and counting overlapping or small objects in complex scenes. For example, in an image containing multiple small or overlapping objects, MLLMs may miss or count objects incorrectly. 2. **Determination of spatial location**: MLLMs face challenges in determining the spatial location of objects, especially in complex scenes such as top - view or densely - arranged object scenes. They have difficulty providing precise absolute position descriptions (such as "Object A is in the lower - right corner"), and more often provide relative position descriptions (such as "Object A is above Object B"). 3. **Recognition of object relationships**: MLLMs also have problems in recognizing the relationships between objects, especially in cases where fine - grained descriptions are required, such as "How many objects are there in a specific category?" or "The specific relationships between objects". To solve these problems, the paper proposes a method based on the multimodal retrieval - augmented generation (RAG) framework, enhancing object recognition, relationship recognition, and spatial understanding by introducing structured scene graphs. This method aims to improve the ability of MLLMs in handling tasks that require precise visual descriptions, especially in scenes involving complex perspectives such as first - person and top - view perspectives. Verified through experiments on the VG - 150 and AUG datasets, this method is significantly superior to existing MLLMs in the recognition of object categories, quantities, locations, and relationships, especially in small - object detection, precise positioning, and relationship recognition. This indicates that this method can understand and describe image content more accurately, thereby improving the performance of VQA tasks.