arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.01126cs.CL
收藏

RoboPhD:通过自主代理进化实现自我改进的文本到SQL系统

RoboPhD: Self-Improving Text-to-SQL Through Autonomous Agent Evolution

Independent Researchers(独立研究者)

Andrew Borthwick, Stephen Ash

AI总结:

RoboPhD通过自主进化代理提升文本到SQL性能,无需外部指导,在低成本模型上实现显著改进。

摘要:

我们介绍了RoboPhD,一个AI代理自主进行研究以提高文本到SQL性能的系统。RoboPhD实现了一个闭环进化周期,包含两个协调组件:一个由数据库分析脚本和SQL生成指令组成的SQL生成代理,以及一个根据性能反馈设计新版本的进化代理。框架的核心是一个基于ELO的选优机制,能够在处理性能非传递性的同时实现适者生存的动态。从一个70行的初始基准开始,RoboPhD通过迭代交叉培育进化代理,发现有效的技术,而无需在文本到SQL领域进行任何外部指导。我们的最佳代理在18次迭代中进化到1500行,自主发现了诸如基于模式复杂度调整深度的大小自适应数据库分析策略,以及用于列选择、证据解释和聚合的SQL生成模式。进化为更低成本的模型提供了最大的收益:虽然我们在强大的Claude Opus 4.5初始基准上提高了2.3个点,但我们在较弱的Claude Haiku模型上展示了8.9个点的改进。这使得'跳过一个级别'的部署成为可能:进化后的Haiku超过初始的Sonnet准确性,进化后的Sonnet超过初始的Opus,两者在更低的成本下实现。整个系统在BIRD测试集上达到73.67%的准确率,证明了仅通过一个微不足道的人工提供的初始点,AI可以自主构建一个强大的代理系统。

英文摘要:

We present RoboPhD, a system where AI agents autonomously conduct research to improve Text-to-SQL performance. RoboPhD implements a closed-loop evolution cycle with two coordinated components: a SQL Generation agent composed of a database analysis script and SQL generation instructions, and an Evolution agent that designs new versions based on performance feedback. Central to the framework is an ELO-based selection mechanism enabling survival-of-the-fittest dynamics while handling non-transitivity in performance. Starting from a naive 70-line baseline, RoboPhD evolves agents through iterative cross-pollination, discovering effective techniques without any external guidance on the Text-to-SQL domain. Our best agent, evolved to 1500 lines over 18 iterations, autonomously discovered strategies such as size-adaptive database analysis that adjusts depth based on schema complexity and SQL generation patterns for column selection, evidence interpretation, and aggregation. Evolution provides the largest gains on cheaper models: while we improve by 2.3 points over a strong Claude Opus 4.5 naive baseline, we show an improvement of 8.9 points over the weaker Claude Haiku model. This enables 'skip a tier' deployment: evolved Haiku exceeds naive Sonnet accuracy, and evolved Sonnet exceeds naive Opus, both at lower cost. The full system achieves 73.67% accuracy on the BIRD test set, demonstrating that AI can autonomously build a strong agentic system with only a trivial human-provided starting point.

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

↑