Learning Task Priorities from Demonstrations

João Silvério, Sylvain Calinon, Leonel Dario Rozo, Darwin G. CaldwellIEEE Trans. Robotics 2019 · DOI

Abstract

Humanoid robots often face conflicting objectives, such as reaching for an object while maintaining balance. Traditional hand-tuned task hierarchies are rigid and difficult to scale. This paper proposes a probabilistic framework that learns these priorities directly from human demonstrations. By integrating Jacobian-based task parameters into Task-Parameterized Gaussian Mixture Models (TP-GMM), the robot can extract task hierarchies based on the statistical variability of demonstrations. The method allows for smooth transitions between different priority structures and is computationally efficient for real-time control on high-DOF humanoid robots.

Introduction

In humanoid robotics, bimanual manipulation is complex because the robot often has to manage multiple, potentially conflicting tasks at once. For example, a robot might need to track two different targets while maintaining its balance and avoiding self-collision. Traditionally, these "task priorities" are hand-tuned by engineers using strict hierarchies or soft weighting. However, hand-tuning doesn't scale well and fails to capture the nuance of how humans coordinate their movements. While Learning from Demonstration (LfD) is a popular way to teach robots new skills, most LfD methods focus on a single task in a single space. This paper tackles the challenge of learning hierarchies of multiple tasks and determining which space is most relevant at any given moment, all from a small set of demonstrations.

Methodology

The authors build upon the Task-Parameterized Gaussian Mixture Model (TP-GMM), a probabilistic framework that encodes movements from the perspective of different coordinate frames. Their key innovations include:

  1. Jacobian-based Task Parameters: They reformulate TP-GMM to include Jacobian matrices and their pseudo-inverses. This allows the model to project operational space constraints (Cartesian goals) directly into the configuration space (joint angles).
  2. Probabilistic Priority Extraction: The model looks at the variability in the demonstrations. If a demonstrator consistently achieves a specific goal (low variance) while letting others slide (high variance), the model identifies that goal as high priority.
  3. Hierarchy Fusion: Instead of just picking one "winner," the system uses Gaussian Mixture Regression (GMR) to fuse multiple "candidate hierarchies" into a single control command. This ensures smooth transitions if priorities change during a task.
  4. Orientation Handling: They introduce unit quaternion-based projection operators to handle end-effector orientation constraints.

Experimental Validation

The approach was validated through several simulated and real-world experiments using humanoid platforms:

  • COMAN Robot: Used for a bimanual "shaking a bottle" task (mixing operational and configuration constraints) and a conflicting target-reaching task.
  • Centauro Robot: A loco-manipulation scenario involving 19 degrees of freedom, where the robot had to prioritize base position, end-effector position, and orientation.
  • WALK-MAN Robot: Used to demonstrate the transferability of learned priorities from one robot morphology to another.
Bimanual shaking task simulation showing the transition between reaching and shaking phases.

Key Results and Discussion

The core "aha" moment is treating statistical variance as a proxy for importance. In a task-parameterized space, the "precision" (inverse of variance) naturally acts as a weight for the controller. By projecting everything into the joint space via Jacobians, the robot can treat a "posture" goal and a "hand position" goal using the same mathematical machinery.

In the bimanual shaking task, the robot successfully learned to prioritize the Cartesian goal (reaching the bottle) during the first phase and the joint-space goal (the rhythmic shaking motion) during the second phase. When presented with two targets that were physically impossible to reach simultaneously, the COMAN robot correctly prioritized the target that had been shown as "more important" in the demonstrations.

Learned task priorities and variance during reaching and shaking phases. The green ellipses represent the precision (inverse variance) of the task goals.

The computation is highly efficient. Even for the complex 48-DOF whole-body Jacobian of the Centauro robot, the control cycle took only ~7.35ms, making it viable for real-time applications.

Conclusion

The presented framework allows robots to learn task priorities directly from human demonstrations by leveraging statistical variance. While the current framework requires a set of "candidate" hierarchies to be defined beforehand, it significantly reduces the need for manual tuning. Future work will explore torque-based control for safer physical interactions and Riemannian formulations for more accurate orientation representation.

Summary updated

BibTeX
@article{silverio2019learning,
  author = {João Silvério and Sylvain Calinon and Leonel Dario Rozo and Darwin G. Caldwell},
  title = {{Learning Task Priorities from Demonstrations}},
  journal = {IEEE Trans. Robotics},
  year = {2019},
  doi = {10.1109/tro.2018.2878355},
}
Figure