Abstract
Body posture influences human and robot performance in manipulation tasks, as appropriate poses facilitate motion or the exertion of force along different axes. In robotics, manipulability ellipsoids arise as a powerful descriptor to analyze, control, and design the robot dexterity as a function of the articulatory joint configuration. This descriptor can be designed according to different task requirements, such as tracking a desired position or applying a specific force. In this context, this article presents a novel manipulability transfer framework, a method that allows robots to learn and reproduce manipulability ellipsoids from expert demonstrations. The proposed learning scheme is built on a tensor-based formulation of a Gaussian mixture model that takes into account that manipulability ellipsoids lie on the manifold of symmetric positive-definite matrices. Learning is coupled with a geometry-aware tracking controller allowing robots to follow a desired profile of manipulability ellipsoids. Extensive evaluations in simulation with redundant manipulators, a robotic hand and humanoids agents, as well as an experiment with two real dual-arm systems validate the feasibility of the approach.
Keywords
1. Introduction
When we perform a manipulation task, we naturally place our arms (and body) in a posture that is best suited to carry out the task at hand (see Figure 1). Such posture variation is a means through which the motion and strength characteristics of the arms are made compatible with the task requirements. For example, human arm kinematics plays a central role when humans plan point-to-point reaching movements, where joint trajectory patterns arise as a function of the visual target (Morasso, 1981), indicating that the task requirements influence the human arm posture. This insight was also identified in more complex situations, where not only kinematic but also other biomechanic factors affect the task planning (Cos et al., 2011). For example, the human central nervous system plans arm movements considering its directional sensitivity, which is directly related to the arm posture (Sabes and Jordan, 1997). This allows humans to be mechanically resistant to potential perturbations coming from obstacles occupying the workspace. Interestingly, directional preferences of human arm movements are characterized by a tendency to exploit interaction torques for movement production at the shoulder or elbow, indicating that the preferred directions are largely determined by biomechanical factors (Dounskaia et al., 2014).

Illustration of pushing (a) and pulling (b) tasks for which the posture of the human significantly influences their ability to carry out the task.
The robotics community has also been aware of the impact of robot posture on reaching movements and manipulation tasks (e.g., pushing, pulling, reaching). It is well known that by varying the posture of a robot, we can change the optimal directions for generating motion or applying specific forces. This has direct implications in hybrid control, because the controller capability can be fully realized when the optimal directions for controlling velocity and force coincide with those dictated by the task (Chiu, 1987). In this context, the so-called manipulability ellipsoid (Yoshikawa, 1985b) serves as a geometric descriptor that indicates the ability to arbitrarily perform motion and exert a force along the different task directions in a given joint configuration.
Manipulability ellipsoids have been used to measure the compatibility of robot postures with respect to fine and coarse manipulation (Chiu, 1987), and to improve minimum-time trajectory planning using a manipulability-aware inverse kinematics algorithm (Chiacchio, 1990). Vahrenkamp et al. (2012) proposed a grasp selection process that favored high manipulability in the robot workspace. Other works have focused on maximizing the manipulability ellipsoid volume in trajectory generation algorithms (Guilamo et al., 2006), and task-level robot programming frameworks (Somani et al., 2016), to obtain singularity-free joint trajectories and high task-space dexterity. Nevertheless, as stated in Lee (1989), solely maximizing the ellipsoid volume to achieve high dexterity in motion may cause a reverse effect on the flexibility in force.
The aforementioned approaches do not specify a desired robot manipulability for the task. In contrast, Lee and Oh (2016) proposed an optimization method to find reaching postures for a humanoid robot that achieved desired (manually specified) manipulability volumes. Similarly, a series of desired manipulability ellipsoids was predefined according to Cartesian velocity and force requirements in dual-arm manipulation tasks (Lee, 1989). Note that both Lee (1989) and Lee and Oh (2016) predetermined the task-dependent robot manipulability, which required a meticulous and demanding analysis about the motion that the robot needed to perform, which becomes impractical when the robot is required to carry out a large set of different tasks. Furthermore, these approaches overlooked an important characteristic of manipulability ellipsoids, namely, the fact that they lie on the manifold of symmetric positive-definite (SPD) matrices. This may influence the optimal robot joint configuration for the task at hand.
Other geometric descriptors have been proposed in the literature to evaluate the velocity or force performance of robots at a given joint configuration. In contrast to manipulability ellipsoids that do not fully account for boundary limits in the space of joint velocities or torques, manipulability polytopes provide a linear estimate of the exact joint constraints in task space (Chiacchio et al., 1997; Lee, 1997). Moreover, Ajoudani et al. (2015) introduced the concept of a stiffness feasibility region (SFR) to represent the non-polytopic boundary where the realization of a desired Cartesian stiffness matrix is feasible. While the polytope approaches provide a more accurate estimate of the velocity or force generation capabilities of the robot compared with manipulability ellipsoids, their calculation is computationally expensive. SFR is a particular Cartesian stiffness descriptor and therefore does not generalize to other robot control settings. Manipulability ellipsoids are easy to compute, while representing an intuitive estimate of the robot ability to perform velocities, accelerations or exert forces along the different task directions.
In this article we introduce the novel idea that manipulability-based posture variation for task compatibility can be addressed from a robot learning from demonstration perspective. Specifically, we cast this problem as a manipulability transfer between a teacher and a learner. The former demonstrates how to perform a task with a desired time-varying manipulability profile, while the latter reproduces the task by exploiting its own redundant kinematic structure so that its manipulability ellipsoid matches the demonstration. Unlike classical learning frameworks that encode reference position, velocity, and force trajectories, our approach offers the possibility of transferring posture-dependent task requirements such as preferred directions for motion and force exertion in operational space, which are encapsulated in the demonstrated manipulability ellipsoids.
This idea opens two main challenges, namely, (i) how to encode and retrieve a sequence of manipulability ellipsoids, and (ii) how to track a desired time-varying manipulability either as the main task of the robot or as a secondary objective. To address the former problem, we propose a tensor-based formulation of Gaussian mixture model (GMM) and Gaussian mixture regression (GMR) that takes into account that manipulability ellipsoids lie on the manifold of SPD matrices (see Section 3 for a full description of the model). The latter challenge is solved through a manipulability tracking formulation inspired by the classical inverse kinematics problem in robotics, where a first-order differential relationship between the robot manipulability ellipsoid and the robot joints is established, as explained in Section 4. This relationship also demands to consider that manipulability ellipsoids lie on the SPD manifold, which is here tackled by exploiting tensor-based representations and differential geometry (see Section 2). The geometry awareness of our formulations is crucial for achieving successful manipulability transfer, as shown in Section 5. Note that Riemannian geometry has also been successfully exploited in robot motion optimization (Ratliff et al., 2015) and manipulability analysis of closed chains (Park and Kim, 1998). For the sake of clarity, different aspects of the proposed learning and tracking approaches are illustrated with simple examples using simulated planar robots throughout the article.
The proposed approach can be straightforwardly applied to different types of kinetostatic and dynamic manipulability measures. This opens the door to manipulability transfer scenarios with various types of robots where different task requirements at kinematic and dynamic levels can be learned and successfully transferred between agents of different embodiments. The functionality of the proposed approach is evaluated in different simulated manipulability tracking tasks involving a 16-degree-of-freedom (DoF) robotic hand and two legged robots. The full manipulability transfer is showcased in a bimanual setup where an unplugging task is kinesthetically demonstrated to a 14-DoF dual-arm robot, which then transfers the learned model to a different dual-arm system that reproduces the unplugging task successfully, as described in Section 6.
Early contributions on our learning and tracking frameworks were presented in Rozo et al. (2017) and Jaquier et al. (2018), respectively. In Rozo et al. (2017), the learning approach provided a sequence of desired manipulability ellipsoids that a learner robot reproduced using gradient-based nullspace commands. Existing approaches built on the optimization of manipulability-based indices are not suitable as they do not allow the tracking of specific manipulability ellipsoids. In Jaquier et al. (2018), the tracking framework used manually specified robot manipulability ellipsoids for the task. As mentioned previously, this may be tedious and cumbersome when the robot needs to carry out different and complex tasks. Therefore, the integration of the proposed learning and tracking approaches solves the aforementioned problems and offers a complete geometry-aware manipulability transfer framework where manipulability ellipsoid profiles are learned from demonstrations and reproduced accurately. This opens the possibility to transfer posture-dependent task requirements between agents of dissimilar kinematic structures. In particular, this framework also permits to transfer other velocity, force, or impedance specifications with any priority order with respect to the manipulability tracking controller.
Beyond the combination of our early contributions on manipulability learning and tracking, the other contributions of this article are: (i) analyzing the role of the proposed differential geometry formulation of the geometry-aware tensor-based GMM/GMR adapted to manipulability ellipsoids; (ii) extending the geometry-aware manipulability tracking control scheme initially designed for kinetostatic manipulability measures to dynamic measures; (iii) demonstrating the exponential stability of the proposed manipulability tracking controllers; (iv) introducing various novel types of geometry-aware manipulability tracking schemes and methodologies to consider the robot actuators contribution and variability-based tracking precision; (v) analyzing the importance of the geometry-awareness of the manipulability tracking controllers by comparison against state-of-the-art manipulability-based optimization methods.
A summary video, as well as videos of the illustrative planar examples and simulated and real experiments accompany the article and can be found at https://sites.google.com/view/manipulability. Related source codes are available at https://github.com/NoemieJaquier/Manipulability.
2. Background
2.1. Manipulability ellipsoids
Velocity and force manipulability ellipsoids introduced in Yoshikawa (1985b) are kinetostatic performance measures of robotic platforms. They indicate the preferred directions in which force or velocity control commands may be performed at a given joint configuration. More specifically, the velocity manipulability ellipsoid describes the characteristics of feasible motion in Cartesian space corresponding to all the unit norm joint velocities. The velocity manipulability of an n-DoF robot can be found by using the kinematic relationship between task velocities
where
by using the least-squares inverse kinematics relation
In the literature, the velocity manipulability ellipsoid is usually defined as
Other forms of manipulability ellipsoids exist, such as the dynamic manipulability (Yoshikawa, 1985a), which gives a measure of the ability of performing end-effector accelerations along each task-space direction for a given set of joint torques. This has been shown to be useful when the robot dynamics cannot be neglected in highly dynamic manipulation tasks (Chiacchio et al., 1991b). Recent works have extended this measure to analyze the robot capacity to accelerate its center of mass (CoM) for locomotion stability (Azad et al., 2017; Gu et al., 2015), showing the applicability of the aforementioned tools beyond robotic manipulation.
As mentioned previously, any manipulability ellipsoid
2.2. Riemannian manifold of SPD matrices
The set of
Intuitively, a Riemannian manifold
The space of SPD matrices can be represented as the interior of a convex cone embedded in its tangent space
The exponential map

