UserRL: Training Interactive User-Centric Agent via Reinforcement Learning

Cheng Qian, Zuxin Liu, Akshara Prabhakar, Jielin Qiu, Zhiwei Liu, Haolin Chen, Shirley Kokane, Heng Ji, Weiran Yao, Shelby Heinecke, Silvio Savarese, Caiming Xiong, Huan Wang · OpenReview

Abstract

Reinforcement learning (RL) has shown promise in training agentic models that move beyond static benchmarks to engage in dynamic, multi-turn interactions. Yet, the ultimate value of such agents lies in their ability to assist users, a setting where diversity and dynamics of user interaction pose challenges. In this work, we propose UserRL, a unified framework for training and evaluating user-centric abilities through standardized gym environments paired with simulated users. We systematically vary turn-level reward assignment and trajectory-level score calculation to analyze how different formulations affect learning under the GRPO algorithm. Our experiments across Qwen3 models reveal three key findings: (i) SFT cold start is critical for unlocking initial interaction ability and enabling sustained RL improvements; (ii) deliberate trajectory scoring yields more efficient and effective multi-turn interactions; and (iii) while stronger simulated users (e.g., GPT-4o) facilitates training, open-source simulators (e.g., Qwen3-32B) remain a cost-effective and transferable option. Together, these results highlight that careful design of reward shaping and user simulation choice is as crucial as model scale, and establish UserRL as a practical pathway for developing robust user-centric agentic models.

Introduction

While Large Language Model (LLM) agents are increasingly proficient at tool use and solving static puzzles, their ultimate utility depends on their ability to assist human users. Real-world assistance is inherently dynamic: users often provide vague instructions, change their requirements mid-conversation, or offer feedback that requires the agent to pivot. Existing training methodologies frequently rely on static datasets that fail to capture this "back-and-forth" nature. Furthermore, the field has lacked a standardized framework to evaluate user-centric capabilities such as clarifying ambiguity or persuasive communication. UserRL addresses this gap by providing a unified environment for training agents to navigate the complexities of human-centric interaction.

The UserRL Framework

The UserRL framework overview, illustrating the interaction between gym environments, simulated users, and the multiturn rollout trajectory optimization using Group Relative Policy Optimization (GRPO).

The UserRL framework extends Group Relative Policy Optimization (GRPO) into multi-turn settings. To ensure scalability and standardization, the framework reduces all interactions to three primary operations:

  • Action: Direct communication with the user.
  • Search: Retrieval of external information or test cases.
  • Answer: Submission of a final solution or response.

Central to the framework is the use of LLM-based user simulation. Rather than relying on rigid, hard-coded scripts, UserRL employs models like Qwen3-32B or GPT-4o to act as dynamic simulated users that respond contextually to the agent's queries. This setup allows for a diverse range of interaction trajectories during training.

Experimental Setup and Datasets

The researchers introduced eight distinct "gym" environments, each designed to target a specific interactive skill:

  1. IntentGym: Resolving ambiguity in user requests.
  2. TurtleGym: Lateral thinking via "Turtle Soup" puzzles.
  3. PersuadeGym: Strategic reasoning to influence user opinions.
  4. TelepathyGym: Hypothesis testing in a "20 Questions" format.
  5. FunctionGym: Pattern generalization to discover hidden mathematical rules.
  6. TravelGym: Personalized planning and preference elicitation.
  7. TauGym: Complex, task-oriented tool use.
  8. SearchGym: Multi-step information retrieval and reasoning.

Key Insights and Results

The Necessity of SFT Cold Start

One of the primary findings is that RL training often plateaus or collapses without an initial Supervised Fine-Tuning (SFT) phase. This "cold start" establishes the baseline capability to use interaction tools, which RL then refines into sophisticated multi-turn strategies.

Reward Shaping and Trajectory Scoring

The study explored various reward-shaping strategies, finding that trajectory-level scoring significantly impacts performance. The most effective approach was Equalized/R2G, which treats turns equally while applying a "Reward-to-Go" (R2G) calculation. This method effectively teaches the agent that intermediate actions—such as asking a clarifying question—are valuable because they increase the probability of a successful final outcome.

Performance Against Closed-Source Giants

As shown in the results table below, the UserRL-trained Qwen3-8B model achieved remarkable success, often outperforming much larger closed-source models.

Performance comparison across eight gym environments. The UserRL-trained Qwen3-8B models outperform several closed-source models like GPT-4o and Gemini-2.5-Pro in specific interactive tasks, particularly in TravelGym and PersuadeGym.

Specifically, the trained Qwen3-8B model surpassed GPT-4o and Gemini-2.5-Pro in environments like TravelGym, PersuadeGym, and IntentGym. Beyond success rates, the trained models demonstrated higher efficiency, reaching successful outcomes in fewer turns than their untrained counterparts.

Scaling and Transferability

Interestingly, increasing model scale (e.g., from 4B to 8B parameters) provided only marginal gains for raw models. However, the performance gap widened significantly after UserRL training, suggesting that interactive training is essential to "activate" a model's latent reasoning power. Furthermore, models trained using open-source simulators (Qwen3-32B) transferred their skills effectively when evaluated against stronger simulators like GPT-4o.

Conclusion and Future Work

UserRL establishes a practical pathway for developing robust, user-centric agents. While the current framework uses heuristic rewards, future research will explore learned reward models to better capture the nuances of human conversation. Additionally, the researchers aim to integrate richer user profiles—incorporating varying tones and personalities—to further enhance the robustness and versatility of trained agents.

Summary updated

BibTeX
@misc{qian2025userrl,
  author = {Cheng Qian and Zuxin Liu and Akshara Prabhakar and Jielin Qiu and Zhiwei Liu and Haolin Chen and Shirley Kokane and Heng Ji and Weiran Yao and Shelby Heinecke and Silvio Savarese and Caiming Xiong and Huan Wang},
  title = {{UserRL: Training Interactive User-Centric Agent via Reinforcement Learning}},
  year = {2025},
  eprint = {2509.19736},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.19736},
}
Figure