Abstract
Background
We control the movements of our body and limbs through our muscles. However, the forces produced by our muscles depend unpredictably on the commands sent to them. This uncertainty has two sources: irreducible noise in the motor system's processes (i.e. motor noise) and variability in the relationship between muscle commands and muscle outputs (i.e. model uncertainty). Any controller, neural or artificial, benefits from estimating these uncertainties when choosing commands.
Methods
To examine these benefits we used an experimental preparation of the rat hindlimb to electrically stimulate muscles and measure the resulting isometric forces. We compare a functional electric stimulation (FES) controller that represents and compensates for uncertainty in muscle forces with a standard FES controller that neglects uncertainty.
Results
Accounting for uncertainty substantially increased the precision of force control.
Conclusion
Our work demonstrates the theoretical and practical benefits of representing muscle uncertainty when computing muscle commands.
Significance
The findings are relevant beyond FES as they highlight the benefits of estimating statistical properties of muscles for both artificial controllers and the nervous system.
Keywords: computational biology, control design, force control, nonlinear control systems, open loop systems, optimal control, biological control systems, functional electrical stimulation, muscle force uncertainty
I. Introduction
Muscle forces can be difficult to predict. For a given command, the force produced by a muscle depends on a large number of variables distributed across many spatial and temporal scales [1]. While the nervous system clearly has knowledge of some of these variables (e.g. muscle length, velocity and force), other aspects of muscle dynamics may be much more difficult to measure and estimate (e.g. the detailed dynamics of molecules at the level of individual myofibrils and sarcomeres). With knowledge of those variables the nervous system has access to, the relationship between commands and muscle forces can be estimated and used to predict, or model, force generation. This relationship itself cannot be estimated exactly, hence the presence of model uncertainty. The remaining unaccounted aspects of muscle dynamics will result in what appears to be random fluctuations in force, which can be attributed to motor noise. The effects of model uncertainty and motor noise on muscle force can be mitigated but never altogether eliminated. Thus a central problem for the nervous system, or any artificial controller, is how to command muscles effectively in the presence of uncertainty.
Many studies use computational models to understand how the nervous system commands muscles when executing behavior. These studies investigate issues ranging from how groups of muscles are coordinated [2-6], to the adaptation of muscle coordination after injury or altered dynamics [7, 8], to the optimality of muscle commands [9-11]. However, most of these studies neglect noise and uncertainty and rely on deterministic descriptions of control. While some studies do model noise in the command, they rely on assumed accurate models of muscles, neglecting model uncertainty [10, 12-15]. Thus the implications of these two aspects of uncertainty on neural control remain poorly understood.
These two aspects of uncertainty in muscle force production are also potentially important in studies that directly stimulate muscle. The chief clinical application is functional electrical stimulation (FES). Here the goal is to replace weak or absent muscle commands with artificial stimulations that restore impaired behaviors, e.g. toe drag in stroke/multiple sclerosis [16, 17], or command paralyzed limbs with brain-machine interfaces [18-23]. In this application, as in the previous studies, some aspects of muscle force dynamics can usually be estimated. However, the force expected from stimulating a muscle often remains very inaccurate, both because models are imperfectly estimated and because of unaccounted muscle dynamics. Yet these uncertainties are usually neglected when designing FES controllers.
In this study, we examine the issues of uncertainty in muscle force production in the context of control. We present a data-driven, probabilistic model of force production, explicitly representing both motor noise and model uncertainty. We validate these ideas using a clinically relevant animal FES model. We find that the forces produced using our feedforward probabilistic controller are substantially more accurate than standard deterministic FES controllers. The results of this study demonstrate the benefits of estimating muscle uncertainty to enable precise control.
II. Materials and Methods
We first present a toy model analysis illustrating the methods and concepts we used in our approach. We then apply these same methods to an experimental situation, validating their applicability to the clinical application of FES.
A. Muscle Models
For our simulated experiments as well as the experimental modeling, we consider steady state, isometric force production. We assume each muscle's force production varies with activation level as described by the conventional sigmoidal recruitment curve,
(1) |
where u is the activation level, α, β, δ, γ are model parameters that describe the recruitment curve's overall shape and n is a noise term (a random variable drawn from some distribution). The noise term accounts for errors in capturing the true functional relationship and any unmodeled dynamics that result in trial-to-trial variability. Data pairs consisting of activation levels and the measured forces, {ui, fi} are used to fit these model parameters.
Typically, data is used to find point estimates for the model parameters such that some “best” fit is achieved. For instance, α, β, δ, and γ may be chosen to minimize the sum of squared errors between the model predictions and the data, the so-called least-squares solution. The residuals of this fit can be used to approximate the noise term (motor noise), or as is often done, neglected all together. Using these point estimates, and neglecting the motor noise, the muscle model is deterministic and models the average muscle force for a given value of activation, u.
Under a full statistical treatment of the model, we recognize that many model parameter values may be equally likely given a particular set of observations. Therefore, rather than find point estimates for α, β, δ, and γ, we seek the distributions over their values induced by our data, i.e. P(α, β, δ, γ|{ui, fi}). This distribution characterizes our confidence in the model parameters, i.e. the model uncertainty. Similarly, we can characterize the motor noise, the remaining variability in the data that the model parameters cannot account for. Then, rather than find a deterministic function for the force value, we now describe the probability of forces by integrating out over all the model parameters. The end result is a posterior distribution of possible muscle forces given the activation level and our experimental data.
Since our model is nonlinear in its parameters, a closed form representation for these posterior distributions is intractable. We approximate these distributions by implementing a Markov Chain Monte Carlo (MCMC) sampling technique using software written for this purpose [24]. Briefly, for each muscle's data, “samples” are drawn, where each sample is a set of muscle parameters described in equation 1. 10,000 samples were drawn for a burn-in period, effectively settling to a location in parameter space where the values accurately describe the data. Thereafter each 50th sample was stored, collecting 5,000 samples in total (see e.g., [25, 26] for a review of this approach). From these samples the median values and standard deviations were computed for all parameter values.
The MCMC algorithm returns many sample recruitment curves representative of the posterior distribution (given our data), similar to a boot-strapping technique. With these samples we can then compute the mode, or most probable recruitment curve, which also serves as a deterministic model. In addition we computed the standard deviation of the curve as a function of the level. This process was repeated for each individual muscle, yielding approximations to the posterior distribution of forces conditioned on the activation level and the data.
The above procedures were used to compute both deterministic and probabilistic muscle models of force (for both the toy models and the experimental models). In the animal experiments isometric muscle forces were modeled as vectors in a plane. Therefore, for each muscle, the direction of its force vector was assumed constant across stimulation levels and obtained by averaging over that muscle's data [27]. The total force output of the limb was then modeled as the vector sum of the individual muscles.
B. Controllers
To compute activation levels for our deterministic models we minimized the error between the desired force and our model-predicted force, while penalizing large activations. Since many activations can produce the same desired force, penalizing unnecessarily large values sidesteps this redundancy. This approach also has the practical advantage of minimizing metabolic costs and muscle fatigue. We note that the relationship between a muscle's command and its metabolic cost, or any other number of characteristics such as fatigue and noise, are difficult to describe. Thus we take an agnostic approach, and merely assume that commands that produce the same output with less activation are desirable. As is standard, we quantified this trade-off with a quadratic cost function and used the minimizing commands as our activations.
(2) |
where uo is the optimal command, F(u) is the force produced by command u, Fd is the desired force, and Φ and R are weights penalizing errors from the desired force and size of command, respectively. In this general form all the terms are matrices appropriate for deriving multi-dimensional activations.
To compute activations for our probabilistic models we minimized the same cost function, but, since we consider the distribution of forces that might be produced by an activation pattern, now we must instead minimize its expected value. That is, we found activations according to the rule,
(3) |
Which, after rearranging terms is,
(4) |
where Σ is the covariance of the force vector, which is a function of the motor noise, model uncertainty and activation. The distribution of forces produced by an activation pattern was determined using the posterior distributions estimated by the MCMC described above.
To compute activations for the controllers that maximized and minimized uncertainty, we used the following cost,
subject to the constraint, F(u)=Fd.
For our simulated muscles, F(u) is the scalar sum of the individual muscle outputs, Φ = 100, and R is the identity matrix. For the experiments, Φ = 1e10, and R = 10 in all cost functions described above. To find optimal activations, these cost functions were minimized using software written for Matlab.
To quantify uncertainty we operationally define it as the mean squared expected error in force, which in close approximation is equal to the trace of the covariance.
F̂ = E[F(u)] is the mean force value, (F̂ – Fd) and is the bias error, which in practice was several orders of magnitude smaller than the trace of the covariance.
Finally, we note that for multivariate Gaussian variables, the principle axes of the confidence ellipse are the eigenvectors of the covariance matrix. Their size is found by scaling the eigenvalues by according to a Chi-squared distribution. If the variance in both Fx and Fy is equivalent and σ2, the 95% confidence ellipse is a circle with radius (χ22(0.95)* σ2)1/2.
C. Experimental Methods
An experimental test bed designed specifically for examining FES systems was used to analyze different controllers on a rat model. All procedures were conducted under protocols approved by Northwestern University's Animal Care and Use Committee. Details of the experimental preparation can be found elsewhere [27]. Briefly, seven female, Sprague Dawley rats were anesthetized (80mg/kg ketamine and 10mg/kg Xylazine) and implanted with stimulating electrodes (stainless steel, 1-3mm exposure) in 9-13 muscles in their left hindlimb. Subcutaneously implanted plates at the back and belly served as return electrodes. We have shown in our previous work that this configuration of electrodes minimizes current spread and allows for isolated stimulation of implanted muscles. The muscles used for stimulation typically included biceps femoris anterior (BFa) and posterior (BFp), semitendinosus (ST), semimembranosus (SM), adductor magnus (AM) and longus (AL; activated together), vastus medialis (VM), vastus lateralis (VL), rectus femoris (RF), iliopsoas (IP), gracilis (anterior and posterior heads activated together), and caudofemoralis (CF). Each animal's hip was immobilized and ankle fixed to a 6-axis force transducer with the use of bone screws and surgical posts. In this orientation the hip joint, knee and ankle were approximately in the same, sagittal plane and remained isometric throughout the experiment. Using custom software written in Matlab, stimulations were systematically delivered to the limb's implanted muscles (FNS-16 Multi-Channel Stimulator, CWE, Inc.) to gather data necessary for estimating recruitment curves. Muscles were stimulated with a 75Hz, 0.1msec biphasic pulse train of varying current, typically between 0.05mA and 4mA for 1.5 seconds. We waited at least 1 minute between stimulation of the same muscle in order to minimize effects of fatigue. Experiments were conducted until the health of the animal degraded, typically after about 6 hours. The animal was then euthanized using a 1ml intraperitoneal injection of Euthasol followed by a bilateral thoracotomy.
For each implanted muscle, force data was recorded at a series of stimulation levels. Forces elicited from each muscle generally increased monotonically with the stimulus level and had a consistent direction. Due to the animal's posture, as well as the muscles chosen, elicited forces were strongest within the sagittal plane of the limb, although the same analyses described here can be readily extended to handle three-dimensional forces. Forces elicited during co-stimulation of multiple muscles were approximately equivalent to the vector sum of their individual forces (see [27]). As a result, we could model the ankle forces as the vector sum of the individual muscle models.
To gather the data necessary to build models of force production, the maximum isometric forces and corresponding plateau stimulation values were determined for each muscle. Then for each muscle, we swept through a series of 5 activation levels, starting at baseline levels and moving through plateau levels, measuring the resulting isometric forces. In order to minimize muscle fatigue, we cycled through all muscles at their first stimulation level waiting one minute between each muscle before moving to the next stimulation for each muscle. With 9-13 muscles implanted for each animal, this allowed for adequate recovery time between stimulations of the same muscle. When this process was complete, we had a data set appropriate for building our force production models (see Fig 3 for an example animal's data). For each activation level, we used the steady-state forces to compute all muscle recruitment parameters (see Methods and [27]).
We repeated this data collection approximately every 2 hours to redefine each muscle's recruitment curve. As the number of samples increases, the amount of model uncertainty could decrease. However, a large number of stimulations is often impractical in clinical scenarios such as FES and, therefore, we restricted ourselves to 5 samples for each muscle. Each experiment was terminated when we noticed a significant reduction in force from the majority of muscles.
III. Results
A. Model Study
Two distinct factors contribute to uncertainty in muscle force production. Model uncertainty accounts for the uncertainty in the explicitly modeled relationship between muscle commands and muscle outputs. Motor noise refers to muscle properties that are not accounted for by our model and that therefore appear as random “noise” in muscle forces. Neglecting either of these inherent uncertainties a controller eliminates the means to actively reduce them and in turn accepts potentially degraded performance. To illustrate this point, we begin by presenting results from a toy model system.
Suppose we wish to characterize the force output of a muscle whose individual properties we initially do not know. To estimate these properties we collect data pairs consisting of commands (stimulation to the muscle) and the resulting forces (Fig 1A, black dots). For each stimulation level we measure the resulting force output multiple times. Further suppose that both the average force and its variability increases with increasing stimulation levels -- a common phenomenon classified as signal-dependent noise.
Based on the collected data we can build a statistical representation of the unknown model parameters and the overall force output (see Materials and Methods). This representation characterizes a probabilistic relationship between stimulation levels and evoked forces, whereby each stimulation induces a distribution over possible forces. With this distribution we can identify the most likely (ML) forces for each stimulation level (Fig 1A solid line); a curve that is equivalent to what we would obtain with a conventional deterministic approach (e.g. least squares regression). However, unlike the deterministic approach, we also characterize two sources of uncertainty: our uncertainty in the model and the additional uncertainty due to motor noise (dark and lightly shaded regions, respectively).
To illustrate the dependence of model uncertainty on data collection, consider what happens if we used stimulation levels that provide poor information about the recruitment curve (sampling responses around baseline and plateau portions of the recruitment curve, Fig 1B). We find that our uncertainty in both baseline and plateau force levels is relatively low and constant, while our uncertainty in intermediate force levels (and the corresponding model parameters) is high. We could ignore this uncertainty and merely rely on our ML estimates (as is conventionally done), but the forces we predict are likely to be inaccurate.
Neglecting these sources of uncertainty can lead to degraded motor control. Suppose we wish to produce a force using two new muscles, characterized by recruitment curves illustrated in Figure 2A,B. With Muscle 1, the recorded forces are very consistent at each stimulation level, and as the stimulation level increases the force output gradually climbs and then plateaus (Fig 2A, block dots). Muscle 2 produces larger forces than Muscle 1, but the recorded forces are more variable (Fig 2B, black dots), this variability increases with stimulation, and data is not available at intermediate force levels.
Consider first a deterministic controller that neglects muscle uncertainty (see Materials and Methods). The result is a set of commands that have small magnitude and produce a negligibly small average force error (i.e. a small bias force error). Since Muscle 2 produces larger forces for the same level of stimulation, it is preferentially used. Note in particular that Muscle 1 is only used when the force output of Muscle 2 has plateaued (Fig 2C, D). Although this example only considers control of force magnitude, this same approach can be used with minor variations to compute commands for multiple muscles acting in multiple dimensions.
Consider now the performance of a controller that relies on our probabilistic model of muscle force production (see Materials and Methods). Unlike the approach above, stimulations that produce uncertain forces are penalized since they decrease performance accuracy. Again the controller produces negligibly small average force errors but uses a very different pattern of commands (Fig 2E). Now Muscle 1, with its relatively small uncertainty, is preferentially used. Muscle 2, with its relatively large uncertainty at intermediate and plateau force values, is used in what is essentially “bang-bang” control: at low stimulation levels where its forces are relatively certain, or at large levels when Muscle 1 can no longer produce increasing forces (Fig 2F).
The deterministic and probabilistic treatments of our data lead to different motor commands for the same desired motor output. The deterministic controller finds commands that use little motor effort, but produces forces whose accuracy is unknown and unreliable. The probabilistic controller produces forces that are more accurate and less uncertain (Fig 2, compare error bars in D & F), but relies on a relative increase in motor effort. This toy problem illustrates how, by incorporating information about the uncertainty in motor output, a probabilistic controller can improve motor performance.
B. Experimental evaluation of a probabilistic controller
To evaluate the performance of a probabilistic controller, we utilized an FES test bed using the rat hindlimb as a model system (see Materials and Methods and [27]). We use the same approach presented above with the simulated system. First we use experimental data to build probabilistic models of individual muscles. Then we evaluate the expected performance of deterministic and probabilistic controllers side-by-side, focusing on the uncertainty in the resulting forces and the accompanying command effort. We then directly test whether these analyses improve FES controller performance by controlling forces in arbitrary directions and magnitudes in the rat hindlimb.
Just as with the simulated muscles, the experimentally measured forces were noisy and varied from one stimulation to the next. Combining data from many stimulation trials, we built a probabilistic model of each muscle, whereby arbitrary activation values evoke a planar force vector with a known orientation but a distribution of possible magnitudes (see Fig 3A). Using these models we could then compute the expected distributions of force vectors for any combination of muscle commands (Fig 3B). This force data also determined the range of possible forces for each animal; i.e. the feasible force space (FFS) describing the two-dimensional bounding region of all possible force vectors [28]. Each animal's FFS served as a workspace for eliciting forces and comparing controllers.
As with our toy model system, we compared the expected performance of the two different controllers by examining their commands and force distributions. For each animal, the controllers were used to find a set of commands (9-13 for each animal) for a grid of target force vectors covering the entire FFS (Fig 4A). These commands determined a distribution of forces, which we characterized with a mean error, or bias, and a covariance matrix, describing the spread or uncertainty in forces. Just as with the toy system, both controllers predict forces with small biases. Averaging these biases across each animal's FFS and then across animals, the mean bias for the probabilistic controller was 0.015N and that of the deterministic controller was 0.004N (a significant difference, paired t-test, p < 0.001). These biases were small relative to the range of desired forces and their expected uncertainty (see below). Thus both controllers predict accurate forces with small average errors relative to the range of force values available.
Since both controllers predicted accurate forces on average, our next goal was to quantify the uncertainty expected in each controller's force production; this describes how broad the spread of possible force errors were. We defined the uncertainty of a force vector by the trace of its covariance matrix. This very closely approximates the mean squared expected force error (see Materials and Methods). The uncertainty varied across the workspace of the hindlimb differently for each animal (see Fig 4A for a typical animal), likely due to details of that animal's muscles and the stimulating electrode placement. However, across most animals the uncertainty associated with small forces was relatively small (the region around the depicted axis in Fig 4A) since weak muscles, and small commands, often resulted in consistent and predictable forces. Note too that this variation in uncertainty across an animal's FFS verifies the need to treat motor noise as signal-dependent [10, 11, 29].
To compare the controllers in terms of their uncertainty, we computed the average uncertainty across the entire FFS. Across 7 animals there was a statistically significant reduction in this average uncertainty when using the probabilistic controller (0.29N2, paired t-test, p < 0.001, Fig 4B). This demonstrated that the probabilistic approach, taking into account muscle uncertainties in the form of motor noise and model uncertainty, could generate more reliable forces.
We then examined whether the benefits of the probabilistic controller came at the expense of increased motor commands. For example, the probabilistic controller may have used a large number of weak but precise muscles, relying on a large net command signal to reduce uncertainty. For each force value in the FFS, the magnitude of the corresponding command was computed (Fig 5A). As might be expected, for small force values (near the axis) the commands were relatively small, and progressively increased with increasingly large forces. Interestingly, we found that the decreased uncertainty of the probabilistic controller was not the result of an increased amount of control effort. Averaging across each animal's FFS there was actually a small but significant reduction in command strength using the probabilistic controller (paired t-test, p < 0.001, Fig 5B).
The fact that the probabilistic controllers used slightly lower control effort might seem counterintuitive. The deterministic controller balances two terms, the effort of a command and that command's resulting force error. Thus a small but non-zero bias error in the commanded force can be accepted if the command effort is reduced. The probabilistic controller balances not only these two terms, but also the force's uncertainty. This controller therefore accepts a relatively larger non-zero bias error if both the command effort and uncertainty in the forces are reduced; precisely what was found. However, these biases in forces were small relative to their uncertainty. For example, for the deterministic controller the across-animal average uncertainty was ~0.9 N2, (see Fig 4B) suggesting that if the variance in Fx and Fy was on average 0.45 N2 (assuming the x and y forces contribute equally to the uncertainty), then the 95% confidence interval for force errors is contained within a radius of 1.64 Newtons (see Materials and Methods). Yet the across-animal average bias was only 0.004 Newtons.
The specific results thus far are based on controllers that optimize a particular choice of controller gains for balancing effort and accuracy. To demonstrate that these reductions in uncertainty were not the serendipitous outcome of our specific cost function, we performed an additional analysis. We constrained the probabilistic controller to be perfectly accurate, with zero bias error in target forces, while maximizing or minimizing uncertainty (see Materials and Methods). Not surprisingly, the deterministic controller's uncertainty (and in turn mean squared expected error) was between these two extremes (Fig 4C). The command strength however, was lower than either extreme (Fig 5C). Again, as mentioned above this is an outcome of balancing biases (mean errors) in the target force with the command effort. Finding this same balance, our probabilistic controller found forces with less than the minimal uncertainty, with less command effort (Fig 4B, 5B). Regardless, these two extreme controllers demonstrated that an average reduction in uncertainty of 0.34 N2 was available. This serves as further evidence that reducing muscle force uncertainty can be achieved by cleverly exploiting the redundancies of the muscles rather than relying on large activations.
The results presented above demonstrate that a probabilistic controller is expected to produce more accurate forces than standard deterministic controllers. To test this possibility directly, we performed a series of FES experiments. For each animal a series of target forces were arbitrarily chosen throughout its FFS. The corresponding commands were then obtained from our probabilistic and deterministic controllers. For each target force, we stimulated the hindlimb muscles multiple times with each of the two controllers’ commands in a randomized order (see Fig 6A, B for examples). The forces obtained using the probabilistic commands were on average closer to the target values, both within each animal (data not shown) and across animals (Fig 6C). Across animals the average reduction in error was 0.06N (paired t-test, p < 0.001). As shown previously [27], we found that noise in forces was strongly correlated with command size. Therefore we also computed a normalized error to control for this effect, but the results were similar (Fig 6C, paired t-test, p < 0.001). The results demonstrate that a probabilistic controller that models both motor noise and model uncertainty outperforms a controller that ignores it.
IV. Discussion
There are two categories of uncertainty in muscle force production, model uncertainty and motor noise. Ignoring either of these uncertainties can harm controller performance and is generally suboptimal. Explicitly representing both we built probabilistic models using experimentally gathered force data. A model-based comparison across each animal's feasible force space revealed the degree to which the probabilistic approach could reduce uncertainty compared with a standard deterministic controller, and that this reduction would not come at the cost of larger commands. Finally, we found that experimentally produced forces using our probabilistic controller were more accurate. The results emphasize the benefits of representing both kinds of uncertainty, information that may be crucial for artificial controllers and the nervous system to effectively produce motor commands.
Our experimental results in force production constitute a proof of concept for FES systems. In contrast with our approach, many recent FES studies use deterministic controllers and rely heavily on feedback commands to achieve good performance [30-32]. Some FES studies attempt to improve performance by incorporating knowledge about motor noise and designing robust or adaptive controllers [33-36]. Still others have attempted to optimize stimulation parameters for improved performance [37]. However, with a fully probabilistic treatment that characterizes motor noise and model uncertainty a controller can achieve its maximum potential. Our approach has characterized this potential mathematically and validated it experimentally in the context of an application that approximates the relevant clinical problem.
Analyzing muscles in terms of the uncertainty they produce in forces, and ultimately behaviors, is potentially a valuable new tool. For example, recent studies examining the contribution of muscles to behavior rank muscles in terms of their robustness, defined by how their absence would reduce the limb's possible forces, and the feasible force space [2, 38]. Other factors such as the metabolic cost of individual muscles should also play a factor in recruitment. Our work complements these studies by providing a new functional measure for quantifying muscles contributions to behavior in terms of the resulting uncertainty. Future work could pursue this topic further, illuminating how muscle uncertainty may influence their recruitment.
In this study we focused on how to optimally generate commands when relying only on a model; that is, how to compute feedforward commands. Of course information about on-going performance, i.e. feedback information, can be used to improve commands. Many studies on motor behavior search for the relative contributions and importance of feedforward and feedback commands [39, 40]. For example, an important question is how accurate the motor system is in the absence of feedback [41, 42] and how accurately behaviors can be planned [34, 43, 44]. In this regard the analysis we present here defines the upper bounds on motor performance when the nervous system relies on strictly feedforward commands, and how important feedback control must be when further increases in performance are needed.
A related matter is whether the performance benefits of this approach warrant the increased computational demands. For example, in our experimental comparison of FES controllers we found a modest reduction in error as compared to the analyses illustrated in Figures 4 and 5. Those analyses used data pooled over multiple sessions of recruitment curve measurements. Owing to the fact that recruitment curves varied over time, this data set predicted relatively large variability in muscle responses and there was a correspondingly large benefit to using the probabilistic controller. In the experimental control evaluation, however, we used the most recent recruitment curve for each muscle, so that the muscle responses produced during control more closely matched the predicted responses. Thus in situations where recruitment curves can be measured quickly and frequently relative to how quickly recruitment curves vary, this probabilistic approach may not offer significant improvements.
As a first step, we have examined a controller for generating isometric forces; an obvious FES application where motor uncertainty can play a key role. This approach, by design, bypassed the muscle's dynamical properties and the inertial mechanics of the limb. To examine more sophisticated controllers, for either clinical applications or neuroscience, future work could include additional independent variables (e.g., initial limb configuration, muscle length and velocity) to describe the muscle force distributions. Additionally, while we choose to penalize command strength and target force error, alternative tasks or controller designs might require altogether different objectives to be optimized. All these changes, though computationally intensive, are conceptually equivalent to the approach we have presented here.
Finally, it is worth noting that there are many hurdles that must be overcome before making the transition from a successful FES application in a rat model, to a human clinical population. As with the many other studies that examine FES our hope is that the continued work on animal models, along with new preliminary work in humans [45] will ultimately justify these new approaches in patients.
V. Conclusion
We have demonstrated the theoretical benefits of representing muscle uncertainty when computing muscle commands. These benefits were then verified experimentally in an FES application. We propose that the nervous system, when producing commands, may solve the same fundamental problem: how to build probabilistic representations of muscle output and choose commands that maximize the probability of a successful outcome. Future studies can examine the extent to which this uncertainty is represented and how it is used when producing commands. How this information is encoded may be found via imaging techniques [46], electrophysiology [47] or perhaps in the muscle commands themselves. Regardless, if the nervous system is acting rationally [48] these uncertainties will influence its behavior.
Acknowledgments
This work was supported by NSF 1200830 (MB), NIH F31NS068030-01 (AJ), NIH 1R01-NS-063399 (KK), and NSF 0932263 and NIH R21NS061208 (MT).
Contributor Information
M. Berniker, University of Illinois at Chicago
A. Jarc, Intuitive Surgical Inc., Sunnyvale, CA
K. Kording, Northwestern University.
M. Tresch, Northwestern University.
References
- 1.Faisal AA, Selen LP, Wolpert DM. Noise in the nervous system. Nat Rev Neurosci. 2008 Apr;9(4):292–303. doi: 10.1038/nrn2258. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Kutch JJ, Valero-Cuevas FJ. Challenges and new approaches to proving the existence of muscle synergies of neural origin. PLoS Comput Biol. 2012;8(5):e1002434. doi: 10.1371/journal.pcbi.1002434. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Berniker M, Jarc A, Bizzi E, Tresch MC. Simplified and effective motor control based on muscle synergies to exploit musculoskeletal dynamics. Proceedings of the National Academy of Sciences. 2009 doi: 10.1073/pnas.0901512106. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 4.Winters JM. How detailed should muscle models be to understand multi-joint movement coordination? Human Movement Science. 1995;14(4):401–442. [Google Scholar]
- 5.Kawato M. Internal models for motor control and trajectory planning. Current opinion in neurobiology. 1999;9(6):718–727. doi: 10.1016/s0959-4388(99)00028-8. [DOI] [PubMed] [Google Scholar]
- 6.Neptune RR, Clark DJ, Kautz SA. Modular control of human walking: a simulation study. Journal of Biomechanics. 2009;42(9):1282–1287. doi: 10.1016/j.jbiomech.2009.03.009. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.McGowan CP, Neptune RR, Clark DJ, Kautz SA. Modular control of human walking: Adaptations to altered mechanical demands. J Biomech. 2010 Feb 10;43(3):412–9. doi: 10.1016/j.jbiomech.2009.10.009. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Hall AL, Peterson CL, Kautz SA, Neptune RR. Relationships between muscle contributions to walking subtasks and functional walking status in persons with post-stroke hemiparesis. Clin Biomech (Bristol, Avon) 2011 Jun;26(5):509–15. doi: 10.1016/j.clinbiomech.2010.12.010. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Miller RH, Umberger BR, Hamill J, Caldwell GE. Evaluation of the minimum energy hypothesis and other potential optimality criteria for human running. Proc Biol Sci. 2012 Apr 22;279(1733):1498–505. doi: 10.1098/rspb.2011.2015. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Todorov E, Jordan MI. Optimal feedback control as a theory of motor coordination. Nat Neurosci. 2002 Nov;5(11):1226–35. doi: 10.1038/nn963. [DOI] [PubMed] [Google Scholar]
- 11.Harris CM, Wolpert DM. Signal-dependent noise determines motor planning. Nature. 1998 Aug 20;394(6695):780–4. doi: 10.1038/29528. [DOI] [PubMed] [Google Scholar]
- 12.Lockhart DB, Ting LH. Optimal sensorimotor transformations for balance. Nat Neurosci. 2007 Oct;10(10):1329–36. doi: 10.1038/nn1986. [DOI] [PubMed] [Google Scholar]
- 13.de Rugy A, Loeb GE, Carroll TJ. Muscle coordination is habitual rather than optimal. J Neurosci. 2012 May 23;32(21):7384–91. doi: 10.1523/JNEUROSCI.5792-11.2012. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Berniker M, O'Brien MK, Kording KP, Ahmed AA. An examination of the generalizability of motor costs. PLoS One. 2013;8(1):e53759. doi: 10.1371/journal.pone.0053759. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Bhushan N, Shadmehr R. Computational nature of human adaptive control during learning of reaching movements in force fields. Biol Cybern. 1999 Jul;81(1):39–60. doi: 10.1007/s004220050543. [DOI] [PubMed] [Google Scholar]
- 16.Weber DJ, Stein RB, Chan KM, Loeb G, Richmond F, Rolf R, James K, Chong SL. BIONic WalkAide for correcting foot drop. IEEE Trans Neural Syst Rehabil Eng. 2005 Jun;13(2):242–6. doi: 10.1109/TNSRE.2005.847385. [DOI] [PubMed] [Google Scholar]
- 17.Paul L, Rafferty D, Young S, Miller L, Mattison P, McFadyen A. The effect of functional electrical stimulation on the physiological cost of gait in people with multiple sclerosis. Mult Scler. 2008 Aug;14(7):954–61. doi: 10.1177/1352458508090667. [DOI] [PubMed] [Google Scholar]
- 18.Donoghue JP, Nurmikko A, Black M, Hochberg LR. Assistive technology and robotic control using motor cortex ensemble-based neural interface systems in humans with tetraplegia. J Physiol. 2007 Mar 15;579(Pt 3):603–11. doi: 10.1113/jphysiol.2006.127209. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Schwartz AB, Cui XT, Weber DJ, Moran DW. Brain-controlled interfaces: movement restoration with neural prosthetics. Neuron. 2006 Oct 5;52(1):205–20. doi: 10.1016/j.neuron.2006.09.019. [DOI] [PubMed] [Google Scholar]
- 20.Nicolelis MA. Brain-machine interfaces to restore motor function and probe neural circuits. Nat Rev Neurosci. 2003 May;4(5):417–22. doi: 10.1038/nrn1105. [DOI] [PubMed] [Google Scholar]
- 21.Mussa-Ivaldi FA, Miller LE. Brain-machine interfaces: computational demands and clinical needs meet basic neuroscience. Trends Neurosci. 2003 Jun;26(6):329–34. doi: 10.1016/S0166-2236(03)00121-8. [DOI] [PubMed] [Google Scholar]
- 22.Ethier C, Oby ER, Bauman MJ, Miller LE. Restoration of grasp following paralysis through brain-controlled stimulation of muscles. Nature. 2012 May 17;485(7398):368–71. doi: 10.1038/nature10987. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Moritz CT, Perlmutter SI, Fetz EE. Direct control of paralysed muscles by cortical neurons. Nature. 2008 Dec 4;456(7222):639–42. doi: 10.1038/nature07418. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Cronin B, Stevenson IH, Sur M, Kording KP. Hierarchical Bayesian modeling and Markov chain Monte Carlo sampling for tuning-curve analysis. J Neurophysiol. 2010 Jan;103(1):591–602. doi: 10.1152/jn.00379.2009. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Gilks WR. Markov chain monte carlo. Wiley Online Library; 2005. [Google Scholar]
- 26.Geyer CJ. Practical markov chain monte carlo. Statistical Science. 1992:473–483. [Google Scholar]
- 27.Jarc A, Berniker M, Tresch M. FES Control of Isometric Forces in the Rat Hindlimb Using Many Muscles. IEEE Trans Biomed Eng. 2013 Jan 3; doi: 10.1109/TBME.2013.2237768. [DOI] [PubMed] [Google Scholar]
- 28.Valero-Cuevas FJ. A mathematical approach to the mechanical capabilities of limbs and fingers. Adv Exp Med Biol. 2009;629:619–33. doi: 10.1007/978-0-387-77064-2_33. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Shadmehr R, Krakauer JW. A computational neuroanatomy for motor control. Exp Brain Res. 2008 Mar;185(3):359–81. doi: 10.1007/s00221-008-1280-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Blana D, Kirsch RF, Chadwick EK. Combined feedforward and feedback control of a redundant, nonlinear, dynamic musculoskeletal system. Med Biol Eng Comput. 2009 May;47(5):533–42. doi: 10.1007/s11517-009-0479-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Nataraj R, Audu ML, Kirsch RF, Triolo RJ. Comprehensive joint feedback control for standing by functional neuromuscular stimulation-a simulation study. IEEE Trans Neural Syst Rehabil Eng. 2010 Dec;18(6):646–57. doi: 10.1109/TNSRE.2010.2083693. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Jagodnik KM, van den Bogert AJ. Optimization and evaluation of a proportional derivative controller for planar arm movement. J Biomech. 2010 Apr 19;43(6):1086–91. doi: 10.1016/j.jbiomech.2009.12.017. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Bernotas LA, Crago PE, Chizeck HJ. Adaptive control of electrically stimulated muscle. IEEE Trans Biomed Eng. 1987 Feb;34(2):140–7. doi: 10.1109/tbme.1987.326038. [DOI] [PubMed] [Google Scholar]
- 34.Abbas JJ, Triolo RJ. Experimental evaluation of an adaptive feedforward controller for use in functional neuromuscular stimulation systems. IEEE Trans Rehabil Eng. 1997 Mar;5(1):12–22. doi: 10.1109/86.559345. [DOI] [PubMed] [Google Scholar]
- 35.Kobravi HR, Erfanian A. Decentralized adaptive robust control based on sliding mode and nonlinear compensator for the control of ankle movement using functional electrical stimulation of agonist-antagonist muscles. J Neural Eng. 2009 Aug;6(4):046007. doi: 10.1088/1741-2560/6/4/046007. [DOI] [PubMed] [Google Scholar]
- 36.Lynch CL, Popovic MR. A comparison of closed-loop control algorithms for regulating electrically stimulated knee movements in individuals with spinal cord injury. IEEE Trans Neural Syst Rehabil Eng. 2012 Jul;20(4):539–48. doi: 10.1109/TNSRE.2012.2185065. [DOI] [PubMed] [Google Scholar]
- 37.Schearer EM, Liao YW, Perreault EJ, Tresch MC, Lynch KM. Optimal sampling of recruitment curves for functional electrical stimulation control. Conf Proc IEEE Eng Med Biol Soc. 20122012:329–32. doi: 10.1109/EMBC.2012.6345936. [DOI] [PubMed] [Google Scholar]
- 38.Kutch JJ, Valero-Cuevas FJ. Muscle redundancy does not imply robustness to muscle dysfunction. J Biomech. 2011 Apr 29;44(7):1264–70. doi: 10.1016/j.jbiomech.2011.02.014. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Crevecoeur F, Kurtzer I, Scott SH. Fast corrective responses are evoked by perturbations approaching the natural variability of posture and movement tasks. J Neurophysiol. 2012 May;107(10):2821–32. doi: 10.1152/jn.00849.2011. [DOI] [PubMed] [Google Scholar]
- 40.Desmurget M, Grafton S. Forward modeling allows feedback control for fast reaching movements. Trends Cogn Sci. 2000 Nov 1;4(11):423–431. doi: 10.1016/s1364-6613(00)01537-0. [DOI] [PubMed] [Google Scholar]
- 41.Ghez C, Gordon J, Ghilardi MF. Impairments of reaching movements in patients without proprioception. II. Effects of visual information on accuracy. J Neurophysiol. 1995 Jan;73(1):361–72. doi: 10.1152/jn.1995.73.1.361. [DOI] [PubMed] [Google Scholar]
- 42.Gordon J, Ghilardi MF, Ghez C. Impairments of reaching movements in patients without proprioception. I. Spatial errors. J Neurophysiol. 1995 Jan;73(1):347–60. doi: 10.1152/jn.1995.73.1.347. [DOI] [PubMed] [Google Scholar]
- 43.Berniker M, Franklin DW, Flanagan JR, Wolpert DM, Kording KP. Motor learning of novel dynamics is not represented in a single global coordinate system: evaluation of mixed coordinate representations and local learning. J Neurophysiol. 2014 Mar;111(6):1165–82. doi: 10.1152/jn.00493.2013. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 44.Thoroughman KA, Shadmehr R. Learning of action through adaptive combination of motor primitives. Nature. 2000 Oct 12;407(6805):742–7. doi: 10.1038/35037588. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 45.Schearer EM, Liao Y-W, Perreault EJ, Tresch MC, Lynch KM. Optimal sampling of recruitment curves for functional electrical stimulation control. :329–332. doi: 10.1109/EMBC.2012.6345936. [DOI] [PubMed] [Google Scholar]
- 46.Vilares I, Howard JD, Fernandes HL, Gottfried JA, Kording KP. Differential representations of prior and likelihood uncertainty in the human brain. Curr Biol. 2012 Sep 25;22(18):1641–8. doi: 10.1016/j.cub.2012.07.010. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47.Yu AJ, Dayan P. Uncertainty, neuromodulation, and attention. Neuron. 2005 May 19;46(4):681–92. doi: 10.1016/j.neuron.2005.04.026. [DOI] [PubMed] [Google Scholar]
- 48.Kording K. Decision theory: what “should” the nervous system do? Science. 2007 Oct 26;318(5850):606–10. doi: 10.1126/science.1142998. [DOI] [PubMed] [Google Scholar]