arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.01744cs.CVcs.CL
收藏

Leopard:面向文本丰富多图像任务的视觉语言模型

Leopard: A Vision Language Model For Text-Rich Multi-Image Tasks

University of Notre Dame(诺丁汉大学);Tencent AI Seattle Lab(腾讯AI西雅图实验室);UIUC(伊利诺伊大学香槟分校)

Mengzhao Jia, Wenhao Yu, Kaixin Ma, Tianqing Fang, Zhihan Zhang, Siru Ouyang, Hongming Zhang, Dong Yu, Meng Jiang

AI总结:

针对文本丰富多图像任务中数据稀缺与分辨率-序列长度平衡难题,提出Leopard模型,通过约百万条高质量多模态指令数据和自适应高分辨率多图像编码模块,以仅120万训练实例超越Llama-3.2和Qwen2-VL等最先进系统。

摘要:

文本丰富图像是指文本作为核心视觉元素引导整体理解的图像,广泛存在于现实应用中,如演示幻灯片、扫描文档和网页截图。涉及多张文本丰富图像的任务尤其具有挑战性,因为不仅需要理解单张图像的内容,还需要推理多个视觉输入之间的相互关系和逻辑流程。尽管这些场景十分重要,当前多模态大语言模型(MLLMs)仍难以处理此类任务,主要面临两个关键挑战:(1)缺乏面向文本丰富多图像场景的高质量指令微调数据集;(2)难以在图像分辨率与视觉特征序列长度之间取得平衡。为解决这些挑战,我们提出了Leopard,一个专为处理涉及多张文本丰富图像的视觉语言任务而设计的MLLM。首先,我们构建了约一百万条高质量多模态指令微调数据,专门针对文本丰富、多图像场景。其次,我们提出了自适应高分辨率多图像编码模块,根据图像的原始宽高比和分辨率动态优化视觉序列长度的分配。在多种基准上的实验表明,我们的模型在具有挑战性的文本丰富、多图像评估中一致优于Llama-3.2和Qwen2-VL等最先进系统。值得注意的是,我们的方法仅使用120万个训练实例就取得了卓越性能,且全部完全开源,与在大规模内部数据上训练的模型相比,展现出高效率和高效能。我们的代码和数据可在https://github.com/tencent-ailab/Leopard获取。

英文摘要:

Text-rich images, where text serves as the central visual element guiding the overall understanding, are prevalent in real-world applications, such as presentation slides, scanned documents, and webpage snapshots. Tasks involving multiple text-rich images are especially challenging, as they require not only understanding the content of individual images but reasoning about inter-relationships and logical flows across multiple visual inputs. Despite the importance of these scenarios, current multimodal large language models (MLLMs) struggle to handle such tasks due to two key challenges: (1) the scarcity of high-quality instruction tuning datasets for text-rich multi-image scenarios, and (2) the difficulty in balancing image resolution with visual feature sequence length. To address these challenges, we propose Leopard, an MLLM tailored for handling vision-language tasks involving multiple text-rich images. First, we curated about one million high-quality multimodal instruction-tuning data, tailored to text-rich, multi-image scenarios. Second, we proposed an adaptive high-resolution multi-image encoding module to dynamically optimize the allocation of visual sequence length based on the original aspect ratios and resolutions of images. Experiments on a diverse set of benchmarks reveal that our model consistently outperforms state-of-the-art systems, such as Llama-3.2 and Qwen2-VL, in challenging text-rich, multi-image evaluations. Remarkably, our approach achieves outstanding performance using only 1.2M training instances, all of which are fully open-sourced, demonstrating both high efficiency and effectiveness compared to models trained on large-scale in-house data. Our code and data are available at https://github.com/tencent-ailab/Leopard.

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

↑