先派侦察兵:提示注入防御中自适应检测器分配的预推理方法
Send a SCOUT First: Pre-hoc Reasoning for Adaptive Detector Allocation in Prompt-Injection Defense
AI总结:
针对提示注入检测器异构且不可靠的问题,提出SCOUT框架,通过预测每个检测器对每个样本的可靠性和延迟,动态分配检测器,实现安全性与效率的权衡。
摘要:
提示注入检测器是异构的:每个检测器在不同攻击切片上表现强劲,但没有一个始终可靠。然而现有系统仍将检测视为固定的单检测器流水线,将每个请求提交给一个检测器的盲点。我们将防御重新定义为检测器分配:给定一个异构池,决定每个请求运行哪些检测器以及是否升级到LLM法官。我们的框架SCOUT(可扩展且可控的结果预测用于不确定性感知分诊)通过预测每个检测器在类似历史输入上的样本级可靠性和延迟,使这一决策动态化,并向操作员暴露一个单一的安全-效用阈值(其中效用包含良性通过率和挂钟时间)。为了评估这一设置,我们构建了SCOUT-450基准,该基准捕捉了旧提示注入集未充分代表的、结构复杂的面向代理的注入。在SCOUT-450上,相对于始终开启的GPT-4o法官,安全导向的工作点将攻击成功率降低46%,总挂钟时间降低40%,同时良性效用下降5.1个百分点。SCOUT还迁移到三个外部基准(BIPIA、IPI和IHEval),改善了安全-效用前沿。
英文摘要:
Prompt-injection detectors are heterogeneous: each is strong on a different slice of attacks, and none is always reliable. Yet existing systems still treat detection as a fixed single-detector pipeline, committing every request to one detector's blind spots. We reframe defense as detector allocation: given a heterogeneous pool, decide per request which detectors to run and whether to escalate to an LLM judge. Our framework SCOUT (Scalable and Controllable Outcome-prediction for Uncertainty-aware Triage) makes this decision dynamic by predicting each detector's per-sample reliability and latency from how it behaved on similar past inputs, and exposes a single safety-utility threshold to the operator (where utility bundles benign-pass rate and wall-clock). To evaluate this setting, we build SCOUT-450, a benchmark that captures the structurally complex, agent-facing injections that older prompt-injection sets under-represent. On SCOUT-450, a safety-oriented operating point reduces attack-success rate by 46% and total wall-clock by 40% relative to an always-on GPT-4o judge, at a 5.1-point benign-utility drop. SCOUT also transfers to three external benchmarks (BIPIA, IPI, and IHEval), improving the safety-utility frontier.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。