PDF-WuKong用稀疏采样提升长文档问答效率
PDF-WuKong: A Large Multimodal Model for Efficient Long PDF Reading with End-to-End Sparse Sampling
- 通过稀疏采样筛选图文相关片段,提升长PDF理解效率
- 在110万条问答数据上训练,平均F1比商用模型高8.6%
- 适合需要高效读取学术论文的科研人员和学生
多模态文档理解需处理大量文本与图像信息。现有方法多局限于纯文本或少量图像,难以应对图文交错的长篇PDF,尤其在学术论文场景中表现不足。本文提出PDF-WuKong,一个专为长文档多模态问答设计的大规模多模态语言模型。该模型引入端到端稀疏采样器,从文本与图像表示中选择与用户查询最相关的段落或图表,显著提升效率与能力。为有效训练与评估,我们构建了PaperPDF数据集,包含中英文学术论文,生成110万条高质量问答对及对应证据源。实验表明,该方法在长多模态文档理解任务上优于其他模型,平均F1值超越商用产品8.6%。代码与数据集将开源。
原文摘要 · Abstract (English)
Multimodal document understanding is a challenging task to process and comprehend large amounts of textual and visual information. Recent advances in Large Language Models (LLMs) have significantly improved the performance of this task. However, existing methods typically focus on either plain text or a limited number of document images, struggling to handle long PDF documents with interleaved text and images, especially for academic papers. In this paper, we introduce PDF-WuKong, a multimodal large language model (MLLM) that is designed to enhance multimodal question-answering (QA) for long PDF documents. PDF-WuKong incorporates a sparse sampler that operates on both text and image representations, significantly improving the efficiency and capability of the MLLM. The sparse sampler selects the paragraphs or diagrams most pertinent to user queries. To effectively train and evaluate our model, we construct PaperPDF, a dataset consisting of a broad collection of English and Chinese academic papers. Multiple strategies are proposed to build high-quality 1.1 million QA pairs along with their corresponding evidence sources. Experimental results demonstrate the superiority and high efficiency of our approach over other models on the task of long multimodal document understanding, surpassing proprietary products by an average of 8.6% on F1. Our code and dataset will be released at https://github.com/yh-hust/PDF-Wukong.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。