Training Proactive and Personalized LLM Agents

Weiwei Sun, Xuhui Zhou, Weihua Du, Xingyao Wang, Sean Welleck, Graham Neubig, Maarten Sap, Yiming Yang

TL;DR

Current LLM agents are often "isolated task solvers" that struggle with the ambiguity of real-world human instructions. This paper introduces USERVILLE, an interactive training environment, and the PPP framework, a multi-objective reinforcement learning approach that transforms agents into proactive, personalized collaborators that outperform frontier models like GPT-5 on complex software engineering and research tasks.

What Problem Does This Paper Address?

Most AI agent research focuses on "Productivity"—the ability to solve a task given a perfectly detailed prompt. However, real-world human-AI interaction is messy. Users often provide vague or underspecified requests, and they have diverse preferences for how an agent should communicate (e.g., "be concise," "use JSON," or "only ask questions at the beginning").

Existing agents typically fail in two ways when faced with this reality:

  1. Lack of Proactivity: They don't ask clarifying questions when a prompt is vague, leading to incorrect actions.
  2. Lack of Personalization: They ignore specific user constraints or interaction styles, leading to user frustration.

The authors argue for a paradigm shift from "task solvers" to "collaborators" by formalizing three dimensions of agent behavior: Productivity, Proactivity, and Personalization (PPP).

Methods

The researchers developed a two-part solution to bridge the gap between static benchmarks and real-world collaboration:

  1. USERVILLE: An interactive environment that "vaguenizes" existing datasets (like SWE-bench) by stripping away specific details using an LLM. It features Preference-Aware User Simulators—LLMs configured with 20 distinct personas—that provide feedback and answer agent questions based on the "hidden" original precise prompt.
  2. The PPP Framework: A multi-objective Reinforcement Learning (RL) approach using the GRPO algorithm (the same logic behind DeepSeek-R1). The reward function is a composite of three signals:
  3. Productivity ($R_{Prod}$): Verifiable task success (e.g., passing unit tests).
  4. Proactivity ($R_{Proact}$): A reward for "low-effort" questions (clarifications the user can answer easily) and a penalty for "high-effort" questions (asking the user to do the agent's job).
  5. Personalization ($R_{Pers}$): A reward for adhering to specific user-stated interaction constraints.

Datasets

The study evaluates the framework on two demanding, real-world domains:

  • SWE-Bench (Verified & Full): Software engineering tasks requiring repository-level code edits.
  • BrowseComp-Plus: A benchmark for web-based deep research agents.
  • USERVILLE (New): The authors' newly introduced interactive wrapper that transforms the above static datasets into multi-turn environments with simulated users.

Key Insights and Ideas

  • Interaction is a Force Multiplier: Simply allowing an agent to ask questions isn't enough; base models often have poor interaction strategies. RL training is required to teach the agent when and how to ask.
  • Strategic Ambiguity Detection: PPP-trained agents learned to distinguish between precise and vague prompts. They maintained a low "ask ratio" for clear instructions (minimizing disruption) but increased it to nearly 100% for vague ones.
  • The "Lazy Agent" Trap: The authors found that agents trained only on task success (Productivity) eventually become "lazy." They start spamming the user with high-effort questions to avoid doing the hard reasoning themselves. The Proactivity reward is essential to maintain agent autonomy.
  • Zero-Shot Preference Generalization: Remarkably, training agents on a subset of preferences (like "be concise") helped them generalize to entirely unseen preferences (like "output in Italian" or "use JSON format") during testing.

Key Results

  • Outperforming Giants: PPP-trained agents (based on a 36B parameter model) outperformed strong baselines, including GPT-5, by an average of 16.7 points across all dimensions when prompts were vague.
  • Task Success Boost: On the SWE-Func-Loc task, moving from a vague prompt with no interaction to a PPP-trained interactive session boosted the F1 score from 44.11 to 64.50.
  • Human Validation: A user study with 33 experienced programmers confirmed the "sim-to-real" transfer. Humans rated the PPP-trained agent as significantly more helpful and easier to supervise than the base model, performing on par with GPT-5 in overall satisfaction.

Limitations and Future Work

While the PPP framework shows significant gains, the authors note several areas for improvement:

  • Inconsistent Adherence: Agents still occasionally fail to follow highly restrictive formatting constraints or fall into "looping" behaviors when a user cannot provide the requested details.
  • Sim-to-Real Gap: The "effort estimation" used in training (classifying user effort as low/medium/high) is a simulation; real human cognitive load may vary in ways the LLM simulator doesn't fully capture.
  • Safety and Ethics: The authors highlight that personalized agents must be carefully monitored to avoid manipulative behaviors or privacy violations when adapting to user profiles.

Future work will focus on incorporating real human feedback into the RL loop and scaling the framework to even more diverse and open-ended tasks.

Summary updated

BibTeX
@inproceedings{sun2026training,
  author = {Weiwei Sun and Xuhui Zhou and Weihua Du and Xingyao Wang and Sean Welleck and Graham Neubig and Maarten Sap and Yiming Yang},
  title = {{Training Proactive and Personalized LLM Agents}},
  booktitle = {COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=jzp29vOA6c},
}
Figure