Learning from Incremental Directional Corrections

Wanxin Jin, Todd D. Murphey, Shaoshuai MouarXiv 2020

Abstract

This paper proposes a novel approach that enables a robot to learn an objective function incrementally from human directional corrections. Existing methods learn from human magnitude corrections; since a human needs to carefully choose the magnitude of each correction, those methods can easily lead to over-corrections and learning inefficiency. The proposed method only requires human directional corrections -- corrections that only indicate the direction of an input change without indicating its magnitude. We only assume that each correction, regardless of its magnitude, points in a direction that improves the robot's current motion relative to an unknown objective function. The allowable corrections satisfying this assumption account for half of the input space, as opposed to the magnitude corrections which have to lie in a shrinking level set. For each directional correction, the proposed method updates the estimate of the objective function based on a cutting plane method, which has a geometric interpretation. We have established theoretical results to show the convergence of the learning process. The proposed method has been tested in numerical examples, a user study on two human-robot games, and a real-world quadrotor experiment. The results confirm the convergence of the proposed method and further show that the method is significantly more effective (higher success rate), efficient/effortless (less human corrections needed), and potentially more accessible (fewer early wasted trials) than the state-of-the-art robot learning frameworks.

Introduction

Aligning robot behavior with human preferences is a fundamental challenge in robotics. While Learning from Demonstration (LfD) is a common approach, it often requires experts to provide near-perfect examples, which is impractical for complex tasks. Recent advancements have shifted toward incremental learning, where humans provide feedback during robot execution. However, these methods typically rely on magnitude corrections, requiring the user to specify exactly how much to adjust a motion. This creates a high cognitive load and a risk of "over-correction," where excessive feedback causes the learning algorithm to diverge. As the robot approaches the optimal behavior, the "safe" range for these magnitudes shrinks, making valid feedback increasingly difficult for non-experts to provide.

Methodology

To address these challenges, we propose a framework that utilizes directional corrections. Instead of asking "how much," the robot only needs to know "which way."

The Directional Assumption

We assume that any human correction $a_k$, regardless of its magnitude, points in a direction that improves the robot's current motion $\xi_{\theta_k}$ relative to the user's hidden objective function $J$. Mathematically, this implies that the correction resides in a half-space defined by the gradient of the objective function.

Iterative Learning Process

  1. Motion Planning: The robot plans a trajectory $\xi_{\theta_k}$ based on its current estimate of the objective parameter $\theta_k$.
  2. Human Feedback: While the robot executes the motion, the user applies a directional correction $\bar{a}_k$.
  3. Cutting-Plane Update: The algorithm treats each correction as a linear inequality (a "cutting plane") that bisects the parameter search space $\Omega$. The true parameter is assumed to lie in the half-space indicated by the correction.
  4. Parameter Estimation: To select the next parameter $\theta_{k+1}$, the algorithm finds the center of the Maximum Volume Ellipsoid (MVE) that fits within the updated search space. This ensures the search space shrinks at a guaranteed exponential rate.
Overview of the iterative learning framework using directional corrections and search space updates.

Theoretical Insights

A key advantage of this approach is the Half-Space Advantage. In magnitude-based learning, a valid correction must fall within a specific sub-level set of the cost function, which shrinks as the robot improves. In our directional framework, the allowable region for a valid correction is always exactly half of the input space, regardless of how close the robot is to the optimal solution. This makes the system significantly more robust to human error and easier for novices to control.

Comparison of valid correction regions: magnitude-based (left) vs. directional (right). The directional approach offers a much larger, constant valid region.

Experimental Results

The framework was validated through numerical simulations, a user study with 17 participants, and real-world quadrotor experiments.

  • Efficiency and Success: In a robot arm reaching game, the success rate improved from 80% (magnitude-based) to 97.65% using directional corrections. Users required approximately 70% fewer corrections to achieve the goal.
  • Accessibility: Novice users experienced zero "wasted" trials when using directional corrections, whereas they frequently failed initial rounds with magnitude-based methods due to over-correction.
  • Real-World Application: A novice user successfully taught a physical Parrot Mambo quadrotor to navigate through a gate and land on a target using only three keyboard-based directional corrections.

Conclusion

By focusing on the direction rather than the magnitude of human feedback, we provide a learning framework that is theoretically sound, computationally efficient, and highly accessible to non-expert users. Future work will explore extending this method to non-convex cost functions and handling inconsistent or erroneous human feedback.

Summary updated

BibTeX
@misc{jin2020learning,
  author = {Wanxin Jin and Todd D. Murphey and Shaoshuai Mou},
  title = {{Learning from Incremental Directional Corrections}},
  year = {2020},
  eprint = {2011.15014},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.15014},
}
Figure