Manuscript Offprint

arXiv:2609.08188

Bridging the Semantic-Utility Gap in Multimodal RAG via Generator-in-the-Loop Alignment

Zhan-Lun Chang, Dong-Jun Han, Seyyedali Hosseinalipour, Mung Chiang, Christopher G. Brinton

Zhan-Lun Chang, Student Member, IEEE, Dong-Jun Han, Member, IEEE, Seyyedali Hosseinalipour, Senior Member, IEEE, Mung Chiang, Fellow, IEEE, and Christopher G. Brinton, Senior Member, IEEE

Abstract—Vision-language models (VLMs) augmented with retrieval-augmented generation (RAG) benefit from access to external evidence. However, standard retrievers and rerankers optimize for semantic similarity rather than answer utility, creating a preference gap: documents that appear relevant may not help the generator produce a correct answer. Motivated by this, we propose a two-stage generator-in-the-loop alignment framework that closes this gap without human document-level relevance annotations. Our framework consists of two stages: in Stage 1, a VLM generates a hypothetical text passage from the image-query pair, which is used as the retrieval query for dense text search, bridging the image-to-text modality gap. In Stage 2, a cross-encoder reranker adapted with low-rank adaptation (LoRA) is fine-tuned using answer-supervised preference pairs mined from the frozen VLM: given the dataset answer label, a candidate document is labeled positive if the VLM produces the correct answer when given that document as context, and negative otherwise. This generator-guided signal is compatible with multiple alignment loss functions, including contrastive (triplet) loss, pairwise direct preference optimization (DPO), and supervised fine-tuning (SFT), and supports periodic re-mining to refresh preference pairs as the reranker improves. Experiments on VQA-X and A-OKVQA with Qwen3.5-2B and Qwen3-VL-4B-Instruct show that our proposed framework consistently outperforms rank-order, random, and REPLUG-style likelihood baselines under various alignment losses and pool size settings, suggesting that answer-level generator feedback is an effective supervision signal for preference alignment.

Impact Statement—RAG-enabled multimodal systems are becoming a key component of knowledge-intensive visual reasoning applications, where retrieving misleading evidence can cause models to produce confident yet incorrect answers. This work addresses a fundamental limitation of existing multimodal RAG pipelines by shifting retrieval optimization from semantic similarity toward downstream answer utility. Rather than relying on costly human document-level relevance annotations, the proposed generator-in-the-loop alignment framework leverages a frozen VLM to automatically identify evidence that improves answer correctness and uses this signal to train a lightweight LoRA-adapted reranker. The framework is compatible with multiple alignment objectives and consistently improves performance across different datasets and model architectures, demonstrating that answer-level supervision is a more effective retrieval objective

than semantic similarity alone. By improving the reliability and faithfulness of multimodal RAG systems, this approach has the potential to benefit high-stakes applications such as medical decision support, scientific knowledge retrieval, education, document understanding, and other VLM-empowered systems that require trustworthy multimodal reasoning while reducing the dependence on expensive manual supervision.

Index Terms—Cross-modal retrieval, Information retrieval, Retrieval-augmented generation, Visual question answering.

I. INTRODUCTION

LARGE language models (LLMs) and multimodal vision-language models (VLMs) have fundamentally transformed artificial intelligence, demonstrating unprecedented capabilities in natural language understanding, visual reasoning, and content generation [1], [2]. However, despite their scale, these models remain plagued by intrinsic limitations: they are prone to hallucinations, restricted by static parametric knowledge cutoffs, and lack transparency in their reasoning processes [3].

To mitigate these issues, retrieval-augmented generation (RAG) has emerged as the de facto standard by replacing reliance on static parametric knowledge alone with the retrieval of external evidence at inference time [4], [5]. By grounding generation in retrieved evidence, RAG systems significantly enhance factual accuracy and interpretability, particularly in knowledge-intensive domains where hallucination remains a persistent reliability concern [6].

The design of RAG systems has evolved from simple retrieve-then-generate pipelines to architectures that incorporate query rewriting, iterative retrieval, retrieval verification, and multi-step reasoning [7], [8], [9]. While these techniques improve candidate retrieval and evidence refinement, retrievers and rerankers continue to optimize semantic similarity rather than the generator's downstream objective. Consequently, a document that appears highly relevant to the query may still fail to provide the evidence required for the generator to produce the correct answer.

More critically, semantically relevant documents can contain incorrect or misleading information that steers the generator toward an erroneous answer. Such documents may therefore increase, rather than reduce, the likelihood of hallucination [10]. A reranker must thus distinguish documents that help the generator produce the correct answer from those that are

