Abstract
Our goal is to enable robots to learn cost functions from user guidance. Often it is difficult or impossible for users to provide full demonstrations, so corrections have emerged as an easier guidance channel. However, when robots learn cost functions from corrections rather than demonstrations, they have to extrapolate a small amount of information—the change of a waypoint along the way—to the rest of the trajectory. We cast this extrapolation problem as online function approximation, which exposes different ways in which the robot can interpret what trajectory the person intended, depending on the function space used for the approximation. Our simulation results and user study suggest that using function spaces with non-Euclidean norms can better capture what users intend, particularly if environments are uncluttered. This, in turn, can lead to the robot learning a more accurate cost function and improves the user's subjective perceptions of the robot.
Introduction
To perform complex tasks, robots rely on cost functions—mathematical descriptions of what to avoid and what to prioritize. Traditionally, researchers use Inverse Reinforcement Learning (IRL) to infer these functions from human demonstrations. However, providing a full, smooth demonstration for a high-degree-of-freedom robot arm is physically exhausting and technically difficult for most users.
A popular alternative is learning from corrections, where a user simply grabs the robot and moves a single waypoint on its path to a better location. The challenge is "information loss": the robot sees one changed point but must guess how the rest of the path should change to match. If the robot assumes only that one point changes, the resulting path becomes jerky and unrealistic. This paper investigates how robots should interpret a single-point correction to best capture human intent and learn the correct underlying cost function.
Methodology: Extrapolation as Function Approximation
The authors frame trajectory extrapolation as an online function approximation problem. When a user moves a waypoint $q_t$ to $\bar{q}_t$, the robot solves an optimization problem to find a new trajectory $\bar{\xi}$ that is "close" to the original but passes through the new point. The definition of "closeness" is determined by the inner product matrix $A$, representing different norms:
- Euclidean (Identity): Assumes waypoints are independent. Only the corrected point moves, creating a "spike" in the path.
- Velocities (Finite Differencing): Penalizes changes in velocity. A correction at one point smoothly pulls neighboring points along, maintaining a natural flow.
- Gaussian (RBF) Kernel: Uses a radial basis function to propagate the correction to nearby timepoints, with a tunable parameter $\sigma$ to control the locality of the change.
By using these different norms to generate an "intended" trajectory, the robot can update its internal weights for various features (e.g., distance to objects, table height) more effectively.
Experimental Evaluation
The approach was evaluated through two primary channels:
- Simulated Environments: 25 different environments generated in OpenRAVE with varying numbers of object types and clutter levels.
- User Study: A real-world experiment with 26 participants using a JACO2 7-DOF robot arm. Users taught the robot to carry a cup while balancing objectives like keeping it close to the table and away from a laptop.
Key Insights and Results
- The Norm as a Prior on Intent: Choosing a non-Euclidean norm (like Velocities) is a mathematical assumption that when a human moves one point, they likely intended to change the entire local shape of the motion.
- The Impact of Clutter: In simple environments, "wide" propagation helps the robot learn faster. However, in cluttered environments, wide propagation can be risky; moving a waypoint to avoid one object might accidentally push another part of the trajectory into a different obstacle, leading to incorrect feature inference.
- Objective and Subjective Success: The "Velocities" norm resulted in trajectories with significantly lower costs relative to ground truth. Subjectively, users felt the robot understood them better and was easier to teach, receiving higher Likert ratings for predictability and understanding.
Conclusion
This work demonstrates that how a robot extrapolates a single-point correction is critical for accurately learning a user's cost function. By moving beyond simple Euclidean assumptions and favoring smoothness through non-Euclidean norms, robots can better align with human intuition, making them more effective and pleasant partners in collaborative tasks.
Summary updated