Skip to main content
QUICK REVIEW

[Paper Review] When LLaVA Meets Objects: Token Composition for Vision-Language-Models

Soumya Jahagirdar, Walid Bousselham|arXiv (Cornell University)|Feb 4, 2026
Multimodal Machine Learning ApplicationsComputer Science0 citations
TL;DR

Mask-LLaVA introduces a three-granularity visual token approach (CLS, pooled patch, and mask-based object tokens) to enable flexible test-time token reduction without retraining, achieving competitive performance with significantly fewer visual tokens across eight VLM benchmarks.

ABSTRACT

Current autoregressive Vision Language Models (VLMs) usually rely on a large number of visual tokens to represent images, resulting in a need for more compute especially at inference time. To address this problem, we propose Mask-LLaVA, a framework that leverages different levels of visual features to create a compact yet information-rich visual representation for autoregressive VLMs. Namely, we combine mask-based object representations together with global tokens and local patch tokens. While all tokens are used during training, it shows that the resulting model can flexibly drop especially the number of mask-based object-tokens at test time, allowing to adapt the number of tokens during inference without the need to retrain the model and without a significant drop in performance. We evaluate the proposed approach on a suite of standard benchmarks showing results competitive to current token efficient methods and comparable to the original LLaVA baseline using only a fraction of visual tokens. Our analysis demonstrates that combining multi-level features enables efficient learning with fewer tokens while allowing dynamic token selection at test time for good performance.

Motivation & Objective

  • Motivate reducing visual token counts in autoregressive vision-language models without retraining.
  • Propose Mask-LLaVA to fuse global, local, and object-level visual features into a compact input for LLMs.
  • Demonstrate that norm scaling and test-time token pruning yield robust performance across benchmarks.
  • Show that oversampling object-based tokens during training increases flexibility at test time.

Proposed method

  • Use a pretrained vision encoder to extract three token types: CLS (global), pooled patch (local), and mask-based object tokens.
  • Generate object masks via an objectness detector (bounding boxes) and SAM segmentation; obtain object embeddings with MaskInversion.
  • Normalize token norms so CLS and object tokens align with patch tokens (scaling with mean and std of patch tokens).
  • Fuse three token streams through a multimodal projector before feeding into the LLM, following the LLaVA training pipeline (vision-language pretraining then instruction tuning).
  • Support dynamic test-time token reduction via IoU-based mask pruning and optional patch token pruning/pooling without retraining.
Figure 1: Overview of Mask-LLaVA Architecture. Given an input image, the local feature extraction module pools patch tokens from the Vision Transformer ViT Radford et al. ( 2021 ) based on 2D grid structure to obtain local context features. Simultaneously, the SAM Kirillov et al. ( 2023 ) generates
Figure 1: Overview of Mask-LLaVA Architecture. Given an input image, the local feature extraction module pools patch tokens from the Vision Transformer ViT Radford et al. ( 2021 ) based on 2D grid structure to obtain local context features. Simultaneously, the SAM Kirillov et al. ( 2023 ) generates

Experimental results

Research questions

  • RQ1Can combining multi-granularity visual tokens (global CLS, local patch, and object masks) reduce token count without sacrificing VLM performance?
  • RQ2Does norm scaling across token types improve cross-token fusion and overall performance under token reduction?
  • RQ3How does Mask-LLaVA perform across standard VLM benchmarks when test-time token counts are reduced?
  • RQ4Is oversampling object-based representations during training beneficial for flexible token pruning at inference?

Key findings

  • Mask-LLaVA achieves competitive performance with a fraction of visual tokens across eight benchmarks, often outperforming other token-efficient methods at high reduction ratios.
  • A 57-token setup (1 CLS + 36 patch + 20 object tokens) and even 42-token/29-token configurations maintain strong results, demonstrating robust token reduction.
  • Integrating CLS, patch, and object tokens yields better results than using patch tokens alone, with CLS contributing value on some tasks and object tokens aiding others.
  • Norm scaling of CLS and object tokens to patch-token statistics improves overall performance, with per-image token normalization yielding best results.
  • Mask-based token pruning (IoU-based) and patch token pruning/pooling enable dynamic inference-time adjustment of token counts without retraining.
  • On several datasets (notably POPE and MME), Mask-LLaVA achieves state-of-the-art-like gains under high token reduction, while maintaining competitive results on VQAv2, GQA, VizWiz, MM-Vet, and others.
Figure 2: Mask-Token Computation. This figure illustrates the process of obtaining segmentation masks. First, an objectness detector Zhu et al. ( 2020 ) identifies bounding boxes in the image. These bounding boxes, along with the image, are then passed to the SAM Kirillov et al. ( 2023 ) model to ge
Figure 2: Mask-Token Computation. This figure illustrates the process of obtaining segmentation masks. First, an objectness detector Zhu et al. ( 2020 ) identifies bounding boxes in the image. These bounding boxes, along with the image, are then passed to the SAM Kirillov et al. ( 2023 ) model to ge

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.