更多并不总是更好:LLM代理构建中的跨组件干扰
More Is Not Always Better: Cross-Component Interference in LLM Agent Scaffolding
AI总结:
研究LLM代理系统中组件交互导致的性能下降,发现最优组件数量依赖任务和模型规模,贪心选择不可靠,需通过交互分析进行任务特定子集选择。
摘要:
LLM代理系统通过叠加构建组件(规划、工具、记忆、自我反思、检索)假设更多更好。我们研究跨组件干扰(CCI):组件交互破坏性导致的退化。我们在HotpotQA和GSM8K上对五个组件的所有32个子集进行全因子实验,使用Llama-3.1-8B/70B(96条件,最多10个种子)。All-In系统始终不优:在HotpotQA,单工具代理比All-In高32%(F1 0.233 vs 0.177,p=0.023);在GSM8K,3个组件子集比All-In高79%(0.43 vs 0.24,p=0.010)。最优组件数量依赖任务(k*=1-4)和规模敏感:在70B时,对8B有害的组合在70B提供收益,尽管All-In仍落后于最佳子集。我们拟合主效应回归(R²=0.916,adj-R²=0.899,LOOCV=0.872),计算精确Shapley值,发现183/325次子模性违反(56.3%),显示贪心选择不可靠。报告Tool Use、Self-Reflection和Retrieval三体协同(INT_3=+0.175,95% CI [+0.003,+0.351])作为探索性发现。CCI在模型家族(Qwen2.5)和提示改写中具有可重复性和鲁棒性。我们的发现表明,最大配置代理默认应被任务特定子集选择取代,通过交互分析。
英文摘要:
LLM agent systems are built by stacking scaffolding components (planning, tools, memory, self-reflection, retrieval) assuming more is better. We study cross-component interference (CCI): degradation when components interact destructively. We run a full factorial experiment over all 2^5=32 subsets of five components on HotpotQA and GSM8K with Llama-3.1-8B/70B (96 conditions, up to 10 seeds). The All-In system is consistently suboptimal: on HotpotQA, a single-tool agent surpasses All-In by 32% (F1 0.233 vs 0.177, p=0.023); on GSM8K, a 3-component subset beats All-In by 79% (0.43 vs 0.24, p=0.010). Optimal component count is task-dependent (k*=1-4) and scale-sensitive: at 70B, combinations that hurt at 8B provide gains, though All-In still trails the best subset. We fit a main-effects regression (R^2=0.916, adj-R^2=0.899, LOOCV=0.872), compute exact Shapley values, and find 183/325 submodularity violations (56.3%), showing greedy selection is unreliable. A three-body synergy among Tool Use, Self-Reflection, and Retrieval (INT_3=+0.175, 95% CI [+0.003,+0.351]) is reported as exploratory. CCI replicates across model families (Qwen2.5) and is robust to prompt paraphrasing. Our findings suggest maximally-equipped agent defaults should be replaced by task-specific subset selection via interaction-aware analysis.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。