Skip to main content
QUICK REVIEW

[论文解读] Monkey: Image Resolution and Text Label Are Important Things for Large Multi-modal Models

Zhang Li, Biao Yang|arXiv (Cornell University)|Nov 11, 2023
Multimodal Machine Learning ApplicationsComputer Science被引用 9
一句话总结

Monkey 引入基于补丁的高分辨率输入方法,配有逐补丁适配器和多级描述生成管线,以提升大规模多模态模型在图像描述、视觉问答和文本为主的文档任务的性能。通过利用 1344x896 分辨率和多样化的描述生成,在不进行完整预训练的情况下,在18个数据集上展示增益。

ABSTRACT

Large Multimodal Models (LMMs) have shown promise in vision-language tasks but struggle with high-resolution input and detailed scene understanding. Addressing these challenges, we introduce Monkey to enhance LMM capabilities. Firstly, Monkey processes input images by dividing them into uniform patches, each matching the size (e.g., 448x448) used in the original training of the well-trained vision encoder. Equipped with individual adapter for each patch, Monkey can handle higher resolutions up to 1344x896 pixels, enabling the detailed capture of complex visual information. Secondly, it employs a multi-level description generation method, enriching the context for scene-object associations. This two-part strategy ensures more effective learning from generated data: the higher resolution allows for a more detailed capture of visuals, which in turn enhances the effectiveness of comprehensive descriptions. Extensive ablative results validate the effectiveness of our designs. Additionally, experiments on 18 datasets further demonstrate that Monkey surpasses existing LMMs in many tasks like Image Captioning and various Visual Question Answering formats. Specially, in qualitative tests focused on dense text question answering, Monkey has exhibited encouraging results compared with GPT4V. Code is available at https://github.com/Yuliang-Liu/Monkey.

研究动机与目标

  • 激励在大型多模态模型(LMMs)中改进对高分辨率图像的处理,以捕捉更细致的视觉细节和密集文本。
  • 开发一种资源高效的方法(Monkey),通过将图像分割成由共享 ViT 处理、并具备逐补丁适配器的补丁来处理高分辨率输入。
  • 引入一个自动化的多级描述生成管线,以丰富训练数据并加强图像-文本对齐。
  • 在18个数据集上,在图像描述、通用VQA、场景文本VQA和文档VQA方面展示改进的性能,无需大量预训练。

提出的方法

  • 使用滑动窗口将高分辨率图像划分为统一的补丁(例如 448x448),以创建局部裁剪。
  • 通过共享的 ViT 编码器处理补丁和全局图像,为每个补丁提供可训练的适配器,并使用视觉重采样器。
  • 在每个补丁编码器中使用 LoRA 调整以适应补丁特定特征,同时保持原始编码器的预训练分布。
  • 使用基于交叉注意力的视觉重采样器,配备可训练的查询向量,将补丁级和全局特征融合到语言空间。
  • 通过融合来自多个系统(BLIP2、PPOCR、GRIT、SAM、ChatGPT)的输出,生成高质量的多级描述,并进行一致性检查,然后通过 ChatGPT 微调以获得丰富的描述。
  • 在一个 1.44M 样本、多任务的数据集上进行训练,覆盖图像描述、通用 VQA、场景文本 VQA 和文档 VQA,使用统一的指令格式。

实验结果

研究问题

  • RQ1在无需完整预训练的情况下,更高的输入分辨率(高达 1344x896)是否能改善对细粒度视觉和文本的理解?
  • RQ2基于补丁的处理方法,配有逐补丁适配器,是否在实现更大输入的同时保留编码器的训练分布?
  • RQ3多级描述生成是否提升对场景对象关联与提问能力的学习?
  • RQ4在不同数据集上,Monkey 在图像描述、通用 VQA、场景文本 VQA 与文档导向 VQA 的性能提升是多少?

主要发现

  • Monkey 在不从头开始预训练的情况下实现更高的有效输入分辨率,最高达到 1344x896。
  • 多级描述提升了场景对象关联的上下文,并支持更好的图像描述和 VQA 性能。
  • 在18个数据集上,Monkey 在图像描述、通用 VQA、场景文本为中心的 VQA 和文档导向 VQA 方面优于若干现有的 LMM。
  • 在密集文本问答场景中, Monkey 相较于 GPT-4V 展示了鼓舞人心的定性结果。
  • 消融研究表明,所提出的分辨率提升和补丁适配器相较于传统插值方法带来提升。
  • 在 1.44M 条精选示例和多样化数据集上训练即可获得竞争力结果,无需广泛的全量预训练。

阅读本论文

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

在 Nubint 中阅读本论文

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