arXiv:2503.23503cs.CL2025-03被引 1

通过进化算法优化提示词,让视觉语言模型自发发现高效解题策略。

Evolutionary Prompt Optimization Discovers Emergent Multimodal Reasoning Strategies in Vision-Language Models

  • 用进化算法迭代优化提示词,模拟优胜劣汰过程。
  • 在多个视觉任务上实现约50%的性能提升,尤其擅长复杂空间推理。
  • 适合研究模型自推理能力或想提升零样本泛化性能的研究者。

我们提出一种无需重训练模型即可优化视觉语言模型提示词的框架,以激发多模态推理能力。通过进化算法引导提示词在视觉任务下游迭代更新,该方法超越了传统提示更新算法,具备类似自然选择的“适者生存”机制。关键发现是,该方法促使语言模型在多代演化中自主探索出渐进式问题解决策略。例如,模型学会将复杂空间任务分解,并调用Python解释器执行图像裁剪、分割或饱和度调整等操作,从而显著提升性能。实验表明,通过系统级XML标签(<tool>...</tool>)显式触发工具调用,可有效引导模型生成相关程序,实现高级多模态功能。这一功能可固化为系统级提示,在推理时带来性能提升。在MathVista、M3CoT和GeoBench-VLM数据集的子任务上测试,相对基线最高提升约50%。更重要的是,进化提示优化引导模型走向自我推理,显著增强跨任务的零样本泛化能力。

原文摘要 · Abstract (English)

We present a framework for optimizing prompts in vision-language models to elicit multimodal reasoning without model retraining. Using an evolutionary algorithm to guide prompt updates downstream of visual tasks, our approach improves upon baseline prompt-updating algorithms, which lack evolution-style "survival of the fittest" iteration. Crucially, we find this approach enables the language model to independently discover progressive problem-solving techniques across several evolution generations. For example, the model reasons that to "break down" visually complex spatial tasks, making a tool call to a Python interpreter to perform tasks (such as cropping, image segmentation, or saturation changes) would improve performance significantly. Our experimentation shows that explicitly evoking this "tool calling" call, via system-level XML $...\texttt{<tool>} ... \texttt{</tool>}...$ tags, can effectively flag Python interpreter access for the same language model to generate relevant programs, generating advanced multimodal functionality. This functionality can be crystallized into a system-level prompt that induces improved performance at inference time, and our experimentation suggests up to $\approx 50\%$ relative improvement across select visual tasks. Downstream performance is trained and evaluated across subtasks from MathVista, M3CoT, and GeoBench-VLM datasets. Importantly, our approach shows that evolutionary prompt optimization guides language models towards self-reasoning discoveries, which result in improved zero-shot generalization across tasks.

视觉语言模型提示优化自推理工具调用

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