arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.22502cs.AIcs.LG
收藏

将代理工作流编译为LLM权重:在成本上减少两个数量级的情况下实现接近前沿质量

Compiling Agentic Workflows into LLM Weights: Near-Frontier Quality at Two Orders of Magnitude Less Cost

University of Melbourne(墨尔本大学)

Simon Dennis, Rivaan Patil, Kevin Shabahang, Hao Guo

AI总结:

本文研究如何将代理工作流编译为LLM权重以提高效率,通过在旅行预订、Zoom支持和保险索赔等任务中验证,展示了编译方法在减少成本的同时保持高质量性能。

摘要:

代理编排框架已经普及,共同超过了LangGraph、CrewAI、Google ADK、OpenAI Agents SDK、Semantic Kernel、Strands和LlamaIndex在内的290,000多个GitHub星标。所有框架都遵循相同模式:一个外部编排器位于LLM之上,每回合注入指令并路由决策。最近的工作表明,这种架构在处理过程性任务时,只需在前沿模型的系统提示中提供过程即可[Dennis et al., 2026a],但代价是消耗上下文窗口、需要为每次对话提供一个前沿模型,并将专有过程暴露给第三方提供者。将过程编译到小型微调模型的权重中——创建一个地下代理——应解决所有这些担忧,先前工作(SimpleTOD、FireAct、SynTOD、WorkflowLLM、Agent Lumos)已展示了该技术的可行性。然而,开发者采用却 overwhelmingly 倾向于编排。我们识别了三个感知障碍,并在旅行预订(14个节点)、Zoom支持(14个节点,产品特定知识)和保险索赔(55个节点,6个决策中心)中通过实证方法解决每个障碍。

英文摘要:

Agent orchestration frameworks have proliferated, collectively exceeding 290,000 GitHub stars across LangGraph, CrewAI, Google ADK, OpenAI Agents SDK, Semantic Kernel, Strands, and LlamaIndex. All follow the same pattern: an external orchestrator above the LLM, injecting instructions and routing decisions every turn. Recent work has shown this architecture is dominated for procedural tasks by simply providing the procedure in a frontier model's system prompt [Dennis et al., 2026a], at the cost of consuming the context window, requiring a frontier model for every conversation, and exposing proprietary procedures to third-party providers. Compiling the procedure into the weights of a small fine-tuned model -- creating a subterranean agent -- should resolve all of these concerns, and prior work (SimpleTOD, FireAct, SynTOD, WorkflowLLM, Agent Lumos) has shown the technique works. Yet developer adoption has overwhelmingly favored orchestration. We identify three perceived barriers and address each empirically across travel booking (14 nodes), Zoom support (14 nodes, product-specific knowledge), and insurance claims (55 nodes, 6 decision hubs).

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

↑