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

赞赏式学习会导致未授权执行:自进化降低了个人智能体对间接提示注入的鲁棒性

Appreciation Teaches Unauthorized Execution: Self-Evolution Degrades the Robustness of Personal Agents to Indirect Prompt Injection

University of Wisconsin–Madison(威斯康星大学麦迪逊分校);Johns Hopkins University(约翰斯·霍普金斯大学)

Xinyan Wang, Xiaogeng Liu, Jun Shao, Chaowei Xiao

AI总结:

该研究发现自进化个人智能体在技能进化和强化学习下,对间接提示注入的鲁棒性显著降低,攻击成功率大幅上升,存在安全风险。

摘要:

自进化个人智能体为用户执行任务并从用户反馈中学习。然而,如果智能体执行了不可信第三方隐藏在内容中的指令,该第三方就会获得对智能体的控制权。这种间接提示注入(IPI)带来了严重风险。我们研究自进化是否会降低个人智能体对IPI的鲁棒性。为研究该问题,我们设计了受控的两阶段方法:在适应阶段,用户要求智能体读取外部内容并完成其中描述的任务(日常使用中的常见请求),随后智能体从用户反馈中学习并按设计自我改进;在测试阶段,第三方将类似任务写入新的外部内容,但用户的测试请求未授权该注入任务。我们使用该方法为真实个人智能体构建了不同领域、多样测试实例的多个任务。大量实验表明,自进化会大幅降低对IPI的鲁棒性:与未从用户反馈进化的基础智能体相比,技能进化下平均攻击成功率上升14.0-48.8个百分点,强化学习下上升3.0-39.3个百分点,带来安全风险。代码可在该https URL获取。

英文摘要:

Self-evolving personal agents act for users and learn from user feedback. However, if an agent obeys an instruction that an untrusted third party hides in content, the third party gains control of the agent. Such indirect prompt injection (IPI) poses severe risks. We investigate whether self-evolution degrades the robustness of personal agents to IPI. To study this question, we design a controlled two-phase methodology. In the adaptation phase, the user asks the agent to read external content and complete the task described in it, a common request in daily use. The agent then learns from the user's feedback and improves itself as designed. In the test phase, a third party writes a similar task into new external content, but the user's test request does not authorize the injected task. Using this methodology, we build multiple tasks with diverse test instances in different domains for a real personal agent. Our extensive experiments reveal that self-evolution substantially degrades robustness to IPI. Specifically, compared with the base agent, which does not evolve from user feedback, the average attack success rate rises by 14.0--48.8 percentage points under skill evolution and by 3.0--39.3 percentage points under reinforcement learning, posing safety risks. The code is available at https://github.com/SaFo-Lab/Evolve-IPI

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

↑