Annotrace:用于智能体轨迹的步骤级标注工作台
Annotrace: A Workbench for Step-Level Annotation of Agent Traces
AI总结:
Annotrace是一款可读取多种智能体轨迹格式、支持人机协同标注并能衡量标注一致性的工作台,在多智能体问答语料库上实现了高精度标注复现与模型间高一致性。
摘要:
每一项关于大语言模型(LLM)智能体失败原因的研究都始于手动标注轨迹,且每项此类研究都会构建自己的一次性工具。可观测性平台会记录智能体轨迹,但不提供结构化标注;标注工具可对文本进行标注,但不具备步骤、委托或工具调用的概念,导致不清楚应标注的最小执行单元是什么。Annotrace可读取六种轨迹格式,包括OpenTelemetry GenAI、LangSmith和Langfuse,并将每次运行转换为有序的嵌套步骤列表。标注人员编写自己的标注代码本;前沿模型从其自身轨迹样本中提出初始标注集,回答第一个问题,并被要求回答与人类相同的问题,使标注成为人机协同过程。Annotrace可衡量任意两个标注者(人类或AI)之间的一致性。在多智能体问答语料库上,它精确复现了之前人工工作的235个标注单元,且两个模型对相同轨迹的标注一致性达91%,κ值为0.82。
英文摘要:
Every study of why LLM agents fail begins by labelling traces by hand, and every such study builds its own throwaway tool. Observability platforms record agent traces but offer no structured labelling; annotation tools label text but have no notion of a step, a delegation or a tool call, leaving it unclear what the smallest unit of execution to label should be. Annotrace reads six trace formats, including OpenTelemetry GenAI, LangSmith and Langfuse, and turns each run into an ordered, nested list of steps. The annotator writes their own labelling codebook; a frontier model proposes a starting set from a sample of their own traces, answers first, and is asked exactly the questions the human is asked, making annotation a joint human-AI process. Annotrace measures agreement between any two annotators, human or AI. On a multi-agent question-answering corpus it reproduces a previous manual effort's 235 annotation units exactly, and two models labelling the same traces agree 91% of the time at $κ= 0.82$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。