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

什么构成了适合大型语言模型的优秀视觉分词器?

What Makes for Good Visual Tokenizers for Large Language Models?

National University of Singapore(新加坡国立大学);Tencent PCG(腾讯平台与内容事业群);Tencent AI Lab(腾讯人工智能实验室)

Guangzhi Wang, Yixiao Ge, Xiaohan Ding, Mohan Kankanhalli, Ying Shan

AI总结:

本文实证研究了视觉分词器的预训练方法,发现掩码策略不适用,并提出配备定制优秀视觉分词器(GVT)的MLLM,在无需额外参数和微调下实现多尺度视觉理解及多项任务卓越性能。

摘要:

我们实证研究了合适的预训练方法以构建优秀的视觉分词器,从而使大型语言模型(LLMs)成为强大的多模态大型语言模型(MLLMs)。在我们的旨在评估MLLMs视觉语义理解和细粒度感知能力的基准中,我们讨论了使用主流方法(即DeiT、CLIP、MAE、DINO)预训练的不同视觉分词器,并观察到:i)全监督/弱监督模型比自监督模型捕获更多语义,但通过扩大预训练数据集规模可缩小这一差距。ii)自监督模型在细粒度感知方面表现更好,其中patch级别的监督尤为有效。iii)微调视觉分词器会导致丢失从大规模预训练中获得的语义,这在指令微调数据集规模相对较小时是不利的。基于这些发现,我们回顾了试图统一语义和细粒度视觉理解的方法,例如使用语义丰富目标的patch级别特征蒸馏。我们获得了一个有趣的见解:曾经风靡一时的基于掩码的策略可能不适用于获取优秀的视觉分词器。基于这一关键观察,我们获得了一个配备了定制的优秀视觉分词器(GVT)的新MLLM,它在多个尺度上展现出强大的视觉理解能力。特别是,在不引入额外参数和特定任务微调的情况下,GVT在视觉问答、图像描述以及其他细粒度视觉理解任务(如物体计数和多类识别)上取得了卓越的性能。

英文摘要:

We empirically investigate proper pre-training methods to build good visual tokenizers, making Large Language Models (LLMs) powerful Multimodal Large Language Models (MLLMs). In our benchmark, which is curated to evaluate MLLMs visual semantic understanding and fine-grained perception capabilities, we discussed different visual tokenizers pre-trained with dominant methods (i.e., DeiT, CLIP, MAE, DINO), and observe that: i) Fully/weakly supervised models capture more semantics than self-supervised models, but the gap is narrowed by scaling up the pre-training dataset. ii) Self-supervised models are better at fine-grained perception, where patch-level supervision is particularly effective. iii) Tuning the visual tokenizer leads to the loss of semantics obtained from large-scale pretraining, which is unfavorable with relatively small-scale instruction-tuning dataset. Given the findings, we reviewed methods that attempted to unify semantics and fine-grained visual understanding, e.g., patch-level feature distillation with semantically-rich targets. We obtain an intriguing insight mask-based strategies that were once all the rage may not be applicable for obtaining good visual tokenizers. Based on this critical observation, we obtain a new MLLM equipped with a tailored Good Visual Tokenizer (GVT), which exhibits strong visual comprehension capability at multiple scales. In particular, without introducing extra parameters and task-specific fine-tuning, GVT achieves superior performance on visual question answering, image captioning, and other fine-grained visual understanding tasks such as object counting and multi-class identification.

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

↑