检索开始之前:LLM智能体中的安全与工具使用决策 Before Retrieval Begins: Safety and Tool-Use Decisions in LLM Agents 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-10-16
👁️ 预览文献
💡 AI 中文简介
研究关注大语言模型智能体在调用外部工具前的决策过程,即是否调用工具,而非调用后的行为。通过因子干预实验,发现中性化请求中的操作成分能最大程度影响有害请求的采纳率(差异19个百分点),且书面拒绝与工具调用决策仅部分相关。研究表明需直接评估和监督工具调用决策,而非依赖文本拒绝作为代理。
领域人工智能安全与智能体系统
适合谁读需要一定专业背景的读者
核心贡献1. 首次系统研究工具调用前的决策过程,揭示其与下游安全的关系;2. 通过干预实验识别影响决策的关键因素,并证明文本拒绝训练可迁移至调用决策。
关键数据七个开放权重模型平均有害请求采纳率为74.5%;中性化操作成分导致19个百分点的采纳差异;书面拒绝伴随33.6%的有害调用。
推荐理由如果你关心AI智能体如何做安全决策,这篇论文揭示了调用工具前的关键盲点,数据扎实,值得一读。
关键词["大语言模型智能体", "工具调用安全", "决策机制", "拒绝行为", "因子干预"]

原文摘要

查看英文原文摘要

Large language models increasingly act as agents that call external tools, yet most tool-safety research examines only what follows a tool call. The prior decision of whether to call the tool remains largely unexamined and can influence downstream safety. Across the seven open-weight models, the unweighted model-average harm rate after admitted harmful requests is 74.5%. To identify what governs this decision, we apply a factorial intervention to the input request. Within our generated construction, neutralizing the requested-operation component produces the largest admission contrast (19 pp). A linear direction estimated from this contrast influences held-out admission in four of seven models; effects on operation-neutralized requests in some models show that it is not an operation-specific mechanism. We then test whether written refusal is behaviorally and representationally coupled to the same decision. Written refusal accompanies 33.6% of admitted harmful calls. Plain-text refusal training reduces unsafe admission in models that retain benign tool use, showing that response-level safety training can transfer to the call decision. Together, these results establish a partial, model-dependent relation between written refusal and tool admission. They motivate direct evaluation and supervision of tool admission rather than treating text refusal as its proxy.