SPD manifold
Specifically, the exponential and logarithmic maps on the SPD manifold corresponding to the affine-invariant distance
are computed as (see (Pennec et al., 2006) for details)
where
Another useful operation over manifolds is the parallel transport
with
In this article, we first exploit the Riemannian manifold framework to propose a probabilistic learning model that encodes and retrieves manipulability ellipsoids considering that these belong to
2.3. Tensor representation
Tensors are generalization of matrices to arrays of higher dimensions (Kolda and Bader, 2009), where vectors and matrices may respectively be seen as first- and second-order tensors. Tensor representation permits to represent and exploit data structure of multidimensional arrays. In this article, such representation is first used in the learning process to encode a distribution of manipulability ellipsoids (as explained in Section 3). Then, tensor representation is also exploited in the proposed manipulability tracking formulation to find the first-order differential relationship between the robot joints and the robot manipulability ellipsoid (first- and second-order tensors, respectively), which results in a third-order tensor (see Section 4). To do so, we first introduce the tensor operations needed for our mathematical treatment.
2.3.1. Tensor product
The tensor product is a multilinear generalization of the outer product of two vectors
2.3.2. n-mode product
The multiplication of a tensor
where
2.3.3. Tensor contraction
As described in Tyagi and Davis (2008), we denote the element
2.3.4. Tensor covariance
Similarly to the covariance of vectors, the
where N is the total number of data points. This definition is used in the formulation of tensor-variate normal distributions.
2.3.5. Normal distribution of symmetric matrices
The tensor-variate normal distribution of a random second-order symmetric matrix
with
2.3.6. Derivative of a matrix with respect to a vector
In the following identities, the matrix
Note that when the matrix function
Left multiplication by a constant matrix
Right multiplication by a constant matrix
Finally, another useful operation for our manipulability tracking formulation is the derivative of the inverse of the matrix
Note that the proposed geometry-aware manipulability tracking, introduced in Section 4, takes inspiration from the computation of the robot Jacobian, which is computed from the first-order time derivative of the robot forward kinematics. We use the tensor representation to similarly compute the first-order derivative of the function that describes the relationship between a manipulability ellipsoid
3. Learning manipulability ellipsoids
The first open problem in manipulability transfer is to appropriately encode sequences of demonstrated manipulability ellipsoids and subsequently retrieve a desired manipulability profile that encapsulates the patterns observed during the demonstrations. In order to describe how we tackle this problem, we first introduce the mathematical formulation of a GMM that encodes a set of demonstrated manipulability ellipsoids over the manifold of SPD matrices. This probabilistic formulation models the trend of the demonstrated manipulability sequences along with their variability, reflecting their dispersion through the different demonstrations. After, we describe how a distribution of the desired manipulability ellipsoids can be retrieved via GMR on the SPD manifold.
3.1. GMM on SPD manifolds
Similarly to multivariate distribution (see Dubbelman, 2011; Simo-Serra et al., 2017; Zeestraten et al., 2017), we can extend the normal distribution (12) to the SPD manifold. Thus, a tensor-variate distribution maximizing the entropy in the tangent space is approximated by
where
Similarly to the Euclidean case, a GMM on the SPD manifold is defined by
with K being the number of components of the model, and
The parameters of a GMM on the manifold of SPD matrices are estimated by expectation–maximization (EM) algorithm. Specifically, the responsibility of each component k is computed in the E-step as
During the M-step, the mean
3.2. GMR on SPD manifolds
GMR computes the conditional distribution
where we represent the fourth-order tensor by separating the components of the third and fourth modes with horizontal and vertical bars, respectively. With this decomposition, manifold functions can be applied individually on input and output parts, for example the exponential map would be
Similarly to GMR in Euclidean space (Rozo et al., 2016) and in manifolds where data are represented by vectors (Zeestraten et al., 2017), GMR on SPD manifold approximates the conditional distribution by a single Gaussian
where the mean
with
The covariance
where
This covariance has been typically used to define the controller gains of robotic systems for trajectory tracking problems (see also Section 4.4). Note that the definition of the tangent space
3.3. Manipulability learning example with two planar robots
In order to illustrate the functionality of the proposed learning approach, we carried out an experiment using a couple of simulated planar robots with dissimilar embodiments and a different number of joints. The central idea is to teach a redundant robot to track a reference trajectory in Cartesian space with a desired time-varying manipulability ellipsoid. For the demonstration phase, a 3-DoF teacher robot follows a C-shape trajectory four times, from which we extracted both the end-effector position
During the reproduction phase, a 5-DoF student robot executed the time-driven task by following a desired Cartesian trajectory
Figure 3(a) shows the four demonstrations carried out by the 3-DoF robot, where both the Cartesian trajectory and manipulability ellipsoids are displayed. Note that the recorded manipulability ellipsoids slightly change across demonstrations as a side effect of the variation observed in both the initial end-effector position and the generated trajectory. Figure 3(b) displays the demonstrated ellipsoids (in gray) along with the center

