少读多解:AI智能体对外部内容的高效令牌稀疏阅读
研究论文 · 2026/11/12
面向网络的AI代理反复访问网页、文档、代码库和工具响应,但读取接口往往暴露整个对象,而实际只需稀疏证据。这种过度读取增加了token和延迟成本,并可能稀释相关证据。我们提出SparseRead,一种可复用的读取控制层,在不修改代理模型的情况下管理内容准入。其读取意图协议跟踪不断变化的需求和来源覆盖;自适应读取后端选择如何定位和暴露证据;预算化读取门控通过忠实的全视图回退限制每轮累计原始暴露。统一的读取器接口支持跨异构资源的可互换证据获取。在包括Claude Opus 5在内的六个模型和五个场景中,SparseRead将总token减少高达92.9%,墙钟时间减少高达89.0%,在97%的设置中保持或提高任务质量。在Web深度搜索任务中,它减少token 31.0-43.0%,任务完成时间减少23.0-37.0%。消融实验验证了三种设计,与三个代理框架的集成证明了可移植性。
该研究提出了一种通用的读取控制层,能显著降低AI代理的token消耗和延迟,同时保持或提升任务质量,且易于集成到现有框架中,对提升代理效率和降低成本具有实际意义。
Web-facing AI agents repeatedly access webpages, documents, repositories, and tool responses, yet reading interfaces often expose entire objects when only sparse evidence is needed. This over-reading increases token and latency costs and can dilute relevant evidence. We present SparseRead, a reusable reading control layer that governs content admission without modifying the agent model. Its Read Intent Protocol tracks evolving needs and source coverage; Adaptive Reader Backends select how evidence is located and exposed; and the Budgeted Read Gate bounds cumulative raw exposure per episode with faithful full-view fallback. A unified Reader interface supports interchangeable evidence acquisition across heterogeneous resources. Across six models, including Claude Opus 5, and five scenarios, SparseRead reduces total tokens by up to 92.9% and wall time by up to 89.0%, preserving or improving task quality in 97% settings. On Web deep-search tasks, it reduces tokens by 31.0--43.0% and task completion time by 23.0--37.0%. Ablations validate the three designs, while integration with three agent frameworks demonstrates portability.