Vision-language models such as CLIP decide whether an object has an attribute ("wooden", "frayed", "translucent") by comparing an image embedding against the text embedding of a prompt. That decision can change with the wording of the prompt. "A wooden object" and "the material of the object is wood" may give different answers, and we suspect the effect is worst for rare attributes. Here CLIP means a contrastive vision-language model, one that learns to place matching images and captions near each other in a shared vector space. This note proposes to measure how prompt brittleness grows along the attribute frequency curve and to explain where in embedding space it comes from. It then tests a cheap fix: for each attribute, estimate the few directions in which harmless paraphrases of its prompt disagree, and remove those directions before scoring.
The opportunity comes from three findings in separate literatures that have not been joined. Attribute benchmarks show that CLIP-style models are "attribute-blind" and favor nouns over properties (Open-vocabulary Attribute Detection). Language-model studies tie prompt sensitivity to low internal confidence (ProSA). Modality-gap studies show that image and text embeddings sit in separate regions and that the separation is concentrated in a few dimensions (Two Effects, One Trigger). If rare attributes have weak text embeddings, paraphrases of their prompts should scatter. Because every image is far from every text vector, the differences between attribute scores are small, so this scatter could decide the outcome.
Core Claim
The claim is in two parts. The first part is empirical. For dual-encoder vision-language models, the instance-level flip rate under meaning-preserving prompt paraphrases rises steadily from head to tail attributes. A large share of the paraphrase-induced variance in a tail attribute's text embedding lies along object-noun directions, meaning directions that move the prompt toward "a photo of a [object]." This would be a geometric mechanism for both brittleness and the "attribute bleeding" that OvarNet reports, where properties of background objects get credited to the queried object.
The second part is methodological. Projecting out each attribute's paraphrase-variance directions, on the text side, should lower sensitivity and raise tail-attribute accuracy more than averaging over prompts. It should also avoid the damage that Two Effects, One Trigger documents when the global image-text gap is closed after training.
Concretely, let $f(x)$ be the normalized image (or region) embedding and $g(p_k(a))$ the text embedding of the $k$-th paraphrase of a prompt for attribute $a$, for $k=1,\dots,K$. Let $\bar g_a$ be their mean, and let $U_a$ be the top-$r$ principal directions of the deviations $g(p_k(a))-\bar g_a$. Given any prompt $p$ for $a$, including one written by a user, the corrected score is
$$\tilde s(x,a,p) = \langle f(x),\,(I - U_a U_a^\top)\, g(p(a)) \rangle .$$
Averaging over prompts estimates $\bar g_a$ more precisely. It does nothing about the fact that $\bar g_a$ itself may carry a large component along a nuisance direction such as object identity, which lets an image's object content drive the attribute score. The projection removes that component from every prompt, whether averaged or not. The rank $r$ is chosen per attribute group on a validation split. For tail attributes, where few paraphrases give unstable estimates, $U_a$ is pooled within the parent-attribute group (color, material, pattern, as in OvarNet).
Relation to Prior Work
Two papers motivate the measurement and constrain the method. Two Effects, One Trigger traces both the modality gap and object bias to captions that omit minor attributes, and it shows that post-hoc gap closure hurts zero-shot accuracy. That rules out designs that move image and text distributions together. Our subspace is estimated entirely within the text modality, from paraphrase disagreement. We will measure its overlap with the gap dimensions rather than assume none.
Towards understanding the modality gap in CLIP shows that the gap is linearly separable and comes from local minima of the contrastive objective. Extending Multi-modal Contrastive Representations finds that linear maps preserve structure where nonlinear ones disrupt it. Together they make a linear, low-rank correction a reasonable first choice.
The prompt-sensitivity work supplies the measurement tools. ProSA gives instance-level sensitivity scoring across varied prompt framings, but only for text models. On the Relation between Sensitivity and Accuracy in In-Context Learning shows that disagreement across paraphrases predicts errors, with correlation up to −0.40. Its SENSEL method uses this disagreement to decide when to abstain, and it beats max-probability abstention. We reuse that disagreement-for-abstention protocol as a comparison, applied to attributes rather than text classification.
The closest robustness method is Promise. It meta-finetunes prompt tokens over disjoint template sets to shrink prompt variance, but it is evaluated only on coarse object classification and costs 18–22% more training time. Our method needs no training and targets attributes.
On the attribute side, OvarNet and SCONE handle long-tail attributes with a single fixed template or fixed label embeddings, and neither measures sensitivity. CoAPT adds LLM-written attribute words to prompts, but its benchmarks are object classification and it does not evaluate across the attribute tail.
FairVLM is the one prior paper showing that prompt instability falls hardest on under-represented groups. It does so for demographic slices in medical segmentation, using trained counterfactual consistency losses. We test the analogous claim for visual attributes without training. Open-Vocabulary Calibration shows that text-side distance can correct confidence after training. That is a different text-geometry correction, and it is aimed at calibration rather than invariance to paraphrase.
Research Program
The program has three stages.
The first stage builds the paraphrase families. For each of the 117 OVAD attributes and the 620 VAW attributes, we generate paraphrase families with a language model under several framings. These include bare adjective, parent-attribute template, question form, descriptive sentence, and the role-play and output-requirement styles from ProSA. Humans spot-check a sample to confirm that meaning is preserved. Framings are split into an estimation set and a disjoint evaluation set, following the disjoint-template design of Promise. The subspace $U_a$ is therefore never fit on the wordings it is tested on.
The second stage is the measurement study. Attribute frequency is taken from VAW training annotation counts and from attribute-word counts in COCO captions for OVAD. For each frequency bin we compute two quantities: the flip rate, which is the fraction of box-attribute decisions that change across evaluation paraphrases, and the across-paraphrase spread of per-attribute average precision. We then break each attribute's paraphrase variance into three parts: the fraction lying along its object-noun directions, the fraction along the top gap dimensions identified by the Two Effects method, and the remainder. We correlate the object-noun fraction with bleeding errors, meaning false positives where the attribute truly belongs to a different annotated object in the image.
The third stage applies the projection and tests whether nuisance directions are specific to each attribute or shared across all attributes. If they are fully shared, a single global projection would suffice, which would be a simpler and still useful result.
Models are several CLIP variants of different sizes. We also include X-VLM, because it is the strongest zero-shot model on OVAD. Using several models tests whether larger models are more brittle, the "unstable genius" pattern reported in ProSA.
Baselines
The naive reference point is single-template scoring with a plain "a photo of a [attr] [object]" prompt, evaluated across every evaluation paraphrase. It shows how much variance a practitioner faces without intervention.
The strongest existing zero-shot numbers on OVAD come from Open-vocabulary Attribute Detection, which reports 28.1 mAP for X-VLM, 18.8 mAP for the OVAD-Baseline, and roughly 48 mAP for fully supervised models. OvarNet reports 27.2 AP for its distilled student. We rerun X-VLM and CLIP with OvarNet's parent-attribute prompts under our evaluation paraphrases, using ground-truth boxes, so that every method sees identical regions. On VAW, no absolute baseline number is reported in the file: SCONE reports only relative gains of +3.7 mAP and +5.7 F1. We therefore establish our own zero-shot numbers on VAW.
The most dangerous competitor is prompt ensembling: averaging text embeddings over the same estimation paraphrases used to fit $U_a$. It gets an identical paraphrase budget and the same frozen encoders.
The trained competitor is Promise-style meta-finetuning on attribute prompts. We train it on VAW training data with the estimation framings, give it the same number of hyperparameter trials as our rank search, and evaluate it on the held-out framings.
For abstention, we compare against SENSEL-style multi-prompt disagreement and max-probability, scored by the area under the F1-coverage curve.
Three ablations isolate the key ingredient. The first projects out a random subspace of the same rank. The second projects out the global gap dimensions instead of paraphrase directions, which reproduces the harmful intervention from Two Effects. The third uses one subspace shared across all attributes in place of per-attribute or per-group subspaces.
We count the method as beating a baseline if two things hold. Tail-bin mAP must rise by more than the across-seed spread of paraphrase sampling. Tail flip rate must fall relative to ensembling at matched budget. Head-bin mAP must not drop by more than that same spread.
Why not just…?
Why not just average over many prompts? This is the real threat. Averaging shrinks variance in the estimate of $\bar g_a$, and if brittleness were pure noise around a good centroid, averaging would match our method. The hypothesis that tells them apart is that the centroid is itself biased along object-noun directions. Averaging keeps that bias; projection removes it. The ensembling comparison at matched budget settles this, and so does the bleeding-error analysis: if projection reduces bleeding errors and ensembling does not, the mechanism holds. If the two tie, we will report the measurement study as the contribution and recommend ensembling.
Why not just use OvarNet's parent-attribute prompts? A well-crafted template is still one wording. Promise documents large swings even for carefully designed templates, and ProSA links swings to low confidence, which is exactly the tail regime. Parent prompts also do not fix how users phrase queries. Our evaluation treats the parent template as one framing among the held-out ones and reports its variance.
Why not just meta-finetune for prompt robustness, as Promise does? Promise may well reduce variance on attributes too. It is untested there and adds training cost. If it matches our method on the tail, the training-free projection still has a cost advantage. If it beats our method, then trained invariance captures structure that a linear text-side correction cannot, and that is worth knowing.
Why not just close the modality gap or tune LayerNorm? Two Effects shows that removing gap directions after training degrades zero-shot accuracy. Tuning LayerNorm in Attention targets alignment in multimodal language models, not paraphrase invariance in dual encoders. Our gap-projection ablation tests directly whether our gains come from touching the gap.
Why not just threshold on max-probability? Open-Vocabulary Calibration finds that prompt-learned CLIP is badly miscalibrated on novel concepts. SENSEL beats probability-based abstention by 4.1 AUC points on GPT-J-6B text classification. We test whether the same ordering holds for tail visual attributes, and whether a per-attribute dispersion statistic computed offline matches SENSEL's per-instance disagreement.
Decisive Checks
The first check is a direct test of the empirical claim. If the tail flip rate is not significantly higher than the head flip rate on both OVAD and VAW, across at least two encoder families, then the premise fails and the project reduces to a negative measurement result.
The second check concerns mechanism. The object-noun share of paraphrase variance should predict bleeding errors at the attribute level. If it does not, the mechanism is wrong even if projection helps.
The third check compares the corrected score with ensembling on held-out framings. Projection must beat ensembling on tail mAP and tail flip rate while leaving head mAP unchanged, and it must beat the random-subspace and gap-subspace ablations. If the gap-subspace ablation performs as well as projection, the gains come from modifying the gap, which contradicts Two Effects. We would have to reconcile that contradiction before claiming any gain.
References
- Open-vocabulary Attribute Detection
- ProSA: Assessing and Understanding the Prompt Sensitivity of LLMs
- Two Effects, One Trigger: On the Modality Gap, Object Bias, and Information Imbalance in Contrastive Vision-Language Models
- OvarNet: Towards Open-vocabulary Object Attribute Recognition
- Towards understanding the modality gap in CLIP
- Extending Multi-modal Contrastive Representations
- On the Relation between Sensitivity and Accuracy in In-Context Learning
- Prompt-Robust Vision-Language Models via Meta-Finetuning
- Learning to Predict Visual Attributes in the Wild
- CoAPT: Context Attribute words for Prompt Tuning.
- FairVLM: Enhancing Fairness and Prompt Sensitivity in Vision Language Models for Medical Image Segmentation
- Open-Vocabulary Calibration for Vision-Language Models
- Tuning LayerNorm in Attention: Towards Efficient Multi-Modal LLM Finetuning