Skip to main content
QUICK REVIEW

[论文解读] BLIVA: A Simple Multimodal LLM for Better Handling of Text-Rich Visual Questions

Wenbo Hu, Yifan Xu|arXiv (Cornell University)|Aug 19, 2023
Multimodal Machine Learning ApplicationsComputer Science被引用 12
一句话总结

BLIVA 将学习的查询嵌入与编码的补丁嵌入结合起来,为冻结的 LLMs 创建一个统一的视觉输入,在显著提升文本密集型 VQA 的同时,保持强劲的一般性 VQA 性能。它在 OCR-VQA、VSR 和 MME 基准测试上取得显著提升。

ABSTRACT

Vision Language Models (VLMs), which extend Large Language Models (LLM) by incorporating visual understanding capability, have demonstrated significant advancements in addressing open-ended visual question-answering (VQA) tasks. However, these models cannot accurately interpret images infused with text, a common occurrence in real-world scenarios. Standard procedures for extracting information from images often involve learning a fixed set of query embeddings. These embeddings are designed to encapsulate image contexts and are later used as soft prompt inputs in LLMs. Yet, this process is limited to the token count, potentially curtailing the recognition of scenes with text-rich context. To improve upon them, the present study introduces BLIVA: an augmented version of InstructBLIP with Visual Assistant. BLIVA incorporates the query embeddings from InstructBLIP and also directly projects encoded patch embeddings into the LLM, a technique inspired by LLaVA. This approach assists the model to capture intricate details potentially missed during the query decoding process. Empirical evidence demonstrates that our model, BLIVA, significantly enhances performance in processing text-rich VQA benchmarks (up to 17.76% in OCR-VQA benchmark) and in undertaking general (not particularly text-rich) VQA benchmarks (up to 7.9% in Visual Spatial Reasoning benchmark), and achieved 17.72% overall improvement in a comprehensive multimodal LLM benchmark (MME), comparing to our baseline InstructBLIP. BLIVA demonstrates significant capability in decoding real-world images, irrespective of text presence. To demonstrate the broad industry applications enabled by BLIVA, we evaluate the model using a new dataset comprising YouTube thumbnails paired with question-answer sets across 11 diverse categories. Our code and models are freely accessible at https://github.com/mlpc-ucsd/BLIVA.

研究动机与目标

  • 在多模态 LLMs 中实现对图像中文本的更好解释,以反映现实世界场景。
  • 提出一种混合视觉输入策略,将学习的查询嵌入与编码的补丁嵌入相结合。
  • 展示训练方案,在保持 LLM 和视觉编码器冻结的同时训练补丁投影与 Q-former。
  • 在文本密集型 VQA 基准、通用 VQA 基准、MM L 基准以及一个真实世界的 YouTube 缩略图数据集上评估 BLIVA。

提出的方法

  • 使用视觉塔从图像中产生编码的补丁嵌入。
  • 通过 Q-former 提取精炼的学习查询嵌入,以使视觉特征与 LLM 对齐。
  • 通过全连接层对编码的补丁嵌入进行投影,并将其与学习的查询嵳嵌入连接起来。
  • 将级联的视觉嵌入作为软提示输入给冻结的 LLM。
  • 采用两阶段训练范式:先对补丁嵌入投影进行预训练,然后在保持视觉编码器和 LLM 冻结的情况下,使用指令微调数据微调 Q-former 和补丁投影。

实验结果

研究问题

  • RQ1将学习的查询嵌入与编码的补丁嵌入结合,是否能相较于单独使用任一者提升文本密集型视觉问答?
  • RQ2两阶段训练范式(先进行补丁嵌入投影的预训练,再进行指令微调)对文本密集型与通用 VQA 的影响如何?
  • RQ3BLIVA 相较于现有方法,在 OCR-富集基准、通用 VQA 和多模态 LLM 基准(MME)上的表现如何?
  • RQ4BLIVA 是否能泛化到现实世界的文本密集图像,如 YouTube 缩略图?

主要发现

  • BLIVA 在 OCR-VQA(文本密集型 VQA)上相比基线提升最高可达到 17.76%。
  • BLIVA 在通用(非文本密集型)VQA 基准上也有提升,在 Visual Spatial Reasoning 上最高达到 7.9%。
  • BLIVA 在 MME 基准上相比 InstructBLIP 基线实现了 17.72% 的总体提升。
  • BLIVA 在 OCR 富集数据集和 YouTube 缩略图任务上表现强劲,显示了真实世界的适用性。
  • 消融结果证实添加编码的补丁嵌入的好处,以及两阶段训练方案的必要性;冻结 LLM 和视觉编码器可降低灾难性遗忘与训练复杂度。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。