Abstract
A salient feature of human motor skill learning is the ability to exploit similarities across related tasks. In biological motor control, it has been hypothesized that muscle synergies, coherent activations of groups of muscles, allow for exploiting shared knowledge. Recent studies have shown that a rich set of complex motor skills can be generated by a combination of a small number of muscle synergies. In robotics, dynamic movement primitives are commonly used for motor skill learning. This machine learning approach implements a stable attractor system that facilitates learning and it can be used in high-dimensional continuous spaces. However, it does not allow for reusing shared knowledge, i.e., for each task an individual set of parameters has to be learned. We propose a novel movement primitive representation that employs parametrized basis functions, which combines the benefits of muscle synergies and dynamic movement primitives. For each task a superposition of synergies modulates a stable attractor system. This approach leads to a compact representation of multiple motor skills and at the same time enables efficient learning in high-dimensional continuous systems. The movement representation supports discrete and rhythmic movements and in particular includes the dynamic movement primitive approach as a special case. We demonstrate the feasibility of the movement representation in three multi-task learning simulated scenarios. First, the characteristics of the proposed representation are illustrated in a point-mass task. Second, in complex humanoid walking experiments, multiple walking patterns with different step heights are learned robustly and efficiently. Finally, in a multi-directional reaching task simulated with a musculoskeletal model of the human arm, we show how the proposed movement primitives can be used to learn appropriate muscle excitation patterns and to generalize effectively to new reaching skills.
1. Introduction
Reinforcement Learning of motor skills in robotics is considered to be very challenging due to the high-dimensional continuous state and action spaces. In many studies it has been shown that learning can be facilitated by the use of movement primitives (Schaal et al., ; Rückert et al., ). Movement primitives are parametrized representations of elementary movements, where typically for each motor skill a small set of parameters is tuned or learned. However, many motor control tasks are related and could be learned more effectively by exploiting shared knowledge.
This is a well-known concept in motor neuroscience, where muscle synergies or coherent activations of groups of muscles (d'Avella et al., ; d'Avella and Bizzi, ; Bizzi et al., ) have been proposed to simplify the control problem of complex musculoskeletal systems. In analyzing muscle activation recordings it has been demonstrated that by combining only few muscle activation patterns multiple task instances of natural motor behaviors, e.g., fast reaching movements of humans (d'Avella et al., ), primate grasping movements (Overduin et al., ), or walking patterns of infants, toddlers, and adults (Dominici et al., ) could be efficiently modeled. One important finding of theses studies is that the dimensionality of the motor control problem can be drastically reduced by reusing common knowledge of related tasks, i.e., grasping objects at different locations using a linear combination of shared muscle synergies. While this has been demonstrated in biological data analysis, only few robotic applications exist that use this shared task knowledge (Chhabra and Jacobs, ; Alessandro et al., ). These methods demonstrate the advantages of shared synergies in learning robotic tasks. However, different procedures were applied to obtain a parametric description of synergies, i.e., in Chhabra and Jacobs () a variant of non-negative matrix factorization (d'Avella et al., ) was used given a set of pre-computed trajectories and in Alessandro et al. () the synergies were extracted from dynamic responses of a robot system with random initialization. In contrast, we propose to learn the synergies representation in a reinforcement learning framework, where task-specific and task-invariant parameters in a multi-task learning setting are learned simultaneously.
In robotics the most widely used approach for motor skill learning are Dynamic Movement Primitives (DMPs) (Schaal et al., ; Ijspeert et al., ). This approach uses parametrized dynamical systems to determine a movement trajectory and has several benefits. First, as it is a model-free approach, there is no need to learn the typically non-linear, high-dimensional dynamic forward model of a robot (However, this is not the case when inverse dynamics controller are used to compute the control commands). Second, it provides a linear policy parametrization which can be used for imitation learning and policy search (Kober and Peters, ). The complexity of the trajectory can be scaled by the number of parameters (Schaal et al., ) and one can adapt meta-parameters of the movement such as the movement speed or the goal state (Pastor et al., ; Kober et al., ). Finally, the dynamical system is constructed such that the system is stable. This simplifies learning since even without modulating the dynamical system the movement trajectory is always attracted by a known (or learned) goal state. However, this parametrization does not allow for reusing shared knowledge, as proposed by the experimental findings studying complex musculoskeletal systems (d'Avella et al., ; Bizzi et al., ; d'Avella and Pai, ). Thus, typically for each motor task an individual movement parametrization has to be learned.
In this paper we propose to use a superposition of learned basis functions or synergies to modulate the stable attractor system of DMPs. This allows for reusing shared knowledge for learning multiple related tasks simultaneously while preserving the benefits of the dynamical systems, i.e., the stability in learning complex motor behavior. The synergies and their activation in time are learned from scratch in a standard reinforcement learning setup. Note that imitation learning could also be applied to implement an initial guess for the synergies, e.g., by using decomposition strategies discussed in d'Avella and Tresch (). However, this is beyond the scope of this paper. Moreover, our approach is like the DMPs applicable to discrete and rhythmic movements and allows for modeling time-varying synergies (d'Avella et al., ). We therefore denote our approach DMPSynergies. By using for each task a combination of individual, temporally fixed, basis functions DMPs can be modeled as special case of this approach. The benefit of the common prior knowledge is even more drastic when generalizing to new motor tasks given the previously learned basis functions. Thus, for simpler synergies only the weights for the linear combination have to be acquired and for time-varying synergies additionally the time-shift parameters need to be learned. This is demonstrated on a complex walking task and on reaching task using an arm actuated by muscles.
As in previous studies on DMPs (Meier et al., ; Mülling et al., ) we want to go beyond basic motor skills learning. However, in contrast to those studies that use a library of primitives for sequencing elementary movements (Meier et al., ) or mixing basic skills (Mülling et al., ), we implement the common shared knowledge among multiple tasks as prior in a hierarchical structure. On the lower level task related parameters, i.e., amplitude scaling weights or time-shift parameters are used to modulate a linear superposition of learned basis functions, the shared higher level knowledge. This has the promising feature that by combining just a small number of synergies diverse motor skills can be generated.
In the Materials and Methods, we will first briefly introduce DMPs (Schaal et al., ; Ijspeert et al., ) as we build on this approach. We then extend DMPs to allow for reusing shared task knowledge in the form of parametrized synergies. The advantage of the shared knowledge is evaluated in the Results on three multi-task learning scenarios. First, a simple via-point task is used to demonstrate the characteristics of the proposed representation. Then, rhythmic movements are learned in a dynamic 5-link planar biped walker environment. Finally, a musculoskeletal model of a human arm is used to evaluate our primitives on a muscle actuated system learning discrete reaching movements to multiple targets.
2. Materials and methods
2.1. Dynamic movement primitives
DMPs generate multi-dimensional trajectories by the use of non-linear differential equations (simple damped spring models) (Schaal et al., ). The basic idea is to use for each degree-of-freedom (DoF), or more precisely for each actuator, a globally stable, linear dynamical system of the form which is modulated by a learnable non-linear function f. The final position of a movement is denoted by g and the variables y* and represent the desired state in i.e., joint angles and joint velocities. The time constants α and β are usually pre-defined. The temporal scaling factor τ can be used for de- or accelerating the movement execution as needed. Finally z denotes an internal variable of the dynamical system. For each DoF an individual function f is used which is different for discrete and rhythmic movements.
For discrete movements the function f only depends on the phase s, which is an abstraction of time and was introduced to scale the movement duration (Schaal et al., ). The function f(s) is constructed of the weighted sum of N Gaussian basis functions Ψn where for discrete movements these Gaussian basis functions are
Only the weights wn are parameters of the primitive which can modulate the shape of the movement. The centers or means μn ∈ [0, 1] specify at which phase of the movement the basis function becomes active. They are typically equally spaced in the range of s and not modified during learning. The bandwidth of the basis functions is given by h2n and is typically chosen such that the Gaussians overlap.
For rhythmic movements periodic activation functions are used (Ijspeert et al., ). The non-linear function f reads where the periodic phase angle is denoted by ϕ ∈ [0, 2 π]. In Ijspeert et al. () additionally a scalar variable was used to scale the amplitude of the oscillator, which was omitted for simplicity. The basis functions are given by which implement von Mises basis functions. Note that for the periodic basis functions the trajectory in Equation 1 oscillates around the attractor point or goal state g.
Integrating the dynamical systems in Equation 1 for each DoF results into a desired trajectory of the joint angles. To follow this trajectory, in the most simple case a linear feedback controller is subsequently used to generate appropriate control commands denoted by ut: For each actuator the linear weights W = [w1, …, wD] as well as the control gains kpos and kvel have to be specified, i.e., θ = [W, kpos, kvel]. This results into ND + 2D parameters for the movement representation, where D denotes the number of actuators or muscles of a system. The simulated trajectory is denoted by .
In multi-task learning we want to learn k = 1..K tasks simultaneously. For very simply tasks, such as the via-point experiments described below, it could be sufficient to adapt the goal state g. However, this is usually not the case for more complex motor skill learning tasks in robotics. With DMPs typically for each motor skill an individual movement parametrization θk has to be learned. However, if we assume similarities among these tasks the learning problem could potentially be simplified by reusing shared knowledge. Inspired by experimental findings in biology (d'Avella et al., ; Bizzi et al., ; d'Avella and Pai, ) we extend these DMPs. Only the parametrization for the non-linear function f(s) for discrete movements or f(ϕ) for rhythmic movement changes. The dynamical system in Equation 1 and the linear feedback controller in Equation 4 remains the same.
2.2. Dynamic movement primitives with shared synergies (DMPSynergies)
For learning the kth task, we propose to use a linear combination of temporal flexible basis functions or synergies to parametrize the non-linear function f(s) in Equation 2 or for rhythmic movements f(ϕ) in Equation 3: where s denotes the phase variable which is only used for discrete movements. As with DMPs (Ψn in Equation 2) the functions Λ(.) and Ω(.) are different for discrete and rhythmic movements.
All K tasks share m = 1..M synergies which are parametrized via the vector θm. Solely the weights βm, k and the time-shift Δsm, k are individual parameters for each task. The basic concept of the model is sketched in Figure 1 for a one-dimensional discrete movement.
Figure 1
The complexity of each synergy is controlled by the number of Gaussians for discrete movements or by the number of von Mises basis functions for rhythmic patterns. We denote this number by N, where we parametrize in both cases the amplitude, the mean and the bandwidth. Thus, each synergy is represented by a parameter vector θm = [am, 1, μm, 1, hm, 1, …, am, N, μm, N, hm, N].
For discrete movements the function Λ(.) reads For rhythmic movements a superposition of von Mises basis functions is used DMPs (Schaal et al., ) can be modeled as a special case of this formulation. For DMPs using n =1.. N basis functions the mean μm, n and the bandwidth hm, n of the basis functions are fixed as discussed in Section 2.1. Solely the n = 1..N amplitudes or weights am, n are learned. By fixing these parameters and by modeling the non-linear function f(s) for discrete movements or f(ϕ) for rhythmic movements using a single (M = 1) synergy our representation can be used to implement DMPs.
2.2.1. Multi-dimensional systems
For multi-dimensional systems for each actuator d = 1..D an individual dynamical system in Equation 1 and hence an individual function f(s, k) in Equation 5 or f(ϕ, k) in Equation 6 is used (Schaal et al., ). The phase variable s or ϕ is shared among all DoF (Note that k = 1..K denotes the task.).
Extending our notation for multi-dimensional systems the non-linear function f(s, k) in Equation 5 can be written as Depending on the dimension d different weights βm, k, d, policy vectors θm, d and time-shift parameters Δsm, k, d are used. Note that the policy vector θm, d is task-independent. Interestingly, when implementing additionally dimension-independent policy vectors, i.e., θm anechoic mixing coefficients (Giese et al., ) can be modeled.
Here, we only discuss discrete movement representations, however, the reformulation procedure applies also for rhythmic movement parametrizations. Let us also define a vector notation of f(s, k) where the symbol ◦ denotes the Hadamard product, the element-wise multiplication of vectors. The synergy vectors are specified by This vector notation is used in the following to compare to existing synergies representations (d'Avella et al., , ).
2.3. Musculoskeletal models and muscle synergies
We also use the proposed movement representation, the DMPSynergies, to generate muscle excitation patters. These patterns are applied as input in a forward simulation of a musculoskeletal model. A schematic overview of such a simulation is shown in Figure 2. We briefly discuss all processes involved.
Figure 2
Muscle synergies for generating muscle excitation patterns are used as input in forward dynamics simulations. In our simulation experiments we evaluate time-varying synergies (d'Avella et al., ), which are a particular instance of the DMPSynergies, i.e., the weights βm, k and time-shift parameters Δsm, k in Equation 9 are independent of the dimension d. Thus, for discrete movements in multi-dimensional systems f(s, k) reads where βm, k is a scalar and the time-shift parameter Δsm, k is directly added to the phase variable s. This allows for a comparison to e.g., the formulation of time-varying synergies given in d'Avella et al. (), where Shared synergies are represented by time-dependent vectors vm(t − tkm), where in contrast to the proposed DMPSynergies a minor difference is the sign of the time-shift parameter tkm.
In this formulation of time-varying synergies (d'Avella et al., ) only the time-invariant combination coefficients akm are task-dependent, whereas the vector vm is task-independent. However, by using task, spatial or temporal (in)variant implementations of the mixing coefficients a or the basis vectors v other representations of synergies (d'Avella et al., ; Ivanenko et al., ; Giese et al., ) can be also implemented.
Activation dynamics model the effect of the delayed force generating process in muscles, as they are not capable of generating force instantaneously. Typically, for each muscle a first order differential equation is used, i.e., (Zajac, 1989). Here, f(s, k) denotes the generated muscle excitation signal using e.g., the proposed DMPSynergies. The actual muscle activation is denoted by a, which is a function of the rise time constant τrise and the fall time constant τfall. For our evaluations we implemented τrise = 10 ms and τfall = 40 ms (Winters and Stark, 1985).
Muscle tendon dynamics describe the complex and non-linear force generation properties of muscles. For an approximation a variety of models exist (Zajac, 1989). In these models a muscle is approximated by a number of musculotendinous units, each of which is implemented by a Hill-type contractile element in series with tendon. Characteristic properties of muscles are the optimal fiber length LM0, the maximum isometric force FM0, and the muscle pennation angle α, which are shown in Table A5 in the appendix for the investigated model of a human arm. The tendon dynamics in this musculoskeletal model were approximated by the muscle model proposed in Schutte et al. ().
Musculoskeletal geometry represents the path of a muscle from its origin to its insertion that can be implemented as a series of straight-line path segments, which pass through a series of via points (Delp et al., ). To simulate how muscles wrap over underlying bone and musculature wrapping surfaces i.e., cylinders, spheres and ellipsoids are implemented, where this model is based on the upper extremity model discussed in Holzbaur et al. (). A detailed description of the implemented musculoskeletal geometry is given in the supplement (in form of a simulation model file,.osim).
Multibody dynamics are simulated by the physics simulation application OpenSim (Delp et al., ; Seth et al., ). It is an open source software that already implements a variety of muscle models (Zajac, 1989) and a large number musculoskeletal models are freely available. In our experiments the computational time needed to simulate a movement with a duration of e.g., 500 ms takes between 10 and 20 s (OpenSim implements numerical integrators with an adaptive time step) on a standard computer (3 GHz and 4 GB memory). However, we exploited parallel computing techniques for policy search, which resulted in a gain of factor 10. Alternatively, the muscle dynamics could be approximated via regression methods to speed-up the simulations (Chadwick et al., ).
2.4. Learning with movement primitives
We denote the parametrization of a movement primitive by a policy vector θ. A widely used approach in robotics to learn these parameters is episodic reinforcement learning (Kober and Peters, ), which is outlined in Figure 3A. A policy search method is used to improve the movement primitive's representation θ assuming a given objective or reward function C(τ) ∈ ℝ1. Throughout this manuscript C(τ) denotes a cost value that is equivalent to the negative reward in classical reinforcement learning (Sutton and Barto, ). It indicates the quality of an executed movement. A trajectory τ = 〈y1:T, u1:T − 1 〉 is specified by the simulated joint angles y and the applied controls (torques) u, where T denotes the number of time steps. We want to find a movement primitive's parameter vector θ* = argminθJ(θ) which minimizes the expected costs . We assume that we can evaluate the expected costs J(θ) for a given parameter vector θ by performing roll-outs (samples) on the real or simulated system. In other words each movement trajectory is quantified by a single scalar reward C(τ), which can be used by an optimization method to improve the best guess of the movement policy θ.
Figure 3
For learning or optimizing the policy parameters θ a variety of policy search algorithms exist in the motor control literature. Examples are the REINFORCE (Williams, 1992), the episodic Natural Actor Critic (Peters and Schaal,
Roughly, CMA is an iterative procedure that locally approximates the function C(τ(θ)) by a multivariate Gaussian distribution, which is denoted by the ellipse in the sketch in Figure 3B. From left to right a single optimization step for a two-dimensional policy vector θ = [w1, w2] is shown. The colored regions denote the unknown optimization landscape, where solid lines depict equal C(τ) values. From the current Gaussian distribution, denoted by the ellipse in the left panel, CMA generates a number of samples, denoted by the black dots, evaluates the samples (the size of the dots in the center panel is proportional to their C(τ) values), computes second order statistics of those samples that reduced C(τ) and uses these to update the Gaussian search distribution, which is shown in right panel. For algorithmic details we refer to Hansen et al. (
Note that for most interesting robotic tasks the unknown optimization landscape that is also sketched in Figure 3B is multi-modal and policy search might converge to a local optimum. Thus, the result of learning is sensitive to the initial policy parameters θ and for evaluating the convergence rate of different policy search methods multiple initial configurations should be considered (Kober and Peters,
In our experiments we compare single task learning with DMPs to learning multiple tasks simultaneously with DMPSynergies. With DMPs for each task k = 1..K an individual policy vector θk is learned, where the objective function used in policy search takes the task index as additional argument, i.e., C(τ, k). For learning multiple tasks simultaneously with DMPSynergies the policy vector θ encodes all K task specific parameters βm, k and Δsm, k, and all shared parameters denoted by θm in Equation 5 or Equation 6. The objective function is the sum of the individual task dependent costs C(τ) = ∑Kk = 1C(τ, k).
3. Results
We evaluated the proposed movement representation, the DMPSynergies, with simulations using three multi-task learning scenarios. A simple via-point task was used to illustrate the characteristics of the proposed movement representation. A challenging robotic learning task was used to generate rhythmic walking patterns for multiple step heights. Discrete reaching movements were learned using a musculoskeletal model of a human arm with eleven muscles.
3.1. Via-point reaching task with a simple toy model
The goal of this simple multi-task learning problem is to pass through k = 1..5 via-points (vpk ∈ {0.2, 0.1, 0, −0.1, −0.2}), denoted by the large dots in Figure 4A and navigate to the goal state g at 1. We used a point mass system (1 kg), where the state at time t is given by the position yt and the velocity . The applied controls ut shown in Figure 4B are computed using the linear feedback control law with kpos = 400 and kvel = 15 specified in Equation 4. The finite time horizon is given by T = 50. For the dynamical system in Equation 1 we used the parameters αz = 2, βz = 0.9 and τ = 0.1. Further parameter settings used for policy search are summarized in Table A1 in the appendix.
Figure 4

Results for the dynamic via-point task. The goal of this simple multi-task learning problem is to pass through five via-points, denoted by the large dots in (A) and navigate to the target state at 1. The corresponding controls (accelerations) of this dynamical system are shown in (B). These five trajectories are simultaneously learned using DMPSynergies with a single synergy (M = 1) represented by N = 2 Gaussians. We compare to dynamic movement primitives (DMPs) with N = 8 Gaussians and to an incremental variant of DMPs in (C). For the DMP approaches each task (via-point) has to be learned separately. Thus, the two learning curves have five peaks. In contrast with DMPSynergies we could learn these five tasks at once, which resulted in faster overall convergence. The plot in (D) illustrates the mean and the standard deviation of the learned β values for the DMPSynergy approach. Via interpolating β and by reusing the learned synergy new motor skills can be generated without re-learning. This is illustrated in (E), where β ∈ [0.07, 0.34].
This task is specified by the objective function The first two terms punish deviations from the via-point vpk and the goal state g, where ytvpk denotes the position of the state at the time index of the kth via-point. The last term punishes high energy consumption, where ut denotes the applied acceleration. Note that for simplicity we did not introduce the variable τ denoting the movement trajectory in C(τ, k) in Subsection 2.4. We always add a Gaussian noise term with a standard deviation of σ = 0.5 to the control action to simulate motor noise.
We used a single synergy (M = 1) with N = 2 Gaussians to model the shared prior knowledge. The learning curve is shown in Figure 4C, where we compare to single-task learning using DMPs with N = 8 Gaussian basis functions. For the via-point task 8 Gaussians were optimal with respect to the convergence rate, where we evaluated representations using N = 2..20 Gaussians (not shown). Additionally, we compare to an incremental learning setup (DMP inc.) in Figure 4C, where the DMP representation is always initialized with the best learned solution from the previous task. On the x-axis the number of samples or trajectory evaluations on the point mass system is plotted. As it can be seen the proposed approach can benefit from the shared knowledge and has a faster overall learning performance.
In this experiment, for each task we fixed the time-shift Δsk = 0 and only learned the k = 1..5 weights βk in Equation 5 (Note that the synergy index m was omitted as only a single synergy was used). For each of the N = 2 Gaussians we learned the mean μ, the bandwidth h and the amplitude a in Equation 7. Thus, in total 5 + 2 × 3 = 11 parameters were learned. In contrast with DMPs 8 Gaussian amplitudes were optimized.
The β values of the DMPSynergies representation for the five via-points are shown in Figure 4D for 10 runs. New motor skills can be generated without re-learning via a simple linear interpolation. The resulting trajectories are shown in Figure 4E. However, this is only the case in the simple via-point task. For more complex tasks these β values have to be learned.
3.2. Dynamic biped walker task
To evaluate the DMPSynergies on a multi-dimensional robotic task we learned multiple walking patterns using a 5 degree-of-freedom (DoF) dynamic biped robot model, which is shown in Figure 5A. We demonstrate that by exploiting the shared knowledge among multiple walking gaits, solutions could be found more robustly and more efficiently in terms of learning speed compared to single task learning. Further, the shared synergies could be used to generalize new skills. The model is only as complex as required to study difficulties like limb coordination, effective underactuation, hybrid dynamics or static instabilities. More details on the design and challenges can be found in Westervelt et al. (2004).
Figure 5

Dynamic biped walker model. (A) For the walker model, only the hip angles q1, q2 and the knee angles q3, q4 are actuated. The reference angle to the flat ground is denoted by q5. In this multi-task learning experiment we want to learn walking patterns for different step heights. Examples for step heights of 0.15, 0.25, and 0.3 m for a single step are shown in (B–D). These patterns were learned using the proposed movement primitives with shared synergies (M = 2 and N = 3). The green bars in (B–D) denote the true (maximum) step heights, which are 0.19, 0.24, and 0.31 m.
The 10-dimensional state of the robot is given by the hip angles (q1 and q2), the knee angles (q3 and q4), a reference angle to the ground (q5), and the corresponding velocities . Only the hip and the knee angles are actuated. Thus, 4 dynamical systems in Equation 1 are used to generate desired trajectories for the linear feedback controller in Equation 4. A phase resetting strategy is implemented to facilitate learning (Nakanishi et al.,
The initial state q1 ∈ ℝ10, the goal state g and the control gains in Equation 4 were optimized in advance for a desired step height of r* = 0.2 m to simplify learning. The resulting values are shown in Table A2 in the appendix. For rhythmic movements the goal state g ∈ ℝ5 models an attractor point which is only specified for joint angles and not for velocities in Equation 1. As for the via-point reaching task, Gaussian noise with σ = 1 is added to the simulated controls. For Equation 1 we used the parameters αz = 2, βz = 0.5 and τ = 0.06. The initial parameter values and the applied ranges used for policy search are shown in Table A3 in the appendix.
In this multi-task learning experiment we want to learn walking patterns for different desired step heights: r*k ∈ {0.15, 0.2, 0.25, 0.3} m. Example patterns for step heights of 0.15, 0.25 and 0.3 m are shown in Figures 5B–D, where the green bars denote the maximum step heights during a single step (0.19, 0.24 and 0.31 m).
The objective function for a single walking task is given by the distance travelled in the sagittal plane, the duration of the simulation and deviations from the desired step height r*k with k = 1..4: where x denotes the x-coordinate of the hip, S the number of steps and ri the maximal step height during the ith step. We used a time step Δt = 2 ms. The time horizon T ∈ [1, 5000] is given by the last valid state of the robot, where the biped does not violate the joint angle constraints specified by qmin and qmax in Table A2 in the appendix.
With the proposed DMPSynergies the non-linear function f(ϕ, k) in Equation 6 is generated by combining a set of learned synergies that are shared among multiple task instances, i.e., the four (k = 1..4) desired step heights. This combination mechanism is illustrated for a representation using M = 2 synergies modeled by N = 3 Gaussians in Figure 6. For each actuator (left hip, right hip, left knee, and right knee) an individual function f(ϕ, k) is generated, which is subsequently used to modulate an attractor system shown in Equation 1 to compute the desired movement trajectories. The shared synergies shown in the last two rows in Figure 6 can be scaled and shifted in time. This is indicated by the enclosing rectangles. Note that the color of the synergies is used to distinguish the four actuators of the walker model.
Figure 6

Learned non-linear functions f(ϕ, k) for the walker task. The learned non-linear functions f(ϕ, k) are illustrated in the first four rows. The four task instances, i.e., the desired step heights are shown from left to right. For each actuator (left hip, right hip, left knee, and right knee) an individual function f(ϕ, k) is used that is generated by combining two learned synergies shown in the last two rows. These synergies are shared among multiple task instances and can be scaled and shifted in time (via βm, k and Δsm, k). This is indicated by the enclosing rectangles, where the color of the synergies is used to distinguish the four actuators of the walker model.
We evaluated different movement primitive representations with increasing complexity compared to single-task learning using DMPs with N = 4 and N = 8 Gaussians. The average final costs Cmean after learning over 10 runs are shown in Table 1. In the most simple representation we used M = 2 synergies modeled by N = 2 Gaussians. More complex representations implementing time-varying synergies are denoted by the symbol Δ = 1 in Table 1. Here, additionally the time-shifts Δs1:M were learned for all synergies and all actuators. However, the final learning performance did not outperform the representation with fixed time-shifts (i.e., M = 2, N = 3 and Δ = 0: −21.4 ± 0.4 compared to M = 2, N = 3 and Δ = 1: −20.5 ± 1.4). This can be also seen in Figure 7, where we plot the learning curve for synergies with Δs1:M = 0 in Figure 7A and the results for time-varying synergies in Figure 7B.
Table 1

Achieved costs for the walker task, where the standard deviation is denoted by the symbol ±.
In the second column the symbol Δ denotes if additionally 16 M time-shift variables Δs are learned. The total number of parameters is denoted by the symbol #, where e.g., for the representation in the 1st row 4 M = 8 task related weights and 3 · M · N · 4 = 48 shared parameters were optimized. The best results with the lowest costs denoted by Cmean are highlighted in gray shading.
Figure 7

Learning curves for the biped walker task. This figure illustrates the learning performance over 10 runs of the proposed approach using M = 2 synergies with N = 3 Gaussian basis functions. In (A) the time-shift variables Δs are not learned and set to zero. Whereas, in (B) also these Δs variables are adapted during learning. We compare to the dynamic movement primitives (DMP) with N = 4 Gaussians in (A) and to DMPs with N = 8 Gaussians in (B). DMP inc. denotes an incremental learning setup, where DMPs were initialized with the best result from the previous task. Generalizing to a new step height (r* = 0.1 m) is shown in (C), where we applied the best learned policy for DMPSynergies from (B) and only optimized the weights β1:2 for the two (fixed) synergies. The corresponding average step height over all steps is shown in (D). We compare to DMPs with N = 8 Gaussians.
The average final cost value of the DMP representation is higher (i.e., DMPN = 8: −14.8 ± 1.4) compared to the best costs achieved with shared synergies (M = 2, N = 3 and Δ = 0: −21.4 ± 0.4). This holds also for an incremental learning setup (e.g., DMP inc.N = 4: −19.2 ± 0.6), where DMPs were initialized with the best result from the previous task.
The joint angle trajectories of the left hip and knee joint for the DMPSynergy representation using M = 2 synergies modeled by N = 3 Gaussians and Δ = 1 are illustrated in Figure 8. The average step heights were r ∈ {0.22, 0.22, 0.26, 0.28}, which do not match the desired step heights r* ∈ {0.15, 0.2, 0.25, 0.3}. The reason for this is that the objective function in Equation 11 is designed to prefer correct multi-step walking movements over exact matches of the step heights since learning to walk is already a complex learning problem (approximately 90% of the costs are determined by the travelled distance and only 5% are caused by the distance to the desired step heights). However, for the different desired step heights the shape of the trajectories as well as the moment of the impact vary. The moments of impact are denoted by arrows in Figure 8.
Figure 8

Results for the biped walker task. This figure illustrates the (initially) left hip angle denoted by q1 and the left knee angle (q3) for the multi-task learning scenario. Shown are the best learned trajectories using the proposed approach (with M = 2, N = 3 and Δ = 1) for the desired step heights of r* ∈ {0.15, 0.2, 0.25, 0.3}. The true step heights of the learned walking patterns are 0.22 ± 0.07, 0.22 ± 0.08, 0.26 ± 0.08, 0.28 ± 0.08. The points in time of the ground contacts are denoted by large arrows for desired step heights of 0.25 m and 0.3 m. For the later additionally the duration of the stance and the swing phases are illustrated by large boxes.
While generalizing to new motor skills was straightforward for the simple via-point task, for the walking tasks a linear interpolation turns out to be ineffective. We therefore demonstrate in Figures 7C,D how a new walking pattern for a desired step height of r* = 0.1 m can be learned be reusing the previously learned prior knowledge (taking the best solution for r* = 0.25 m) for M = 2 synergies modeled by N = 3 Gaussians and Δ = 1. Only the weights β1:M are optimized in this experiment, keeping the learned time-shifts fixed. The costs in Figure 7C and the average step height r in Figure 7D demonstrate the advantage of using a fixed prior, where we compare to DMPs with N = 8 Gaussians.
3.3. Multi-directional reaching task with a musculoskeletal model of the human arm
A simplified model of a human arm based on the model by Holzbaur et al. (
Figure 9

Musculoskeletal model for learning reaching tasks. A model of a human arm with eleven muscles shown in Table A5 in the appendix was used to learn six reaching skills in the sagittal plane (A). As reward signal we encoded the distance to a marker placed on the radial stylion (denoted by the plus symbol) and punished large muscle excitation signals. Targets are denoted by large dots. We focused on fast reaching skills of 500 ms duration, where an example movement is shown in (B). To simulate how muscles wrap over underlying bone and musculature wrapping surfaces are implemented as cylinders, spheres and ellipsoids (Holzbaur et al.,
We focused on fast reaching movements of 500 ms duration (T = 500 and Δt = 1 ms) that can be implemented in an open-loop control scheme. Note that with our approach also closed-loop systems with feedback could be implemented, as discussed below. Thus, the learnable non-linear function f(s, k) in Equation 10 is directly used as input to the system in form of muscle excitation patterns. The parameter settings for learning are shown in Table A4 in the appendix.
For learning the reaching tasks we evaluated the Euclidean distance of a marker vk(t) placed on the radial stylion to a given target gk, where k = 1..6 denotes the task index. Additionally, large muscle excitations signals are punished: where ‖.‖ denotes the Euclidean distance between the marker vk(t) and the target gk at time t.
We evaluated five movement representations, defined in Equation 10, with an increasing number of shared synergies, i.e., M = {1, 2, 3, 4, 5}. Each synergy is represented by a single (N = 1) Gaussian. For each target and for each synergy the task-specific parameters βk, m and Δsk, m are learned. The number of task-specific and the number of task-invariant or shared parameters is shown in Table 2.
Table 2
| No. of synergies | Cmean | #K | #M | Total |
|---|---|---|---|---|
| M = 1 | 2.38 ± 0.05 | 12 | 33 | 45 |
| M = 2 | 1.52 ± 0.12 | 24 | 66 | 90 |
| M = 3 | 1.15 ± 0.12 | 36 | 99 | 135 |
| M = 4 | 1.15 ± 0.05 | 48 | 132 | 180 |
| M = 5 | 1.17 ± 0.05 | 60 | 165 | 225 |
Details of the evaluated parametrizations and achieved costs for the reaching task.
M denotes the number of implemented synergies, Cmean the final cost values, and the symbol ± the standard deviation. We use #K to denote the number of task-specific parameters (6 · M) and #M to denote the number of task-invariant or shared parameters (3 · 11 · M).
We hypothesized that a muscle excitation signal can be generated by combining a small number of learned synergies. An example for the anterior deltoid muscle (DeltA) is shown in Figure 10 for two movement directions. Here, DMPSynergies with M = 4 synergies were used to generate the muscle excitation patterns. The muscle excitation patterns for all six movement directions and all eleven muscles are shown in Figure 11. Two observations can be made: first, as our objective function in Equation 12 punishes large muscle excitation signals a sparse representation of multiple motor skills is learned. Second, the learned muscle patterns partially show the typical triphasic behavior of human movement (Angel,
Figure 10

Synergy combination mechanism. We hypothesize that a muscle excitation signal can be generated by combining a small number of learned synergies. Here, we illustrate this combination process for the deltoid anterior (DeltA) with four synergies for two movement directions. For the two movement directions different combination coefficients βm, k and different time-shift parameters Δsm, k were learned. The synergies are represented by a single parametrized Gaussian, where the corresponding basis function for DeltA is denoted by a bold line in the enclosing rectangles.
Figure 11

Learned muscle excitation patterns. Shown are the muscle excitation patterns for all six targets (from left to right) and for all muscles (rows one to eleven). In the last row the tangential velocity profiles of the marker placed on the radial stylion is illustrated (see text for details).
Comparing all five movement representations (M = {1, 2, 3, 4, 5}), we found that at least three synergies were necessary to accomplish all reaching tasks. This is shown in Figure 12A, where with only one (M = 1) or two synergies (M = 2) not all targets can be reached. Shown are the marker trajectories of three independent learning sessions (out of ten runs). Note that similar findings were obtained in analyzing human arm reaching movements, where four to five synergies were observed (d'Avella et al.,
Figure 12

Learning multi-directional reaching movements. We evaluated five movement representations with an increasing number of shared synergies, i.e., M = {1, 2, 3, 4, 5}. The resulting trajectories of the marker placed on the radial stylion are shown in (A,C), where with less than three synergies not all targets can be reached. Illustrated are three independent learning results. In (B) we illustrate the average learning curves over 10 runs for these movement representations. For the representation using M = 4 synergies shown in (C) additionally the tangential velocity profiles are illustrated.
For testing the generalization ability of DMPSynergies we rotated all six targets by 30 degrees and only re-learned the task-specific coefficients, i.e., the mixing coefficients βm, k and the time-shift parameters Δsm, k. Interim solutions with a movement representation implementing M = 4 synergies are shown in Figure 13A. Note that, as we evaluated an open-loop controller, the rotated targets were unknown to the controller. Solely the objective function in Equation 12 quantifies deviations from the targets. After 15 episodes a first trend toward the new targets was visible, however, most of the trajectories (three learned solutions are illustrated) ended at the original targets. The corresponding learning curves for DMPSynergies with three (M = 3) and four (M = 4) synergies are shown in Figure 13B. The learning curve for the unperturbed scenario from the previous experiment is denoted by the dashed line (M = 4 orig.). Note that in both - the unperturbed and the perturbed experiments K = 6 reaching movements were learned, which demonstrates the benefit of the shared learned knowledge when generalizing new skills. For a comparison the blue line denoted by DMP N = 4 illustrates the convergence rate of single task learning with DMPs, where DMPSynergies (M = 4 orig.) can compete in terms of learning speed.
Figure 13

Generalization to new reaching directions. For testing the generalization ability of the proposed DMPSynergies we fix the learned shared synergies and only adapt the task-specific parameters, i.e., the mixing coefficients βm, k and the time-shift parameters Δsm, k. The K = 6 targets were rotated by 30 degrees, where in (A) the marker trajectories after 15, 50, 200, and 1000 episodes for a movement representation with M = 4 synergies are shown. In (B) we show the averaged learning curves for DMPSynergies with three and four synergies over 10 runs (M = 3 and M = 4). The learning curve for the unperturbed scenario from the previous experiment is denoted by the dashed line (M = 4 orig.). For a comparison the blue line denoted by DMP N = 4 illustrates the convergence rate of single task learning.
4. Discussion
We proposed a movement representation based on learned parametrized synergies (DMPSynergies) that can be linearly combined and shifted in time. These learned synergies are shared among multiple task instances significantly facilitating learning of motor control policies. This was demonstrated on simulated robotic and on musculoskeletal systems. Below we discuss the significance and the implication of our findings with respect to robotics and biological motor control.
4.1. Exploiting shared synergies for motor skill learning in robotics
For motor skill learning in robotics a common strategy is to use parametrized elementary movements or movement primitives (Kober and Peters,
In particular, we replaced the non-linear modulation function f(.) in DMPs by a hierarchical function approximator. On the lower level task related parameters (amplitude scaling weights and time-shift parameters) are used to modulate a linear superposition of basis functions. These basis functions encode shared higher level knowledge and are modeled by a mixture of Gaussians. With the proposed DMPSynergies representation discrete and rhythmic movements can be generated. By using Gaussians at the higher level DMPs can be implemented as special case. However, the DMPSynergies can compete with DMPs in terms of learning efficiency while allowing for learning multiple motor skills simultaneously.
This was demonstrated in two robotic multi-task learning scenarios, where we showed that, with the DMPSynergies, good policies could be found more reliably, i.e., local minima with high cost values were more often avoided, more efficiently (fewer samples were needed), and new skills could be generalized by exploiting the previously learned shared knowledge. A simple via-point task was used to demonstrate the characteristics of the approach, where the proposed movement representation could be used to generalize new movement trajectories by applying a linear interpolation on the synergy's weights β. In a second robotic task, a biped walker task, the hierarchical representation was used to learn walking patterns with multiple step heights. In this complex reinforcement learning task, it was shown that better solutions were found more reliably by exploiting the learned shared knowledge, which is a strong feature of a movement representation. While also with the classical DMP approach high quality movement gaits were learned, on average the achieved costs were higher compared to the proposed hierarchical synergies representation, i.e., −19.2 ± 0.6 for DMPs with 4 Gaussians (and with incremental learning) compared to −21.4 ± 0.4 when using M = 2 synergies with N = 3 Gaussians (where the time-shift parameters were fixed and set to zero, Δ = 0). In this experiment 10, 000 samples were needed to learn 4 walking gaits simultaneously, where the DMPSynergies approach can compete with DMPs (15, 000 samples). Additionally, we demonstrated in a generalization experiment that walking patterns for an unknown step height (r* = 0.1 m) could be learned with 100 samples by exploiting the previously learned prior knowledge.
While DMPs (Schaal et al.,
As with DMPs the complexity of the DMPSynergies representation can be scaled by the number of combined synergies or the number of implemented Gaussians modeling these synergies. However, as the trajectories generated with our representation depend non-linearly on the policy parameters (in contrast to DMPs) more sophisticated decomposition strategies like for example d'Avella and Tresch (
4.2. Learned shared synergies for biological movement generation
The idea of reusing shared knowledge for movement generation is a well-known concept in biological motor control. Muscle activation patterns recorded during multiple task instances of natural motor behavior, i.e., fast reaching movements of humans (d'Avella et al.,
The proposed framework allows for studying the concept of muscle synergies from a generative perspective in contrast to the analytical approach, where muscle synergies are identified from observed data. Applying such a generative approach to a musculoskeletal model, we could provide a proof-of-concept of the feasibility of a low-dimensional controller based on shared synergies and a demonstration of its learning efficiency. Moreover, we could ask different question, i.e., how does performance scale with the complexity of the movement representation, how sparse is the encoding of the muscle patterns to solve particular tasks, and how well does the learned representation generalize to new movements? We addressed these questions in a multi-directional reaching task, where we investigated a musculoskeletal model of the upper limb with 11 muscles. Motor skills for 6 reaching directions were learned within 3000 episodes and by exploiting the learned shared synergies movements for rotated target directions can be generalized 3 times faster (Figure 13). We found that a minimum of three synergies were necessary to solve the task (Figure 12B). In our objective function large muscle excitation signals were punished, which resulted in a sparse representation of muscle excitation patterns. This sparse representation illustrated in Figure 11 shows similarities to observed electromyographic activity recorded in related human reaching tasks (d'Avella et al.,
The model was designed to capture salient features of human musculoskeletal system, such as muscle activation dynamics, Hill-type musculotendinous units, realistic geometry. However, to reduce the computational effort needed to simulate a movement we made a few simplifying assumptions. First, a limited number of muscles (11) were implemented, where simplified wrapping objects and muscle paths were modeled. Further, we implemented the shoulder and the elbow joint as hinge joints. Thus, only reaching movements in the sagittal plane could be performed. Finally, we focused on fast reaching movements in an open-loop control scheme. This was a valid assumption for comparing to human data for fast reaching movements (d'Avella et al.,
Musculoskeletal models have been used before to investigate movement generation with muscle synergies (Berniker et al.,
The proposed reinforcement learning framework with movement primitives relates to optimal control approaches in the biological motor control literature (Delp et al.,
In this manuscript we demonstrated how time-varying synergies (d'Avella et al.,
5. Conclusion
We proposed a movement primitive representation implementing shared knowledge in form of learned synergies. The representation competes with the state-of-the-art, it can implement DMPs (Schaal et al.,
Conflict of interest statement
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Statements
Acknowledgments
This paper was written under partial support by the European Union project FP7-248311 (AMARSI) and project IST-2007-216886 (PASCAL2). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Supplementary material
The Supplementary Material for this article can be found online at: http://www.frontiersin.org/journal/10.3389/fncom.2013.00138/abstract
References
1
AlessandroC.CarbajalJ.d'AvellaA. (2012). Synthesis and adaptation of effective motor synergies for the solution of reaching tasks, in From Animals to Animats (SAB 2012), Vol. 7426Lecture Notes in Computer Science, eds ZiemkeT.BalkeniusC.HallamJ. (Denmark: Odense), 33–43. 10.1007/978-3-642-33093-3_4
2
AngelR. W. (1975). Electromyographic patterns during ballistic movement of normal and spastic limbs. Brain Res. 99, 387–392. 10.1016/0006-8993(75)90042-6
3
BerardelliA.HallettM.RothwellJ. C.AgostinoR.ManfrediM.ThompsonP. D.et al. (1996). Single-joint rapid arm movements in normal subjects and in patients with motor disorders. Brain119, 661–674. 10.1093/brain/119.2.661
4
BernikerM.JarcA.BizziE.TreschM. C. (2009). Simplified and effective motor control based on muscle synergies to exploit musculoskeletal dynamics. Proc. Natl. Acad. Sci. U.S.A. 106, 7601–7606. 10.1073/pnas.0901512106
5
BizziE.CheungV.d'AvellaA.SaltielP.TreschM. (2008). Combining modules for movement. Brain Res. Rev. 57, 125–133. 10.1016/j.brainresrev.2007.08.004
6
ChadwickE.BlanaD.van den BogertA.KirschR. (2009). A real-time, 3-d musculoskeletal model for dynamic simulation of arm movements. Biomed. Eng. IEEE Trans. 56, 941–948. 10.1109/TBME.2008.2005946
7
ChhabraM.JacobsR. A. (2006). Properties of synergies arising from a theory of optimal motor behavior. Neural Comput. 18, 2320–2342. 10.1162/neco.2006.18.10.2320
8
ChiovettoE.BerretB.PozzoT. (2010). Tri-dimensional and triphasic muscle organization of whole-body pointing movements. Neuroscience170, 1223–1238. 10.1016/j.neuroscience.2010.07.006
9
ChiovettoE.d'AvellaA.GieseM. (2013). A unifying framework for the identification of kinematic and electromyographic motor primitives, in Abstracts of Neural Control of Movement Conference (NCM 2013), Puerto Rico.
10
d'AvellaA.BizziE. (2005). Shared and specific muscle synergies in natural motor behaviors. Proc. Natl. Acad. Sci. U.S.A. 102, 3076–3081. 10.1073/pnas.0500199102
11
d'AvellaA.PaiD. K. (2010). Modularity for sensorimotor control: evidence and a new prediction. J. Motor Behav. 42, 361–369. 10.1080/00222895.2010.526453
12
d'AvellaA.PortoneA.FernandezL.LacquanitiF. (2006). Control of fast-reaching movements by muscle synergy combinations. J. Neurosci. 26, 7791–7810. 10.1523/JNEUROSCI.0830-06.2006
13
d'AvellaA.SaltielP.BizziE. (2003). Combinations of muscle synergies in the construction of a natural motor behavior. Nat. Neurosci. 6, 300–308. 10.1038/nn1010
14
d'AvellaA.TreschM. C. (2001). Modularity in the motor system: decomposition of muscle patterns as combinations of time-varying synergies, in Advances of Neural Information Processing Systems, (NIPS 2001), eds DietterichT. G.BeckerS.GhahramaniZ. (Vancouver, BC: MIT Press), 141–148.
15
DelpS.AndersonF.ArnoldA.LoanP.HabibA.JohnC.et al. (2007). Opensim: open-source software to create and analyze dynamic simulations of movement. Biomed. Eng. IEEE Trans. 54, 1940–1950. 10.1109/TBME.2007.901024
16
DominiciN.IvanenkoY. P.CappelliniG.d'AvellaA.MondìV.CiccheseM.et al. (2011). Locomotor primitives in newborn babies and their development. Science334, 997–999. 10.1126/science.1210617
17
ErdemirA.McLeanS.HerzogW.van den BogertA. J. (2007). Model-based estimation of muscle forces exerted during movements. Clin. Biomech. 22, 131–154. 10.1016/j.clinbiomech.2006.09.005
18
GarnerB.PandyM. (2001). Musculoskeletal model of the upper limb based on the visible human male dataset. Comput. Methods Biomech. Biomed. Eng. 4, 93–126. 10.1080/10255840008908000
19
GieseM. A.MukovskiyA.ParkA.-N.OmlorL.SlotineJ.-J. E. (2009). Real-time synthesis of body movements based on learned primitives, in Statistical and Geometrical Approaches to Visual Motion Analysis, Vol. 5604Lecture Notes in Computer Science, eds CremersD.RosenhahnB.YuilleA. L.SchmidtF. R. (Berlin, Heidelberg, Springer), 107–127. 10.1007/978-3-642-03061-1_6
20
HallettM.ShahaniB. T.YoungR. R. (1975). EMG analysis of stereotyped voluntary movements in man. J. Neurol. Neurosurg. Psychiatry38, 1154–1162. 10.1136/jnnp.38.12.1154
21
HansenN.MullerS.KoumoutsakosP. (2003). Reducing the time complexity of the derandomized evolution strategy with covariance matrix adaptation (CMA-ES). Evol. Comput. 11, 1–18. 10.1162/106365603321828970
22
HolzbaurK. R.MurrayW. M.DelpS. L. (2005). A model of the upper extremity for simulating musculoskeletal surgery and analyzing neuromuscular control. Ann. Biomed. Eng. 33, 829–840. 10.1007/s10439-005-3320-7
23
IjspeertA.NakanishiJ.PastorP.HoffmannH.SchaalS. (2013). Dynamical movement primitives: learning attractor models for motor behaviors. Neural Comput. 25, 328–373. 10.1162/NECO_a_00393
24
IjspeertA. J.NakanishiJ.SchaalS. (2002). Learning attractor landscapes for learning motor primitives, in Advances in Neural Information Processing Systems 15, (NIPS 2002), eds BeckerS.ThrunS.ObermayerK. (Vancouver, BC: MIT Press), 1523–1530.
25
IvanenkoY. P.PoppeleR. E.LacquanitiF. (2004). Five basic muscle activation patterns account for muscle activity during human locomotion. J. Physiol. 556, 267–282. 10.1113/jphysiol.2003.057174
26
KoberJ.OztopE.PetersJ. (2010). Reinforcement learning to adjust robot movements to new situations, in Proceedings of the 2010 Robotics: Science and Systems Conference (RSS 2010), (Zaragoza), 2650–2655.
27
KoberJ.PetersJ. (2011). Policy search for motor primitives in robotics. Mach. Learn. 84, 171–203. 10.1007/s10994-010-5223-6
28
LiW.TodorovE. (2004). Iterative linear quadratic regulator design for nonlinear biological movement systems, in Proceedings of the 1st International Conference on Informatics in Control, Automation and Robotics, (ICINCO 2004), (Setúbal), 222–229.
29
LockhartD. B.TingL. H. (2007). Optimal sensorimotor transformations for balance. Nat. Neurosci. 10, 1329–1336. 10.1038/nn1986
30
McKayJ. L.TingL. H. (2012). Optimization of muscle activity for task-level goals predicts complex changes in limb forces across biomechanical contexts. PLoS Comput. Biol. 8:e1002465. 10.1371/journal.pcbi.1002465
31
MeierF.TheodorouE.StulpF.SchaalS. (2011). Movement segmentation using a primitive library, in IEEE/RSJ International Conference on Intelligent Robots and Systems, (IROS 2011) (San Francisco, CA), 3407–3412.
32
MüllingK.KoberJ.KroemerO.PetersJ. (2013). Learning to select and generalize striking movements in robot table tennis. Int. J. Robot. Res. 32, 263–279. 10.1177/0278364912472380
33
NakanishiJ.MorimotoJ.EndoG.ChengG.SchaalS.KawatoM. (2004). Learning from demonstration and adaptation of biped locomotion. Robot. Auton. Syst. 47, 79–91. 10.1016/j.robot.2004.03.003
34
NeptuneR. R.ClarkD. J.KautzS. A. (2009). Modular control of human walking: a simulation study. J. Biomech. 42, 1282–1287. 10.1016/j.jbiomech.2009.03.009
35
OverduinA.d'AvellaA.RohJ.BizziE. (2008). Modulation of muscle synergy recruitment in primate grasping. J. Neurosci. 28, 880–892. 10.1523/JNEUROSCI.2869-07.2008
36
PastorP.HoffmannH.AsfourT.SchaalS. (2009). Learning and generalization of motor skills by learning from demonstration, in International Conference on Robotics and Automation (ICRA 2009), (Kobe). 10.1109/ROBOT.2009.5152385
37
PetersJ.SchaalS. (2008). Reinforcement learning of motor skills with policy gradients. Neural Netw. 21, 682–697. 10.1016/j.neunet.2008.02.003
38
RückertE. A.NeumannG.ToussaintM.MaassW. (2013). Learned graphical models for probabilistic planning provide a new class of movement primitives. Front. Comput. Neurosci. 6:97. 10.3389/fncom.2012.00097
39
SchaalS.PetersJ.NakanishiJ.IjspeertA. J. (2003). Learning movement primitives, in International Symposium on Robotics Research, (ISRR 2003), (Lucerne), 561–572.
40
SchutteL.RodgersM.ZajacF.GlaserR. (1993). Improving the efficacy of electrical stimulation-induced leg cycle ergometry: an analysis based on a dynamic musculoskeletal model. Rehabil. Eng. IEEE Trans. 1, 109–125. 10.1109/86.242425
41
SehnkeF.OsendorferC.RückstießT.GravesA.PetersJ.SchmidhuberJ. (2010). Parameter-exploring policy gradients. Neural Netw. 23, 551–559. 10.1016/j.neunet.2009.12.004
42
SethA.ShermanM.ReinboltJ. A.DelpS. L. (2011). Opensim: a musculoskeletal modeling and simulation framework for in silico investigations and exchange, in Procedia International Union of Theoretical and Applied Mathematics (IUTAM 2011), 2, 212–232. 10.1016/j.piutam.2011.04.021
43
SuttonR.BartoA. (1998). Reinforcement Learning: An Introduction. Boston, MA: MIT Press.
44
TheodorouE.BuchliJ.SchaalS. (2010). Reinforcement learning of motor skills in high dimensions: a path integral approach, in Robotics and Automation (ICRA), 2010 IEEE International Conference on, (Anchorage, AL), 2397–2403.
45
WesterveltE. R.BucheG.GrizzleJ. W. (2004). Experimental validation of a framework for the design of controllers that induce stable walking in planar bipeds. Int. J. Robot. Res. 23, 559–582. 10.1177/0278364904044410
46
WierstraD.SchaulT.PetersJ.SchmidhuberJ. (2008). Episodic reinforcement learning by logistic reward-weighted regression, in Proceedings of the 18th International Conference on Artificial Neural Networks, Part I, (ICANN 2008), (Berlin), 407–416.
47
WilliamsR. J. (1992). Simple statistical gradient-following algorithms for connectionist reinforcement learning. Mach. Learn. 8, 229–256. 10.1007/BF00992696
48
WintersJ. M.StarkL. (1985). Analysis of fundamental human movement patterns through the use of in-depth antagonistic muscle models. Biomed. Eng. IEEE Trans. BME-32, 826–839. 10.1109/TBME.1985.325498
49
ZajacF. E. (1989). Muscle and tendon: properties, models, scaling, and application to biomechanics and motor control. Crit. Rev. Biomed. Eng. 17, 359–411.
Appendix
For the via-point task the parameter settings for learning are shown in Table A1. Initial parameter values and parameter settings for policy search for the biped walker task are shown in Table A2 and in Table A3. In Table A4 we list the learning settings for the multi-directional reaching task using a musculoskeletal model of a human arm. The implemented muscles and their characteristic parameters are shown in Table A5.
Table A1
| Parameter | Range | Initial value |
|---|---|---|
| a, (w) | ∈ [−5, 5] | a0 = 0 |
| μ, (μ) | ∈ [0, 1] | μ0 spaced linearly in [0, 1] |
| h, (h) | ∈ [0.01, 1] | h0 = 0.1 |
| β | ∈ [0, 100] | β0 = 1 |
Parameter settings for the discrete via-point task.
In brackets are the variable names for the dynamic movement primitives, which are used for comparison.
Table A2
| Variable | Value |
|---|---|
| q1 | [3.5, 4.4, −0.07, −0.5, −0.7, −1.5, −0.6, −1.0, 0.3, −0.4] |
| g | [2.8, 4.5, −0.3, −1.8] |
| kpos | [632.5, 885.6, 463.4, 643.7] |
| kvel | [14.5, 13.2, 38.6, 40.6] |
| qmin | [2.8, 2.8, −2.6, −2.6, −1.04] |
| qmax | [4.7, 4.7, 0, 0, 1.0] |
Biped walker setting of pre-optimized quantities.
Table A3
| Parameter | Range | Initial value |
|---|---|---|
| a, (w) | ∈ [−2, 2] | a0 = 0 |
| μ, (μ) | ∈ [0.8 μ0, 1.2 μ0] | μ0 spaced linearly in [0, 2π] |
| h, (h) | ∈ [0.1, 10] | h0 = 1 |
| β | ∈ [0, 2] | β0 = 1 |
| Δs | ∈ [0, 0.5] | Δs0 = 0 |
Policy search parameter settings for the rhythmic walking task.
In brackets are the variable names for the dynamic movement primitives.
Table A4
| Parameter | Range | Initial value |
|---|---|---|
| a | ∈ [−1, 1] | a0 = 0.5 |
| μ | ∈ [0.3, 0.7] | μ0 spaced linearly in [0.3, 0.7] |
| h | ∈ 8 [10−5, 10−3] | h0 = 8 · 10−4 |
| β | ∈ [0, 1] | β0 = 1 |
| Δs | ∈ [−0.2, 0.2] | Δs0 = 0 |
Parameter settings for the multi-directional reaching task.
Table A5
| LM0 [cm] | LTs [cm] | FM0 [N] | α [rad] | |
|---|---|---|---|---|
| Anterior deltoid (DeltA) | 14.68 | 9.3 (1.64) | 277.48 | 0 |
| Posterior deltoid (DeltP) | 17.02 | 5.93 | 567.15 | 0 |
| Latissimus dorsi-thoracic (LatDors) | 34.87 | 14.75 | 173.43 | 0 |
| Pectoralis major-clav (PectClav) | 22.65 | 0.45 | 342.46 | 0 |
| Triceps brachii-long (TrLong) | 15.24 | 25.05 (19.05) | 629.21 | 0.26 |
| Triceps brachii-lateral (TrLat) | 6.17 | 19.64 | 1268.87 | 0.26 |
| Triceps brachii-medial (TrMed) | 4.9 | 18.19 (12.19) | 619.67 | 0.26 |
| Biceps-long (BicLong) | 15.36 | 32.93 (22.93) | 392.91 | 0.17 |
| Biceps-short (BicShort) | 13.07 | 26.98 (22.98) | 461.76 | 0.17 |
| Brachialis (BRA) | 10.28 | 9.75 (1.75) | 853 | 0.17 |
| Brachioradialis (BrRad) | 27.03 | 6.04 | 101.58 | 0.08 |
Characteristic muscle parameters of an upper limb model taken from Garner and Pandy (
The tendon slack length is denoted by LTs, the maximum isometric force by FM0, the optimal fiber length by LM0, and the muscle pennation angle by α. To increase the reachable space, we adapted the tendon slack length LTs of a small number of muscles (bold numbers vs. the original values in brackets).
Summary
Keywords
dynamic movement primitives, muscle synergies, reinforcement learning, motor control, musculoskeletal model
Citation
Rückert E and d'Avella A (2013) Learned parametrized dynamic movement primitives with shared synergies for controlling robotic and musculoskeletal systems. Front. Comput. Neurosci. 7:138. doi: 10.3389/fncom.2013.00138
Received
27 May 2013
Accepted
25 September 2013
Published
17 October 2013
Volume
7 - 2013
Edited by
Martin Giese, University Clinic Tuebingen, Germany
Reviewed by
Florentin Wörgötter, University Goettingen, Germany; Dominik M. Endres, HIH, CIN, BCCN and University of Tübingen, Germany; Tomas Kulvicius, University of Goettingen, Germany
Copyright
© 2013 Rückert and d'Avella.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Elmar Rückert, Institute for Theoretical Computer Science, Graz University of Technology, Inffeldgasse 16b/1, 8010 Graz, Austria e-mail: rueckert@igi.tugraz.at
This article was submitted to the journal Frontiers in Computational Neuroscience.
Disclaimer
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.