2025-03-14 · 进阶 · 机器学习 · 自然语言处理 · 计算机视觉

CoSTAast: Cost-Sensitive Toolpath Agent for Multi-turn Image Editing

CoSTA∗提出了一种结合大型语言模型和A∗搜索的分层规划策略,以找到成本敏感的工具路径,从而实现多轮图像编辑任务。

更新于 2025-03-14。作者:Advait Gupta、NandaKiran Velaga、Dang Nguyen、Tianyi Zhou。

中文摘要

文本到图像模型如稳定扩散和DALLE-3在多轮图像编辑方面仍然存在困难。我们将此类任务分解为一个由工具使用构成的代理工作流程(路径),通过不同成本的人工智能工具解决一系列子任务。传统的搜索算法需要昂贵的探索来找到工具路径。虽然大型语言模型(LLMs)具备子任务规划的前置知识,但它们可能缺乏对工具能力和成本的准确估计,以确定在每个子任务中应用哪种工具。我们能否结合LLMs和图搜索的优点,找到成本效益高的工具路径?我们提出了一种三阶段方法“CoSTA*”,该方法利用LLMs创建一个子任务树,有助于修剪给定任务的AI工具图,然后在小子图上执行A*搜索以找到工具路径。为了更好地平衡总成本和质量,CoSTA*将每个工具在每个子任务上的指标结合在一起,以引导A*搜索。然后,每个子任务的输出由视觉-语言模型(VLM)进行评估,如果失败则会触发对子任务上工具的成本和质量进行更新。因此,A*搜索可以快速从失败中恢复,探索其他路径。此外,CoSTA*可以在子任务之间自动切换模式,以实现更好的成本-质量权衡。我们建立了一个具有挑战性的多轮图像编辑的新基准,在该基准上,CoSTA*在成本和质量方面都优于最先进的图像编辑模型或代理,并且能够根据用户偏好进行多方面权衡。

英文摘要

Text-to-image models like stable diffusion and DALLE-3 still struggle with multi-turn image editing. We decompose such a task as an agentic workflow (path) of tool use that addresses a sequence of subtasks by AI tools of varying costs. Conventional search algorithms require expensive exploration to find tool paths. While large language models (LLMs) possess prior knowledge of subtask planning, they may lack accurate estimations of capabilities and costs of tools to determine which to apply in each subtask. Can we combine the strengths of both LLMs and graph search to find cost-efficient tool paths? We propose a three-stage approach "CoSTA*" that leverages LLMs to create a subtask tree, which helps prune a graph of AI tools for the given task, and then conducts A* search on the small subgraph to find a tool path. To better balance the total cost and quality, CoSTA* combines both metrics of each tool on every subtask to guide the A* search. Each subtask's output is then evaluated by a vision-language model (VLM), where a failure will trigger an update of the tool's cost and quality on the subtask. Hence, the A* search can recover from failures quickly to explore other paths. Moreover, CoSTA* can automatically switch between modalities across subtasks for a better cost-quality trade-off. We build a novel benchmark of challenging multi-turn image editing, on which CoSTA* outperforms state-of-the-art image-editing models or agents in terms of both cost and quality, and performs versatile trade-offs upon user preference.

解读

一句话总结

CoSTA∗提出了一种结合大型语言模型和A∗搜索的分层规划策略,以找到成本敏感的工具路径,从而实现多轮图像编辑任务。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt