mlsanityData to 14 Oct 2026

C-GAP: Class-Aware and Online Prompting Improves Vision-Language Models on Imbalanced Classes

arXiv 2607.09008 ↗First posted 10 Jul 2026cs.CVcited by 0

On the map: Multimodal LLMs / vision-language models → Prompt learning and adaptation of CLIP

Abstract (arXiv)

Safety-critical perception systems must reliably detect rare object classes within small label spaces, a setting that long-tailed detection methods, designed for hundreds of classes with dense annotation, fundamentally do not address. Open-vocabulary detectors offer a promising alternative, as they use natural language queries at inference time, making prompt quality a first-class lever for detection performance. We exploit this property to address class imbalance: rather than retraining models or collecting additional annotations, we ask whether iteratively refining the language prompts, fed to frozen detectors, can improve minority class detection. We introduce C-GAP Caption-Guided Augmentation and Prompting), a detector-agnostic, annotation-free framework that operates in two phases. First, we establish a composite caption baseline combining per-image scene descriptions with class-quantity context, which we show outperforms scene-description only or class-quantity-only prompts across multiple open-vocabulary architectures and benchmarks. Second, an LLM iteratively refines each image's caption individually, with trials triaged into accept, tentative, or regenerate buckets based on minority-class [email protected] against a dynamic threshold derived from the composite baseline. Refinement terminates early once sufficient [email protected] gain is achieved. No detector weights are updated at any stage. Our experiments shows that C-GAP improves minority-class average precision up to 53% over the baselines. On COCO, C-GAP improves minority-class [email protected] by ~81% relative over the composite baseline (17.69 -> 32.09). Experiments confirm that composite captions provide the critical foundation for effective refinement: using scene-description-only or class-quantity-only prompts as the refinement starting point yields diminishing returns, supporting both stages of C-GAP as necessary contributions.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Prompt learning and adaptation of CLIP, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 52 of its 59 references that are in the map. First posted on arXiv 10 Jul 2026.

Builds on

52 of 59 references.

Closest ancestors · 6

Same direction, newest first

  1. 2023Visual-Language Prompt Tuning with Knowledge-guided Context Optimization23 Mar
  2. 2022Unified Vision and Language Prompt Learning13 Oct
  3. 2022Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models15 Sep
  4. 2022Unsupervised Prompt Learning for Vision-Language Models7 Apr
  5. 2022Conditional Prompt Learning for Vision-Language Models10 Mar
  6. 2021Learning to Prompt for Vision-Language Models2 Sep

Other references · 46

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  5. 2023Visual Instruction Tuningcited by 7,869
  6. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  7. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
  8. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
  9. 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,444
  10. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,386
  11. 2023Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detectioncited by 3,332
  12. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
34 more
  1. 2023MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Modelscited by 2,711
  2. 2023Qwen-VL: A Versatile Vision-Language Model for Understanding, Localization, Text Reading, and Beyondcited by 2,224
  3. 2020YOLOv4: Optimal Speed and Accuracy of Object Detectioncited by 1,630
  4. 2015Microsoft COCO Captions: Data Collection and Evaluation Servercited by 1,462
  5. 2019Class-Balanced Loss Based on Effective Number of Samplescited by 1,245
  6. 2019LVIS: A Dataset for Large Vocabulary Instance Segmentationcited by 1,217
  7. 2021Grounded Language-Image Pre-trainingcited by 1,156
  8. 2021MDETR -- Modulated Detection for End-to-End Multi-Modal Understandingcited by 819
  9. 2022PaLI: A Jointly-Scaled Multilingual Language-Image Modelcited by 766
  10. 2022MaPLe: Multi-modal Prompt Learningcited by 687
  11. 2020Long-tail learning via logit adjustmentcited by 618
  12. 2021RegionCLIP: Region-based Language-Image Pretrainingcited by 616
  13. 2022Detecting Twenty-thousand Classes using Image-level Supervisioncited by 614
  14. 2020Simple Copy-Paste is a Strong Data Augmentation Method for Instance Segmentationcited by 596
  15. 2022GroupViT: Semantic Segmentation Emerges from Text Supervisioncited by 531
  16. 2024YOLO-World: Real-Time Open-Vocabulary Object Detectioncited by 503
  17. 2020Open-Vocabulary Object Detection Using Captionscited by 427
  18. 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 359
  19. 2023Scaling Open-Vocabulary Object Detectioncited by 343
  20. 2022Learning to Prompt for Open-Vocabulary Object Detection with Vision-Language Modelcited by 317
  21. 2021End-to-End Semi-Supervised Object Detection with Soft Teachercited by 316
  22. 2020Equalization Loss for Long-Tailed Object Recognitioncited by 285
  23. 2022GLIPv2: Unifying Localization and Vision-Language Understandingcited by 275
  24. 2022Open-Vocabulary DETR with Conditional Matchingcited by 220
  25. 2017Cut, Paste and Learn: Surprisingly Easy Synthesis for Instance Detectioncited by 209
  26. 2020Disentangling Label Distribution for Long-tailed Visual Recognitioncited by 172
  27. 2020Seesaw Loss for Long-Tailed Instance Segmentationcited by 146
  28. 2022Bridging the Gap between Object and Image-level Representations for Open-Vocabulary Detectioncited by 146
  29. 2022PromptDet: Towards Open-vocabulary Detection using Uncurated Imagescited by 133
  30. 2019Imbalance Problems in Object Detection: A Reviewcited by 118
  31. 2020Equalization Loss v2: A New Gradient Balance Approach for Long-tailed Object Detectioncited by 99
  32. 2023Aligning and Prompting Everything All at Once for Universal Visual Perceptioncited by 60
  33. 2024Real-time Transformer-based Open-Vocabulary Detection with Efficient Fusion Headcited by 20
  34. 2023Open-Vocabulary Object Detection using Pseudo Caption Labelscited by 13

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024PromptSync: Bridging Domain Gaps in Vision-Language Models through Class-Aware Prototype Alignment and Discrimination
  2. 2025Beyond General Prompts: Automated Prompt Refinement using Contrastive Class Alignment Scores for Disambiguating Objects in Vision-Language Models
  3. 2025Prompt the Unseen: Evaluating Visual-Language Alignment Beyond Supervision
  4. 2023Towards Robust Prompts on Vision-Language Models
  5. 2026What Does Prompt Learning Change? -A Natural-Language Concept Analysis of Vision-Language Models
  6. 2024Learning to Prompt with Text Only Supervision for Vision-Language Models
  7. 2026Neutral-Reference Prompting for Vision-Language Models
  8. 2024Unknown Prompt, the only Lacuna: Unveiling CLIP's Potential for Open Domain Generalization