FlashEvolve:通过异步阶段协调加速智能体自我进化
FlashEvolve: Accelerating Agent Self-Evolution with Asynchronous Stage Orchestration
AI总结:
本文提出FlashEvolve框架,通过异步工作流和队列降低智能体自我进化的时间成本,提升吞吐量和token效率,在GEPA任务中实现3.5倍和4.9倍的提升。
摘要:
基于大语言模型的进化已成为提升智能体的有效方法,但其时间成本仍是瓶颈。本文发现该成本源于同步阶段执行和LLM密集阶段内的不平衡。FlashEvolve框架通过异步工作者和队列替代同步执行,允许不同阶段和步骤重叠。为处理异步引入的数据过时问题,FlashEvolve追踪artifact版本并应用不同策略更新、丢弃或修补过时artifact。不同于异步RL中的权重空间过时,语言空间过时可检查和修复:过时artifact不仅是延迟工作,更是LLM可反思、修订并转化为有用进化信号的证据。FlashEvolve进一步通过推测阶段完成和自适应工作流控制提升吞吐量和token效率。在GEPA工作负载上,FlashEvolve在本地vLLM和API服务中分别提升提案吞吐量3.5倍和4.9倍。相同设计也适用于ACE和Meta-Harness。
英文摘要:
LLM-based evolution has emerged as a promising way to improve agents by refining non-parametric artifacts, but its wall-clock cost remains a major bottleneck. We identify that this cost comes from synchronized stage execution and imbalance inside each LLM-heavy stage. We present FlashEvolve, an efficient framework that replaces synchronized execution with asynchronous workers and queues, allowing different stages and steps to overlap. To handle data staleness introduced by asynchrony, FlashEvolve tracks artifact versions and applies different policies to update, discard, or patch stale artifacts. Unlike weight-space staleness in asynchronous RL, language-space staleness is inspectable and repairable: a stale artifact is not just delayed work, but readable evidence that the LLM can reflect on, revise, and turn into useful evolution signal. FlashEvolve further improves throughput and token efficiency with speculative stage completion and adaptive workflow control. On GEPA workloads, FlashEvolve improves proposal throughput by $3.5\times$ on local vLLM and $4.9\times$ on API serving over synchronous GEPA. The same design also applies to ACE and Meta-Harness.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。