(a) Four demonstrations of a 3-DoF planar robot tracking a C-shape trajectory. The end-effector path (light gray solid lines) and the manipulability ellipsoids at different time steps are shown for all the demonstrations. (b) Demonstrated manipulability ellipsoids (in gray) and centers

(a) Desired execution of a C-shape tracking task. The desired Cartesian trajectory and manipulability profile are depicted as a black curve and green ellipsoids. (b) The top shows the desired manipulability ellipsoids estimated by GMR and the bottom shows the influence of GMM components on the time-driven GMR. The colors match the distributions shown in Figure 3(b).
These results validate that the proposed learning framework permits to learn and plan the reproduction of reference trajectories, while fulfilling additional task requirements encapsulated in a profile of desired manipulability ellipsoids. In Section 4, we develop a manipulability tracking formulation that will then be used by the 5-DoF student robot to track the desired manipulability profile obtained in the learning phase.
4. Tracking manipulability ellipsoids
Several robotic manipulation tasks may demand the robot to track a desired trajectory with certain velocity specifications, or apply forces along different task-related axes. These requirements are more easily achieved if the robot adopts a posture that suits velocity or force control commands. In other tasks, the robot may be required to adopt a posture that comply several aligned velocity or force requirements. These problems can be viewed as matching a set of desired manipulability ellipsoids that are compatible with the task requirements. In this section, we introduce an approach that addresses this problem by exploiting the mathematical concepts presented in Section 2.
4.1. Manipulability Jacobian
Given a desired profile of manipulability ellipsoids, the goal of the robot is to adapt its posture to match the desired manipulability, either as its main task or as a secondary objective. We here propose a formulation inspired by the classical inverse kinematics problem in robotics, which permits to compute the joint angle commands to track a desired manipulability ellipsoid.
First, the manipulability ellipsoid is expressed as a function of time
for which we can compute the first-order time derivative by applying the chain rule as
where
The derivation of the manipulability Jacobian
Similarly, the manipulability Jacobian
In a similar fashion, the manipulability Jacobian
where
Details on the computation of the derivative of the Jacobian and inertia matrix with respect to the joint angles are given in Appendices B and C.
4.2. Geometry-aware manipulability tracking formulation
4.2.1. Velocity-based controller
A solution to control a robot so that it tracks a desired end-effector trajectory is to compute the desired joint velocities using the inverse kinematics formulation derived from (1). We use here a similar approach to compute the joint velocities
we can compute the required joint velocities of the robot to track a profile of desired manipulability ellipsoids as its main task with
where
Note that (37) allows us to define a controller to track a reference manipulability ellipsoid as main task, similarly as the classical velocity-based control that tracks a desired task-space velocity. To do so, we propose to use a geometry-aware similarity measure to compute the joint velocities necessary to move the robot towards a posture where the match between the current manipulability ellipsoid
where
Alternatively, for the case in which the main task of the robot is to track reference trajectories in the form of Cartesian positions or force profiles, the tracking of a profile of manipulability ellipsoids is assigned a secondary role. Thus, the robot task objectives are to track the reference trajectories while exploiting the kinematic redundancy to minimize the difference between current and desired manipulability ellipsoids. In this situation, a manipulability-based redundancy resolution is carried out by computing a nullspace velocity that similarly exploits the geometry of the SPD manifold. Thus, the corresponding controller is given by
Note that matricization and vectorization operations can be defined using Mandel notation to alleviate the computational cost of the controllers using tensor representations, such that
for
In order to show the functionality of the proposed approach where the goal of the robot is to reproduce a given manipulability ellipsoid either as its main task or as a secondary objective, we carried out experiments with a simulated 4-DoF planar robot. In the first case, the robot is required to vary its joint configuration to make its manipulability ellipsoid

