Signals: Trajectory Sampling and Triage for Agentic Interactions

Agent Agent Eval Benchmarks Autonomous Workflows
基于大语言模型的智能体(agent)应用正日益依赖包含规划、动作执行与环境反馈在内的多步交互循环。尽管此类系统目前已大规模部署,但其上线后的持续优化仍面临严峻挑战。智能体的交互轨迹数据量庞大且具有非确定性;无论采用人工审核还是借助辅助大语言模型进行审查,逐一检视每条轨迹均十分耗时,且成本高昂。为此,我们提出一种轻量级、以信号驱动的智能体交互轨迹分类框架。该方法从实时交互中快速计算出成本低廉、普适性强的各类信号,并将其作为结构化属性附加于各条轨迹之上,从而实现高效轨迹筛选——在不干扰线上智能体运行行为的前提下,精准识别出信息量较高的交互样本。我们将这些信号归纳为一个粗粒度的分类体系,涵盖三大维度:交互层面(错位、停滞、脱离、满意)、执行层面(失败、循环)以及环境层面(资源耗尽),所有信号均可在无需调用大语言模型的情况下完成计算。在面向工具增强型智能体评估的主流基准测试集 τ-bench 上开展的一项受控人工标注实验表明:相较于启发式过滤(74%)和随机采样(54%),基于信号的采样策略可将轨迹的信息量达标率提升至82%,同时每条有效信息轨迹的获取效率提高1.52倍。这一优势在不同奖励水平分层及多种任务领域中均保持稳健,证实了所提信号确能带来真实、逐条轨迹级别的信息增益,而不仅限于对显而易见的失败案例进行过采样。上述结果表明,轻量级信号可作为智能体系统实用可行的采样基础设施,并为进一步构建偏好数据集及开展上线后持续优化指明了一条切实可行的技术路径。
Agentic applications based on large language models increasingly rely on multi-step interaction loops involving planning, action execution, and environment feedback. While such systems are now deployed at scale, improving them post-deployment remains challenging. Agent trajectories are voluminous and non-deterministic, and reviewing each one, whether through human review or auxiliary LLMs, is slow and cost-prohibitive. We propose a lightweight, signal-based framework for triaging agentic interaction trajectories. Our approach computes cheap, broadly applicable signals from live interactions and attaches them as structured attributes for trajectory triage, identifying interactions likely to be informative without affecting online agent behavior. We organize signals into a coarse-grained taxonomy spanning interaction (misalignment, stagnation, disengagement, satisfaction), execution (failure, loop), and environment (exhaustion), designed for computation without model calls. In a controlled annotation study on $τ$-bench, a widely used benchmark for tool-augmented agent evaluation, we show that signal-based sampling achieves an 82\% informativeness rate compared to 74\% for heuristic filtering and 54\% for random sampling, with a 1.52x efficiency gain per informative trajectory. The advantage is robust across reward strata and task domains, confirming that signals provide genuine per-trajectory informativeness gains rather than merely oversampling obvious failures. These results show that lightweight signals can serve as practical sampling infrastructure for agentic systems, and suggest a path toward preference data construction and post-deployment optimization.
许愿