mlsanityData to 14 Oct 2026

BERAG: Bayesian Ensemble Retrieval-Augmented Generation for Knowledge-based Visual Question Answering

arXiv 2604.22678 ↗First posted 24 Apr 2026cs.CLcited by 0

On the map: Retrieval-augmented generation → Multimodal RAG

Abstract (arXiv)

A common approach to question answering with retrieval-augmented generation (RAG) is to concatenate documents into a single context and pass it to a language model to generate an answer. While simple, this strategy can obscure the contribution of individual documents, making attribution difficult and contributing to the ``lost-in-the-middle'' effect, where relevant information in long contexts is overlooked. Concatenation also scales poorly: computational cost grows quadratically with context length, a problem that becomes especially severe when the context includes visual data, as in visual question answering. Attempts to mitigate these issues by limiting context length can further restrict performance by preventing models from benefiting from the improved recall offered by deeper retrieval. We propose Bayesian Ensemble Retrieval-Augmented Generation (BERAG), along with Bayesian Ensemble Fine-Tuning (BEFT), as a RAG framework in which language models are conditioned on individual retrieved documents rather than a single combined context. BERAG treats document posterior probabilities as ensemble weights and updates them token by token using Bayes' rule during generation. This approach enables probabilistic re-ranking, parallel memory usage, and clear attribution of document contribution, making it well-suited for large document collections. We evaluate BERAG and BEFT primarily on knowledge-based visual question answering tasks, where models must reason over long, imperfect retrieval lists. The results show substantial improvements over standard RAG, including strong gains on Document Visual Question Answering and multimodal needle-in-a-haystack benchmarks. We also demonstrate that BERAG mitigates the ``lost-in-the-middle'' effect. The document posterior can be used to detect insufficient grounding and trigger deflection, while document pruning enables faster decoding than standard RAG.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Multimodal RAG, one of 15 directions in Retrieval-augmented generation. Builds on 23 of its 32 references that are in the map. First posted on arXiv 24 Apr 2026.

Builds on

23 of 32 references.

Closest ancestors · 4

Same direction, newest first

  1. 2025VDocRAG: Retrieval-Augmented Generation over Visually-Rich Documents14 Apr
  2. 2025Retrieval-Augmented Visual Question Answering via Built-in Autoregressive Search Engines23 Feb
  3. 2023Encyclopedic VQA: Visual questions about detailed properties of fine-grained categories15 Jun
  4. 2022Retrieval Augmented Visual Question Answering with Outside Knowledge7 Oct

Other references · 19

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  2. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  3. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
  4. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,464
  5. 2023EVA-CLIP: Improved Training Techniques for CLIP at Scalecited by 798
  6. 2023Trusting Your Evidence: Hallucinate Less with Context-aware Decodingcited by 327
  7. 2023Can Pre-trained Vision and Language Models Answer Visual Information-Seeking Questions?cited by 207
  8. 2023SlideVQA: A Dataset for Document Visual Question Answering on Multiple Imagescited by 179
  9. 2023UniIR: Training and Benchmarking Universal Multimodal Information Retrieverscited by 166
  10. 2024Unifying Multimodal Retrieval via Document Screenshot Embeddingcited by 110
  11. 2024EchoSight: Advancing Visual-Language Models with Wiki Knowledgecited by 62
  12. 2024Multimodal Needle in a Haystack: Benchmarking Long-Context Capability of Multimodal Large Language Modelscited by 55
7 more
  1. 2024PreFLMR: Scaling Up Fine-Grained Late-Interaction Multi-modal Retrieverscited by 42
  2. 2023Direct Preference Optimization for Neural Machine Translation with Minimum Bayes Risk Decodingcited by 28
  3. 2021RetGen: A Joint framework for Retrieval and Grounded Text Generation Modelingcited by 22
  4. 2024Entropy-Based Decoding for Retrieval-Augmented Large Language Modelscited by 19
  5. 2025Recurrence-Enhanced Vision-and-Language Transformers for Robust Multimodal Document Retrievalcited by 13
  6. 2019Domain Adaptive Inference for Neural Machine Translationcited by 10
  7. 2026AVIR: Adaptive Visual In-Document Retrieval for Efficient Multi-Page Document Question Answeringcited by 4

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026WikiSeeker: Rethinking the Role of Vision-Language Models in Knowledge-Based Visual Question Answering
  2. 2026Relevance-aware Multi-context Contrastive Decoding for Retrieval-augmented Visual Question Answering
  3. 2025Visual-RAG: Benchmarking Text-to-Image Retrieval Augmented Generation for Visual Knowledge Intensive Queries
  4. 2025Fine-Grained Knowledge Structuring and Retrieval for Visual Question Answering
  5. 2025MMKB-RAG: A Multi-Modal Knowledge-Based Retrieval-Augmented Generation Framework
  6. 2026Doc-REFRAG: Rethinking Multimodal Document Retrieval-Augmented Generation
  7. 2025ReAG: Reasoning-Augmented Generation for Knowledge-based Visual Question Answering
  8. 2026ViSAR: Training-Free Adaptive-k Retrieval for Visual Document Question Answering