Skip to main content
QUICK REVIEW

[Paper Review] What Makes for Good Visual Tokenizers for Large Language Models?

Guangzhi Wang, Yixiao Ge|arXiv (Cornell University)|May 20, 2023
Multimodal Machine Learning ApplicationsComputer Science5 citations
TL;DR

This paper investigates visual tokenizers for Multimodal Large Language Models (MLLMs), finding that self-supervised models excel in fine-grained perception while supervised models better preserve semantics. The authors propose GVT, a visual tokenizer that distills CLIP patch features without masking, achieving state-of-the-art performance on VQA, image captioning, object counting, and multi-class identification without parameter increase or task-specific tuning.

ABSTRACT

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.

Motivation & Objective

  • To evaluate and compare visual tokenizers under MLLM frameworks for both semantic understanding and fine-grained perception.
  • To identify the limitations of existing pretraining methods—especially mask-based strategies—in preserving semantics during instruction tuning.
  • To design a visual tokenizer that unifies strong semantic representation with high-fidelity fine-grained visual perception.
  • To develop a method that avoids train-test distribution mismatch and semantic degradation during end-to-end tuning.

Proposed method

  • Curated a new benchmark, GVTBench, to evaluate visual understanding across semantic (VQA, captioning) and fine-grained (object counting, multi-class identification) tasks.
  • Evaluated visual tokenizers pre-trained via DeiT (fully supervised), CLIP (weakly supervised), and MAE/DINO/DINOv2 (self-supervised) on the same MLLM architecture.
  • Proposed GVT, a visual tokenizer trained via feature distillation from CLIP patch features without masking or [MASK] tokens to avoid train-test mismatch.
  • Used CLIP features as semantic targets during distillation to preserve rich semantics while enhancing region-level understanding.
  • Trained GVT end-to-end with Vicuna without introducing extra parameters or task-specific fine-tuning.
  • Compared frozen vs. tunable visual tokenizers to assess semantic retention during instruction tuning on small datasets.
Figure 1: Different tasks require visual understanding of different perspectives. Mainstream vision-language tasks, e.g. , (a) VQA and (b) Image Captioning mainly focus on semantic understanding of the image. In this work, we also study two fine-grained visual understanding tasks: (c) Object Countin
Figure 1: Different tasks require visual understanding of different perspectives. Mainstream vision-language tasks, e.g. , (a) VQA and (b) Image Captioning mainly focus on semantic understanding of the image. In this work, we also study two fine-grained visual understanding tasks: (c) Object Countin

Experimental results

Research questions

  • RQ1How do different pretraining paradigms (supervised, weakly supervised, self-supervised) affect visual tokenizer performance in MLLMs?
  • RQ2Can mask-based pretraining strategies like MAE or MIM be effectively applied to visual tokenizers in MLLM settings without causing distribution shift?
  • RQ3Does joint tuning of the visual tokenizer on small instruction-tuning datasets lead to semantic degradation compared to frozen visual encoders?
  • RQ4Can a unified visual tokenizer be designed to simultaneously preserve strong semantics and enable fine-grained visual perception?

Key findings

  • Fully and weakly supervised visual tokenizers (e.g., DeiT, CLIP) outperform self-supervised models (e.g., DINO, MAE) in semantic understanding, though the gap narrows with larger pretraining datasets.
  • Self-supervised models, especially with patch-level supervision, show superior performance in fine-grained perception tasks like object counting and multi-class identification.
  • Jointly tuning the visual tokenizer on small instruction-tuning datasets causes significant semantic degradation, with frozen CLIP outperforming tunable CLIP on semantic tasks.
  • Mask-based pretraining strategies (e.g., MAE, MIM) introduce train-test mismatch and are unsuitable for MLLM training, as they require end-to-end optimization that harms semantic retention.
  • Feature distillation from CLIP patch features into a new model—without masking—successfully preserves semantics while enhancing region-level understanding.
  • The proposed GVT tokenizer achieves state-of-the-art performance on VQA, image captioning, object counting, and multi-class identification without additional parameters or task-specific tuning.
Figure 2: Framework of our GVT. We first distill the features of a pretrained CLIP via smoothed $\mathcal{L}_{1}$ loss. Then, we use it to encode images into a set of tokens, which are fed into the Perceiver Resampler [ 33 ] as soft prompts. Together with language instructions, these prompts are fed
Figure 2: Framework of our GVT. We first distill the features of a pretrained CLIP via smoothed $\mathcal{L}_{1}$ loss. Then, we use it to encode images into a set of tokens, which are fed into the Perceiver Resampler [ 33 ] as soft prompts. Together with language instructions, these prompts are fed

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.