用图文联合检索提升工业领域问答准确率
Beyond Text: Optimizing RAG with Multimodal Inputs for Industrial Applications
- 将图像文本双重信息融入RAG系统,通过摘要生成优化图文匹配
- 图文混合模式使问答准确率优于纯文本模式,但图像检索更难
- 用图像文本摘要比直接用多模态嵌入更有效,适合工业场景
大语言模型在问答任务中表现优异,但缺乏领域知识且易产生幻觉。检索增强生成(RAG)是缓解该问题的有效方法,而多模态模型在处理文本与图像方面展现出潜力。本文通过一系列实验,探索如何在工业领域将多模态模型高效集成到RAG系统中。研究目标是验证在工业文档中加入图像是否能提升RAG性能,并寻找最优配置。实验采用两种图像处理与检索策略(多模态嵌入与图像文本摘要生成),并使用GPT4-Vision与LLaVA两个LLM进行答案合成。通过“大模型作为裁判”的评估方式发现,多模态RAG整体优于单模态设置,但图像检索难度显著高于文本检索;相比之下,利用图像生成的文本摘要更具优势,为未来改进提供了方向。
原文摘要 · Abstract (English)
Large Language Models (LLMs) have demonstrated impressive capabilities in answering questions, but they lack domain-specific knowledge and are prone to hallucinations. Retrieval Augmented Generation (RAG) is one approach to address these challenges, while multimodal models are emerging as promising AI assistants for processing both text and images. In this paper we describe a series of experiments aimed at determining how to best integrate multimodal models into RAG systems for the industrial domain. The purpose of the experiments is to determine whether including images alongside text from documents within the industrial domain increases RAG performance and to find the optimal configuration for such a multimodal RAG system. Our experiments include two approaches for image processing and retrieval, as well as two LLMs (GPT4-Vision and LLaVA) for answer synthesis. These image processing strategies involve the use of multimodal embeddings and the generation of textual summaries from images. We evaluate our experiments with an LLM-as-a-Judge approach. Our results reveal that multimodal RAG can outperform single-modality RAG settings, although image retrieval poses a greater challenge than text retrieval. Additionally, leveraging textual summaries from images presents a more promising approach compared to the use of multimodal embeddings, providing more opportunities for future advancements.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。