Policy Optimization under Imperfect Human Interactions with Agent-Gated Shared Autonomy

Zhenghai Xue, Bo An, Shuicheng YanICLR 2025

The Bottleneck of the "Perfect" Human

Human-in-the-loop (HL) reinforcement learning often assumes a "perfect" human supervisor—one who can monitor an agent flawlessly and provide optimal demonstrations without fatigue. In reality, human supervisors are a bottleneck: we experience fatigue, have slow reaction times, and often struggle to control complex systems via standard interfaces like keyboards or joysticks.

Existing HL methods typically fall into two traps:

  1. Human-Gated: They require the human to watch every second of training to intervene during dangerous situations, leading to rapid fatigue.
  2. Imitation-Heavy: They try to copy human control directly. If the human is unskilled at the task, the agent learns to be unskilled as well.

To address this, researchers introduce Agent-Gated Shared Autonomy (AGSA), a framework designed to improve training safety and efficiency when human interactions are inherently unpredictable and imperfect.

The AGSA Framework: Splitting the Workload

AGSA tackles the challenge of imperfect human interaction by splitting the workload between two specialized agents, moving away from low-level control imitation to high-level feedback.

The AGSA framework illustrating the interaction between the gating agent, learning agent, and human participant.

The Gating Agent (The Proctor)

Instead of relying on the human to constantly watch the agent, AGSA employs a dedicated gating agent that monitors the environment. It learns a "gating value function" to predict when human intervention is actually needed. This agent is trained using two types of high-level human feedback:

  • Evaluative Feedback: A simple binary signal (e.g., "Was this intervention necessary?").
  • Preference Feedback: Comparing two short trajectory segments and picking the better one (similar to the RLHF process used in Large Language Models).

The Learning Agent (The Student)

This agent interacts directly with the environment. Crucially, it does not just imitate the human. Instead, it treats the act of being intervened upon as a negative reward signal. If the gating agent takes control away and hands it to the human, the learning agent assumes it was doing something wrong and learns to avoid those states in the future.

Key Insights and Advantages

By shifting the paradigm from continuous human monitoring to agent-gated requests, AGSA introduces several core advantages:

  • Relative Over Absolute Feedback: It is much easier for a human to say "Option A was better than Option B" or "Yes, you should have helped me there" than it is to provide a perfect, millisecond-accurate demonstration of a complex maneuver.
  • Insulation from Suboptimality: Because the learning agent is trained on the intervention signal (the "when") rather than the human's actual actions (the "how"), it can eventually outperform its human teacher. It filters out the "noise" of poor human motor control.
  • Reduced Cognitive Load: The "agent-gated" approach means humans don't have to be "on" 100% of the time. They only act when prompted, which significantly reduces devotion and anxiety metrics.
  • Long-term Foresight: By training the gating agent with a value function, it learns to intervene before a crash happens, rather than merely reacting to one in progress.
Comparison of uncertainty estimation and failure detection, highlighting the gating agent's ability to foresee necessary interventions.

Experimental Validation

The framework was evaluated in two main settings:

  1. MuJoCo (Robotic Locomotion): Standard benchmarks including Hopper, Walker2d, and HalfCheetah. To simulate "imperfect" humans, researchers used neural network policies at various skill levels (Low, Medium, High) as proxies.
  2. MetaDrive (Autonomous Driving): A complex driving simulator where the agent must navigate traffic. This included a user study with real human participants facing simulated network latency and unfamiliar controls.

Key Results

  • Superior Performance: In MuJoCo tasks, AGSA consistently achieved higher normalized scores than baselines like DAgger, RLIF, and EnsembleDAgger, especially when the "human" teacher was low-skilled.
  • Safety First: In the MetaDrive driving task, AGSA had the lowest "Total Safety Cost" (fewer collisions and infractions) during training compared to all other human-in-the-loop baselines.
  • User-Friendliness: Real-world participants rated AGSA as significantly less stressful. On a 5-point scale, AGSA scored a 4.5 for performance and only 1.6 for devotion, whereas traditional methods like PVP required near-total concentration (4.5 devotion).
  • Efficiency: AGSA required roughly 60% fewer human attention steps to converge compared to standard imitation-based methods.

Limitations and Future Work

While AGSA represents a significant step forward, the authors identify a few key areas for future growth. First, while AGSA works well for driving and simple robotics, very high-dimensional action spaces (like a humanoid with dozens of joints) might still be too difficult for a human to provide meaningful preference feedback on. Second, the current model focuses on a 1-human-to-1-agent relationship; future work could explore how one human might oversee a fleet of agents. Finally, for highly complex tasks, humans should perhaps only intervene at a high-level "planner" stage rather than the low-level "controller" stage.

Summary updated

BibTeX
@inproceedings{xue2025policy,
  author = {Zhenghai Xue and Bo An and Shuicheng YAN},
  title = {{Policy Optimization under Imperfect Human Interactions with Agent-Gated Shared Autonomy}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=LfekK1E0QE},
}
Figure