结构化大语言模型路由在代理专家系统中的运行时负担分配:一种全因子跨后端方法论
Runtime Burden Allocation for Structured LLM Routing in Agentic Expert Systems: A Full-Factorial Cross-Backend Methodology
AI总结:
本文探讨了结构化LLM路由在代理专家系统中的负担分配问题,提出了一种全因子跨后端方法论,通过全面评估不同后端配置下的性能,揭示了后端特定交互效应对性能的主导作用。
摘要:
结构化LLM路由常被视为提示工程问题。我们认为,从根本上说,这是一个系统层面的负担分配问题。随着大语言模型(LLMs)成为代理AI系统的核心控制组件,可靠的结构化路由必须在实际部署约束下平衡正确性、延迟和实现成本。我们证明,这种平衡不仅由提示或模式决定,还由生成堆栈中结构工作如何分配决定:输出结构是否直接由模型生成,是否在传输过程中压缩,或在生成后本地重建。我们通过涵盖48种部署配置和15,552个请求的全面全因子基准测试评估了这一公式,覆盖OpenAI、Gemini和Llama后端。我们的核心发现具有决定性意义:不存在通用最佳路由模式。相反,后端特定的交互效应主导性能。在Gemini和OpenAI上保持高度可靠的模式在Llama上可能会有显著的正确性退化,而压缩实现带来的效率增益则强烈依赖于后端。本文不提供另一种孤立模型比较,而是贡献了一个可部署的框架,用于在异构后端条件下推理结构化路由。我们提供了一种跨后端评估方法论和实用部署指导,以在生产级代理专家系统中导航正确性-成本-延迟前沿。
英文摘要:
Structured LLM routing is often treated as a prompt-engineering problem. We argue that it is, more fundamentally, a systems-level burden-allocation problem. As large language models (LLMs) become core control components in agentic AI systems, reliable structured routing must balance correctness, latency, and implementation cost under real deployment constraints. We show that this balance is shaped not only by prompts or schemas, but also by how structural work is allocated across the generation stack: whether output structure is emitted directly by the model, compressed during transport, or reconstructed locally after generation. We evaluate this formulation through a comprehensive full-factorial benchmark covering 48 deployment configurations and 15,552 requests across OpenAI, Gemini, and Llama backends. Our central finding is consequential: there is no universal best routing mode. Instead, backend-specific interaction effects dominate performance. Modes that remain highly reliable on Gemini and OpenAI can suffer substantial correctness degradation on Llama, while efficiency gains from compressed realization are strongly backend-dependent. Rather than presenting another isolated model comparison, this work contributes a deployable framework for reasoning about structured routing under heterogeneous backend conditions. We provide a cross-backend evaluation methodology and practical deployment guidance for navigating the correctness-cost-latency frontier in production-grade agentic expert systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。