Daily Tech Briefing
AI 科技速览

每天 5 分钟内学习 AI。获取最新的人工智能新闻,理解其重要性,并学习如何将其应用于您的工作。

AI 快讯
arXiv Machine Learning · 2026/8/1 22:06:52

AOSpec: Action and Observation Co-Speculation for Low-Latency Agent Serving

AI 中文解读
AI智能体的运行速度要迎来大提升了!这项名为AOSpec的新技术,解决了AI在执行任务时“思考”和“动手”无法并行的问题。以前,AI每操作一步都得停下来想清楚再行动,就像打字时每敲一个字都要停顿一下。AOSpec让AI能一边推测下一步要做什么,一边预测操作后的结果,尤其针对那些最耗时、最有价值的步骤提前“预演”,既保证准确不出错,又能大幅缩短等待时间。实测数据显示,在各类AI测试环境中,它能让平均响应速度提升最高三成,最慢的情况更是能提速四成多。对我们普通人来说,这意味着以后用AI处理复杂任务——比如让它帮你操作电脑整理文件、订票或写代码——会明显感觉又快又流畅,不再需要盯着屏幕干等,AI服务的体验会像真人助手一样麻利。
Large language model agents increasingly act through stateful tools, yet model generation and environment execution remain serialized at every step. As decoding accelerates, tool execution becomes a growing bottleneck. Existing action- or observation-only speculation leaves much of this latency exposed: value is concentrated in a few slow calls, some outcomes emerge only through execution, and longer lookahead typically requires an increasingly unlikely chain of action predictions. We present AOSpec, a lossless framework that co-speculates actions and observations across the full agent-environment loop. Expected Value Decoding (EVD) directs observation speculation toward outcomes with the greatest expected latency benefit, optimizing expected time hidden rather than hit rate. For outcomes only execution can reveal, AOSpec launches latency-critical target actions in isolated forks that contain their effects, while Joint Action-State Verification (JASV) verifies both the action and its origin state against committed execution before reuse. JASV recasts long-horizon action dependency from full-chain prediction into target action-state verification, breaking the lookahead--accuracy tradeoff and unlocking long-range overlap without sacrificing serial semantics. Across Terminal-Bench serving settings spanning four harnesses, five actor models, and five serving speeds, AOSpec outperforms every practical baseline, reducing mean end-to-end latency by 11.8-32.5% and p99 latency by up to 42.8%. Its gains increase as decoding accelerates, and its observation model transfers from Terminal-Bench to SWE-bench Verified without retraining.
分享
阅读原文