arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.01143cs.AI
收藏

面向LLM代理的低延迟欺诈检测层:用于检测对抗性交互模式

A Low-Latency Fraud Detection Layer for Detecting Adversarial Interaction Patterns in LLM-Powered Agents

University of California, San Diego(加州大学圣地亚哥分校);Indiana University Bloomington(印第安纳大学布卢明顿分校)

Sheldon Yu, Yingcheng Sun, Hanqing Guo, Qianqian Tong

AI总结:

本文提出一种低延迟欺诈检测机制,通过交互轨迹的结构化运行时特征检测对抗性交互模式,采用轻量模型实现实时部署,实验表明交互层面行为检测应成为LLM代理部署时的核心防护措施。

摘要:

大型语言模型(LLM)驱动的代理在自主任务执行、工具使用和多步推理方面表现出强大能力。然而,其日益自主性也引入了新的攻击面:对抗性交互可通过直接提示注入、间接内容攻击和多轮升级策略操控代理行为。现有防御策略聚焦于提示级过滤和基于规则的防护措施,当风险逐渐出现在交互序列中时往往不足。本文提出一种互补的防御机制:面向LLM驱动代理的低延迟欺诈检测层,通过交互轨迹的结构化运行时特征检测对抗性交互模式。该检测层可使用轻量模型实现低延迟的实时部署。为评估该框架,我们构建了一个包含12000个多轮代理交互的合成语料库,通过42个结构化特征和XGBoost分类器,检测器速度超过基于LLM的检测器9倍。通过实验和消融研究,本文表明交互层面的行为检测应成为LLM驱动代理部署时的核心防护组成部分。

英文摘要:

Large Language Model (LLM)-powered agents demonstrate strong capabilities in autonomous task execution, tool use, and multi-step reasoning. However, their increasing autonomy also introduces a new attack surface: adversarial interactions can manipulate agent behavior through direct prompt injection, indirect content attacks, and multi-turn escalation strategies. Existing defense strategies focus on prompt-level filtering and rule-based guardrails, which are often insufficient when risk emerges gradually across interaction sequences. In this work, we propose a complementary defense mechanism: a low-latency fraud detection layer for detecting adversarial interaction patterns in LLM-powered agents. Instead of determining whether a single prompt is malicious, our approach models risk over interaction trajectories using structured runtime features derived from prompt characteristics, session dynamics, tool usage, execution context, and fraud-inspired signals. The detection layer can be implemented using lightweight models leading to low-latency real-time deployments. To evaluate the framework, we construct a synthetic corpus of 12,000 multi-turn agent interactions generated from parameterized templates that simulate realistic agentic workflows. Using 42 structured features and an XGBoost classifier, our detector achieves over 9 times faster than LLM-based detectors. Through the experiment and ablation studies, our work suggests that interaction-level behavioral detection should become a core component of deployment-time defense for LLM-powered agents.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