Lune

CVPR2024Top-tier venue

Segment and Caption Anything

Xiaoke Huang, Jianfeng Wang, Yansong Tang, Zheng Zhang, Han Hu, Jiwen Lu, Lijuan Wang, Zicheng Liu

Abstract

We propose a method to efficiently equip the Segment Anything Model (SAM) with the ability to generate regional captions. SAM presents strong generalizability to segment anything while is short for semantic understanding. By introducing a lightweight query-based feature mixer, we align the region-specific features with the embedding space of language models for later caption generation. As the number of trainable parameters is small (typically in the order of tens of millions), it costs less computation, less memory usage, and less communication bandwidth, resulting in both fast and scalable training. To address the scarcity problem of regional caption data, we propose to first pre-train our model on objection detection and segmentation tasks. We call this step weak supervision pretraining since the pretraining data only contains category names instead of fullsentence descriptions. The weak supervision pretraining allows us to leverage many publicly available object detection and segmentation datasets. We conduct extensive experiments to demonstrate the superiority of our method and validate each design choice. This work serves as a stepping stone towards scaling up regional captioning data and sheds light on exploring efficient ways to augment SAM with regional semantics. The project page, along with the associated code, can be accessed via the following link.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

17 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • KV-Edit: Training-Free Image Editing for Precise Background Preservation cites High-Resolution Image Synthesis with Latent Diffusion Models
  • KV-Edit: Training-Free Image Editing for Precise Background Preservation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • KV-Edit: Training-Free Image Editing for Precise Background Preservation cites Universal Segmentation at Arbitrary Granularity with Language Instruction
  • KV-Edit: Training-Free Image Editing for Precise Background Preservation cites Language Models are Few-Shot Learners
  • KV-Edit: Training-Free Image Editing for Precise Background Preservation cites Learning Transferable Visual Models From Natural Language Supervision
  • Perceive Anything: Recognize, Explain, Caption, and Segment Anything in Images and Videos cites Describe Anything: Detailed Localized Image and Video Captioning
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites Language Models are Few-Shot Learners
  • Universal Segmentation at Arbitrary Granularity with Language Instruction cites Learning Transferable Visual Models From Natural Language Supervision
  • Describe Anything: Detailed Localized Image and Video Captioning cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Learning Transferable Visual Models From Natural Language Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Learning Transferable Visual Models From Natural Language Supervision cites Language Models are Few-Shot Learners
  • Training language models to follow instructions with human feedback cites Language Models are Few-Shot Learners
  • Stepping Out of Similar Semantic Space for Open-Vocabulary Segmentation cites Universal Segmentation at Arbitrary Granularity with Language Instruction
  • Stepping Out of Similar Semantic Space for Open-Vocabulary Segmentation cites Learning Transferable Visual Models From Natural Language Supervision
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers17

  1. Perceive Anything: Recognize, Explain, Caption, and Segment Anything in Images and VideosWeifeng Lin, Xinyu Wei, Ruichuan An, Tianhe Ren et al.NeurIPS 2025 · 47 citations
  2. Universal Segmentation at Arbitrary Granularity with Language InstructionYong Liu, Cairong Zhang, Yitong Wang, Jiahao Wang et al.CVPR 2024 · 15 citations
  3. Describe Anything: Detailed Localized Image and Video CaptioningLong Lian, Yifan Ding, Yunhao Ge, Sifei Liu et al.ICCV 2025 · 14 citations
  4. KV-Edit: Training-Free Image Editing for Precise Background PreservationTianrui Zhu, Shiyi Zhang, Jiawei Shao, Yansong TangICCV 2025 · 8 citations
  5. Stepping Out of Similar Semantic Space for Open-Vocabulary SegmentationYong Liu, Song-Li Wu, Sule Bai, Jiahao Wang et al.ICCV 2025 · 6 citations

Builds on44

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  3. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
  4. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  5. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations

Related papers

  1. WeakSAM: Segment Anything Meets Weakly-supervised Instance-level RecognitionLianghui Zhu, Junwei Zhou, Yan Liu, Xin Hao et al.ACM MM 2024 · 21 citations
  2. ST-SAM: Multimodal Scene Text Segmentation with Dense Visual and Sparse Textual Prompts via SAMJin Wei, Yaqiang Wu, Jiayi Yan, Zeng Li et al.AAAI 2026
  3. EfficientSAM: Leveraged Masked Image Pretraining for Efficient Segment AnythingYunyang Xiong, Bala Varadarajan, Lemeng Wu, Xiaoyu Xiang et al.CVPR 2024 · 185 citations
  4. Personalize Segment Anything Model with One ShotRenrui Zhang, Zhengkai Jiang, Ziyu Guo, Shilin Yan et al.ICLR 2024 · 333 citations
  5. Relax Image-Specific Prompt Requirement in SAM: A Single Generic Prompt for Segmenting Camouflaged ObjectsJian Hu, Jiayi Lin, Shaogang Gong, Weitong CaiAAAI 2024 · 64 citations
Dusk over the sea between two cliffs drawn in fine vertical lines