You Are What You Prompt: Prompt Quality, Domain Shift, and Uncertainty in Agrifood Vision-Language Models
Andrea Morales-Garzón, Salvador López-Joya, Miguel López-Pérez, Maria J. Martin-Bautista
Abstract
Vision-language models enable zero-shot classification through natural language prompts, but performance is sensitive to prompt formulation, especially in specialized domains. Zero-shot Prompt Ensembling (ZPE) addresses this by weighting prompts by discriminative signal, yet its behavior under domain shift remains unexplored. We evaluate ZPE in the agrifood domain using CLIP and SigLIP across four datasets and four prompt pools, spanning in-distribution (ID) food and out-of-distribution agricultural benchmarks. ZPE provides limited benefit under ID conditions but substantially improves performance and calibration under domain shift, where domain-specific pools of 51-52 prompts consistently outperform generic pools of 247-426. Lexical analysis shows that ZPE acts as an unsupervised domain-alignment detector without label access. We further introduce PID (Prompt-based Inconsistency Detection), which repurposes prompt disagreement as epistemic uncertainty, improving failure detection under severe domain shift where standard confidence measures collapse.
Create a lesson
Metadata
- Categories
- cs.CL, cs.LG
- Comments
- Accepted in the journal Procesamiento del Lenguaje Natural (SEPLN2026)
Related papers
Visually Grounded Self-Reflection for Vision-Language Models via Reinforcement Learning
Shared title terminologycs.CLLiyan Tang, Fangcong Yin, Greg Durrett
Seeing Is Not Sharing: Some Vision-Language Models Overestimate Common Ground in Asymmetric Dialogue
Shared title terminologycs.CLNan Li, Albert Gatt, Massimo Poesio
Modeling Perceived Promptness in Simultaneous Interpreting from Quality, Structure, and Timing Signals
Shared title terminologycs.CLZiyu Zhang, Satoshi Nakamura
Language models compress human preference geometry while political structure remains prompt-sensitive
Shared title terminologycs.CLAdolfo Ignacio Fuentes-Jofre, Cristian Candia
Evaluating Prompting Strategies for Zero-Shot Multilingual Aspect-Based Sentiment Analysis with Large Language Models
Shared title terminologycs.CLJakub Šm{í}d, Pavel Kr{á}l
The Role of Prompt Language and Translation-Theory-Driven Prompts in Large Language Models: A Case Study on Spanish-Chinese Journalistic Translation
Shared title terminologycs.CLHaohong Lai, Weijia Li