调查暗黑模式对基于 LLM 的 Web 智能体的影响
Investigating the Impact of Dark Patterns on LLM-Based Web Agents
AI总结:
本文提出 LiteAgent 与 TrickyArena,系统测试暗黑模式对基于 LLM 的通用 Web 智能体决策的影响,发现单一暗黑模式平均可造成 41% 的成功率,并揭示 UI、HTML 与组合模式的作用。
摘要:
随着用户越来越多地转向基于大型语言模型(LLM)的 Web 智能体来自动化在线任务,这些智能体可能会遇到暗黑模式:即操纵用户做出非预期决策的欺骗性用户界面设计。尽管暗黑模式主要针对人类用户,但其对基于 LLM 的通用 Web 智能体的潜在有害影响仍未得到探索。本文中,我们提出首个研究暗黑模式对基于 LLM 的通用 Web 智能体决策过程影响的研究。为实现这一目标,我们引入 LiteAgent,这是一个轻量级框架,可自动提示智能体执行任务,同时捕获其交互的全面日志和屏幕录像。我们还提出 TrickyArena,这是一个受控环境,包含来自电子商务、流媒体服务和新闻平台等领域的 Web 应用,每个应用都包含多样且真实的暗黑模式,并且这些模式可以被有选择地启用或禁用。利用 LiteAgent 和 TrickyArena,我们开展了多项实验,以评估单个及组合暗黑模式对 Web 智能体行为的影响。我们在三个 LLM 上评估了六个流行的基于 LLM 的通用 Web 智能体,发现当存在单个暗黑模式时,智能体平均有 41% 的概率受其影响。我们还发现,通过视觉设计变更或 HTML 代码调整来修改暗黑模式 UI 属性,以及同时引入多个暗黑模式,都会影响智能体的易受影响程度。本研究强调,Web 智能体需要整体性防御机制,包括针对智能体的保护措施和更广泛的 Web 安全措施。
英文摘要:
As users increasingly turn to large language model (LLM) based web agents to automate online tasks, agents may encounter dark patterns: deceptive user interface designs that manipulate users into making unintended decisions. Although dark patterns primarily target human users, their potentially harmful impacts on LLM-based generalist web agents remain unexplored. In this paper, we present the first study that investigates the impact of dark patterns on the decision-making process of LLM-based generalist web agents. To achieve this, we introduce LiteAgent, a lightweight framework that automatically prompts agents to execute tasks while capturing comprehensive logs and screen-recordings of their interactions. We also present TrickyArena, a controlled environment comprising web applications from domains such as e-commerce, streaming services, and news platforms, each containing diverse and realistic dark patterns that can be selectively enabled or disabled. Using LiteAgent and TrickyArena, we conduct multiple experiments to assess the impact of both individual and combined dark patterns on web agent behavior. We evaluate six popular LLM-based generalist web agents across three LLMs and discover that when there is a single dark pattern present, agents are susceptible to it an average of 41% of the time. We also find that modifying dark pattern UI attributes through visual design changes or HTML code adjustments and introducing multiple dark patterns simultaneously can influence agent susceptibility. This study emphasizes the need for holistic defense mechanisms in web agents, encompassing both agent-specific protections and broader web safety measures.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。