TL;DR
This paper introduces PersonaGym, a framework that generates high-fidelity synthetic multi-turn interaction data by modeling users as dynamic preference processes rather than static personas. Leveraging this data, the authors propose PPOpt (Personalized Prompt Optimization), a model-agnostic, "reason-then-optimize" framework that infers user profiles from interaction history and rewrites prompts to achieve scalable LLM personalization without modifying the underlying model.
What Problem Does This Paper Address?
While Large Language Models (LLMs) excel at general tasks, real-world users have highly specific, often unstated preferences regarding tone, formatting, and latent constraints. Existing personalization approaches typically suffer from two major bottlenecks:
- The Data Gap: High-quality, multi-turn user-LLM interaction data is scarce due to privacy concerns, and real user feedback is often noisy, ambiguous, or incomplete.
- Method Limitations: Many current alignment methods require updating model parameters or modifying decoding internals, which is computationally expensive and impossible for proprietary, closed-source LLMs (like GPT-4 or Claude).
The authors tackle these challenges by creating a realistic synthetic data pipeline to train a black-box prompt optimizer that sits between the user and any frozen LLM.
Methods
The authors present a two-part solution: PersonaGym for data generation and PPOpt for prompt optimization.
1. PersonaGym (Data Generation)
Instead of treating a user persona as a static text description, PersonaGym models personalization as a dynamic conversational process. It employs an agentic setup featuring three distinct LLMs:
- User Agent: Simulates a user with specific latent traits, generating queries and providing feedback.
- Assistant Agent: Acts as the target LLM responding to the user.
- Distractor Agent: Intentionally injects multi-layered, semantic-aware noise (e.g., typos, vague constraints, or self-contradictions) to mimic real human behavior.
2. PPOpt (Personalized Prompt Optimization)
PPOpt is a model-agnostic framework that learns to rewrite user prompts based on past interaction history. It uses a reason-then-optimize paradigm to prevent reward hacking:
- Reasoning Phase: The optimizer first infers an explicit, natural-language user profile from historical sessions.
- Optimization Phase: It rewrites the current prompt conditioned on that profile.
The optimizer is trained in two stages: a cold-start Supervised Fine-Tuning (SFT) phase using teacher-generated targets, followed by an outcome-driven multi-objective Reinforcement Learning (RL) phase using Group Relative Policy Optimization (GRPO). The RL phase optimizes for both profile inference accuracy and downstream task success.
Datasets
The paper introduces PersonaAtlas, a large-scale synthetic dataset containing approximately 2,000 personas and over 10,000 multi-turn conversations.
To ensure diversity, the initial seed queries were sampled from a wide mix of public datasets across domains like mathematics, coding, and general chat.
To validate the realism of the synthetic data, the authors also constructed a Real-world Test Set via controlled human-in-the-loop collection using 99 human experts recruited via Prolific.
Key Insights and Ideas
- Conversational Dynamics Matter: True user preferences often emerge only after observing an LLM's initial response. Modeling personalization as a multi-turn interactive process yields much more realistic data than static persona-preference pairs.
- The Power of Explicit Reasoning: Directly mapping a user's history to an optimized prompt easily leads to shortcut learning. Forcing the optimizer to generate an explicit text profile first acts as an essential causal bridge that stabilizes reinforcement learning.
- Noise as a Feature, Not a Bug: By using a "Distractor Agent" to corrupt queries during training, the resulting prompt optimizer becomes highly robust against the messy, incomplete instructions typical of real human users.
Key Results
- Superior Personalization Quality: In baseline comparisons, PPOpt achieved the largest personalization gain ($\Delta = 1.79$, a 33.09% relative improvement) over vanilla prompts.
- Preserving Task Performance: While other personalization baselines caused a significant drop in task completion quality (up to 12.5%), PPOpt effectively preserved downstream task performance, showing only a minimal 2.59% degradation.
- Cross-Backbone Robustness: PPOpt consistently improved personalization across various open and closed-source model combinations (including Llama-3, Qwen3, and GPT variants). Notably, it elevated the personalization performance of weaker models to levels comparable with much stronger backbones.
Limitations and Future Work
- LLM-as-a-Judge Dependency: The framework relies heavily on advanced LLMs (like GPT-4o-mini and GPT-5.2) to score rewards during RL training, which can introduce subtle model biases.
- Static Session Optimization: Currently, PPOpt optimizes the prompt at the beginning of a new session. The authors note that extending this framework to dynamically adjust prompts mid-turn during an ongoing conversation is a promising direction for future research.
Summary updated