使用推理门对Web智能体进行节流管控
Throttling Web Agents Using Reasoning Gates
AI总结:
针对Web智能体可能带来的拒绝服务攻击、内容爬取等安全风险,提出基于画谜推理门的Web智能体节流框架,通过让智能体承担高额推理token成本实现防护,验证了其计算非对称性与实际部署可行性。
摘要:
AI Web智能体以更快的速度、更大的规模和更高的复杂度利用互联网资源,改变着用户与服务的交互方式。若被恶意部署或出现运行错误,这类智能体可能使内容提供商的系统过载。同时,Web智能体可通过模仿用户行为绕过CAPTCHA(全自动区分计算机和人类的图灵测试)等防御机制,或用虚假账号淹没身份验证系统。而服务提供商必须保护其服务与内容免受Web智能体发起的拒绝服务攻击和内容爬取侵害。\n本文设计了一个在授予资源访问权限前向智能体施加可调节成本的框架,我们称之为Web Agent Throttling(Web智能体节流)。我们首先将节流门形式化为向智能体发起的挑战,这类挑战具备非对称性、可扩展性、鲁棒性,且兼容任意类型的智能体。我们聚焦于智能体的通用组件——语言模型,要求智能体解决推理谜题,从而使其产生高额的token生成成本。然而我们发现,使用现有谜题(如编程或数学题)作为节流门无法满足我们提出的特性要求。\n为解决这一问题,我们提出了基于画谜(rebus)的Reasoning Gates(推理门),这是一类合成文本谜题,需要基于世界知识进行多跳推理,从而实现对智能体模型的节流。我们设计了适用于这类推理门的可扩展生成与验证协议。我们的框架实现了计算非对称性:对于当前最优(SOTA)模型,响应生成成本是门挑战生成成本的9.2倍。我们进一步在一个定制网站和Model Context Protocol(模型上下文协议,MCP)服务器上部署了推理门,并使用真实Web智能体开展评估。最后,我们讨论了该框架实际部署的局限性与环境影响。
英文摘要:
AI web agents use Internet resources at far greater speed, scale, and complexity -- changing how users and services interact. Deployed maliciously or erroneously, these agents could overload content providers. At the same time, web agents can bypass CAPTCHAs and other defenses by mimicking user behavior or flood authentication systems with fake accounts. Yet providers must protect their services and content from denial-of-service attacks and scraping by web agents. In this paper, we design a framework that imposes tunable costs on agents before providing access to resources; we call this Web Agent Throttling. We start by formalizing Throttling Gates as challenges issued to an agent that are asymmetric, scalable, robust, and compatible with any agent. Focusing on a common component -- the language model -- we require the agent to solve reasoning puzzles, thereby incurring excessive token-generation costs. However, we find that using existing puzzles, e.g., coding or math, as throttling gates fails to satisfy our properties. To address this, we introduce rebus-based Reasoning Gates, synthetic text puzzles that require multi-hop reasoning over world knowledge (thereby throttling an agent's model). We design a scalable generation and verification protocol for such reasoning gates. Our framework achieves computational asymmetry, i.e., the response-generation cost is 9.2x higher than the generation cost for SOTA models. We further deploy reasoning gates on a custom website and Model Context Protocol (MCP) servers and evaluate with real-world web agents. Finally, we discuss the limitations and environmental impact of real-world deployment of our framework.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。