arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.08499cs.CRcs.AIcs.CLcs.LG
收藏

PIArena:一个用于提示注入评估的平台

PIArena: A Platform for Prompt Injection Evaluation

The Pennsylvania State University(宾夕法尼亚州立大学)

Runpeng Geng, Chenlong Yin, Yanting Wang, Ying Chen, Jinyuan Jia

AI总结:

本文提出PIArena平台,用于评估提示注入攻击的防御能力,揭示现有防御的局限性,包括任务泛化能力差、易受自适应攻击等。

摘要:

提示注入攻击在现实应用中带来严重安全风险。尽管受到越来越多关注,社区面临关键缺口:缺乏统一的提示注入评估平台。这使得难以可靠比较防御、理解其在不同攻击下的真实鲁棒性或评估其在不同任务和基准上的泛化能力。许多最初报告有效的防御后来在多样化数据集和攻击上表现出有限的鲁棒性。为弥合这一缺口,我们引入PIArena,一个统一且可扩展的平台,允许用户轻松整合最先进的攻击和防御,并在现有和新基准上评估它们。我们还设计了一种基于动态策略的攻击,根据防御反馈自适应优化注入提示。通过使用PIArena的全面评估,我们揭示了现有防御的关键局限性:跨任务的泛化能力有限、易受自适应攻击、以及当注入任务与目标任务一致时的根本挑战。代码和数据集可在https://github.com/sleeepeer/PIArena获取。

英文摘要:

Prompt injection attacks pose serious security risks across a wide range of real-world applications. While receiving increasing attention, the community faces a critical gap: the lack of a unified platform for prompt injection evaluation. This makes it challenging to reliably compare defenses, understand their true robustness under diverse attacks, or assess how well they generalize across tasks and benchmarks. For instance, many defenses initially reported as effective were later found to exhibit limited robustness on diverse datasets and attacks. To bridge this gap, we introduce PIArena, a unified and extensible platform for prompt injection evaluation that enables users to easily integrate state-of-the-art attacks and defenses and evaluate them across a variety of existing and new benchmarks. We also design a dynamic strategy-based attack that adaptively optimizes injected prompts based on defense feedback. Through comprehensive evaluation using PIArena, we uncover critical limitations of state-of-the-art defenses: limited generalizability across tasks, vulnerability to adaptive attacks, and fundamental challenges when an injected task aligns with the target task. The code and datasets are available at https://github.com/sleeepeer/PIArena.

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

↑