arXiv:2604.09920cs.CV2026-04被引 3

优化提示词让视觉模型更懂农作物,零样本检测效果显著提升

Does Your VFM Speak Plant? The Botanical Grammar of Vision Foundation Models for Object Detection

  • 拆解提示词为8个维度,逐项优化并组合出最佳提示结构
  • 合成数据训练的提示词在真实农田中表现优于人工标注数据
  • 不同模型需定制化提示词,且跨任务迁移效果好

视觉基础模型(VFMs)有望实现无需标注数据的零样本目标检测,但在复杂农业场景中性能仍高度依赖文本提示构建。本文系统评估四种开放词汇检测器(YOLO World、SAM3、Grounding DINO、OWLv2)在合成与真实田间图像中识别豇豆花和豆荚的表现。将提示词分解为八个维度,采用单因素分析与组合优化,发现不同模型对提示结构响应差异显著:优化某一模型的条件可能使另一模型性能崩溃。使用针对各模型的组合提示,相比仅用物种名称的朴素基线,大幅提升了性能,如在合成豇豆花数据上,YOLO World 提升 +0.357 [email protected],OWLv2 提升 +0.362 [email protected]。为验证跨任务泛化能力,利用大语言模型将合成花数据中发现的提示结构迁移到形态不同的豆荚检测任务,并与基于真实标注数据优化的提示对比。关键发现:仅在合成数据上优化的提示词能有效迁移至真实田间场景:多数模型-对象组合中,合成数据生成的提示性能匹配或超过在真实标注数据上优化的结果(花:YOLO World 0.374 vs. 0.353;豆荚:SAM3 0.429 vs. 0.371)。结果表明,提示工程可显著缩小零样本模型与监督模型差距,且最优提示具有模型特异性、非显性特征,可在不同领域间有效迁移。

原文摘要 · Abstract (English)

Vision foundation models (VFMs) offer the promise of zero-shot object detection without task-specific training data, yet their performance in complex agricultural scenes remains highly sensitive to text prompt construction. We present a systematic prompt optimization framework evaluating four open-vocabulary detectors -- YOLO World, SAM3, Grounding DINO, and OWLv2 -- for cowpea flower and pod detection across synthetic and real field imagery. We decompose prompts into eight axes and conduct one-factor-at-a-time analysis followed by combinatorial optimization, revealing that models respond divergently to prompt structure: conditions that optimize one architecture can collapse another. Applying model-specific combinatorial prompts yields substantial gains over a naive species-name baseline, including +0.357 [email protected] for YOLO World and +0.362 [email protected] for OWLv2 on synthetic cowpea flower data. To evaluate cross-task generalization, we use an LLM to translate the discovered axis structure to a morphologically distinct target -- cowpea pods -- and compare against prompting using the discovered optimal structures from synthetic flower data. Crucially, prompt structures optimized exclusively on synthetic data transfer effectively to real-world fields: synthetic-pipeline prompts match or exceed those discovered on labeled real data for the majority of model-object combinations (flower: 0.374 vs. 0.353 for YOLO World; pod: 0.429 vs. 0.371 for SAM3). Our findings demonstrate that prompt engineering can substantially close the gap between zero-shot VFMs and supervised detectors without requiring manual annotation, and that optimal prompts are model-specific, non-obvious, and transferable across domains.

提示工程零样本检测农业视觉模型迁移

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。