Abstract
Human input, such as demonstrations and physical corrections, is vital for teaching robots complex tasks. However, standard Inverse Reinforcement Learning (IRL) assumes the human's objective is already present in the robot's pre-defined hypothesis space. When this space is misspecified—meaning the human cares about features the robot doesn't know—robots often learn unintended, erratic behaviors. We propose a Bayesian framework that enables robots to quantify their situational confidence ($\beta$). By reasoning about how well human inputs can be explained by the current hypothesis space, robots can detect misspecification and decide when to stop learning, thereby improving safety and robustness. We demonstrate our method on a 7-DOF robot manipulator in both offline and online learning scenarios.
Introduction
Teaching robots through human interaction typically involves the robot inferring a reward function from human behavior. A common failure mode occurs when the robot's model of the world is incomplete. For instance, if a human tries to teach a robot to keep a cup upright, but the robot lacks a feature for "orientation," it will incorrectly attribute the human's movements to other known features like "efficiency" or "obstacle avoidance." This "unknown unknown" problem leads to unpredictable robot behavior, as the robot attempts to force-fit human intent into a flawed model.
Quantifying Situational Confidence
The core of our approach is to treat the robot's confidence in the human's rationality as a latent variable to be inferred. In standard models, a parameter $\beta$ represents the human's optimality. We extend this by performing joint Bayesian inference over both the objective weights ($\theta$) and the situational confidence ($\beta$).
If the human's input cannot be rationally explained by any combination of features in the robot's hypothesis space, the posterior distribution for $\beta$ shifts toward zero. This signal tells the robot that its model is likely misspecified for the current task, allowing it to maintain its prior safe behavior rather than drifting into unintended learning.
Implementation: Demonstrations and Corrections
We applied this framework to two distinct types of human-robot interaction using a 7-DOF JACO robotic manipulator:
- Offline Learning from Demonstrations: The robot evaluates full kinesthetic trajectories provided by users to determine how well they fit the hypothesis space.
- Online Physical Corrections: For real-time interaction, we developed a tractable approximation using Laplace methods. This allows the robot to update its confidence and objective function mid-motion as a user provides physical pushes or pulls, ensuring the robot remains responsive without computational lag.
Experimental Results
We validated our framework through user studies involving 12 participants and various household tasks, such as moving a cup while avoiding obstacles. Our results demonstrate that robots using situational confidence are significantly more robust to model misspecification.
Key findings include:
- Reduced Regret: When features were missing from the robot's model, our method significantly outperformed standard IRL by maintaining lower regret relative to the human's true preferences.
- Robustness through Inaction: By ignoring "unexplainable" inputs (low $\beta$), the robot avoids wild oscillations in weight space. This prevents jerky, unpredictable motions and maintains safe behavior.
- The Correlation Trap: We observed that if a missing feature is highly correlated with an existing one, the robot might falsely report high confidence, highlighting the ongoing challenge of truly open-world learning.
- User Preference: Participants felt the robot was significantly better at avoiding unintended learning ($p = 0.0046$), preferring a robot that admits confusion over one that confidently executes the wrong task.
Conclusion
By making robots aware of their own modeling limitations, we can create safer and more reliable collaborative systems. While our method effectively handles misspecification by "staying put" when confused, future work will explore how robots can actively query humans to learn new features when situational confidence is low, moving from passive observation to active learning.
Summary updated