PersonaAgent: When Large Language Model Agents Meet Personalization at Test Time

Weizhi Zhang, Xinyang Zhang, Chenwei Zhang, Liangwei Yang, Jingbo Shang +10 more
6/6/2025
cs.AIcs.CLcs.LG

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2025personaagent,
  title  = {PersonaAgent: When Large Language Model Agents Meet Personalization at Test Time},
  author = {Weizhi Zhang and Xinyang Zhang and Chenwei Zhang and Liangwei Yang and Jingbo Shang and Zhepei Wei and Henry Peng Zou and Zijie Huang and Zhengyang Wang and Yifan Gao and Xiaoman Pan and Lian Xiong and Jingguo Liu and Philip S. Yu and Xian Li},
  year   = {2025},
  eprint = {2506.06254},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.06254v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.06254.svg)](https://codeofpaper.com/paper/2506.06254)

Discussion