F-LMM: Grounding Frozen Large Multimodal Models

Size Wu, Sheng Jin, Wenwei Zhang, Lumin Xu, Wentao Liu +2 more
6/1/2024

No official code found. Best implementation: mbzuai-oryx/Video-LLaVA (264 stars, last commit 2025-08-05). 1 more below.

Abstract

Endowing Large Multimodal Models (LMMs) with visual grounding capability can significantly enhance AIs’ understanding of the visual world and their interaction with humans. However, existing methods typically fine-tune the parameters of LMMs to learn additional segmentation tokens and overfit grounding and segmentation datasets. Such a design would inevitably cause a catastrophic diminution in the indispensable conversational capability of general AI assistants. In this paper, we comprehensively evaluate state-of-the-art grounding LMMs across a suite of multimodal question-answering benchmarks, observing drastic performance drops that indicate vanishing general knowledge comprehension and weakened instruction following ability. To address this issue, we present F-LMM—grounding frozen off-the-shelf LMMs in human-AI conversations—a straightforward yet effective design based on the fact that word-pixel correspondences conducive to visual grounding inherently exist in the attention mechanism of well-trained LMMs. Using only a few trainable CNN layers, we can translate word-pixel attention weights to mask logits, which a SAM-based mask refiner can further optimise. Our F-LMM neither learns special segmentation tokens nor utilises high-quality grounded instruction-tuning data, but achieves competitive performance on referring expression segmentation and panoptic narrative grounding benchmarks while completely preserving LMMs’ original conversational ability. Additionally, with instructionfollowing ability preserved and grounding ability obtained, F-LMM can be directly applied to complex tasks like reasoning segmentation, grounded conversation generation and visual chain-of-thought reasoning. Our code can be found at https://github.com/wusize/F-LMM.

View on arXivView PDF

Code Implementations(2)

wusize/F-LMMCommunity100%

[CVPR2025] Code Release of F-LMM: Grounding Frozen Large Multimodal Models

1151PythonMar 28, 20241 years agoNOASSERTION

PG-Video-LLaVA: Pixel Grounding in Large Multimodal Video Models

26412Shell, PythonNov 20, 20231 years ago
groundingllmlmmtranscriptionvideo+2 more

Similar Papers

Cite this paper

@article{wu2024flmm,
  title  = {F-LMM: Grounding Frozen Large Multimodal Models},
  author = {Size Wu and Sheng Jin and Wenwei Zhang and Lumin Xu and Wentao Liu and Wei Li and Chen Change Loy},
  year   = {2024},
  eprint = {2406.05821},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2406.05821},
  journal = {CVPR 2024 2024}
}

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/2406.05821.svg)](https://codeofpaper.com/paper/2406.05821)

Discussion