Table of Contents
Fetching ...

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

Weizhi Zhang, Xinyang Zhang, Chenwei Zhang, Liangwei Yang, Jingbo Shang, Zhepei Wei, Henry Peng Zou, Zijie Huang, Zhengyang Wang, Yifan Gao, Xiaoman Pan, Lian Xiong, Jingguo Liu, Philip S. Yu, Xian Li

TL;DR

PersonaAgent introduces a memory‑action framework that personalizes LLM agents through a per‑user persona bridging episodic and semantic memory with a tailored action policy. A novel test‑time user preference alignment strategy refines the persona by simulating recent interactions and minimizing textual loss, enabling real‑time adaptation. Across four LaMP tasks, PersonaAgent outperforms non‑personalized, personalized workflow, and general agent baselines, with ablations confirming the critical roles of memory, persona, and action modules. The approach demonstrates model‑agnostic scalability and practical impact for dynamic, fine‑grained personalization in real‑world settings.

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.

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

TL;DR

PersonaAgent introduces a memory‑action framework that personalizes LLM agents through a per‑user persona bridging episodic and semantic memory with a tailored action policy. A novel test‑time user preference alignment strategy refines the persona by simulating recent interactions and minimizing textual loss, enabling real‑time adaptation. Across four LaMP tasks, PersonaAgent outperforms non‑personalized, personalized workflow, and general agent baselines, with ablations confirming the critical roles of memory, persona, and action modules. The approach demonstrates model‑agnostic scalability and practical impact for dynamic, fine‑grained personalization in real‑world settings.

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.

Paper Structure

This paper contains 32 sections, 5 equations, 6 figures, 3 tables, 1 algorithm.

Figures (6)

  • Figure 1: The designing principles for personalization intelligence. This compares examples of personalized LLM workflow, general LLM agent, and our proposed personalized LLM agent.
  • Figure 2: Persona case studies on the LaMP-2M movie tagging task.
  • Figure 3: Test-time scaling effects on PerosnaAgent.
  • Figure 4: Effects on LLM base model capability.
  • Figure 5: Jaccard similarity of learned personas on LaMP‑2M.
  • ...and 1 more figures