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

InternLM-XComposer2-4KHD:一款开创性的大规模视觉语言模型,可处理从336像素到4K高清的分辨率

InternLM-XComposer2-4KHD: A Pioneering Large Vision-Language Model Handling Resolutions from 336 Pixels to 4K HD

The Chinese University of Hong Kong(香港中文大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);SenseTime Group(商汤集团);Tsinghua University(清华大学)
Xiaoyi Dong, Pan Zhang, Yuhang Zang, Yuhang Cao, Bin Wang, Linke Ouyang, Songyang Zhang, Haodong Duan, Wenwei Zhang, Yining Li, Hang Yan, Yang Gao, Zhe Chen, Xi… 展开作者

Xiaoyi Dong, Pan Zhang, Yuhang Zang, Yuhang Cao, Bin Wang, Linke Ouyang, Songyang Zhang, Haodong Duan, Wenwei Zhang, Yining Li, Hang Yan, Yang Gao, Zhe Chen, Xinyue Zhang, Wei Li, Jingwen Li, Wenhai Wang, Kai Chen, Conghui He, Xingcheng Zhang, Jifeng Dai, Yu Qiao, Dahua Lin, Jiaqi Wang

AI总结:

本文提出InternLM-XComposer2-4KHD,通过动态分辨率与自动分块配置将LVLM训练分辨率扩展至4K高清,在16个基准中的10个上达到或超越GPT-4V和Gemini Pro。

摘要:

大规模视觉语言模型(LVLM)领域已取得显著进展,但其发展因有限分辨率导致难以理解细粒度视觉内容而受到阻碍。近期工作旨在增强LVLM的高分辨率理解能力,但仍被限制在约1500×1500像素,且局限于相对较窄的分辨率范围。本文提出InternLM-XComposer2-4KHD,这是一项开创性探索,将LVLM的分辨率能力提升至4K高清(3840×1600)乃至更高。同时,考虑到超高分辨率并非在所有场景中都是必需的,该模型支持从336像素到4K标准的多种不同分辨率,显著拓宽了其适用范围。具体而言,本研究通过引入一种新颖扩展——具有自动分块配置的动态分辨率——推进了分块划分范式。它在保持训练图像宽高比的同时,基于预训练的Vision Transformer(ViT)(336×336)自动改变分块数量并配置布局,从而实现从336像素到4K标准的动态训练分辨率。我们的研究表明,将训练分辨率扩展到4K高清可带来持续的性能提升,且未触及潜在改进的上限。InternLM-XComposer2-4KHD展现出卓越能力,在16个基准测试中的10个上达到甚至超越GPT-4V和Gemini Pro。具有7B参数的InternLM-XComposer2-4KHD模型系列已在https://github.com/InternLM/InternLM-XComposer公开提供。

英文摘要:

The Large Vision-Language Model (LVLM) field has seen significant advancements, yet its progression has been hindered by challenges in comprehending fine-grained visual content due to limited resolution. Recent efforts have aimed to enhance the high-resolution understanding capabilities of LVLMs, yet they remain capped at approximately 1500 x 1500 pixels and constrained to a relatively narrow resolution range. This paper represents InternLM-XComposer2-4KHD, a groundbreaking exploration into elevating LVLM resolution capabilities up to 4K HD (3840 x 1600) and beyond. Concurrently, considering the ultra-high resolution may not be necessary in all scenarios, it supports a wide range of diverse resolutions from 336 pixels to 4K standard, significantly broadening its scope of applicability. Specifically, this research advances the patch division paradigm by introducing a novel extension: dynamic resolution with automatic patch configuration. It maintains the training image aspect ratios while automatically varying patch counts and configuring layouts based on a pre-trained Vision Transformer (ViT) (336 x 336), leading to dynamic training resolution from 336 pixels to 4K standard. Our research demonstrates that scaling training resolution up to 4K HD leads to consistent performance enhancements without hitting the ceiling of potential improvements. InternLM-XComposer2-4KHD shows superb capability that matches or even surpasses GPT-4V and Gemini Pro in 10 of the 16 benchmarks. The InternLM-XComposer2-4KHD model series with 7B parameters are publicly available at https://github.com/InternLM/InternLM-XComposer.

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

↑