Z.-L. Chang, M. Chiang, and C. G. Brinton are with the Elmore Family School of Electrical and Computer Engineering, Purdue University, West Lafayette, IN 47907, USA.

D.-J. Han is with the Department of Computer Science and Engineering, Yonsei University, Seoul 03722, Republic of Korea.

S. Hosseinalipour is with the Department of Electrical Engineering, University at Buffalo–SUNY, Buffalo, NY 14260, USA.

This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.

IEEE TRANSACTIONS ON ARTIFICIAL INTELLIGENCE

semantically relevant but unhelpful or misleading. Training a reranker to make this distinction typically requires document-level relevance annotations; however, manually determining whether each candidate document improves the generator's answer correctness requires costly, task-specific annotation at scale. This motivates the central question of this work:

Q: How can we train a reranker to identify evidence that improves the generator's answer correctness using only ground-truth answer labels with no human document-level relevance annotations?

Answering this question becomes more challenging in multimodal RAG (MM-RAG), where retrieval must account for information contained in both visual and textual inputs. Specifically, visual embeddings optimized for general image-text alignment may fail to preserve fine-grained visual information, such as object relationships or structural details in scientific diagrams, that is necessary to retrieve evidence for downstream reasoning. This mismatch between the multimodal query and the retrieved textual evidence compounds the misalignment between retrieval relevance and answer correctness. Prior approaches, such as ATLAS [11] and REPLUG [12], attempt to align retrieval relevance with the generator's downstream objective through likelihood- or perplexity-based training signals. However, these signals measure how a retrieved document changes the probability of a target output rather than whether the generator actually produces the correct answer. Therefore, MM-RAG requires addressing two coupled problems: (i) translating multimodal inputs into effective retrieval queries and (ii) selecting retrieved evidence based on its contribution to downstream answer correctness.

To jointly address these problems, we propose a two-stage generator-in-the-loop alignment framework. In Stage 1, a frozen VLM converts the image-question pair into a hypothetical textual rationale using hypothetical document embeddings (HyDE). This rationale is concatenated with the original question and encoded by a Sentence Transformer [13] to retrieve a broad pool of candidate documents using Facebook AI similarity search (FAISS). Stage 2 addresses what we term the Preference Gap: conventional rerankers prioritize documents based on semantic relevance, whereas the generator requires documents that help it produce the correct answer. A semantically relevant document may therefore lack the evidence needed to answer the question [14] or may even act as a distractor that degrades performance below the closed-book baseline [15], [16]. To directly align reranking with answer correctness, we provide each candidate document to the frozen VLM as context and compare the generated answer with the ground-truth answer. A document is labeled positive if the model produces the correct answer and negative otherwise, yielding preference pairs without human document-level relevance annotations. We use these pairs to fine-tune a cross-encoder reranker through low-rank adaptation (LoRA) and evaluate the same generator-derived supervision under contrastive learning, direct preference optimization (DPO), and supervised fine-tuning (SFT). By comparing the same supervision signal across three training objectives, we evaluate whether reranking based on the generator's answer correctness

consistently improves evidence selection independent of the specific training objective.

The main contributions of this paper can be summarized as follows:

  1. We propose a two-stage multimodal RAG framework that separates multimodal query translation from generator-aligned reranking. In Stage 1, a frozen VLM generates a hypothetical textual rationale from the image-question pair using HyDE. The rationale is concatenated with the question and encoded by a Sentence Transformer to retrieve a broad pool of candidate documents using FAISS.

  2. We introduce an answer-supervised preference mining procedure that trains the Stage 2 reranker without human document-level relevance annotations. Specifically, for each candidate document, the frozen VLM generates an answer using the document as context; documents that lead to correct and incorrect answers are used to construct positive-negative preference pairs for reranker training.

  3. We use the generator-derived preference pairs to fine-tune a LoRA-adapted cross-encoder reranker under three training objectives: contrastive triplet loss, DPO, and SFT. Experiments on VQA-X and A-OKVQA with Qwen3.5-2B and Qwen3-VL-4B-Instruct show that generator-guided preference mining consistently outperforms rank-order, random, and REPLUG-style likelihood preference mining across the considered training objectives and various candidate pool sizes.

  4. We develop an iterative preference-alignment mechanism with periodic preference re-mining that dynamically reconstructs generator-derived preference pairs as the reranker evolves, thereby keeping the training signal aligned with the reranker's current ranking behavior rather than relying on a fixed set of initially mined pairs. Experiments across various generators and datasets demonstrate consistent improvements over fixed-pair training, with gains of up to 2.58 percentage points.

References (44)