An agent with long-term memory can be poisoned in one session and exploited in a later one. A common defense is to record where each memory came from and to stop untrusted memories from driving consequential actions. Prior work shows that such defenses block attacks; much less is known about what they cost, or how much of the protection comes from the model and how much from the runtime. We run six current language models from four vendors as the agent in one 60-session synthetic back-office workload with 150 planted memory items per model, under three conditions: no defense, provenance labels that are shown to the model but not enforced, and the same labels enforced by the runtime. With no defense, planted items later caused a wrong action in 2% to 93% of cases depending on the model. Showing labels alone reduced this to 0-1% for four models but left 15% and 67% for the other two. With enforcement no planted item succeeded on any model unless a simulated user approved a bad confirmation. The defense is not free. With no attacker present, the share of requests completed correctly without involving the user fell to 86% for every model, a drop of 3 to 14 points: each legitimate fact that arrived from outside cost one exchange with the user, after which it was remembered as the user's own. The form of that exchange depends on the model. Models that respect labels ask the user; a model that ignores labels triggers runtime confirmation prompts. Labels without enforcement cost the label-respecting models more, up to 30 points, because merging let the user's answers inherit the untrusted label and expire. The planted texts are simple and do not adapt to the defense, the tasks are synthetic, and the user is simulated, so these results are a lower bound on attacks and a first measurement of cost, not a ranking of models. Code, workload and every model reply are released.


翻译:暂无翻译

0
下载
关闭预览

相关内容

ACM/IEEE第23届模型驱动工程语言和系统国际会议,是模型驱动软件和系统工程的首要会议系列,由ACM-SIGSOFT和IEEE-TCSE支持组织。自1998年以来,模型涵盖了建模的各个方面,从语言和方法到工具和应用程序。模特的参加者来自不同的背景,包括研究人员、学者、工程师和工业专业人士。MODELS 2019是一个论坛,参与者可以围绕建模和模型驱动的软件和系统交流前沿研究成果和创新实践经验。今年的版本将为建模社区提供进一步推进建模基础的机会,并在网络物理系统、嵌入式系统、社会技术系统、云计算、大数据、机器学习、安全、开源等新兴领域提出建模的创新应用以及可持续性。 官网链接:http://www.modelsconference.org/
综述 | Always-On Agents:LLM智能体持久状态与治理
专知会员服务
22+阅读 · 6月30日
MMA:多模态记忆智能体
专知会员服务
12+阅读 · 2月19日
用于语音识别的数据增强
AI研习社
24+阅读 · 2019年6月5日
强化学习三篇论文 避免遗忘等
CreateAMind
20+阅读 · 2019年5月24日
Transferring Knowledge across Learning Processes
CreateAMind
29+阅读 · 2019年5月18日
论文浅尝 | 基于Universal Schema与Memory Network的知识+文本问答
【学生论坛】详解记忆增强神经网络
中国科学院自动化研究所
106+阅读 · 2018年11月15日
跨越注意力:Cross-Attention
我爱读PAMI
172+阅读 · 2018年6月2日
Focal Loss for Dense Object Detection
统计学习与视觉计算组
12+阅读 · 2018年3月15日
【推荐】用TensorFlow实现LSTM社交对话股市情感分析
机器学习研究会
11+阅读 · 2018年1月14日
推荐中的序列化建模:Session-based neural recommendation
机器学习研究会
18+阅读 · 2017年11月5日
国家自然科学基金
23+阅读 · 2016年12月31日
国家自然科学基金
0+阅读 · 2016年12月31日
国家自然科学基金
4+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
Arxiv
0+阅读 · 11月10日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
3+阅读 · 今天14:56
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
2+阅读 · 今天14:52
乌克兰海陆空无人力量
专知会员服务
1+阅读 · 今天14:42
超越技术:美战争部的AI变革管理
专知会员服务
7+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
7+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
14+阅读 · 11月25日
相关资讯
用于语音识别的数据增强
AI研习社
24+阅读 · 2019年6月5日
强化学习三篇论文 避免遗忘等
CreateAMind
20+阅读 · 2019年5月24日
Transferring Knowledge across Learning Processes
CreateAMind
29+阅读 · 2019年5月18日
论文浅尝 | 基于Universal Schema与Memory Network的知识+文本问答
【学生论坛】详解记忆增强神经网络
中国科学院自动化研究所
106+阅读 · 2018年11月15日
跨越注意力:Cross-Attention
我爱读PAMI
172+阅读 · 2018年6月2日
Focal Loss for Dense Object Detection
统计学习与视觉计算组
12+阅读 · 2018年3月15日
【推荐】用TensorFlow实现LSTM社交对话股市情感分析
机器学习研究会
11+阅读 · 2018年1月14日
推荐中的序列化建模:Session-based neural recommendation
机器学习研究会
18+阅读 · 2017年11月5日
相关基金
国家自然科学基金
23+阅读 · 2016年12月31日
国家自然科学基金
0+阅读 · 2016年12月31日
国家自然科学基金
4+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
Top
微信扫码咨询专知VIP会员