CVMay 14, 2025

Beyond General Prompts: Automated Prompt Refinement using Contrastive Class Alignment Scores for Disambiguating Objects in Vision-Language Models

arXiv:2505.09139v12 citationsh-index: 2MIPR
Originality Incremental advance
AI Analysis

This provides a scalable and model-agnostic solution for enhancing object detection in vision-language models, addressing a domain-specific bottleneck in prompt engineering.

The paper tackles the problem of performance variability in vision-language models due to prompt phrasing by introducing an automated prompt refinement method using a novel Contrastive Class Alignment Score (CCAS), which improves object detection accuracy without additional training or labeled data.

Vision-language models (VLMs) offer flexible object detection through natural language prompts but suffer from performance variability depending on prompt phrasing. In this paper, we introduce a method for automated prompt refinement using a novel metric called the Contrastive Class Alignment Score (CCAS), which ranks prompts based on their semantic alignment with a target object class while penalizing similarity to confounding classes. Our method generates diverse prompt candidates via a large language model and filters them through CCAS, computed using prompt embeddings from a sentence transformer. We evaluate our approach on challenging object categories, demonstrating that our automatic selection of high-precision prompts improves object detection accuracy without the need for additional model training or labeled data. This scalable and model-agnostic pipeline offers a principled alternative to manual prompt engineering for VLM-based detection systems.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes