DrunkAgent: Stealthy Memory Corruption in LLM-Powered Recommender Agents

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Yang, Shiyi, Hu, Zhibo, Li, Xinshu, Wang, Chen, Yu, Tong, Xu, Xiwei, Zhu, Liming, Yao, Lina
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915564703711232
author Yang, Shiyi
Hu, Zhibo
Li, Xinshu
Wang, Chen
Yu, Tong
Xu, Xiwei
Zhu, Liming
Yao, Lina
author_facet Yang, Shiyi
Hu, Zhibo
Li, Xinshu
Wang, Chen
Yu, Tong
Xu, Xiwei
Zhu, Liming
Yao, Lina
contents Large language model (LLM)-powered agents are increasingly used in recommender systems (RSs) to achieve personalized behavior modeling, where the memory mechanism plays a pivotal role in enabling the agents to autonomously explore, learn and self-evolve from real-world interactions. However, this very mechanism, serving as a contextual repository, inherently exposes an attack surface for potential adversarial manipulations. Despite its central role, the robustness of agentic RSs in the face of such threats remains largely underexplored. Previous works suffer from semantic mismatches or rely on static embeddings or pre-defined prompts, all of which are not designed for dynamic systems, especially for dynamic memory states of LLM agents. This challenge is exacerbated by the black-box nature of commercial recommenders. To tackle the above problems, in this paper, we present the first systematic investigation of memory-based vulnerabilities in LLM-powered recommender agents, revealing their security limitations and guiding efforts to strengthen system resilience and trustworthiness. Specifically, we propose a novel black-box attack framework named DrunkAgent. DrunkAgent crafts semantically meaningful adversarial textual triggers for target item promotions and introduces a series of strategies to maximize the trigger effect by corrupting the memory updates during the interactions. The triggers and strategies are optimized on a surrogate model, enabling DrunkAgent transferable and stealthy. Extensive experiments on real-world datasets across diverse agentic RSs, including collaborative filtering, retrieval augmentation and sequential recommendations, demonstrate the generalizability, transferability and stealthiness of DrunkAgent.
format Preprint
id arxiv_https___arxiv_org_abs_2503_23804
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle DrunkAgent: Stealthy Memory Corruption in LLM-Powered Recommender Agents
Yang, Shiyi
Hu, Zhibo
Li, Xinshu
Wang, Chen
Yu, Tong
Xu, Xiwei
Zhu, Liming
Yao, Lina
Cryptography and Security
Computation and Language
Information Retrieval
Multiagent Systems
Large language model (LLM)-powered agents are increasingly used in recommender systems (RSs) to achieve personalized behavior modeling, where the memory mechanism plays a pivotal role in enabling the agents to autonomously explore, learn and self-evolve from real-world interactions. However, this very mechanism, serving as a contextual repository, inherently exposes an attack surface for potential adversarial manipulations. Despite its central role, the robustness of agentic RSs in the face of such threats remains largely underexplored. Previous works suffer from semantic mismatches or rely on static embeddings or pre-defined prompts, all of which are not designed for dynamic systems, especially for dynamic memory states of LLM agents. This challenge is exacerbated by the black-box nature of commercial recommenders. To tackle the above problems, in this paper, we present the first systematic investigation of memory-based vulnerabilities in LLM-powered recommender agents, revealing their security limitations and guiding efforts to strengthen system resilience and trustworthiness. Specifically, we propose a novel black-box attack framework named DrunkAgent. DrunkAgent crafts semantically meaningful adversarial textual triggers for target item promotions and introduces a series of strategies to maximize the trigger effect by corrupting the memory updates during the interactions. The triggers and strategies are optimized on a surrogate model, enabling DrunkAgent transferable and stealthy. Extensive experiments on real-world datasets across diverse agentic RSs, including collaborative filtering, retrieval augmentation and sequential recommendations, demonstrate the generalizability, transferability and stealthiness of DrunkAgent.
title DrunkAgent: Stealthy Memory Corruption in LLM-Powered Recommender Agents
topic Cryptography and Security
Computation and Language
Information Retrieval
Multiagent Systems
url https://arxiv.org/abs/2503.23804