ZEBRA:面向LLM编排的零样本预算资源分配框架
ZEBRA: Zero-shot Budgeted Resource Allocation for LLM Orchestration
ZEBRA将多阶段LLM流水线的预算分配转化为连续非线性背包问题,由LLM控制器估计各阶段效用曲线,再通过拉格朗日乘子上的注水搜索求解各阶段预算切分。在150项APPS编码基准上,预算为无约束开销的α=0.5时,ZEBRA恢复94.4%的无约束质量,LLM-direct为88.1%。在3阶段HotpotQA流水线上,ZEBRA比LLM-direct高9.5pp,且分配对曲线估计噪声具有鲁棒性。
arXiv:2605.20485v2 Announce Type: replace Abstract: As autonomous agents increasingly execute end-to-end tasks under fixed monetary budgets, the pressing open question shifts from whether the budget is respected, to how to spend it effectively. Existing budget-aware methods typically control reasoning step-by-step within a single agent, or learn resource allocation policies via RL. None address how to split a budget across the composing phases of a multi-agent pipeline at inference time. We propose ZEBRA, a zero-shot framework that reduces multi-phase budget allocation to a continuous nonlinear knapsack problem: an LLM controller estimates per-phase utility curves, and a water-filling search on the Lagrange multiplier returns the per-phase split. Additive and multiplicative aggregations are unified under the same solver. On a 150-task APPS coding benchmark, both ZEBRA variants outperform LLM-direct (budget allocation directly by an LLM) on every aggregate metric. At a budget of $\alpha = 0.5$ of the unconstrained spend, ZEBRA recovers 94.4% of unconstrained quality, versus 88.1% for LLM-direct. The advantage is statistically significant and transfers beyond coding: on a 3-phase HotpotQA pipeline, ZEBRA beats LLM-direct by 9.5pp, with allocations empirically robust to curve-estimation noise. On HotpotQA, ZEBRA arrives at a different budget split (near-balanced) compared to the APPS one (skewed towards a refinement phase), showing adaptation to the pipeline structure. More broadly, we show that lightweight algorithmic guidance at inference time can improve the economic behavior of autonomous multi-agent systems.
来源:arXiv (AI + Vision + Imaging) · arxiv.org