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

代理框架用于推理任务:一项实证研究

Agentic Frameworks for Reasoning Tasks: An Empirical Study

Faculty of Information Technology and Communication Sciences, Tampere University(信息科技与通信科学学院,塔尔塔大学)

Zeeshan Rasheed, Abdul Malik Sami, Muhammad Waseem, Kai-Kristian Kemell, Mika Saari, Pekka Abrahamsson

AI总结:

本文通过实证研究评估了22种代理框架在BBH、GSM8K和ARC三个推理基准上的表现,发现19种框架完成所有任务,其中12种性能稳定,但数学推理能力下降显著。

摘要:

近期代理框架的进步使AI代理能够执行复杂的推理和决策。然而,比较其推理性能、效率和实际适用性的证据仍然有限。为填补这一空白,我们实证评估了22种广泛使用的代理框架在三个推理基准上的表现:BBH、GSM8K和ARC。这些框架从2023年1月至2025年7月期间收集的1200个GitHub仓库中选出,并根据架构设计进行分类。我们统一设置评估环境,测量推理准确性、执行时间、计算成本和跨基准一致性。我们的结果表明,22种框架中有19种完成了所有三个基准。其中12种表现出稳定的性能,平均准确率为74.6-75.9%,执行时间为每项任务4-6秒,成本为每项任务0.14-0.18美分。较差的结果主要是由于协调问题而非推理限制。例如,Camel在11天后未能完成BBH,因为上下文增长失控,而Upsonic在一天内消耗了1434美元,因为重复提取失败触发了昂贵的重试。AutoGen和Mastra也因迭代交互导致提示长度增加而耗尽API配额。我们还发现数学推理能力显著下降。GSM8K的平均准确率为44.35%,相比之下,BBH和ARC分别为89.80%和89.56%。总体而言,本研究提供了首个大规模的代理框架在推理密集型软件工程任务中的实证比较,并表明框架选择应优先考虑协调质量,特别是内存控制、故障处理和成本管理。

英文摘要:

Recent advances in agentic frameworks have enabled AI agents to perform complex reasoning and decision-making. However, evidence comparing their reasoning performance, efficiency, and practical suitability remains limited. To address this gap, we empirically evaluate 22 widely used agentic frameworks across three reasoning benchmarks: BBH, GSM8K, and ARC. The frameworks were selected from 1,200 GitHub repositories collected between January 2023 and July 2025 and organized into a taxonomy based on architectural design. We evaluated them under a unified setting, measuring reasoning accuracy, execution time, computational cost, and cross-benchmark consistency. Our results show that 19 of the 22 frameworks completed all three benchmarks. Among these, 12 showed stable performance, with mean accuracy of 74.6-75.9%, execution time of 4-6 seconds per task, and cost of 0.14-0.18 cents per task. Poorer results were mainly caused by orchestration problems rather than reasoning limits. For example, Camel failed to complete BBH after 11 days because of uncontrolled context growth, while Upsonic consumed USD 1,434 in one day because repeated extraction failures triggered costly retries. AutoGen and Mastra also exhausted API quotas through iterative interactions that increased prompt length without improving results. We also found a sharp drop in mathematical reasoning. Mean accuracy on GSM8K was 44.35%, compared with 89.80% on BBH and 89.56% on ARC. Overall, this study provides the first large-scale empirical comparison of agentic frameworks for reasoning-intensive software engineering tasks and shows that framework selection should prioritize orchestration quality, especially memory control, failure handling, and cost management.

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

↑