进化提示优化在视觉-语言模型中发现涌现的多模态推理策略
Evolutionary Prompt Optimization Discovers Emergent Multimodal Reasoning Strategies in Vision-Language Models
AI总结:
提出一种基于进化算法的视觉-语言模型提示优化框架,通过系统级XML标签引导模型自主发现工具调用等多模态推理策略,在多个数据集上实现高达50%的性能提升及更好的零样本泛化。
摘要:
我们提出了一个在视觉-语言模型中优化提示的框架,以在不重新训练模型的情况下引导出多模态推理。使用进化算法来指导视觉任务下游的提示更新,我们的方法改进了缺乏进化式“适者生存”迭代的基线提示更新算法。至关重要的是,我们发现这种方法使语言模型能够在多个进化世代中独立发现渐进式的问题解决技术。例如,模型推理出为了“分解”视觉上复杂的空间任务,调用 Python 解释器执行任务(如裁剪、图像分割或饱和度更改)将显著提高性能。我们的实验表明,通过系统级 XML $...\texttt{<tool>} ... \texttt{</tool>}...$ 标签显式触发这种“工具调用”,可以有效地为同一语言模型标记 Python 解释器访问权限以生成相关程序,从而生成高级多模态功能。此功能可以结晶为系统级提示,在推理时诱导出改进的性能,我们的实验表明在选定的视觉任务上相对改进最高达 $\approx 50\\%$。下游性能在 MathVista、M3CoT 和 GeoBench-VLM 数据集的子任务上进行训练和评估。重要的是,我们的方法表明进化提示优化引导语言模型走向自我推理发现,从而在跨任务中实现改进的零样本泛化。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。