将大语言模型用作智能体:成本几何?
摘要
这篇 arXiv 论文提出了语言模型智能体机器(LAM),这是一个受资源约束的框架,用于量化 LLM 智能体框架(上下文、记忆、工具、验证)的计算成本,建立了下界与可靠性结论,并在 GPT-6 Astra 上进行了验证。
查看缓存全文
缓存时间: 2026/10/05 10:05
# Harnessing LLMs as Agents: What Does It Cost? Source: [https://arxiv.org/abs/2610.02488](https://arxiv.org/abs/2610.02488) [View PDF](https://arxiv.org/pdf/2610.02488) > Abstract:Language\-model agents increasingly rely on harnesses that manage bounded context, persistent memory, tools, verification, and repeated execution, yet existing notions of model capability do not quantify the computational resources these mechanisms consume\. We introduce the Language Model Agent Machine \(LAM\), a resource\-bounded abstraction that fixes the underlying semantic model while explicitly charging harness\-level resources\. We establish four classes of results\. Communication: LAM execution is instancewise equivalent to red\-\-blue pebbling under simultaneous call\-\-transfer budgets, transferring classical I/O lower bounds to context\-\-memory traffic\. Access: memory interfaces induce asymptotic separations, including a $\\Theta\(n\)$ gap between random and non\-speculative sequential access on pointer chasing\. Recomputation: bit\-reversal DAGs require $\\Theta\(n^2/\(C\+S\)\+n\)$ model calls with context capacity $C$ and persistent\-memory capacity $S$, quantifying when stored intermediate state avoids repeated semantic computation\. Reliability: we derive tight stage\-local sampling bounds, exact imperfect\-verification costs, and a Young\-\-Daly\-type checkpoint law with a closed\-form optimal verification interval\. Controlled and held\-out experiments on GPT\-6 Astra test communication and reliability predictions, including checkpoint optima, policy selection under programmatic checking, and tradeoffs among call granularity, logical input traffic, and reliability on chained MATH tasks\. Together, these results provide a resource theory for the computational cost of language\-model agent harnesses\. ## Submission history From: Zelin Zhao \[[view email](https://arxiv.org/show-email/fc60db2d/2610.02488)\] **\[v1\]**Thu, 1 Oct 2026 21:05:49 UTC \(1,820 KB\)
相似文章
LLM Agents Factory: Retrieval of Domain-Specific LLM Agents
The paper presents LLM Agents Factory, a retrieval-based framework that constructs domain-specific LLM agents from a base of over 20K predefined agent profiles, offering a cost-efficient and controllable alternative to dynamic agent generation. Experiments show accuracy comparable to AutoGen with a 120B backbone at substantially lower inference cost.
@LangChain: 管理LLM支出变得更难,一旦你的团队开始使用多个代理调用多个模型。没有……
本文提供了一个指南,介绍如何使用LangSmith LLM Gateway来设置和执行成本控制,以管理使用多个LLM代理时的开支。
AutoLLMResearch:通过从低成本学习来优化高成本,训练研究智能体以自动化大型语言模型实验配置
本文介绍了 AutoLLMResearch,这是一个智能体框架,旨在通过在低保真环境中学习并外推至高成本设置,实现昂贵的大型语言模型(LLM)实验配置的自动化。其目标是减少可扩展 LLM 研究中的计算浪费以及对专家直觉的依赖。
一个 Token 值多少算力?基于 Mixture-of-Agents 测量大模型的每 Token 充分算力
本文利用由 Qwen、OLMo 和 R1-distilled 系列共 15 个模型组成的 Mixture-of-Agents 评审面板,测量了大模型的每 Token「充分算力」。研究发现,一个 0.5B 的小模型即可复现参考模型 92%–95% 的输出 Token,而成本最高的 10% Token 却占用了 64%–80% 的 FLOPs。由此得到的每 Token 算力分布图将模型路由延迟从 7.59 秒降低至 5.12 秒,并使推测式草稿生成所需的草稿 Token 数比固定窗口基线减少 32.6%。
LAMB:面向长时程大语言模型智能体的隐式多假设信念
LAMB 是一个面向长时程 LLM 智能体的循环框架,用于维护隐式多假设信念。该框架将记忆分解为共享的 Common 状态和加权的 Delta 分量,并在 ALFWorld、ScienceWorld 和 Crafter 上相比 PABU 取得了显著提升。