OnTrack: Real-Time Monitoring and Intervention in LLM Agent Trajectories via Streaming Structure-Aware Optimal Transport
- ID: c885ca78
- 原文链接: https://arxiv.org/abs/2610.12375
- PDF: https://arxiv.org/pdf/2610.12375v1
- 作者: Babak Barazandeh, Connor Swanson, Chinmay Kulkarni, Nikhil Mungel
- 日期: 2026-10-08
- 更新: 2026-10-08
- 分类: agents
- 来源类型: paper
- 标签: agent-monitoring, streaming, optimal-transport, cost-control, swebench
- 质量评分: 4/5
- 抓取时间: 2026-10-11T12:21:43Z
中文导读
LLM agent 常被直接放到差旅规划、股票交易、IT 事件分诊这类场景里自主运行,传统两条监控路线各有代价:safeguard agent 每一步都加成本和延迟,事后日志分析则等 token 烧完、损害已发生才给结论。OnTrack 是一个流式监控机制,把 agent 当前的步骤与依赖关系同历史成功运行做对比,约每步一毫秒内告警或阻断。论文按数据可得性分三档研究:完整参照(历史运行+工具 schema)、仅有工具 schema、仅有逐步日志,能力从计划偏离检测递减到识别死循环、卡滞与重复工具调用。在 SWE-bench 轨迹上,仅看前 8 步,该方法把失败轨迹排在成功轨迹之后的能力优于内容相似度方法(+0.057 AUROC);配合中止策略可省下约 18% 原本会烧在失败运行上的算力,被中断的运行中 83% 确实在走向失败(6 次中止 5 次正确)。
为什么值得关注
毫秒级 agent 轨迹流式监控:OnTrack 拿历史成功运行当参照,按步告警或阻断。
监控与技能库是 agent 系统走向长期自主运行的两块基础件:前者决定出问题时多快被发现(OnTrack 把判定压到每步约一毫秒,用历史成功轨迹做参照),后者决定 agent 能不能把成功经验变成可复用资产(ViSkill 把技能留在视觉模态里,避免文本化丢几何结构)。两篇都给出了可复现的量化证据。
关键信息
- 论文标题:OnTrack: Real-Time Monitoring and Intervention in LLM Agent Trajectories via Streaming Structure-Aware Optimal Transport
- 作者:Babak Barazandeh, Connor Swanson, Chinmay Kulkarni, Nikhil Mungel
- arXiv:https://arxiv.org/abs/2610.12375
- 发布时间:2026-10-08
- arXiv 分类:cs.AI, cs.CL, cs.CY, cs.LG
- 关联标签:agent-monitoring, streaming, optimal-transport, cost-control, swebench
English Abstract
Agents are deployed in applications from trip planners and stock trading to IT incident triage. In most cases, LLM agents work autonomously with minimal rule-based safeguarding, leading to cost and safety issues from irreversible actions. Recent works resolve this either by using a safeguard agent to monitor behavior or evaluating logs post-hoc. The first adds cost and latency to every step; the second delivers its verdict after the run, when tokens are burned and damage is done. To overcome this, we propose OnTrack, a streaming monitoring mechanism that compares an agent's steps and dependencies against recorded successful runs to alert users or block the agent in about a millisecond per step. We study this problem in three regimes of decreasing access: full reference access (historical runs and tool schemas), intermediate access (only tool schemas), and no prior knowledge (only step logs as generated). Expectation of OnTrack's monitoring capabilities reduces as data access drops, ranging from plan violation detection to identifying loops, stalls, and repeated tool calls. Finally, we evaluate OnTrack using SWE-bench trajectories. Based on the first 8 steps, our method ranks failing trajectories below succeeding ones better than content similarity approaches (+0.057 AUROC). With an abort policy, we save about 18% of compute that would be burned on failing runs, where 83% of interrupted runs were actually heading to failure (5 out of 6 aborts were correct).
English Summary
Agents are deployed in applications from trip planners and stock trading to IT incident triage. In most cases, LLM agents work autonomously with minimal rule-based safeguarding, leading to cost and safety issues from irreversible actions. Recent works resolve this either by using a safeguard agent to monitor behavior or evaluating logs post-hoc. The first adds cost and latency to every step; the second delivers its verdict after the run, when tokens are burned and damage is done. To overcome this, we propose OnTrack, a streaming monitoring mechanism that compares an agent's steps and dependencies against recorded successful runs to alert users or block the agent in about a millisecond per step. We study this problem in three regimes of decreasing access: full reference access (historical runs and tool schemas), intermediate access (only tool schemas), and no prior knowledge (only step logs as generated). Expectation of OnTrack's monitoring capabilities reduces as data access drops, ranging from plan violation detection to identifying loops, stalls, and repeated tool calls. Finally, we evaluate OnTrack using SWE-bench trajectories. Based on the first 8 steps, our method ranks failing trajectories below succeeding ones better than content similarity approaches (+0.057 AUROC). With an abort policy, we save about 18% of compute that would be burned on failing runs, where 83% of interrupted runs were actually heading to failure (5 out of 6 aborts were correct).
Obsidian Notes
- 内容由
opencli arxiv paper拉取 arXiv 元数据与摘要生成。 - 中文导读与价值判断均锚定在条目已有摘要、论文摘要、作者、日期与分类信息上;未补充论文摘要之外的实验细节。