arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.08706cs.CV
收藏

HiRes-LLaVA: 高分辨率大视觉-语言模型中碎片化输入的恢复

HiRes-LLaVA: Restoring Fragmentation Input in High-Resolution Large Vision-Language Models

Shenzhen campus of Sun Yat-sen University(中山大学深圳校区);Huawei(华为);The Hong Kong University of Science and Technology(香港科技大学);The University of Hong Kong(香港大学)

Runhui Huang, Xinpeng Ding, Chunwei Wang, Jianhua Han, Yulong Liu, Hengshuang Zhao, Hang Xu, Lu Hou, Wei Zhang, Xiaodan Liang

AI总结:

HiRes-LLaVA通过引入SliceRestore适配器和Self-Mining Sampler,有效恢复高分辨率输入的碎片化问题,提升模型在文档相关任务中的性能。

摘要:

高分辨率输入使大视觉-语言模型(LVLMs)能够辨别更细致的视觉细节,从而提升其理解能力。为了减少高分辨率输入带来的训练和计算成本,一个有前景的方向是使用滑动窗口将输入切成均匀的块,每个块的大小与已训练好的视觉编码器的输入大小相匹配。尽管这种方法高效,但这种切分策略会导致原始输入的碎片化,即块之间上下文信息和空间几何的连续性丢失,这会不利地影响跨块上下文感知和位置特定任务的性能。为克服这些不足,我们引入了HiRes-LLaVA,一种新的框架,旨在高效处理任何大小的高分辨率输入而不改变原始上下文和几何信息。HiRes-LLaVA包含两个创新组件:(i) SliceRestore适配器,通过下上采样和卷积层高效地将切分的块重建为原始形式,提取全局和局部特征;(ii) Self-Mining Sampler,基于自身压缩视觉令牌,保留原始上下文和位置信息,同时减少训练开销。为了评估处理上下文碎片化的能力,我们构建了一个新的基准,EntityGrid-QA,包含边相关和位置相关任务。我们的全面实验表明,HiRes-LLaVA在现有公开基准和EntityGrid-QA上均表现出色,特别是在文档相关任务中,建立了处理高分辨率输入的新标准。

英文摘要:

High-resolution inputs enable Large Vision-Language Models (LVLMs) to discern finer visual details, enhancing their comprehension capabilities. To reduce the training and computation costs caused by high-resolution input, one promising direction is to use sliding windows to slice the input into uniform patches, each matching the input size of the well-trained vision encoder. Although efficient, this slicing strategy leads to the fragmentation of original input, i.e., the continuity of contextual information and spatial geometry is lost across patches, adversely affecting performance in cross-patch context perception and position-specific tasks. To overcome these shortcomings, we introduce HiRes-LLaVA, a novel framework designed to efficiently process any size of high-resolution input without altering the original contextual and geometric information. HiRes-LLaVA comprises two innovative components: (i) a SliceRestore adapter that reconstructs sliced patches into their original form, efficiently extracting both global and local features via down-up-sampling and convolution layers, and (ii) a Self-Mining Sampler to compresses the vision tokens based on themselves, preserving the original context and positional information while reducing training overhead. To assess the ability of handling context fragmentation, we construct a new benchmark, EntityGrid-QA, consisting of edge-related and position-related tasks. Our comprehensive experiments demonstrate the superiority of HiRes-LLaVA on both existing public benchmarks and on EntityGrid-QA, particularly on document-oriented tasks, establishing new standards for handling high-resolution inputs.

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

↑