cd /news/computer-vision/c-gap-class-aware-and-online-prompti… · home topics computer-vision article
[ARTICLE · art-56849] src=arxiv.org ↗ pub= topic=computer-vision verified=true sentiment=↑ positive

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

Researchers introduced C-GAP, a framework that iteratively refines language prompts for frozen open-vocabulary detectors to improve detection of rare object classes without retraining or additional annotations. The method achieved up to 53% improvement in minority-class average precision and an 81% relative gain on COCO, demonstrating that composite captions combining scene descriptions and class-quantity context are critical for effective refinement.

read1 min views1 publishedJul 13, 2026

arXiv:2607.09008v1 Announce Type: new 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.

── more in #computer-vision 4 stories · sorted by recency
── more on @c-gap 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/c-gap-class-aware-an…] indexed:0 read:1min 2026-07-13 ·