Research & Papers

C-GAP's iterative prompting boosts vision-language minority detection by 81%

No retraining or extra labels needed—just smarter prompts for frozen models.

Deep Dive

Safety-critical perception systems must detect rare objects reliably, but existing long-tailed detection methods assume hundreds of classes and dense annotations—an impractical fit. Open-vocabulary detectors, which accept natural language queries at inference, make prompt quality a direct lever for performance. Rather than retraining or collecting more data, C-GAP exploits this property by iteratively refining prompts for frozen detectors.

C-GAP operates in two phases. First, it builds a composite caption baseline that fuses per-image scene descriptions with class-quantity context—outperforming prompts using either alone across multiple architectures and datasets. Second, an LLM 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. Refinement stops once sufficient gain is achieved, and no detector weights are updated. Experiments show C-GAP lifts minority-class AP by up to 53% across benchmarks; on COCO, relative improvement reaches 81% (17.69 → 32.09 AP@0.5). The composite baseline is critical: starting from scene-only or class-quantity-only prompts yields diminishing returns.

Key Points
  • Composite captions combining scene descriptions and class-quantity context outperform single-source prompts across architectures.
  • An LLM iteratively refines per-image captions with a triage system (accept/tentative/regenerate) based on dynamic AP@0.5 thresholds, terminating early upon sufficient gain.
  • C-GAP improves minority-class AP@0.5 on COCO by 81% relative (17.69 → 32.09) without updating detector weights.

Why It Matters

Enables safer AI perception in autonomous systems without costly data collection or model retraining.

📬 Get the top 10 AI stories daily