Probabilistic Learning of Torque Controllers from Kinematic and Force Constraints

João Silvério, Yanlong Huang, Leonel Dario Rozo, Sylvain Calinon, Darwin G. Caldwell

TL;DR

This paper introduces a probabilistic framework that allows robots to learn how to prioritize different types of controllers—such as force, joint-space, and Cartesian-space—directly from human demonstrations. By treating each controller as a Gaussian distribution and fusing them using a "product of Gaussians," the robot can automatically determine which constraints (like a specific force or a precise movement) are most important at any given moment.

What Problem Does This Paper Address?

In the field of Learning from Demonstration (LfD), a major headache for researchers is choosing the right "task representation." Should the robot learn the movement in joint space (angles of its motors) or operational space (the (x,y,z) position of its hand)?

If a task is purely kinematic, like waving, joint space might work. If it involves reaching for an object, operational space is better. However, real-world tasks are often hybrid: closing a jar requires specific force constraints, while shaking that jar might require a specific rhythmic joint motion. Traditionally, engineers have had to manually switch between these controllers or hand-tune "importance weights," which is tedious and contradicts the goal of intuitive robot learning. This paper seeks to automate that fusion by learning importance from the statistical variance of human demonstrations.

Methods

The authors propose Probabilistic Torque Controllers (PTC). The core idea is to represent every control objective as a Gaussian distribution $N(\mu, \Sigma)$.

  1. Linearization: They show that standard robot controllers (PD controllers for joints, Cartesian positions, and forces) can be rewritten as linear operators. This allows them to transform a probabilistic reference (like a desired position with some uncertainty) directly into a probabilistic torque command.
  2. Learning Importance: They use two types of regression to model demonstrations:
  3. GMM/GMR (Gaussian Mixture Models): Used to capture variability. If a teacher is very consistent in one part of a task (low variance), the robot learns that this part is high-priority.
  4. GPR (Gaussian Process Regression): Used to capture uncertainty. If the robot is in a region where it has seen no demonstrations, the variance is high, and it "knows" it shouldn't prioritize that controller.
  5. The Fusion Step: To combine multiple controllers (e.g., one for force, one for joint angles), the authors use the Product of Gaussians. Mathematically, the "optimal" torque is the mean of the resulting product. This naturally weights the controllers: the one with the lowest variance (highest precision/importance) dominates the final output.

Datasets

The approach was evaluated on two real-world experimental setups using 7-Degree-of-Freedom (7-DoF) torque-controlled manipulators:

  • Cocktail Shaking Task: A KUKA light-weight robot was taught to close a shaker (requiring force control) and then shake it (requiring rhythmic joint-space control). The dataset consisted of 4 kinesthetic demonstrations.
  • Collaborative Painting Task: A robot assists a human by receiving a paint roller (handover in operational space) and then performing painting strokes (joint space). This used a dataset where the input was the 3D position of the human's hand rather than just time.

Key Insights and Ideas

  • Variance is a Signal: Instead of treating variance in demonstrations as "noise" to be averaged out, this paper treats it as a direct indicator of task priority. If a human always does a specific motion the same way, it’s a constraint; if they are sloppy, the robot can be flexible there.
  • Regression Agnostic: The framework doesn't care how you generate the Gaussian references. Whether you use GMMs, GPR, or ProMPs, as long as the model provides a mean and a covariance, the fusion logic holds.
  • Analytical Efficiency: Because they rely on the properties of Gaussians, the "optimal" torque can be calculated analytically (using a weighted sum of quadratic errors). This makes it fast enough for real-time robot control.

Key Results

  • Seamless Transitions: In the cocktail task, the robot successfully transitioned from force-dominant control (to close the lid) to joint-dominant control (to shake) without any hard-coded triggers. The "optimal torque" simply followed whichever controller had the lowest variance at that timestamp.
  • Safe Defaulting: In the painting task using GPR, the robot stayed in a "safe" neutral posture when the human was far away (high uncertainty). As the human approached the demonstration zones, the variance dropped, and the robot accurately transitioned into the handover or painting sub-tasks.
  • Multi-Constraint Satisfaction: The robot was able to satisfy force and kinematic constraints simultaneously, a feat that usually requires complex hierarchical task-priority architectures.

Limitations and Future Work

  • Fixed Gains: The control gains ($K_p$ and $K_d$) were set manually by the researchers. The authors suggest that future versions could learn these gains automatically using methods like Linear Quadratic Regulators (LQR).
  • Redundancy Management: While the paper mentions using the robot's "null space" (extra degrees of freedom) to improve extrapolation, this wasn't fully integrated into the probabilistic framework in this specific study.
  • Model Complexity: Combining the strengths of GMR (variability) and GPR (uncertainty) into a single, unified probabilistic model remains an open challenge that the authors highlight for future research.

Summary updated

BibTeX
@inproceedings{silverio2018probabilistic,
  author = {João Silvério and Yanlong Huang and Leonel Dario Rozo and Sylvain Calinon and Darwin G. Caldwell},
  title = {{Probabilistic Learning of Torque Controllers from Kinematic and Force Constraints}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2018},
  doi = {10.1109/iros.2018.8594103},
}
Figure