arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.11251cs.IR
收藏

通过文档截图嵌入统一多模态检索

Unifying Multimodal Retrieval via Document Screenshot Embedding

Xueguang Ma, Sheng-Chieh Lin, Minghan Li, Wenhu Chen, Jimmy Lin

AI总结:

针对传统多模态文档检索需定制解析、易出错且信息丢失的问题,提出文档截图嵌入(DSE)范式,直接用视觉-语言模型编码文档截图,在文本密集和混合模态任务中均优于传统方法,还构建了Wiki-SS数据集并将开放资源。

摘要:

现实世界中,文档以不同格式和多样模态组织。传统检索流水线需要定制化的文档解析技术和内容提取模块来准备索引输入,该过程繁琐、易出错且存在信息丢失。为此,我们提出文档截图嵌入(DSE)这一新型检索范式,将文档截图视为统一输入格式,无需任何内容提取预处理,保留文档中的所有信息(如文本、图像和布局)。DSE利用大型视觉-语言模型直接将文档截图编码为密集表示用于检索。为评估该方法,我们首先构建Wiki-SS数据集,包含130万张维基百科网页截图作为语料库,以回答自然问题(Natural Questions)数据集的问题。在这种文本密集型文档检索场景中,DSE与依赖解析的其他文本检索方法相比表现出竞争性效果,例如在top-1检索准确率上比BM25高出17个百分点。此外,在幻灯片检索的混合模态任务中,DSE在nDCG@10上显著优于OCR文本检索方法15个百分点以上。这些实验表明DSE是适用于多种文档类型的有效文档检索范式。模型 checkpoint、代码和Wiki-SS集合将公开发布。

英文摘要:

In the real world, documents are organized in different formats and varied modalities. Traditional retrieval pipelines require tailored document parsing techniques and content extraction modules to prepare input for indexing. This process is tedious, prone to errors, and has information loss. To this end, we propose Document Screenshot Embedding (DSE), a novel retrieval paradigm that regards document screenshots as a unified input format, which does not require any content extraction preprocess and preserves all the information in a document (e.g., text, image and layout). DSE leverages a large vision-language model to directly encode document screenshots into dense representations for retrieval. To evaluate our method, we first craft the dataset of Wiki-SS, a 1.3M Wikipedia web page screenshots as the corpus to answer the questions from the Natural Questions dataset. In such a text-intensive document retrieval setting, DSE shows competitive effectiveness compared to other text retrieval methods relying on parsing. For example, DSE outperforms BM25 by 17 points in top-1 retrieval accuracy. Additionally, in a mixed-modality task of slide retrieval, DSE significantly outperforms OCR text retrieval methods by over 15 points in nDCG@10. These experiments show that DSE is an effective document retrieval paradigm for diverse types of documents. Model checkpoints, code, and Wiki-SS collection will be released.

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

↑