(a) Manipulability tracking as the main task. (b) Manipulability-based redundancy resolution with Cartesian position control. The robot color goes from light gray to black to show the evolution of the posture. Initial, final, and desired manipulability ellipsoids are depicted in yellow, dark purple, and green, respectively. The top rows show close-up plots corresponding to the initial and final manipulability.
Initial and final distances
4.2.2. Stability analysis
We here analyze the stability properties of the proposed manipulability tracking controller given the geometry of the underlying manifold. First, note that the dynamical system operated by the controller (38) corresponds to
where the controller gain is assumed to be a positive scalar value for sake of simplicity. Then, we select the Lyapunov function V as
where
The Lie derivative
Therefore, we have
so that the function (42) is a valid Lyapunov function. Moreover, by observing that
where
Note that the Lyapunov function (42) is similar to that usually defined to demonstrate the exponential stability of the classical inverse kinematic-based velocity controller
4.2.3. Acceleration-based controller
Similarly to the velocity-based controller, we propose a geometry-aware acceleration-based controller that allows the computation of the joint accelerations
To formalize the acceleration-based controller, let us first define the second-order time derivative of the manipulability ellipsoid computed from (33) by applying the product rule
(see Appendix D for details on the computation of
Similarly as in the classical acceleration-based controller that tracks a desired end-effector trajectory, we can define a controller to track a reference manipulability ellipsoid trajectory based on (46). To do so, we exploit the geometry of the SPD manifold to compute the difference between the current manipulability ellipsoid
which resembles a proportional–derivative controller where
4.3. Actuators contribution
In many practical applications, the joint velocities of the robot are limited. The definition of manipulability ellipsoid can then be extended to include these actuation constraints, as shown in Lee (1997). We here provide the definition of the force, velocity, and dynamic manipulability ellipsoids and the corresponding manipulability Jacobians considering joint actuation constraints.
To include the joint velocity constraints of the robot in the definition of the velocity manipulability ellipsoid, we use the following weighted forward kinematics formulation
where
the velocity manipulability ellipsoid is given by

Illustration of the contribution of actuators. (a) Velocity manipulability ellipsoids obtained when setting a maximum joint velocity, for each joint, five times higher than the rest. The manipulability corresponding to equal maximum joint velocity is shown in gray. (b) Joint trajectories obtained with manipulability tracking (as in Figure 5(a)) for equal maximum joint velocities (top), highest velocity limit for
By following the methodology of Section 4.1, the change in the robot manipulability ellipsoid is related to the joint velocity via
Therefore, the velocity manipulability Jacobian including joint velocity limits is given by
Figure 6(b) shows the effect of including the actuator contribution when tracking a velocity manipulability ellipsoid. Note that the robot joint
In a similar way, the force manipulability ellipsoid considering the maximum joint torques is defined as
Finally, the dynamic manipulability ellipsoid considering the maximum joint torques is
4.4. Exploiting fourth-order precision matrix as controller gain
An open problem regarding the proposed tracking approach is how to specify the values of the gain matrix
We therefore introduce the required precision
To show how precision matrices work as controller gains in our manipulability tracking problem, we tested different forms of
Figure 7 shows how the manipulator posture is adapted to track the desired manipulability ellipsoid with a priority on the component with the lowest variability. Note that when high tracking precision is required for one of the main axes of the ellipsoid, the robot initially seeks to fit the shape of the ellipsoid along that specific axis, and subsequently matches the whole manipulability ellipsoid. In this case, the precision ratio between the prioritized and the rest of components of the gain matrix is 10:1. When high tracking precision is assigned to the correlation of the ellipsoid axes, the robot first tries to align its manipulability with the orientation of the desired ellipsoid, and afterwards the whole manipulability is matched. In this case, the precision ratio between the prioritized correlation and the other components of the gain matrix is 3:1. Note that the precision tensor naturally affects the computed joint velocities required to track a given ellipsoid, which consequently influences the resulting motion of the end-effector as a function of the precision constraints, as shown in Figure 7(e). After convergence, the desired manipulability ellipsoid is successfully matched for all experiments. These results show that our geometry-aware tracking permits to take into account the variability information of a task to define the manipulability tracking precision.

Manipulability tracking as the main task with diagonal gain matrices defined from different precision tensors. The top plots depict the end-effector trajectory (solid colored line) and the posture of the robot along with the corresponding manipulability at time
Therefore, our manipulability tracking approach may be readily combined with the manipulability learning framework introduced in Section 3. In order to illustrate this, we show the reproduction phase of the experiment carried out in Section 3.2. The 5-DoF student robot was requested to track a desired Cartesian trajectory as main task, while varying its joint configuration for matching desired manipulability ellipsoids as secondary task. The student robot used the geometry-aware controller defined by (39), where

Reproductions of a learned C-shape tracking task with desired manipulability ellipsoids. The end-effector trajectory is shown in black solid line, while the desired and reproduced manipulabilities are depicted in green and dark purple, respectively: (a)
4.5. Nullspace of the manipulability Jacobian
As traditionally done when designing redundancy resolution controllers, the nullspace of the manipulability Jacobian can also be exploited to fulfill secondary objectives when manipulability tracking is the main task. More specifically, a joint velocity
In order to show the functionality of this nullspace operator, we carried out experiments with a simulated 6-DoF planar robot. The main task of the robot is to track a desired manipulability ellipsoid while keeping a desired pose for its first joint

Use of the nullspace of the manipulability Jacobian. Two 6-DoF planar robots are required to track a desired manipulability ellipsoid as main task. The black robot also keeps its first joint at a fixed position (depicted by the green link), which is a secondary objective projected into the nullspace of the manipulability Jacobian. The final manipulability ellipsoids (in purple) fully overlap the desired ones (in green), showing a precise manipulability tracking. The initial manipulability ellipsoid is depicted in yellow.
5. Importance of geometry-awareness
In the previous sections we introduced a geometry-aware manipulability transfer framework composed of (1) a probabilistic model that encodes and retrieves manipulability ellipsoids, and (2) manipulability tracking controllers. In this section, we show that the geometry-awareness of our formulations is crucial for successfully learning and tracking manipulability ellipsoids in addition to providing an appropriate mathematical treatment of both problems.
5.1. Learning
We first evaluate the proposed learning formulation compared with a framework that ignores that manipulability ellipsoids belong to the SPD manifold. To do so, we encode a distribution of manipulability ellipsoids with a GMM acting in the Euclidean space and we then retrieve desired manipulability ellipsoids via the corresponding GMR. To ensure the validity of the desired manipulability ellipsoids, GMM and GMR are performed on lower triangular matrices
Figure 10 compares the proposed approach (Section 3) and the manipulability learning using GMM/GMR acting in Euclidean space. The demonstration consists of a time series of changing manipulability ellipsoids. For each approach, a 1-state GMM is trained and a reproduction is carried out for a longer time period than the demonstration using GMR. Both geometry-aware and Euclidean approaches obtain similar means of the GMM component (see Figure 10(a) and (b)). This is due to the fact that the Euclidean mean computed using the Cholesky decomposition is a good approximation of the mean computed on

Importance of geometry in manipulability learning formulations. (a) Demonstrated data (depicted in light gray), and mean of the GMM component for the geometry-aware and Euclidean approaches (overlapping blue and red ellipsoids, respectively). (b) Mean of the GMM component and estimated profiles in the cone of SPD matrices. The manipulability profile obtained by our approach, shown in green, follows a geodesic. The profile obtained by the Euclidean framework is depicted by the orange curve and does not follow a geodesic on the manifold. The geodesic containing the mean of the Euclidean GMM, being a geometrically valid trajectory (depicted in purple), does not correspond to the trajectory obtained with the Euclidean framework. Thus, the Euclidean approach is geometrically flawed. (c) Manipulability profiles retrieved by the geometry-aware and Euclidean GMR, shown as green and orange ellipses, respectively. The time axis is shared with (a).
The manipulability ellipsoids profiles retrieved by the geometry-aware and Euclidean GMR are similar around the mean of the GMM component, but diverge when moving away from it (see Figure 10(c)). This is because the estimated output in Euclidean space is only a valid approximation for input data lying close to the mean. In contrast, our approach is able to extrapolate the rotating behavior of the demonstrated manipulability ellipsoids as the recovered trajectory follows a geodesic on the SPD manifold (see Figure 10(b)). Note that this is the equivalent to following a straight line in Euclidean space, which is the expected result of a trajectory computed via Gaussian conditioning. This behavior is obtained by parallel transporting the GMM covariances to the tangent space of the mean of the estimated conditional distribution of GMR (30). Therefore, the Euclidean GMR does not recover a trajectory following a geodesic on the manifold, leading to inconsistent extrapolated manipulability ellipsoids.
The reported results show that our geometry-aware approach accurately reproduces the behavior of the demonstrated data, and therefore provides a mathematically sound method for learning and retrieving manipulability ellipsoids in the SPD manifold. Note that similar behaviors are observed for GMM with any number of states, the number
5.2. Tracking
5.2.1. Comparisons with Euclidean tracking
After showing the importance of geometry for learning manipulability ellipsoids, we compare the proposed tracking formulation against a controller ignoring the geometry of SPD matrices (i.e., treating the problem as Euclidean). Moreover, we evaluate our controller when the tracking of manipulability ellipsoids is assigned a secondary role. This evaluation compares our formulation against three Euclidean controllers, and the gradient-based approach in Rozo et al., (2017). For the case in which the manipulability tracking is the main objective, we consider a 4-DoF planar robot that is required to track a desired manipulability ellipsoid by minimizing the error between its current and desired manipulability ellipsoids
where the difference between two manipulability ellipsoids is computed in Euclidean space, i.e., ignoring that manipulability ellipsoids belong to the set of SPD matrices. Second, we compare the proposed approach to the Cholesky-based Euclidean manipulability controller
where
where
Figure 11 shows the convergence rate for the proposed geometry-aware controller, the Euclidean-based approach, the Cholesky-based Euclidean and Cholesky–Jacobian-based Euclidean formulations. Two tests were carried out by varying the initial configuration of the robot and the desired manipulability ellipsoid. In the first case, the Euclidean and geometry-aware formulations converge to similar robot joint configurations with a distance between the current and desired manipulability close to zero (see Figure 11(a), left and middle, and Table 2). However, in the second test, the Euclidean formulation induces a sudden change in the joint configuration, resulting in an abrupt increase on the error measured between the current and desired manipulability ellipsoids (see Figure 11(b), left and middle). In real scenarios, such unstable robot behavior would certainly be harmful and unsafe. This erroneous tracking performance can be explained by the fact that the Euclidean path between two SPD matrices is a valid approximation of the geodesic only if these are close enough to each other, as shown in Figure 11(a)(right). When this approximation is not valid (see Figure 11(b), right), the Euclidean controller outputs inconsistent reference joint velocities that destabilize the robotic system, therefore failing to track the desired manipulability. Note that the Cholesky-based Euclidean formulation does not converge in both cases (see Table 2) and induces a sudden change in joint configuration of the robot in the second scenario, similarly to the Euclidean formulation. This can be explained by the fact that the path induced by this method is not close to geodesics on the SPD manifold as shown by Figure 11(right). As opposed to the two Euclidean formulations, the Cholesky–Jacobian-based Euclidean controller does not induce unstable robot behaviors and converges towards the desired manipulability ellipsoid for both cases. However, this method shows a poor convergence rate compared to our geometry-aware approach, as shown by Figure 11(left). This can be explained by the fact that, although this approach generates curved paths on the SPD manifold, these paths do not resemble geodesics and tend to induce detours to reach the desired manipulability ellipsoid (see Figure 11, left). This is particularly visible for the second test, where the resulting joint configuration is farther from the initial pose of the robot compared with the joint configuration obtained by the proposed geometry-aware controller (see Figure 11(b), middle and right).

Performance of different manipulability tracking formulations. The graphs on the left show the affine-invariant distance between the current and desired manipulability ellipsoids over time. The distances for the Euclidean, Cholesky-based Euclidean, Cholesky–Jacobian-based Euclidean and geometry-aware approaches are depicted in blue, yellow, lilac, and red, respectively. The graphs in the middle display the initial and final robot postures and the final manipulability ellipsoids. The initial posture is depicted in light gray, while the final posture and corresponding manipulability for the three methods are depicted in the same color as the distances. The desired manipulability is depicted in green. The middle graph in (b) also shows the sudden change in the robot posture for both Euclidean methods (55) and (56). The robot posture before and after the abrupt change is shown in blue and light blue, respectively, for (55) and in yellow and olive, respectively, for (56). The graphs on the right depict the evolution of the manipulability ellipsoids in the SPD manifold. The colors correspond to those of the previous graphs with the green dot representing the desired manipulability. The isolated light blue and olive dots in the bottom graph in (b) represent the manipulability ellipsoids after the abrupt changes in the robot joint configuration.
Final distances
Previously, we hypothesized that the sudden changes in joint configuration when using the Euclidean and Cholesky-based Euclidean formulations in the second scenario are due to the path induced by the methods on the SPD manifold. In order to confirm this hypothesis, we reproduced the second test with lower gain values. Figure 12 shows the convergence of the proposed geometry-aware controller, the Euclidean-based approach and the Cholesky-based Euclidean formulation for gain matrices equal to

Comparison of the performance of different manipulability tracking formulations for different gains
In the case in which the manipulability tracking task becomes a secondary objective, the 4-DoF planar robot is required to keep its end-effector at a fixed Cartesian position
where the difference between two manipulability ellipsoids is computed in Euclidean space, i.e., ignoring that manipulability ellipsoids belong to the set of SPD matrices. Second, we implement the corresponding Cholesky-based Euclidean manipulability controller
which ignores that manipulability ellipsoids lie on the SPD manifold but ensure a positive-definite difference between two ellipsoids. Third, we analyze the Cholesky–Jacobian-based Euclidean manipulability controller
which tracks manipulability ellipsoids through their Cholesky decomposition. Fourth, we evaluate the gradient-based approach of Rozo et al. (2017) that implements the controller
where
is a cost function based on Stein divergence (a distance-like function on the SPD manifold (Sra, 2012)). The gain matrices
Figure 13 shows the convergence rate for the manipulability-based redundancy resolution of the aforementioned approaches. Two tests were carried out by varying the initial configuration of the robot and the desired manipulability ellipsoid. In both cases, both geometry-aware and gradient-based approaches converge to a similar final robot configuration (see Figure 13(a) and (b), right), with similar values of the affine-invariant distance between the final and desired manipulability ellipsoids (see Figure 13(a) and (b), left and Table 3). More importantly, the proposed geometry-aware manipulability tracking approach shows a faster convergence than the gradient-based method, with a lower computational cost (

Performance comparison of the different manipulability-based redundancy resolution formulations. Two cases are shown with varying initial robot configuration and desired manipulability. The graph on the left shows the convergence of the affine invariant distance between the current and the desired manipulability ellipsoid over time. The distances for the Euclidean, Cholesky-based Euclidean, Cholesky–Jacobian-based Euclidean, and geometry-aware and gradient-based approaches are depicted in blue, yellow, lilac, red, and purple, respectively. The graph on the right shows the initial and final posture of the robot along with the final manipulability ellipsoids. The initial posture of the robot is depicted in light gray. The final postures and the corresponding manipulability ellipsoids for the different methods are depicted in the same color as the distances. The desired manipulability ellipsoid is depicted in green.
Final distances
Note that for some specific initial robot configurations and desired manipulability ellipsoids, the Euclidean manipulability-tracking controller (58) shows a slightly faster convergence rate than our method (see Figure 13(a)). However, this Euclidean formulation again leads to unstable behaviors in some configurations (see Figure 13(b)), where the distance between the final and desired manipulability ellipsoids remains high compared to the two geometry-aware approaches. This poor tracking performance can be attributed to the fact that the Euclidean difference between two SPD matrices is an approximation that is only valid if the matrices are close enough to each other. Thus, similarly to Euclidean controller aimed at tracking manipulability ellipsoids as first task (55), the Euclidean manipulability-based redundancy resolution is only effective if the current and desired ellipsoids are very similar. Moreover, the distance between the final and desired manipulability ellipsoids remains higher than for the geometry-aware methods and the Euclidean controller by using the Cholesky-based Euclidean manipulability-based redundancy resolution. This tendency is similar to the observations made for the tracking of manipulability ellipsoids as main objective and is due to the fact that the controller (59) induces paths on the manifold that are not close to geodesics. Furthermore, the Cholesky–Jacobian-based Euclidean controller shows a poor tracking performance for the two considered scenarios. Notably, the distance between the current and desired ellipsoids is largely increased before decreasing slowly in the first case (see Figure 13(a)). Moreover, in some configurations, the final distance remains high compared with the geometry-aware approaches as shown by Figure 13(b). These behaviors are due to the fact that the controller (60) does not follow geodesic paths on the SPD manifold.
The reported results supported our hypothesis that geometry-aware manipulability controllers result in good tracking performance while providing stable convergence regardless of the manipulability tracking error. This was observed when manipulability tracking was the main task and a secondary objective of the robot. Moreover, our manipulability-based redundancy resolution approach outperforms the gradient-based method. Furthermore, our controller permits the variability information of a task, given in the form of a fourth-order covariance tensor, to be exploited directly through the gain matrix of the controller. This allows the robot to exploit the precision required while tracking a manipulability ellipsoid either as main or secondary objective. This operation is not available in the gradient-based method used for comparison, since the corresponding controller gain is a scalar.
5.2.2. Comparisons with manipulability-based optimization
We compare our tracking approach against two state-of-the-art manipulability-based optimization methods widely used to improve robots posture for task execution. We first evaluate our geometry-aware controller against manipulability volume maximization. Then, we compare our controller to the compatibility index maximization (Chiu, 1987), where the distance from the ellipsoid center to its surface is maximized along a specified direction. To do so, we consider two 8-DoF planar robots that are required to track a desired Cartesian velocity trajectory that leads to an L-shape path in the Cartesian space. In order to achieve high dexterity in motion, the first robot is requested to track a desired manipulability ellipsoid whose main axis is elongated along the direction of motion. The second robot varies its posture in order to maximize either the manipulability volume or the compatibility index along the direction of motion.
Figure 14(a) shows the resulting joint configurations and manipulability ellipsoids of the two robots at different stages of the task where the second robot maximizes the manipulability volume as secondary objective. We observe that the main axis of the manipulability ellipsoid obtained with the volume maximization approach is often perpendicular to the direction of motion, which often occurs as this method does not consider any geometric information about the desired manipulability ellipsoid. In addition, because the resulting posture leads to ellipsoids that are not consistent with the task requirement (task velocity control directions) and degrade the robot capabilities, this becomes unstable when the gain of the velocity tracking controller is increased to achieve higher Cartesian velocities, as shown in Figure 15. Conversely, the robot tracking a desired manipulability ellipsoid successfully completes the task when higher velocities are required.

(a) Comparison of our manipulability tracking controller (in purple) with the manipulability volume maximization (in yellow). The main axis of the desired manipulability ellipsoids (in green) are aligned with the direction of motion in order to allow high velocities during the task execution. The robot colors become darker with the evolution of the movement. (b) Close-up plots of the manipulabilities represented in (a). (c) Comparison of our manipulability tracking controller (in purple) with the compatibility index maximization (in light blue).

Cartesian velocities achieved with our manipulability tracking controller (purple) and the volume maximization approach (yellow) as secondary objective for a Cartesian velocity controller. The gain of the velocity controller are equal for both approaches. The desired velocities are shown in green.
The main advantage of maximizing the compatibility index over the volume is that the directions in which the ellipsoid should be elongated are specified. However, this approach favors robot configurations that may be close to singularities as the manipulability ellipsoids corresponding to these posture are flat ellipsoids that can be largely elongated (see Figure 14(c)). This effect exacerbates when the compatibility index maximization is the main task of the robot, as this is not required to match a specific position in Cartesian space. Chiu (1988) extended the compatibility index optimization approach by defining the compatibility cost as a weighted sum, allowing the maximization or minimization of the ellipsoid along several directions. This method provides more flexibility on the resulting ellipsoid due to the weighted combination, at the cost of a laborious tuning. Moreover, the orientation and elongation of the main axes of the ellipsoid after the optimization are hard to infer from the cost weights.
In contrast to the considered manipulability-based optimization methods, the proposed geometry-aware controllers seeks to fit the full desired manipulability ellipsoid in all its directions. Singular configurations can therefore be easily avoided by defining appropriate desired manipulability ellipsoids. Moreover, our manipulability controller allows the tracking of any manipulability ellipsoid, including those providing a compromise between dexterity in motion and force exertion along any axis. This is not possible when using the compatibility index approach of Chiu (1987) as it always favors the dexterity in motion over force or vice versa. Although this compromise might be achievable using the compatibility index approach of Chiu (1988), our method does not require a laborious tuning process. Manipulability tracking is also hard to achieve through manipulability volume maximization as there is no explicit control on the resulting ellipsoid main axes.
6. Experiments
Previously, in our former work (Jaquier et al., 2018), we showed the benefits of including the manipulability redundancy resolution controller in the nullspace of a position controller for a pushing and an insertion task. In contrast to the result obtained by the position controller alone, the posture of the robot significantly varied during the execution of the tasks to be compatible with their respective force requirements as a consequence of the force manipulability tracking.
In this section, we extensively evaluate the proposed tracking formulation with different robotic platforms and different types of manipulability ellipsoids in simulation. The approach is evaluated to track a desired manipulability for grasping with an Allegro hand (four 4-DoF fingers) and to track a desired CoM manipulability with NAO and Centauro robots (25 and 39 DoFs, respectively). We then illustrate and evaluate the proposed manipulability transfer approach in a bimanual task using a Baxter robot (two 7-DoF arms) and a couple of Franka Emika Panda robots (7 DoFs).
6.1. Manipulability tracking for a robotic hand
In the context of robotic hands, manipulability ellipsoids have been used to analyze their performances in grasping tasks (Prattichizzo et al., 2012). In this experiment, we aim at modifying the posture of a robotic hand to match a desired manipulability ellipsoid while grasping an object.
For the case of multiple arm systems, the set of joint velocities of constant unit norm
with the Jacobian
In this first experiment, the Allegro hand was required to track a desired manipulability, while maintaining relative positions between the different fingers. This experiment aims at emulating how humans adapt their finger configuration to the task at hand while grasping an object. In this experiment, the desired velocity manipulability ellipsoid was designed by the experimenter to be a medium-sized isotropic ellipsoid. The purpose of this design is to provide the hand with the capability to perform a displacement of the object while being resistant to external perturbations in all the directions. For example, in the case where the hand is holding a pen, it is desirable that the pen can be moved with dexterity, while the hand should resist to perturbations owing to the pen–surface contacts.
The fingers were controlled according to a leader–follower strategy (Luh and Zheng, 1987). Therefore, the thumb joints were moved to track the desired manipulability ellipsoid using the controller (38) and the other fingers were required to maintain constant relative end-effector positions with respect to the thumb end-effector, while tracking the manipulability as secondary objective with the redundancy controller (39). The center of the object was considered as the central position between the four fingers of the hand and the contact points were assumed to be at the finger tips.
Figure 16(a) and (b) show an example of adaptation of the posture of the hand to track a desired velocity manipulability ellipsoid for a grasp defined by the user. As expected, the robot modified its joint configuration in order to match, as accurately as possible, the desired velocity manipulability (see Figure 16(c)). Note that the manipulability tracking in this experiment can only be achieved partially, because the robotic hand is also required to maintain the initial grasp. Nevertheless, this tracking may be further improved if the dimensionality of the nullspace of the main task is higher (e.g., not all the finger tips are position-constrained), or using a higher-DoF robotic hand.

Manipulability tracking for grasping tasks with the Allegro hand in simulation. (a) and (b) The initial and final pose of the robot, respectively. (c) Initial, final, and desired manipulability ellipsoids depicted in yellow, dark purple, and green, respectively. The bottom-right graph shows the evolution of the distance between the current and desired manipulability ellipsoid over time (given in seconds).
6.2. Manipulability tracking for a humanoid CoM
An interesting use of manipulability ellipsoids arises when these are defined at the CoM of humanoid robots, which permits their capabilities to accelerate the CoM in locomotion to be analyzed (Azad et al., 2017; Gu et al., 2015), or how resistant they can be to external perturbations to be evaluated using the force manipulability at a specific humanoid posture. With the goal of getting some insights on the role of CoM manipulability ellipsoids in legged robots, we designed manipulability tracking experiments using two different floating-base robots in simulation, namely, the humanoid NAO and the Centauro robot (Baccelliere et al., 2017).
Specifically, we required the robots to track a desired manipulability ellipsoid defined at its CoM while maintaining balance. We assumed a strict hierarchy of tasks that gave the highest priority to the task of maintaining the CoM position over the support polygon and zero velocity at all contact points with the floor, while the manipulability tracking was considered a secondary task. Under the aforementioned assumptions, we implemented the inverse kinematics-based controller for floating-base robots proposed in Mistry et al. (2008), which we briefly introduce here. First, let us define the Jacobian for the primary task as
where
where
Regarding the secondary task, that is, the manipulability tracking at the robot CoM, we first compute the Jacobian at the CoM
where the first term is included in order to account for the virtual joints of legged robots, n is the number of DoF of the robot, and
We ran several experiments for testing the manipulability tracking at the CoM of the Centauro (Figure 17) and NAO (Figure 18) robots using the controller (66). The tests consisted of manually setting a desired manipulability ellipsoid to be tracked at the CoM of the robot, and running a joint velocity controller given the reference provided by (66). Notably, both Centauro and NAO tracked the desired manipulability as precisely as possible without compromising the balancing task. Figures 17(c) and (c) show the distance between the desired and current CoM manipulability, which decreases over time as the robot adapts its posture to carry out a good tracking while keeping its balance. An interesting aspect about defining and tracking CoM manipulability ellipsoids is the final posture that the robots achieve. Figure 17(b) shows the final posture achieved by Centauro when tracking a CoM manipulability whose projection on the

Tracking of the CoM manipulability with the Centauro robot in simulation. (a) and (b) The initial and final pose of the robot, respectively. (c) Initial, final, and desired manipulability ellipsoids depicted in yellow, dark purple, and green, respectively. The bottom-right graph shows the evolution of the distance between the current and desired manipulability ellipsoid over time (given in seconds).

CoM manipulability tracking with NAO in simulation. (a) and (b) The initial and final pose of NAO, respectively. The CoM of the robot is depicted by a red sphere. (c) Initial, final, and desired manipulability ellipsoids depicted in yellow, dark purple, and green, respectively. The bottom-right graph shows the distance between the current and desired manipulability over time (given in seconds).
6.3. Manipulability transfer between robots for a bimanual task
The performance of the proposed manipulability transfer framework was tested in a bimanual unplugging of an electric cable from a power socket. The central idea is to teach different dual-arm robots to execute a task requiring a specific manipulability profile via kinesthetic teaching provided only to one of the bimanual robots.
In the first part of the experiment, the two 7-DoF arms of a Baxter robot are kinesthetically guided to provide demonstrations (see Figure 19(a)). The posture of the arms is modified by the user so that the main axis of the dual force manipulability ellipsoid of the system

Unplugging task: (a) demonstrations provided by the user on the Baxter robot; (b) reproduction by the Baxter robot; (c) reproduction by the two Franka Emika Panda robots. The robots pose at the beginning of the task, before, and after the extraction of the cable from the socket are shown in the left, middle, and right column, respectively.
In the second part of the experiment, the unplugging task is reproduced by both the Baxter robot and a pair of Franka Emika Panda robots (see Figure 19(b) and (c)). For both reproductions, the relative position between the end-effectors and the desired manipulability of the system were computed at each time step by a classical GMR as
Figure 20(a) displays the two demonstrations recorded by kinesthetically guiding the Baxter robot along with the components of the GMM encoding

(a) Demonstrations and GMM encoding the unplugging task. The top graph shows the demonstrated relative end-effectors position for the Baxter robot (in gray) and components of the 4-state GMM (in blue). Only the most representative dimension is displayed. The distance between the two arms increases when the cable is unplugged from the socket. The middle-bottom graphs show the demonstrated force manipulability profile (in gray) and centers of the 4-state GMM in the SPD manifold over time (in purple). (b) Reproduction of the unplugging task with Baxter. The desired and reproduced trajectories are represented in green and dark blue, respectively. The top graph shows the desired and reproduced relative position between the end-effectors along the second dimension. The middle-bottom graphs show the desired and reproduced (overlapping) manipulability ellipsoids. (c) Reproduction of the unplugging task with the two Panda robots. The desired and reproduced trajectories are represented in green and purple, respectively. The top graph shows the desired and reproduced relative position between the end-effectors along the second dimension. The middle-bottom graphs shows the desired and reproduced manipulability ellipsoids. The position
Figure 20(c) shows the relative Cartesian position between the arms and the manipulability ellipsoid profile obtained during the reproduction of the task by the two Panda robots. These successfully achieved the required task and tracked the desired manipulability ellipsoid profile obtained from model trained with the data recorded on the Baxter robot. Note the manipulability matching is not exact in this case owing to the differences between Baxter and the Panda robots. Indeed, even if the actuation capabilities of each robot are taken into account in our manipulability transfer framework, the capabilities of the two dual-arm system differ due to other physical specificities, e.g., the relative position of the bases of the arms.
7. Discussion
Our tracking formulation enables robots to modify their posture in an exponentially stable way so that desired manipulability ellipsoids are tracked, either as a main control task or as a redundancy resolution problem where the manipulability tracking is considered a secondary objective. Compared with state-of-the-art manipulability-based optimization schemes, our tracking formulation allows the reproduction of any manipulability ellipsoid beyond the maximization of manipulability parameters. The proposed tracking approach covers different manipulability ellipsoids proposed in the literature, such as velocity, force, and dynamic manipulability ellipsoids (Doty et al., 1995). A relevant aspect about our approach is their generic structure, which means that we can track manipulability ellipsoids for a large variety of robots, as reported in the previous section, where a robotic hand, a Centauro robot, a humanoid, and two different bimanual setups were used to test our tracking approach. This shows that our approach can be used in a large variety of contexts and that many further applications can be considered.
The manipulability transfer results reported in Section 6.3 showed the effectiveness of the proposed approach for transferring manipulability ellipsoids between robots that differ in their kinematic structure, which has remained a challenge in the robot learning community. Our learning framework allows a robot to learn posture-dependent task requirements without explicitly encoding a model in the joint space of the demonstrator, which would require complex kinematic mapping algorithms and would make task analysis less interpretable at first sight. In addition, the proposed framework extends the robot learning capabilities beyond the transfer of trajectory, force, and impedance.
It is important to emphasize the fact that the manipulability tracking precision strongly depends on the number of DoFs when the task is considered a secondary objective, as the higher it is, the more capable the robot is to perform more than one task simultaneously. Note that, in the case of legged robots (which are often characterized by a high number of DoFs), the manipulability tracking may still be slightly compromised because of the set of constraints imposed by the balancing task, as observed in Section 6.2. However, if these robots are provided with the possibility of modifying their feet position while keeping balance, then the manipulability tracking may be further improved. This clearly requires more sophisticated balancing controllers, but gives robots more freedom to adapt their posture and achieve better manipulability tracking. Note that in the case of robotic hands, a similar behavior arises when the finger tips are constrained according to some grasping requirements, which might affect the manipulability tracking when projected into the nullspace of the primary task.
It is important to note that the proposed manipulability tracking approach is a local method in the sense that the solution depends on the current configuration of the robot expressed through the Jacobian. This makes the tracking convergence dependent on the current configuration of the robot, which sometimes may limit the tracking performance. However, the robot may achieve a better tracking performance if it is allowed to look for other initial postures. As an example, the robot may not track precisely the desired manipulability ellipsoids for a given initial posture, due for instance to its joint limits. However, if the robot slightly modifies its initial posture, it may find a better starting configuration to subsequently minimize the error between the desired and current manipulability ellipsoids in a larger proportion, even if the new initial posture initially increases this error.
Overall, the proposed manipulability transfer framework may be exploited in a large variety of applications, where the posture of the robot may have an impact on its performance while executing the task. In addition to varying the robot posture for task compatibility, tracking a desired manipulability profile as a secondary task may typically complement a main control task to avoid singularity, handle perturbations during task execution, optimize the execution time, or minimize the energy consumption (Kim et al., 2010). In particular, manipulability transfer may be utilized from a motion planning point of view. To do so, the robot may first track a desired manipulability as main control task in a planning phase, where the robot adapts its posture in order to anticipate the next action. Following this planning phase, the robot executes the desired action with a posture adapted to the task requirements. In this phase, the desired manipulability is tracked as a secondary task. Moreover, in the context of rehabilitation and assistance, the proposed learning and tracking formulations may be exploited in control strategies for exoskeletons. In Petric et al. (2019) the exoskeleton posture is optimized to achieve an isotropic manipulability by sensing the human muscular manipulability. In this setting, a varying exoskeleton manipulability profile may be retrieved using GMR as a function of the sensed muscular manipulability.
From a mathematical point of view, it is worth highlighting the importance of considering the structure of the data we work with. While alternative solutions to handle SPD matrices are present in literature (e.g., those using Cholesky decomposition), we showed that Euclidean manipulability-tracking controllers lead to unstable behaviors in contrast to the stable behavior displayed by our geometry-aware controller. Equally important, the manipulability ellipsoids profiles retrieved by the geometry-aware and Euclidean GMR were similar only around the mean of the GMM components, but diverged when moving away from it. This is because the estimated output in Euclidean space is only a valid approximation for input data lying close to the mean, as reported in Section 5. Therefore, geometry-awareness is crucial for successful learning and tracking of manipulability ellipsoids.
8. Conclusions and future work
This article has presented a novel framework for transferring manipulability ellipsoids to robots. The proposed approach has been built on a probabilistic learning model that allows the encoding and retrieval manipulability ellipsoids, and on the extension of the classical inverse kinematics problem to manipulability ellipsoids, by establishing a mapping between a change of manipulability ellipsoid and the robot joint velocity. We exploited tensor representation and Riemannian manifolds to build a geometry-aware learning framework and exponentially stable tracking controllers and showed the importance of geometry-awareness for manipulability transfer. We have then shown that our manipulability transfer framework allows the exploitation of task variations recovered by the learning approach to characterize the precision of the manipulability tracking problem. This approach enables the learning of posture-dependent task requirements. It provides a skill transfer strategy going beyond the imitation of trajectory, force, or impedance behaviors. Furthermore, it allows manipulability transfer between agents of different embodiments, while taking into account their individual characteristics and is adapted to complex scenarios involving any manipulability ellipsoid shape and various types of robots.
Future work will explore manipulability transfer between humans and robots. Following this research direction, we recently proposed a statistical analysis of single and dual-arm manipulability ellipsoids for human movements, accompanied by two human-to-robot manipulability transfer experiments. The corresponding results will be detailed in a forthcoming publication. We will also investigate manipulability transfer strategies where the desired manipulability would be optimized as a function of the robot. The objective would be to adapt the manipulability ellipsoid to exploit the capabilities of the learner in situations in which this learner can reach a better manipulability than the teacher for the task at hand.
Footnotes
Appendix A. Derivative of a matrix with respect to a vector
Appendix B. Symbolic manipulability Jacobian for a serial kinematic chain
The computation of the manipulability Jacobian involves computing the derivative of the robot Jacobian with respect to the joint angles. Those derivatives can be computed in a symbolic form as shown in Bruyninckx and De Schutter (1996). We remind here the symbolic derivative for the hybrid representation of the Jacobian
The ith column of the Jacobian is denoted by
with
The derivative of the Jacobian with respect to the joint angles is a third-order tensor
where
and × the cross product between two vectors. The notation
Note that the time derivative of the Jacobian can therefore be computed as
Appendix C. Symbolic dynamic manipulability Jacobian for a serial kinematic chain
The derivative of the robot inertia matrix with respect to joint angles is necessary for the computation of the dynamic manipulability Jacobian. It can be computed in closed form as follows.
The inertia matrix
where
The derivative of the inertia matrix is the third-order tensor
where
Appendix D. Symbolic derivative of the manipulability Jacobian for a serial kinematic chain
In some cases, e.g., in the acceleration tracking controller, the time derivative of the manipulability Jacobian is required. This time derivative can be computed symbolically by exploiting the first and second derivative of the Jacobian with respect to the joint angles.
The time derivative of the velocity manipulability Jacobian
is obtained by exploiting the chain rule as
The time derivative of the Jacobian is given by Equation (71) and the time derivative of the derivative of the Jacobian with respect to joint angles is given by
where the second derivative of the Jacobian with respect to the joint angles is a fourth-order tensor
where
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by the Swiss National Science Foundation (SNSF/DFG project TACT-HAND).
