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

Arbor:作为自主智能体认知层的树搜索

Arbor: How Search Policy Shapes Agent Behavior in System Optimization

AMD

Neha Prakriya, Chaojun Hou, Zheng Gong, Huasha Zhao, Yanyuan Qin, Chris Cai, Xi Zhao, Zhenyu Gu, Emad Barsoum

AI总结:

提出Arbor多智能体框架,通过结构化树搜索作为认知层,在大型有状态动作空间中实现自主优化,在LLM推理优化中实现高达193%的吞吐量-延迟帕累托改进。

摘要:

Arbor是一个多智能体框架,引入了结构化树搜索作为自主智能体在大型有状态动作空间中运行的认知层。先前的自主优化系统在具有无状态评估的孤立目标上运行。相反,Arbor维护一个显式的得分假设搜索树,作为跨智能体的共享工作记忆,随着每次测量而演变,将失败视为诊断信号以重塑后续探索,并随着先前的成功转移瓶颈分布而扩展。我们在全栈LLM推理优化上验证了Arbor,这是一个历史上需要应用程序、框架、编译器、内核和硬件栈的工程团队协调努力才能达到峰值性能的领域。Arbor将Orchestrator智能体(通过将优化委托给推理栈中的领域专家来驱动优化)与Critic智能体(通过根本原因分析、内省和测量验证来维护稳定性)配对——这是一种制衡架构,其中没有一个智能体可以单方面驱动系统。智能体能力被分解为硬技能(领域专业知识)和软技能(决定贡献如何组合的协调协议),从而实现完全自主的多日活动。Arbor在供应商优化的基线上实现了高达193%的推理吞吐量-延迟帕累托改进,而没有该框架的单个智能体在吞吐量改进上达到+33%后几小时内就不可恢复地崩溃。Arbor可推广到多代硬件平台,运行间方差在2个百分点以内,表明该方法与硬件无关且可重复。

英文摘要:

Achieving peak performance on modern accelerators requires coordinated optimization across kernels, operator fusion, KV-cache management, quantization, scheduling, and communication overlap, a process that demands weeks of expert effort per model and hardware platform. We present Arbor, a system that gives autonomous agents an explicit optimization tree to reason over, backtrack through, and deepen with experience, with pluggable search policies, scored bandit traversal, parallel agent swarms, and depth-first sweep, sharing a common harness of containerized isolation, automatic rollback, and end-to-end validation. Arbor generalizes across domains: +40% to +193% on six production inference models across two GPU generations, +42.8% on LLM training, and +41% on recommendation training, where agents autonomously wrote kernel-level and framework-level optimizations spanning thousands of lines of code. In controlled ablations where every search policy receives the same agent, tree, and tools, we find that search structure shapes both the magnitude and the nature of the optimizations. The bandit achieves +30.1% through targeted framework fixes, the sweep +26.4% through deep kernel rewrites, and the swarm +33.4% by compounding independent changes. An agent-driven loop that receives the same harness, tools, and information, but selects its own targets reaches +14%, writing 4x more code per percentage point of improvement than Arbor's structured search policies. We additionally introduce an evaluation framework for autonomous loop-based agents spanning efficiency, grounding, robustness, and depth, designed to characterize agent search behavior across long-running optimization campaigns.

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

↑