arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.16205cs.AIcs.CLcs.LGcs.MAcs.SYeess.SY
收藏

上下文、推理与层次:在对抗性POMDP中的复合LLM代理设计成本-性能研究

Context, Reasoning, and Hierarchy: A Cost-Performance Study of Compound LLM Agent Design in an Adversarial POMDP

Carleton University(卡尔顿大学)

Igor Bogdanov, Chung-Horng Lung, Thomas Kunz, Jie Gao, Adrian Taylor, Marzia Zaman

AI总结:

研究探讨了在对抗性部分可观测序贯环境中,复合LLM代理设计的上下文、推理和层次分解对性能与成本的影响,发现程序化状态抽象在成本效率上表现最佳,而分层分解无需推理可获得最佳性能。

摘要:

在对抗性、部分可观测的序贯环境中部署复合LLM代理需要处理多个设计维度:(1)代理所见的内容,(2)其推理方式,以及(3)任务在组件间的分解。然而,从业者缺乏指导,以确定哪些设计选择能提升性能而非仅仅增加推理成本。我们通过CybORG CAGE-2环境(建模为部分可观测马尔可夫决策过程POMDP)进行受控研究。奖励为非正数,因此所有配置均在故障缓解模式下运行。我们的评估涵盖五种模型家族、六种模型和十二种配置(3,475次回合),并进行逐token的成本计算。我们变化上下文表示(原始观察与确定性状态跟踪层压缩历史)、推理(自我提问、自我批评和自我改进工具,可选思维链提示)以及分层分解(单体ReAct与委托给专门子代理)。我们发现:(1)程序化状态抽象在每token花费上获得最大回报(RPTS),在原始观察上提升均值回报高达76%。 (2)在分层中分布推理工具相对于单独分层,对所有五种模型家族均降低性能,达到3.4倍更差的均值回报,同时使用1.8-2.7倍更多token。我们称此破坏性模式为推理瀑布。 (3)没有推理的分层分解在大多数模型中获得最佳绝对性能,且上下文工程通常比推理更经济有效。这些发现表明在结构对抗性POMDPs中的设计原则:投资于程序化基础设施和清洁任务分解,而不是更深入的单个代理推理,因为这些策略在结合时可能会相互干扰。

英文摘要:

Deploying compound LLM agents in adversarial, partially observable sequential environments requires navigating several design dimensions: (1) what the agent sees, (2) how it reasons, and (3) how tasks are decomposed across components. Yet practitioners lack guidance on which design choices improve performance versus merely increase inference costs. We present a controlled study of compound LLM agent design in CybORG CAGE-2, a cyber defense environment modeled as a Partially Observable Markov Decision Process (POMDP). Reward is non-positive, so all configurations operate in a failure-mitigation mode. Our evaluation spans five model families, six models, and twelve configurations (3,475 episodes) with token-level cost accounting. We vary context representation (raw observations vs. a deterministic state-tracking layer with compressed history), deliberation (self-questioning, self-critique, and self-improvement tools, with optional chain-of-thought prompting), and hierarchical decomposition (monolithic ReAct vs. delegation to specialized sub-agents). We find that: (1) Programmatic state abstraction delivers the largest returns per token spent (RPTS), improving mean return by up to 76% over raw observations. (2) Distributing deliberation tools across a hierarchy degrades performance relative to hierarchy alone for all five model families, reaching up to 3.4$\times$ worse mean return while using 1.8-2.7$\times$ more tokens. We call this destructive pattern a deliberation cascade. (3) Hierarchical decomposition without deliberation achieves the best absolute performance for most models, and context engineering is generally more cost-effective than deliberation. These findings suggest a design principle for structured adversarial POMDPs: invest in programmatic infrastructure and clean task decomposition rather than deeper per-agent reasoning, as these strategies can interfere when combined.

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

↑