arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.19633cs.CLcs.AIcs.LGcs.NEcs.SE
收藏

optimize_anything: 一个用于优化任何文本参数的通用API

optimize_anything: A Universal API for Optimizing any Text Parameter

MIT(麻省理工学院)
Lakshya A Agrawal, Donghyun Lee, Shangyin Tan, Wenjie Ma, Karim Elmaaroufi, Rohit Sandadi, Sanjit A. Seshia, Koushik Sen, Dan Klein, Ion Stoica, Joseph E. Gonza… 展开作者

Lakshya A Agrawal, Donghyun Lee, Shangyin Tan, Wenjie Ma, Karim Elmaaroufi, Rohit Sandadi, Sanjit A. Seshia, Koushik Sen, Dan Klein, Ion Stoica, Joseph E. Gonzalez, Omar Khattab, Alexandros G. Dimakis, Matei Zaharia

AI总结:

本文提出了一种基于LLM的通用优化系统,能够跨不同领域实现文本参数的优化,展示了其在六个多样化任务中的state-of-the-art性能,通过多任务搜索和跨问题迁移实现了高效的优化。

摘要:

能否一个基于LLM的优化系统在根本不同的领域中匹配专门工具?我们证明当优化问题被表述为改进一个通过评分函数评估的文本工件时,一个基于AI的优化系统—支持单任务搜索、多任务搜索和跨问题迁移以及对未见过的输入进行泛化—在六个不同的任务中实现了state-of-the-art的结果。我们的系统发现了将Gemini Flash的ARC-AGI准确性几乎提高三倍的代理架构(32.5%到89.5%),发现了将云成本降低40%的调度算法,生成了87%匹配或超过PyTorch的CUDA内核,并优于AlphaEvolve报告的圆圈打包解决方案(n=26)。在三个领域的消融研究揭示了可操作的侧信息比仅评分反馈更快收敛且最终得分更高,且多任务搜索在同等问题预算下通过跨任务迁移优于独立优化。共同,我们首次展示了基于LLM搜索的文本优化是一种通用问题解决范式,将传统需要领域特定算法的任务统一到一个框架下。我们开源了optimize_anything,并支持多个后端作为GEPA项目的一部分,在https://github.com/gepa-ai/gepa上。

英文摘要:

Can a single LLM-based optimization system match specialized tools across fundamentally different domains? We show that when optimization problems are formulated as improving a text artifact evaluated by a scoring function, a single AI-based optimization system-supporting single-task search, multi-task search with cross-problem transfer, and generalization to unseen inputs-achieves state-of-the-art results across six diverse tasks. Our system discovers agent architectures that nearly triple Gemini Flash's ARC-AGI accuracy (32.5% to 89.5%), finds scheduling algorithms that cut cloud costs by 40%, generates CUDA kernels where 87% match or beat PyTorch, and outperforms AlphaEvolve's reported circle packing solution (n=26). Ablations across three domains reveal that actionable side information yields faster convergence and substantially higher final scores than score-only feedback, and that multi-task search outperforms independent optimization given equivalent per-problem budget through cross-task transfer, with benefits scaling with the number of related tasks. Together, we show for the first time that text optimization with LLM-based search is a general-purpose problem-solving paradigm, unifying tasks traditionally requiring domain-specific algorithms under a single framework. We open-source optimize\_anything with support for multiple backends as part of the GEPA project at https://github.com/gepa-ai/gepa .

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