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 · Submission to ICLR 2026 · Withdrawn

TL;DR

PersonaAgent is a framework that personalizes Large Language Model (LLM) agents at test time without fine-tuning model weights. By coupling a dual-tier memory system (episodic and semantic) with a personalized action module through an evolving "persona" system prompt, the agent tailors its tool use and reasoning to individual users. Using natural language feedback ("textual gradients") over recent user interactions, PersonaAgent updates user personas on the fly, delivering state-of-the-art personalization across decision-making and generation tasks.

What Problem Does This Paper Address?

While modern LLM agents excel at general-purpose reasoning and tool usage, they largely employ a "one-size-fits-all" approach that ignores individual user preferences. Existing alignment methods fall short in practice:

  • Standard RLHF / SFT focuses on population-wide human preferences rather than individual idiosyncrasies.
  • User-specific fine-tuning (PEFT/LoRA) is computationally prohibitive to scale across millions of users and requires slow, expensive updates as preferences evolve.
  • Personalized retrieval workflows (RAG / PAG) use static pipelines that summarize profiles or fetch past data, but cannot dynamically steer an agent's multi-step actions or reasoning strategies.

The authors set out to answer: How can an autonomous agent dynamically adapt both its reasoning process and its tool-use actions to individual users in real time, without retraining model weights?

Methods

PersonaAgent combines three core mechanisms:

  1. Dual Personalized Memory:
  2. Episodic Memory: Maintains an interaction buffer of past queries, ground-truth user responses, and metadata, dynamically retrieving the top-$K$ most relevant past events via embedding similarity.
  3. Semantic Memory: Uses an LLM summarization function to distill episodic experiences into persistent, high-level user profiles (e.g., enduring interests and habits) that persist across sessions.
  4. Personalized Action Space:
  5. The agent’s standard action space is augmented with personal data tools (e.g., episodic memory retrieval alongside open tools like Wikipedia). Crucially, the policy deciding which tool to invoke and how to parameterize queries is steered by the user’s persona.
  6. The Persona as an Intermediary:
  7. The persona is structured as a unique system prompt per user, encoding persistent traits, communication styles, and operational rules (such as prioritization guidelines for tool usage).
  8. Test-Time User Preference Alignment:
  9. Drawing on textual gradient optimization (TextGrad), the agent runs a simulated forward pass over a small batch of recent user interactions ($n \approx 3$).
  10. An LLM evaluator inspects errors between agent predictions and ground-truth user actions, outputting natural language critiques (textual gradients).
  11. An optimizer LLM applies a textual gradient descent update to rewrite and refine the user's persona prompt directly at test time.
Recent User Interactions ──> Agent Simulation ──> Discrepancy Critique (Textual Gradient)
                                                         │
                                                         ▼
Episodic + Semantic Memory ──> [Persona System Prompt] ──> Tailored Tool Use & Policy

Datasets

The authors evaluate PersonaAgent on the time-ordered LaMP (Language Model Personalization) benchmark, focusing on the top 100 users with the most extensive activity histories:

  • LaMP-1 (Citation Identification): Binary classification predicting which paper an author would cite.
  • LaMP-2M (Movie Tagging): Multi-class tag assignment matching a user's subjective tagging tendencies.
  • LaMP-2N (News Categorization): Multi-class article classification based on author history.
  • LaMP-3 (Product Rating): Ordinal regression/classification predicting numeric review scores (1–5).
  • LaMP-4 & LaMP-5 (Text Generation): Personalized headline and scholarly paper title generation.

No new datasets were introduced; the authors specifically chose LaMP because of its real-world, longitudinal, chronologically ordered user histories.

Key Insights and Ideas

  • Action Spaces Need Personalization: Simply appending user profiles to context is insufficient. An agent needs personalized system instructions to know when to prioritize user habits over general knowledge (e.g., choosing a comedy tag over sci-fi based on a user's past tagging behavior, even when both genres fit).
  • Textual Feedback Replaces Backpropagation: System prompts can be treated as differentiable variables where "gradients" are structured natural language critiques. This enables test-time optimization without updating model parameters.
  • Irrelevant Context Hurts More Than None: In-context learning (ICL) with generic demonstrations regularly performed worse than zero-shot direct prompting, demonstrating that non-personalized context creates cognitive interference for LLMs.
  • Test-Time Scaling Laws for Agents: Alignment gains plateau around 3 optimization iterations, meaning rapid adaptation is achievable with minimal compute overhead.

Key Results

PersonaAgent was evaluated primarily with Claude-3.5 Sonnet against non-personalized prompts, ICL, personalized workflows (RAG, PAG), and general agents (ReAct, MemBank):

  • Personalized Decision-Making:
  • LaMP-1: Achieved 0.919 accuracy / 0.918 F1, outperforming MemBank (0.862 / 0.861) and direct prompting (0.772 / 0.771).
  • LaMP-2M: Reached 0.513 accuracy / 0.424 F1 (vs. MemBank’s 0.470 / 0.391).
  • LaMP-3: Reduced rating error to 0.241 MAE / 0.509 RMSE, outperforming all baselines (where standard RAG/PAG failed to beat direct prompting).
  • Text Generation: Achieved the highest scores on LaMP-4 (0.178 ROUGE-1) and LaMP-5 (0.503 ROUGE-1).
  • Model Agnostic Scaling: When swapping backbones from Mistral-Small to Claude-3.7, PersonaAgent maintained its performance margin across all tiers, reaching 55.0% accuracy on LaMP-2M with Claude-3.7.
  • Ablation Findings: Removing the persona prompt caused F1 on LaMP-1 to plunge from 0.918 to 0.855; dropping test-time alignment reduced accuracy across all benchmarks.

Limitations and Future Work

  • Text-Only Modality: Feedback is restricted to textual signals; the framework cannot yet interpret implicit or non-verbal signals (e.g., latency, pauses, or emotional/visual cues).
  • Privacy Concerns: Storing detailed episodic logs and profiles poses data security and leakage risks. The authors highlight the need for federated learning or privacy-preserving architectures.
  • Static vs. Interactive Evaluation: While validated on longitudinal task data, the framework has not yet been benchmarked in live, multi-turn conversational dialogues with human users in the loop.

Summary updated

BibTeX
@inproceedings{zhang2026personaagent,
  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},
  title = {{PersonaAgent: When Large Language Model Agents Meet Personalization at Test Time}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.findings-acl.1315},
}
Figure