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

何时更小更环保?为智能体AI匹配合适规模的语言模型

When Is Smaller Greener? Right-Sizing Language Models for Agentic AI

University of Leeds(利兹大学);Ca’Foscari University of Venice(威尼斯卡福斯卡里大学)

Sajid Siraj, Maria Barbati

AI总结:

本文针对智能体AI任务,提出以成功完成的任务为单位评估LLM的决策模型,发现存在交叉任务长度划分任务区间,经试点研究验证了模型的有效性,为LLM的规模匹配合提供了实用框架。

摘要:

AI智能体使用大型语言模型(LLM)进行多步骤规划与行动,但通常按每次调用而非每个完成的任务来比较模型。本文提出问题:智能体应使用哪种模型,既能可靠完成任务,又能最小化能源、成本和时间消耗?研究表明,按每次调用的比较对智能体AI具有误导性,因为任务成功仅当所有必要步骤均成功,单步可靠性的微小差异会导致整体任务成功率的巨大差异,失败尝试也会消耗资源。因此,本文以成功完成的任务为功能单位,评估每个成功完成任务的能源、成本和时间消耗。基于此,开发了用于智能体工作流中选择LLM的决策模型,该模型适用于具有二元或分级结果的任务,以及有或没有重试的场景。研究发现,每种资源都存在一个交叉任务长度,在该长度下,规模更小、可靠性更低的模型不再是更环保、更便宜或更快的选项,这些交叉点将任务分为三个区间:短任务更适合小型模型,长任务更适合大型模型,仅在这两个极端之间,不同目标的偏好才会产生影响。本文将这些结果嵌入到将效率与偏好分离的两阶段框架中:帕累托筛选首先剔除从未具有竞争力的模型,仅当存在真正的权衡时才需要进行加权决策。对来自5家开发者的15个开放权重模型(参数规模从0.6B到27B)进行的试点研究,在两项多步骤智能体任务上测量了GPU能源消耗,验证了预测结构:每个成功完成任务的最低能源消耗模型会随任务长度和任务类型变化,观察到的交叉点通常与单步测量预测的结果匹配。这些发现为智能体AI中语言模型的规模匹配合提供了实用框架。

英文摘要:

AI agents use a large language model (LLM) to plan and act over many steps. Which model should an agent use, so that its tasks are completed reliably with the least energy, cost and time? We treat this as a multi-criteria decision problem in which comparisons per call can mislead: a task succeeds only if all its steps succeed, and failed attempts still use resources. We therefore compare models on resources per successfully completed task. We derive crossover task lengths at which two models exchange their efficiency ranking, determined by their per-step reliability and resource use. Each objective has its own crossover. Below the shortest crossover the less reliable model dominates, above the longest the more reliable one dominates, and in between both are Pareto-efficient and preferences decide. This supports a two-stage framework: a preference-free dominance screen, followed by a multi-criteria ranking of the efficient models, subject to reliability and feasibility constraints. We also give conditions under which this structure holds when reliability and resource use change during a task. In a pilot with 15 open-weight models on two synthetic agent tasks, with measured GPU energy, the predicted crossover fell within the observed range for 72 of the 88 observed crossovers. At 20 steps, a 3-billion-parameter model used a tenth of the energy of a 27-billion one per completed task; at 100 steps, a 1.7-billion model used almost four times as much as an 8-billion one. Smaller is greener only up to a task length that can be predicted.

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

↑