arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.06109cs.CV
收藏

Vary:为大型视觉-语言模型扩展视觉词汇表

Vary: Scaling up the Vision Vocabulary for Large Vision-Language Models

MEGVII Technology(旷视科技);University of Chinese Academy of Sciences(中国科学院大学);Huazhong University of Science and Technology(华中科技大学)

Haoran Wei, Lingyu Kong, Jinyue Chen, Liang Zhao, Zheng Ge, Jinrong Yang, Jianjian Sun, Chunrui Han, Xiangyu Zhang

AI总结:

本文提出 Vary,通过自回归生成新视觉词汇并与 CLIP 合并,增强 LVLMs 的细粒度文档理解能力,同时保持原有性能。

摘要:

现代大型视觉-语言模型(LVLMs)都使用相同的视觉词汇表——CLIP,它能够覆盖大多数常见视觉任务。然而,对于一些需要密集且细粒度视觉感知的特殊视觉任务,例如文档级 OCR 或图表理解,尤其是在非英语场景中,CLIP 风格的词汇表在对视觉知识进行 token 化时可能效率较低,甚至会遭遇词汇表外(out-of-vocabulary)问题。为此,我们提出了 Vary,这是一种高效且有效的方法,用于扩展 LVLMs 的视觉词汇表。Vary 的流程自然分为两部分:新视觉词汇表的生成与集成。在第一阶段,我们设计了一个词汇表网络以及一个仅解码器的小型 transformer,通过自回归方式生成所需词汇表。接下来,我们通过将新词汇表与原始词汇表(CLIP)合并来扩展原有视觉词汇表,使 LVLMs 能够快速获得新特征。与流行的 BLIP-2、MiniGPT4 和 LLaVA 相比,Vary 能够保持其原有能力,同时具备更出色的细粒度感知与理解能力。具体而言,Vary 具备新的文档解析功能(OCR 或 markdown 转换),并在 DocVQA 上取得 78.2% 的 ANLS,在 MMVet 上取得 36.2%。我们的代码将在主页公开发布。

英文摘要:

Modern Large Vision-Language Models (LVLMs) enjoy the same vision vocabulary -- CLIP, which can cover most common vision tasks. However, for some special vision task that needs dense and fine-grained vision perception, e.g., document-level OCR or chart understanding, especially in non-English scenarios, the CLIP-style vocabulary may encounter low efficiency in tokenizing the vision knowledge and even suffer out-of-vocabulary problem. Accordingly, we propose Vary, an efficient and effective method to scale up the vision vocabulary of LVLMs. The procedures of Vary are naturally divided into two folds: the generation and integration of a new vision vocabulary. In the first phase, we devise a vocabulary network along with a tiny decoder-only transformer to produce the desired vocabulary via autoregression. In the next, we scale up the vanilla vision vocabulary by merging the new one with the original one (CLIP), enabling the LVLMs can quickly garner new features. Compared to the popular BLIP-2, MiniGPT4, and LLaVA, Vary can maintain its vanilla capabilities while enjoying more excellent fine-grained perception and understanding ability. Specifically, Vary is competent in new document parsing features (OCR or markdown conversion) while achieving 78.2% ANLS in DocVQA and 36.2% in MMVet. Our code will be publicly available on the homepage.

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

↑