计算机科学 > 计算与语言
[提交于 2026年5月26日 (v1),最后修订于 2026年9月19日 (此版本, v2)]
标题:TRACES: Proactive Safety Auditing for Multi-Turn LLM Agents via Trajectory-State Modeling
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:LLM agents increasingly operate through multi-turn tool use and environment interaction, where safety risks often emerge from intermediate steps long before they surface in the final outcome. Reactive auditing is therefore insufficient: post-hoc diagnosis frequently misses the chance to flag risks while they are unfolding. We propose TRACES, a representation-based proactive auditor that learns prefix-level trajectory risk states from the hidden representations of an observer LLM. TRACES induces latent mechanism features from step representations and models their temporal evolution to estimate whether a partial trajectory is drifting toward unsafe behavior. To sidestep the cost and ambiguity of step-level risk annotation, TRACES is trained with weak trajectory-level supervision while still producing dense prefix-level risk estimates. Across multiple agent safety benchmarks, TRACES improves both full-trajectory safety prediction and proactive risk discrimination. Our analyses further suggest that these risk states can help train a safer agent, highlighting the broader potential of proactive auditing for long-horizon agent safety.
提交历史
来自:Jiaqian Li[v1] 2026年5月26日 星期二 21:11:02 UTC (751 KB)
[v2] 2026年9月19日 星期六 19:50:38 UTC (758 KB)