arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.04952cs.CVcs.AIcs.CL
收藏

M3DocRAG:多模态检索是多页多文档理解的关键

M3DocRAG: Multi-modal Retrieval is What You Need for Multi-page Multi-document Understanding

UNC Chapel Hill(北卡罗来纳大学教堂山分校);Bloomberg(彭博公司)

Jaemin Cho, Debanjan Mahata, Ozan Irsoy, Yujie He, Mohit Bansal

AI总结:

提出M3DocRAG多模态RAG框架,结合多模态检索器与MLM处理多页多文档视觉问答,并构建M3DocVQA基准,在三个基准上取得领先性能,尤其MP-DocVQA达到最先进水平。

摘要:

文档视觉问答(DocVQA)流程能够回答来自文档的问题,具有广泛的应用。现有方法侧重于使用多模态语言模型(MLM)处理单页文档,或依赖于基于文本的检索增强生成(RAG),后者使用诸如光学字符识别(OCR)之类的文本提取工具。然而,在现实场景中应用这些方法存在困难:(a)问题通常需要跨不同页面或文档的信息,而MLM无法处理大量长文档;(b)文档中的图形等视觉元素往往包含重要信息,但文本提取工具会忽略它们。我们提出了M3DocRAG,一种新颖的多模态RAG框架,能够灵活适应各种文档上下文(封闭域和开放域)、问题跳数(单跳和多跳)以及证据模态(文本、图表、图形等)。M3DocRAG使用多模态检索器和MLM来查找相关文档并回答问题,从而能够高效处理单个或多个文档,同时保留视觉信息。由于先前的DocVQA数据集在特定文档的上下文中提出问题,我们还提出了M3DocVQA,这是一个新的基准,用于评估超过3,000个PDF文档(超过40,000页)上的开放域DocVQA。在三个基准(M3DocVQA/MMLongBench-Doc/MP-DocVQA)上,实验结果表明,使用ColPali和Qwen2-VL 7B的M3DocRAG在性能上优于许多强基线,包括在MP-DocVQA上达到最先进的性能。我们提供了对不同索引、MLM和检索模型的全面分析。最后,我们定性地展示了M3DocRAG能够成功处理各种场景,例如相关信息存在于多个页面以及答案证据仅存在于图像中的情况。

英文摘要:

Document visual question answering (DocVQA) pipelines that answer questions from documents have broad applications. Existing methods focus on handling single-page documents with multi-modal language models (MLMs), or rely on text-based retrieval-augmented generation (RAG) that uses text extraction tools such as optical character recognition (OCR). However, there are difficulties in applying these methods in real-world scenarios: (a) questions often require information across different pages or documents, where MLMs cannot handle many long documents; (b) documents often have important information in visual elements such as figures, but text extraction tools ignore them. We introduce M3DocRAG, a novel multi-modal RAG framework that flexibly accommodates various document contexts (closed-domain and open-domain), question hops (single-hop and multi-hop), and evidence modalities (text, chart, figure, etc.). M3DocRAG finds relevant documents and answers questions using a multi-modal retriever and an MLM, so that it can efficiently handle single or many documents while preserving visual information. Since previous DocVQA datasets ask questions in the context of a specific document, we also present M3DocVQA, a new benchmark for evaluating open-domain DocVQA over 3,000+ PDF documents with 40,000+ pages. In three benchmarks (M3DocVQA/MMLongBench-Doc/MP-DocVQA), empirical results show that M3DocRAG with ColPali and Qwen2-VL 7B achieves superior performance than many strong baselines, including state-of-the-art performance in MP-DocVQA. We provide comprehensive analyses of different indexing, MLMs, and retrieval models. Lastly, we qualitatively show that M3DocRAG can successfully handle various scenarios, such as when relevant information exists across multiple pages and when answer evidence only exists in images.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