Skip to content
Preprint

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

Jul 2026 · 0 citations · 59 references
Computer Science

TL;DR

This work introduces C-GAP Caption-Guided Augmentation and Prompting), a detector-agnostic, annotation-free framework that operates in two phases, and establishes a composite caption baseline combining per-image scene descriptions with class-quantity context, which is shown to outperforms scene-description only or class-quantity-only prompts across multiple open-vocabulary architectures and benchmarks.

Abstract

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 AP@0.5 against a dynamic threshold derived from the composite baseline. Refinement terminates early once sufficient AP@0.5 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 AP@0.5 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.

View source

Similar papers

Jul 2026

Visual Distribution Anchoring for Efficient Prompt Tuning

This work proposes VDA (Visual Distribution Anchoring), a training-free target adaptation framework that augments a frozen semantic classifier with class-level visual prototypes estimated offline from an unlabeled target pool, and shows that class-specific partitioning drives gains and that visually local pseudo-label...

Pouya Parsa, Raoof Zare Moayedi, Seongjin Choi · 0 citations
Conference Aug 2026

Research on anti-forgetting training strategies for open-vocabulary object detection systems

A forgetting-resistant fine-tuning framework that decouples the training objectives into strong supervised adaptation for base classes and weak supervised preservation for novel classes is proposed, substantially mitigates catastrophic forgetting while preserving the original single-stage inference pipeline.

Yujia He, Jianshe Dong, Jia-Yu Lin · 0 citations
Preprint Aug 2026

SAM3-LoRA: Parameter-Efficient Adaptation of a Concept-Promptable Foundation Model for Multi-Class Structural Defect Segmentation

Promptable segmentation foundation models such as SAM3 accept an open-vocabulary text concept and return every instance matching it, but adapting them to a specialized domain by full fine-tuning is computationally prohibitive for the organizations that would benefit most. This study applies Low-Rank Adaptation (LoRA) t...

P. Malaisree, S. Youwai, S. Janrungautai et al. · 0 citations
Jul 2026

VCF-CLIP: Visual Context-Driven Fine-Grained Prompt Learning for Zero-Shot Anomaly Detection.

This work proposes VCF-CLIP, a visual context-driven fine-grained prompt learning framework built upon CLIP, and proposes the prompt prototype learning (PPL) strategy, which learns a pair of unified prompt prototypes representing general normal and anomalous states in a loss-guided manner, thereby eliminating the need...

Kaiwen Fu, Fei Qi, Chengyuan Chang et al. · 0 citations
2026

Tiper: Tokenwise Prompt-Free Learning

Vision-language models (VLMs), such as contrastive language-image pre-training (CLIP), exhibit powerful zero-shot generalization capabilities. Parameter-efficient fine-tuning (PEFT) techniques, notably prompt learning, have been extensively explored to adapt these models to downstream tasks. However, their efficacy rem...

Tengfei Gong, Jun-Lin Wu, Yaxioong Chen et al. · 0 citations
Jul 2026

Hierarchical prompt composition for memory-efficient open-world continual learning in vision-language foundation models

The Hierarchical Prompt Composition Network (HPC-NET) is introduced, a parameter-efficient architecture for continual learning in open-world environments that decomposes learnable prompts into three tiers: foundational prompts that encode broad visual primitives, compositional prompts that aggregate mid-level patterns,...

Siham Rebbah · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.