arXiv:2506.06254cs.AIcs.CL2025-06ACL被引 4

让大模型代理学会根据用户性格动态调整行为和记忆。

PersonaAgent: Bridging Memory and Action for Personalized LLM Agents

  • 用角色设定做桥梁,连接记忆与行动,实现个性化响应
  • 测试时通过模拟交互优化角色提示,实时匹配用户偏好
  • 适合需要长期记忆与个性化的智能助手场景

大语言模型驱动的智能体在多个领域展现出强大能力,但现有方法多采用通用模式,难以适应用户差异化的需要。为此,我们提出PersonaAgent,首个专为多样化个性化任务设计的LLM代理框架。该框架融合个性化记忆模块(包含情景记忆与语义记忆)与个性化动作模块,使代理能根据用户特征执行定制化工具操作。核心在于“角色”——作为每个用户的独特系统提示,它利用记忆中的信息控制行为,而行为结果又反向更新记忆。基于此框架,我们设计了一种测试时用户偏好对齐策略:通过模拟最近n次交互,以文本损失反馈优化角色提示,实现对真实响应的实时调整。实验表明,PersonaAgent不仅有效个性化动作空间,且在实际应用中具备可扩展性,显著优于基线方法,验证了其在提供动态、定制化用户体验方面的可行性与潜力。

原文摘要 · Abstract (English)

Large Language Model (LLM) empowered agents have recently emerged as advanced paradigms that exhibit impressive capabilities in a wide range of domains and tasks. Despite their potential, current LLM agents often adopt a one-size-fits-all approach, lacking the flexibility to respond to users' varying needs and preferences. This limitation motivates us to develop PersonaAgent, the first personalized LLM agent framework designed to address versatile personalization tasks. Specifically, PersonaAgent integrates two complementary components - a personalized memory module that includes episodic and semantic memory mechanisms; a personalized action module that enables the agent to perform tool actions tailored to the user. At the core, the persona (defined as unique system prompt for each user) functions as an intermediary: it leverages insights from personalized memory to control agent actions, while the outcomes of these actions in turn refine the memory. Based on the framework, we propose a test-time user-preference alignment strategy that simulate the latest n interactions to optimize the persona prompt, ensuring real-time user preference alignment through textual loss feedback between simulated and ground-truth responses. Experimental evaluations demonstrate that PersonaAgent significantly outperforms other baseline methods by not only personalizing the action space effectively but also scaling during test-time real-world applications. These results underscore the feasibility and potential of our approach in delivering tailored, dynamic user experiences.

个性化代理记忆机制角色设定

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。