LLaVA-SP: Enhancing Visual Representation with Visual Spatial Tokens for MLLMs

Haoran Lou, Chunxiao Fan, Zi-Yan Liu, Yue-Xin Wu, Xin-Liang Wang
7/1/2025
9 citations
transformer-attention

No official code found. Best implementation: CnFaker/LLaVA-SP (24 stars, Apache-2.0, last commit 2025-10-28).

Abstract

The architecture of multimodal large language models (MLLMs) commonly connects a vision encoder, often based on CLIP-ViT, to a large language model. While CLIP-ViT works well for capturing global image features, it struggles to model local relationships between adjacent patches, leading to weaker visual representation, which in turn affects the detailed understanding ability of MLLMs.

Show full abstract

To solve this, we propose LLaVA-SP, which only adds six spatial visual tokens to the original visual tokens to enhance the visual representation. Our approach offers three key advantages: 1) We propose a novel Projector, which uses convolutional kernels to derive visual spatial tokens from ViT patch features, simulating two visual spatial ordering approaches: “from central region to global” and “from abstract to specific”. Then, a crossattention mechanism is applied to fuse fine-grained visual information, enriching the overall visual representation. 2) We present two model variants: LLaVA-SP-Cropping, which focuses on detail features through progressive cropping, and LLaVA-SP-Pooling, which captures global semantics through adaptive pooling, enabling the model to handle diverse visual understanding tasks. 3) Extensive experiments show that LLaVA-SP, fine-tuned with LoRA, achieves significant performance improvements across various multimodal benchmarks, outperforming the state-of-the-art LLaVA-1.5 model in multiple tasks with nearly identical inference latency. The code and models are available at https://github.com/CnFaker/LLaVA-SP.

View on arXivView PDF

Code Implementations(1)

CnFaker/LLaVA-SPCommunity100%
Apache-2.0

[ICCV 2025] The official pytorch implement of "LLaVA-SP: Enhancing Visual Representation with Visual Spatial Tokens for MLLMs".

244Jun 27, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{lou2025llavasp,
  title  = {LLaVA-SP: Enhancing Visual Representation with Visual Spatial Tokens for MLLMs},
  author = {Haoran Lou and Chunxiao Fan and Zi-Yan Liu and Yue-Xin Wu and Xin-Liang Wang},
  year   = {2025},
  eprint = {2507.00505},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2507.00505},
  journal = {IEEE International Conference on Computer Vision}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.00505.svg)](https://codeofpaper.com/paper/2507.00505)

Discussion