Skip to main content
PLOS Computational Biology logoLink to PLOS Computational Biology
. 2026 Mar 27;22(3):e1012834. doi: 10.1371/journal.pcbi.1012834

A modular architecture for trial-by-trial learning of redundant muscle activity patterns in novel sensorimotor tasks

Lucas Rebelo Dal’Bello 1,*, Denise Jennifer Berger 1,2, Daniele Borzelli 3, Etienne Burdet 4, Andrea d’Avella 1,5
Editor: Shlomi Haar6
PMCID: PMC13061332  PMID: 41894425

Abstract

The coordination of the multiple degrees-of-freedom of the human body may be simplified by muscle synergies, motor modules which can be flexibly combined to achieve various goals. Studies investigating adaptation to novel relationships between muscle activity and task outcomes found that altering the recruitment of such modules is faster than the learning of their structures de novo. However, how learning new synergy recruitments or new synergy structures may occur remains unclear. While trial-by-trial learning of novel sensorimotor tasks has been successfully modeled at the level of task variables, few models accounted for the redundancy of the motor system, particularly at the muscular level. However, these models either did not consider a modular architecture of the motor system, or assumed a priori knowledge of the sensorimotor task. Here, we present a computational model for the generation of redundant muscle activity where explicitly defined modules, implemented as spatial muscle synergies, can be updated together with their recruitment coefficients through an error-based learning process dependent on a forward model of the sensorimotor task, which is not assumed to be known a priori. Our model can qualitatively reproduce the experimental observations of slower learning and larger changes in the structure of the muscle activity under sensorimotor tasks that require the learning of novel patterns of muscle activity, providing further insights into the modular organization of the human motor system.

Author summary

It has been proposed that muscles are recruited in modules, called muscle synergies, rather than on a muscle-by-muscle basis. This modular organization was shown to affect the learning of novel tasks, where simulated remapping of the forces generated by the muscles (“virtual surgeries”) that make the synergies ineffective is more difficult to learn. Previous models of trial-by-trial learning in a modular architecture have assumed prior knowledge of the motor task (in particular, how to modify the muscles/ synergies recruitment given an error), which might not be the case for tasks in which novel patterns of muscle activity are required. In contrast, models which assumed no prior knowledge of the task have not investigated the role of modularity. Here, we propose a computational model of the trial-by-trial adaptation of muscle synergies, their recruitment, and the concurrent learning of the internal model of the musculoskeletal system responsible for error correction. Our results show that this model replicates experimental observations of slower learning and larger changes in the structure of the muscle activity in sensorimotor tasks that require the learning of novel patterns of muscle activity, providing insight into learning-related changes of muscle activity in novel sensorimotor tasks.

1 Introduction

During movement planning and execution, the central nervous system needs to coordinate the activity of a large and redundant set of muscles acting on multiple joints [1]. It has been suggested that the problem of coordinating the multiple degrees-of-freedom of the human body is simplified by grouping multiple muscles into a reduced number of motor modules, often called muscle synergies, which can be flexibly combined to generate a large repertoire of movements [2]. The modularity of the motor system has been investigated through the decomposition of the muscle activity patterns measured either during voluntary movements or in response to cutaneous or spinal cord electrical stimulation. The key observation is that the electromyography (EMG) signals recorded from many muscles can be accurately reconstructed by the combination of a small number of modules that generalize across multiple contexts and movements [36]. However, this low-dimensionality observed in the muscle activity patterns may be due to task and biomechanical constraints rather than to a modular organization of the motor system [7].

Further support for the modular organization of the motor system has come from testing specific predictions of how modularity would affect a novel motor learning task [8]. In this task, participants generated a virtual force to control a cursor using their isometric muscle activity measured with EMG and adapted to two different perturbations of the mapping of muscle activity to virtual force, or “virtual surgeries”. These perturbations consisted of changes to the directions of the virtual forces generated by the contraction of each muscle, akin to the effect of a complex tendon-transfer surgery involving multiple muscles. The two types of surgeries differed in how effective the muscle synergies identified before the surgery were in generating a virtual force. After compatible surgeries, the muscle synergies still spanned the entire force space, while incompatible surgeries reduced the space of forces that can be spanned by the muscle synergies. However, the force space was still spanned by the individual muscles under both types of surgeries, so that a modular organization of the motor system predicted a difference in the adaptation rate to the two types of surgeries, while a non-modular organization predicted no difference. The observation that learning was slower during incompatible virtual surgeries provided stronger evidence for the modular organization of the motor system.

In addition to their role in movement generation, muscle synergies also play a role in motor adaptation and motor learning. During visuomotor rotations, it has been shown that the directional tuning of the synergy recruitment is a possible adaptation strategy employed by the central nervous system [9]. As previously mentioned, in studies that investigated the adaptation to novel relationships between muscle activity and the resulting end-effector force using virtual surgeries, it was shown that surgeries which were compatible with the original synergies (requiring only a change in the synergy directional tuning) were learned faster than surgeries which were incompatible (requiring the usage of novel muscle activity patterns), suggesting that the altering of the synergy recruitment coefficients is faster than the learning de novo of new synergy structures [8, 10]. These results suggest that the modularity of the motor system influences its adaptation to perturbations and its learning of novel patterns of activity, which may be relevant to neurorehabilitation [11].

While the adaptation of hand reaching movements under externally-induced visuomotor errors has been extensively studied and modeled [12], relatively few studies have focused on changes at the highly-redundant muscular level. The adaptation of feedforward muscle activity in response to feedback error under force-field perturbations has been modeled by a “V-shaped” learning function, explaining the regulation of reciprocal- and co-activation in stable and unstable conditions [13]. Similar to changes to the directional tuning of muscle synergies under visuomotor rotations [9], changes in muscles’ tuning curves under force-field perturbations have also been reported [14]. When accounting for the modularity of the motor system, the adaptation to force-field perturbations [15] and to virtual surgeries incompatible with the original synergies [8] produced muscle activity patterns poorly explained by the original synergies. Such a change in the muscle activity patterns was shown not to interfere with performance in the baseline task, and was persistent even during a subsequent exposure to a compatible surgery, suggesting an increase in the exploration of muscular null-space activity patterns [10]. Despite these important advances, the error-based learning mechanisms governing changes at the muscular level, including learning of novel muscle activity patterns, are still unclear.

Learning novel patterns of muscle activity, and not simply reusing already known patterns, is linked to the acquisition of new motor skills, a process also known as de novo learning [16]. While the exact mechanisms of de novo learning are still unclear, it has been argued that it requires the learning of an internal model responsible for error corrections, which is used to guide the update of the controller for the motor task [1719]. A few studies have investigated the learning of such error-correcting internal models simultaneously through a trial-by-trial update of a feedforward controller [20], with one study focusing on the role of motor exploration in the learning process [21]. However, these studies did not account for the possible modularity of the motor system. In contrast, studies that include modularity assumed that the error-correcting internal model was known a priori, which might not be the case in de novo learning [22,23]. Also, one of these studies [23] did not investigate a possible update of the synergies’ structure, which has been observed during training under incompatible virtual surgeries [8,10].

Here, we introduce a model of trial-by-trial, error-based learning of motor commands in a modular control architecture that addresses mechanisms of learning in a redundant motor system. Feedforward muscle activity patterns during isometric force-reaching tasks are generated using explicitly defined muscle synergies, whereas novel motor commands are learned through trial-by-trial updates of both the synergies and their recruitment coefficients at distinct learning rates. These updates are driven by the backpropagation of the difference between the intended and executed force through a forward model of the isometric task. Importantly, this forward model is also updated over time, reflecting learned changes in the sensorimotor system or in the task environment. We show that the model can qualitatively reproduce results from multidirectional isometric force generation tasks under different perturbations, including visuomotor rotations and virtual surgeries that rearrange the directions of the forces produced by individual muscles. We analyze the model’s predictions in terms of changes in the force error and muscle activity structure across different perturbations, and under conditions with or without updates to synergy recruitment, synergy structure, and forward model. We also compare our simulations with available experimental data and discuss potential explanations for some of the discrepancies.

2 Results

2.1 Computational model of trial-by-trial adaptation

We model the trial-by-trial adaptation of the muscle activity patterns during the generation of isometric force at the hand (Fig 1) in a redundant musculoskeletal system that can be exposed to perturbations such as visuomotor rotations and ‘virtual surgeries’ [8]. For this purpose, we assume that the generation of the redundant muscle activity occurs through the recruitment of modules representing spatial muscle synergies: a muscle pattern m, i.e., a non-negative M-dimensional vector of activation of a set of M muscles, is generated by the linear combination of N muscle synergies, each a non-negative M-dimensional vector:

Fig 1. Computational model of trial-by-trial generation and update of redundant muscle activity for isometric force control.

Fig 1

The model maps a desired force into a recruitment of muscle synergies using a radial basis function-based control policy. The combination of the spatial muscle synergies results in a muscle activity pattern executed through the musculoskeletal system. Both the control policy and the synergy structure can be updated by backpropagating the force error through a forward model of the musculoskeletal system. This forward model can also be updated using the force prediction error. Solid lines indicate the “forward” flow of information in the model, from a desired force to the generation of a motor command and the force execution (by the musculoskeletal system) and from a motor command to a force prediction (by the forward model). Dashed lines indicate the “backward” flow of information, from errors (force error and force prediction error) to their use in updating the model components (control policy and muscle synergies; and forward model, respectively). Insets at the top represent the control policy’s recruitment of each synergy given a desired force, the synergies’ recruitment of each muscle, and the forces executed by each muscle in the musculoskeletal system.

m=Wc (1)

where W is an M x N matrix with the synergy vectors as columns, and c is a N-dimensional synergy combination vector. The activation of each muscle generates a specific isometric force at the virtual hand, which we approximate as a linear function of activation, and the joint activation of all muscles results in an end-effector force f (D-dimensional vector):

f=Hm (2)

where H is the D x M matrix that linearly maps the muscle activation pattern into a D-dimensional force.

The synergies are recruited according to a control policy that maps a desired force f* into synergy recruitment coefficients. We implement this control policy using radial basis functions, which have been shown to reproduce well the generalization patterns observed in motor adaptation experiments and have been extensively used in fitting primitives of internal models for movement planning [2426]. We implement this radial basis function-based control policy with:

c(f*)=ZΦ(f*) (3)

where Z is a N x NΦ matrix of non-negative combination coefficients and Φ(f*) is a NΦ-dimensional vector of Gaussian basis functions activations, with centers spread in a region of the D-dimensional force space. The generation of a muscle activity pattern can then be written as:

m(f*)=WZΦ(f*). (4)

In our simulations, we also add signal-dependent, random motor noise to the muscle activity obtained from the model, sampled from a multivariate Gaussian distribution with the variance of each muscle scaled quadratically with that muscle’s activation [27] and with zero covariance between different muscles. Signal-dependent noise has been observed experimentally in motor unit firing rates [28,29], in EMG [30], and in isometric force production [31]; therefore, including it improves the biological realism of the model. After adding motor noise, any negative muscle activity values are set to zero to ensure non-negativity.

Previous models of feedforward generation of redundant muscle activity [22,23] assume that the environment—i.e., the relationship between muscle activation and the resulting end-effector force, accounting for the musculoskeletal system and external perturbations—is either known a priori or learned instantaneously upon perturbation. In contrast, our model assumes that the environment is learned gradually through practice. It is represented by an internal estimate H^ of the muscle activity-to-force matrix H that serves as an internal forward model, allowing the prediction of the generated forces f^ from a given a muscle activity pattern m:

f^=H^m. (5)

A control policy is learned by updating the synergy matrix W and the combination coefficients matrix Z through minimization of the squared norm of the force error δf=ff*, defined as the difference between the executed force f and the desired force f*. The matrices W and Z are then updated based on the gradient of the squared norm of the error, 12δf2, with respect to each matrix (derivations of the update equations are provided in S1 Text). We also add a regularization term to each matrix update to reduce co-contraction of muscles and co-recruitment of synergies, i.e., effort. The regularization is defined as a minimization of the entry-wise squared norm of the control policy and synergy matrices. To ensure the non-negativity of the muscle activity, any element of the matrices W and Z that are negative after an update are set to zero.

For the synergy structure matrix W, the update ΔW after a trial with a desired force f* resulting in an error δf is:

ΔW=ηWH^TδfΦ(f*)TZTλWW (6)

where ηW is a scalar learning rate and λW is a scalar regularization weight. This contrasts with previous models of the generation of redundant motor activity that either did not consider a modular controller [20,21], or assumed fixed synergies [23].

The update ΔZ of the combination coefficients matrix Z is:

ΔZ=ηZWTH^TδfΦ(f*)TλZZ (7)

where ηZ is a scalar learning rate and λZ is a scalar regularization weight. It is important to note that both update equations contain the matrix H^T of the internal forward model of the environment, which here serves as an estimate of the “sensitivity derivative” fm of the environment [32]. When calculating the gradient of the squared norm of the error 12δf2, both update equations would contain the matrix HT of the real environment which is not a priori known. Since we assume that the learner uses an internal estimate of the environment, the matrix H^T is used instead in the update equations [17].

Equations 6 and 7 suggest that, in case of a large discrepancy between the environment H and the internal model of the environment H^, the update of matrices W and Z of the controller will not necessarily minimize the norm of the error δf. Indeed, it has been shown that a sufficient condition for the internal model of the environment H^ to decrease the squared norm of the error during the update of the model is that δfTHH^Tδf>0, that is, the vector H^Tδf (present in both update equations) has an angle of less than 90° with the vector HTδf, which uses the original environment matrix H [33].

We update the internal forward model H^ by using the gradient of the norm of the prediction error δfp= f^f between the force predicted by the forward model given a muscle activity m and the actual generated force for the same muscle activity. The update ΔH^ can be written as:

ΔH^=ηH^δfpmT (8)

where ηH^ is a scalar learning rate.

2.2 Qualitative reproduction of experimental results

Fig 2 illustrates the three types of perturbations tested in our model and their effect on the forces generated by the model’s initial muscle synergies (Fig 2A). Visuomotor rotations, which rotate the executed force around the task origin, have been extensively studied in the motor control literature [12,22,34,35], and are used here to benchmark the model’s learning process. Compatible and incompatible virtual surgeries modify the relationship between the initial muscle synergies of the model and the forces they produce. In compatible surgeries, the synergies still span all directions in the force space, so reaching each target requires only adjustments in their relative recruitment. In contrast, incompatible surgeries cause the initial synergies to no longer span the full force space, requiring modifications to the synergies to reach certain force targets. Human participants adapt faster to compatible than to incompatible surgeries (Fig 2B), supporting the idea that the motor system is organized in a modular architecture, with changes in synergy structure occurring more slowly than adjustments in their relative synergy activations. Details of the virtual surgery computation are provided in the Methods section.

Fig 2. Simulated perturbations and qualitative reproduction of experimental results.

Fig 2

(A) Diagrams show the force generated by the computational model (colored crosses) to match each of 8 targets (colored circles) at baseline and at the onset of each of three types of perturbation (rotation, compatible surgery, incompatible surgery), as well as the effect of the perturbations on the forces generated by the five muscle synergies (black arrows, numbered and shown in a smaller scale). During baseline, all force targets can be reached adequately (small errors are mostly due to motor noise). During a visuomotor rotation, the generated forces are rotated around the center of the task space, resulting in force errors. During a compatible surgery, the synergy forces are altered but still span the entire force space. In contrast, during an incompatible surgery, the baseline muscle synergies do not span the entire force space, and the generated forces are initially all aligned along a single axis. (B) Initial angle error of human participants performing under compatible and incompatible virtual surgeries (reproduced from [8]), showing a slower decrease of the error under incompatible surgeries (averaged across eight participants). (C) Force direction error of the simulated model (analogous to the initial angle error in data from experiments with human participants, see Methods) during adaptation to the three perturbations (average across sixteen initializations of the model). (D) Reconstruction quality (R2) of the muscle activity using the original synergies from human participants performing under compatible and incompatible virtual surgeries (reproduced from [8]), showing a larger decrease in the reconstruction quality under incompatible surgeries (averaged across eight participants). (E) Reconstruction quality (R2) of the muscle activity using the original synergies from the simulated model during adaptation to the three perturbations (average across sixteen initializations of the model).

Fig 2C shows the force direction error over the course of training in simulations involving the three different perturbations, with all model elements being updated. During the visuomotor rotation, the force direction error decreases substantially within a few cycles (each cycle consists of eight trials, with each trial involving the generation of an isometric force towards one of the eight different targets), consistent with experimental findings on adaptation under visuomotor rotations [34,35]. Importantly, the decrease in force direction error is much slower during the incompatible surgery compared to the compatible surgery, in agreement with experimental results using these types of perturbations (Fig 2B, [8]).

Another observation from virtual surgery experiments with human participants is that the ability of the baseline muscle synergies to reconstruct the muscle activity decreases more with training under incompatible surgeries than under compatible surgeries (Fig 2D, [8]). This greater decrease in reconstruction quality (R2) indicates that the synergies’ structure evolved, with new patterns of muscle activity emerging throughout practice. Our model’s simulations reproduce the larger decrease in R2 observed during incompatible surgeries relative to the other two perturbations (Fig 2E), although the magnitude of this decrease is smaller than in the experimental data.

In the following subsections, we present the results of our computational model across three main simulations, summarized in Table 1. Simulation 1 evaluates model performance under the three perturbations, while updating either the control policy, or the synergies, or both. Simulation 2 examines the effect of including or not the updating of the forward model of the musculoskeletal system. Simulation 3 investigates the effect of regularization in the model’s behavior. Full simulation details are provided in the Methods section.

Table 1. Description of main simulations performed with model.

Simulation # Goal of simulation Parameters investigated
1 Effect of update of the control policy and the muscle synergies Control policy learning rate 0.05; no update of synergies
No update of control policy; synergies learning rate 0.05
Control policy and synergies learning rate 0.05
2 Effect of the update of the forward model No update of forward model
Forward model updated with learning rate 0.25
Ideal forward model used
3 Effect of the regularization in the control policy and muscle synergies No regularization of control policy and muscle synergies
Regularization weight of control policy and synergies set to 1% of each component’s learning rates

2.3 Effect of different combinations of the learning rate of the control policy and of the learning rate of the muscle synergies

To further examine the model, in Simulation 1 we investigated the effect of the three perturbations under different combinations of learning rates of the model’s adaptive elements. Specifically, we tested combinations where at least one of the control policy matrix Z and muscle synergies matrix W had a nonzero learning rate. The results of Fig 3 show that, during the rotation and compatible surgery perturbations, the force direction error (Fig 3A) and force magnitude error (Fig 3B) decrease more rapidly when both Z and W are updated (right column), compared to when only Z (left column) or only W (middle column) is updated. During the incompatible surgery the error does not decrease when only Z is updated, while a modest decrease is observed when only W is updated, and a faster decrease occurs when both are updated. Because incompatible virtual surgeries perturb the forces generated by the muscles such that the baseline muscle synergies do not span the full force space, updating the synergies’ structure becomes necessary to reach all force directions and to reduce the force error. Statistical analyses on the force direction error (Table A in S3 Text) and force magnitude error (Table B in S3 Text) reveal no significant differences between the rotation and the compatible surgery perturbations, but significantly larger errors for the incompatible surgery compared to the other two perturbations, under all three combinations of model parameters and learning rates.

Fig 3. Effect of different combinations of learning rates.

Fig 3

Different combinations of learning rates of the control policy matrix 𝐙 and muscle synergies matrix 𝐖 are shown in different columns. Each panel (rows) shows a different performance metric. (A) Force direction error. (B) Force magnitude error. (C) Reconstruction quality (R2) of the muscle activity using the original synergies. (D) Norm of the motor commands. Colored lines correspond to the three different types of perturbation simulated. Solid lines and shaded regions indicate average and standard error of each metric across 16 different model initializations. Gray background rectangles indicate cycles during which each perturbation was applied. Asterisks indicate results from statistical tests where a significant difference was found between at least two of the perturbations, at the final cycle of the perturbation (NS: not significant).

In these simulations, we also examined the ability of the baseline muscle synergies to reconstruct the muscle activity generated by the model over time. Regarding the reconstruction quality (R2) of the muscle activity patterns (Fig 3C), there is a similar decrease for both the rotation and the compatible surgery perturbations, under all three combinations of learning rates (in each column). Statistical analyses (Table C in S3 Text) confirm that there is no significant difference in the reconstruction quality R2, at the final cycle of perturbation, between the rotation and the compatible surgery perturbations. Although a decrease in the reconstruction quality R2 would indicate a change of the muscle synergies relative to baseline, such a change is not possible in simulations in which muscle synergies are not allowed to update (Fig 3C, left column). As we show in the additional simulation in Section C in S2 Text, the decrease in the R2 observed here, when updating only the control policy (Fig 3C, left column), is due to the increase in the norm of the motor commands (Fig 3D): motor commands with a larger norm increase the signal-dependent noise added, which results in a decrease of the signal-to-noise ratio of the underlying muscle synergies, and thus in a decrease in the R2 of the muscle activity reconstruction by the synergies, even though the synergies themselves are not changed.

During the incompatible surgery, the reconstruction quality R2 does not decrease when only the control policy is updated (Fig 3C, left column), however it does decrease when the muscle synergies are updated (Fig 3C, middle and right columns). This decrease is larger when both control policy and synergies are updated, suggesting a larger change in the synergies compared to the initial ones. When only the control policy is updated (Fig 3C, left column), there is a difference in the R2 (Table C in S3 Text) between the incompatible and the compatible surgeries (p = 2.9 × 10-3), but not between the incompatible surgery and the rotation (p = 0.35). When only the synergies are updated (Fig 3C, middle column), no statistically significant differences are observed between the incompatible surgery and the two other perturbations. Finally, when both control policy and synergies are updated (Fig 3C, right column), R2 differs between the incompatible surgery and the two other perturbations, indicating a larger decrease in the reconstruction quality for the incompatible surgery under this parameter combination. A larger decrease in muscle activity reconstruction quality during incompatible surgeries than during compatible surgeries has been observed experimentally [8], although to a greater extent than observed in our simulations.

Regarding the washout period, after removal of the perturbations, we observe a large aftereffect in the force direction error for both the rotation and the compatible surgery, and a comparatively smaller aftereffect for the incompatible surgery. Aftereffects are considered a hallmark of implicit adaptation, having been reported in a variety of motor tasks [16], and a larger aftereffect for compatible surgeries than for incompatible surgeries has been observed experimentally [8]. Although a large aftereffect is present in the force magnitude error for the incompatible surgery, there are no experimental data with which to directly compare this result: in experiments involving virtual surgeries, participants were allowed to make online corrections to their cursor movements [8,36], making it difficult to isolate the feedforward component of the movement and, consequently, to quantify a feedforward force error. We also observe that neither force direction nor force magnitude errors returned to baseline levels after an incompatible surgery when both control policy and synergies were updated, whereas both errors return to baseline when only the synergies are updated. This difference can be attributed to a larger change in the synergies and to a larger muscle activity norm in the former condition. Following larger changes in the synergy structure, their increased recruitment is required to produce the same level of force upon return to baseline conditions, which in turn amplifies the signal-dependent motor noise. As a result, force errors remain elevated and do not return to baseline by the end of the simulation.

After incompatible surgeries, R2 remained at a lower level during washout than after compatible surgeries. Although this effect was not observed in [8], an experiment in which participants first performed a task under an incompatible surgery and subsequently under a compatible surgery reported a persistent decrease in the R2 during the second perturbation [10], consistent with our simulation results. This behavior is replicated in additional simulations in which the model is trained on sequences of incompatible-compatible surgeries, and vice-versa (Section B in S2 Text).

We also examined the norm of the muscle activity generated by the model during training under the different perturbations (Fig 3D). When both the control policy and muscle synergies are updated (right column), we observe a transient increase in the norm of the muscle activity during both the visuomotor rotation and the compatible surgery, occurring largely when the force magnitude error is decreasing, followed by a slow decrease. These transient increase and subsequent slow decrease reappear during the washout. In contrast, during the incompatible surgeries, the increase in muscle activity persists throughout the perturbation and decreases only during washout. Statistical analyses (Table D in S3 Text) of the last perturbation cycle reveal significant differences in the norm of the muscle activity for the incompatible surgery compared with the other two perturbations, but no significant differences in the norm of the muscle activity between the rotation and the compatible surgery perturbations, across all combinations of model parameters.

While the norm of the muscle activity has not been examined in previously published experiments involving virtual surgeries [8,10,36], a rapid increase followed by a slight decrease of muscle activity has been observed in arm reaching experiments with velocity-dependent and divergent force fields [37]. We consider these two perturbations to be similar to our rotation and compatible surgery perturbations. In our model, the slow decrease in the muscle activity after the transient increase is primarily driven by the regularization applied to both the control policy and the muscle synergies: this effect becomes more evident in Simulation 3, where we directly compare models trained with and without regularization.

In the condition in which both control policy and synergies are updated, we also evaluated the force prediction error of the forward model. We compared the force predicted by the forward model given a muscle activity generated by the controller and the force executed by the musculoskeletal system, including under perturbation (Fig A in S4 Text). The force prediction error is high at the onset of the perturbations, but decreases as the forward model is updated. Interestingly, this decrease is fastest for the incompatible surgery, although it quickly reaches a plateau at which the decrease slows down. This fast decrease contrasts with the slower decrease in the executed error (Fig 3A and 3B), suggesting that force prediction error alone does not necessarily correlate with learning speed.

2.4 Subspaces of muscle activity during training

In the previous section, when both the control policy and the muscle synergies in the model were updated, we showed that 1) the reconstruction quality of the muscle activity by the original synergies (R2) decreased more during the incompatible surgery and 2) the norm of the muscle activity increased more during the incompatible surgery compared to the two other perturbations. These results suggest training under the different perturbations engages different subspaces of the muscle activity space. To elucidate how the muscle activity changes during the perturbations, we evaluated the norm of the muscle activity projected into four different subspaces of the muscle activity space (Fig 4), considering the combination of model parameters when both the control policy and the muscle synergies are updated.

Fig 4. Norm of muscle activity in different subspaces of the muscle activity space.

Fig 4

Data from Simulation 1, under the model parameter combination with an update of both control policy and muscle synergies. The lines (colored according to the type of perturbation) indicate the norm of the muscle activity projected into different subspaces of the muscle activity space (panels), averaged across all targets in a cycle (gray background rectangles indicate cycles during which each perturbation was applied). Solid lines and shaded regions are the average and standard error across sixteen different model initializations. (A) norm in the baseline task space, the subspace that affects the force in the baseline (not perturbed) task. (B) norm in the null space of the baseline task space. (C) norm in Nc, the common subspace between null space and baseline synergies. (D) norm in Nnc, the subspace of null space not spanned by baseline synergies. Asterisks indicate results from statistical tests where a significant difference was found between at least two of the perturbations, at the final cycle of the perturbation.

When analyzing the norm of the muscle activity projected in the baseline task space (the subspace of the muscle activity space that affects the force generated in the unperturbed task), we observe an initial increase for all perturbations. However, the norm quickly decreases to near baseline levels for the rotation and the compatible surgery, while remaining elevated for the incompatible surgery (Fig 4A). Statistical analyses of the last perturbation cycle (Table E in S3 Text) reveal a statistically significant difference between the norm of the muscle activity projected in the baseline task space between the incompatible surgery and the two other perturbations, with no significant difference between the rotation and the compatible surgery.

The large increase in the norm of the muscle activity projected in the baseline task space for the incompatible surgery is due to an initially inappropriate forward model. At the beginning of the training, the forward model attempts to correct movement errors caused by the perturbation—which reduces the span of the baseline synergies to a single dimension— by increasing the patterns of muscle activity in the baseline task space [21], consistent with its initialization. This increase in muscle activity decelerates as the forward model adapts to the incompatible surgery, and muscle activity patterns outside the baseline task space are increasingly recruited. The large norm of the muscle activity in the baseline task space immediately before the removal of the incompatible surgery underlies the large after-effect in the force magnitude error described in the previous section (Fig 3). After the removal of the perturbation, the norm of the projection of the muscle activity in the baseline task space transiently increases again for both rotation and compatible surgery, whereas for the incompatible surgery it returns to baseline. This decrease occurs because the environment is the same as the baseline task environment and the required forces are the same, so that the baseline task component of the muscle activity naturally returns to baseline levels for all perturbations.

Noticeably, when analyzing the norm of the muscle activity in the null space (Fig 4B) and in its Nc (intersection between null space and baseline synergies) and Nnc (subspace of null space not spanned by baseline synergies) subspaces (Fig 4C and 4D, respectively), we observe that most of the activity lies in the Nc space, while the component of the muscle activity in the Nnc space is much smaller. In our modular architecture, muscle activity is generated by a combination of synergies, so at baseline most of the muscle activity in the null space is explained by synergy combinations (i.e., the Nc space), whereas activity in the null space not spanned by the baseline muscle synergies (i.e., the Nnc space) is mostly due to motor noise. We see an increase in the muscle activity in the Nnc space at the onset of the incompatible surgery, while its increase during the rotation and the compatible surgery is negligible. This is confirmed by a statistically significant difference in the norm of the muscle activity in the Nnc space between the incompatible surgery and the two other perturbations (Table E in S3 Text). Unlike the norm of the muscle activity in the baseline task space, which initially rises at the onset of the incompatible surgery and then plateaus, the norm in the Nnc space continues to increase throughout the entire training period (Fig B in S4 Text). After the removal of the perturbation, the norm of the muscle activity in the Nnc space slowly decreases for the incompatible surgery, but does not fully return to the baseline level at the end of the washout phase.

In summary, analysis of muscle activity norms across different subspaces shows that, during the perturbation, activity in the null space not spanned by the baseline synergies (the Nnc space) increases more for the incompatible surgery compared with the two other perturbations. These learning-related changes in the patterns of muscle activity persist for some time even after the removal of the perturbation, and are consistent with our earlier finding that the reconstruction quality of the muscle activity decreases more for the incompatible surgery than for the compatible surgery.

2.5 Changes in the structure of muscle synergies during training

In the previous section, we described differences in the evolution of muscle activity during training under the three different perturbations, suggesting substantial reorganization of the muscle synergies during incompatible surgeries. Our computational model enables direct analysis of these structural changes by examining the muscle synergy matrices W throughout the simulations. To quantify changes in the synergy structure in Simulation 1—where all model components had nonzero learning rates—we used two additional metrics: the first captures the span of the synergy forces within different task environments while the second assesses the alignment of the synergies with specific directions in muscle activity space.

The first metric, the area of the convex hull of the synergy forces, was computed in both the baseline task space and in the incompatible surgery task space (Fig 5A) to assess how well the synergies span the force space. In the incompatible task space, the area of the baseline synergies is zero because the incompatible surgery is designed so that the baseline synergies do not span the entire force space, resulting in a convex hull corresponding to a straight line, with zero area. In experiments with human participants, the area in the baseline task space decreases, while the area in the incompatible task space increases during training with an incompatible surgery [36], indicating that synergies are restructured toward the dimensions relevant to the incompatible task space.

Fig 5. Metrics related to the change in the structure of muscle synergies.

Fig 5

Data from Simulation 1, under the model parameter combination where both control policy and muscle synergies were updated. Colored lines indicate the metrics calculated from the synergies saved at the end of each block (three cycles), with gray background rectangles marking the perturbation periods. Solid lines and shaded regions denote the average and standard error across sixteen model initializations. (A) Area of the convex hull of the synergy forces, calculated in the baseline task space (left) and in the incompatible task space (right). (B) Principal angles between the synergies and three vectors in the muscle activity space used to construct the virtual surgeries: (left) 𝐰, a vector in the synergy subspace not in the null space, from which the muscle activity space is rotated in the virtual surgeries; (middle) 𝐰, another vector in the synergy subspace not in the null space, toward which the muscle activity space is rotated in the compatible surgery; (right) and 𝐧, a vector in the null space not spanned by the baseline synergies, toward which the muscle activity space is rotated in the incompatible surgery. Asterisks indicate statistically significant results (at 5% significance level) between at least two of the perturbations, at the final block of perturbation.

Our simulations reproduce this pattern (Fig 5A). During the incompatible surgery, the area in the baseline task space decreases and becomes smaller than during the rotation perturbation, though it is not significantly different from the compatible surgery (Table F in S3 Text). In contrast, the rotation and compatible surgery show an initial decrease followed by an increase, suggesting a transient change in the span of the synergies in the baseline task space. In the incompatible task space, the convex hull area of the synergy forces increases substantially and continuously under the incompatible surgery, whereas in the other two perturbations this increase is modest and stabilizes at a significantly smaller value (Table F in S3 Text). Together, these results indicate a progressive reorganization of the muscle synergies during training under the incompatible surgery, enabling them to span a larger area of the incompatible task space.

The second metric, the principal angle between the synergies and the vectors {w,w,n}, quantifies how the synergy structure aligns with the directions used to define the virtual surgeries (Fig 5B). These three vectors are used to define the compatible and incompatible virtual surgeries. In the compatible surgery, the vector w in the synergy subspace orthogonal to the null space (the W𝐧𝐜 space) is rotated towards the vector w within the same subspace. In the incompatible surgery, the vector w is rotated towards the vector n in the subspace of the null space not spanned by the baseline synergies (the Nnc subspace). At the beginning of training, the principal angles with w and w are zero, as these vectors lie within the baseline synergies subspace, and an increase in these angles indicates a deviation from the original synergy structure. In contrast, the principal angle with n is initially larger than zero, since n lies in the Nnc subspace not spanned by the baseline synergies, and a decrease in this angle indicates a reorganization of the synergies toward the Nnc space.

Our simulations show increases in the principal angles between the synergies and both vectors w and w across the three perturbations (Fig 5B, left and middle panels). However, the increase in the principal angle with w (the vector from which the muscle activity space is rotated during the virtual surgeries) is significantly larger during the incompatible surgery than during the other two perturbations (Table G in S3 Text). Interestingly, the increase in the principal angle with w (the vector toward which the muscle activity space is rotated during the compatible surgery) is significantly smaller during the incompatible surgery than during the two other perturbations (Table G in S3 Text). These results indicate that synergy structure changes occur during all perturbations, but during the incompatible surgery synergies deviate more strongly from the direction not relevant to the incompatible surgery task (w) and less from directions unaffected by it (w).

Regarding the principal angle between the synergies and the vector n (Fig 5B, right panel), we observe a decrease across all perturbations, with a larger reduction for the incompatible surgery compared to the rotation, though not significantly different from the compatible surgery (Table G in S3 Text). For both the rotation and compatible surgery, the decrease in the principal angle tends to plateau during training (as seen with the other two vectors), whereas for the incompatible surgery the decrease continues steadily throughout the perturbation. These findings contrast with the results of the previous section, which showed a greater increase in the muscle activity norm in the Nnc space during incompatible surgeries. This suggests that, despite a similar alignment with vector n, the recruitment of these better aligned synergies is stronger during the incompatible surgery, resulting in a higher muscle activity norm.

During the washout period, the area of the convex hull of the synergy forces in the baseline task space (Fig 5A, left panel) remains lower than during the baseline period, for all three perturbations, and is lower after the incompatible surgery than after the two other perturbations. Likewise, the area in the incompatible task space (Fig 5A, right panel) does not return to baseline, remaining larger after the incompatible surgery than after the two other perturbations. A similar trend can be observed for the principal angles between the synergies and the vectors w, w, and n (Fig 5B), which also do not return to baseline levels after any of the perturbations. These results indicate that changes in the structure of the synergies, which are more pronounced during the exposure to the incompatible surgery, persist even after the perturbation is removed. This accounts for the persistent decrease in the reconstruction quality (R2) of muscle activity using the original muscle synergies and for the persistent increase in the norm of the muscle activity in the Nnc space after the incompatible surgery.

In summary, our analyses show that the structure of muscle synergies evolves under all three perturbations. While changes are similar for the visuomotor rotation and the compatible surgery, the incompatible surgery induces more pronounced structural modifications: the synergies deviate further from the direction irrelevant to the task and expand their forces within the incompatible task space. This larger, persistent reorganization of synergy structure, together with changes in the synergy recruitment, explains the greater reduction in the reconstruction quality (R2) of muscle activity using the original muscle synergies observed in our simulations of incompatible surgeries.

2.6 Examining different learning rates of the forward model

In the previous simulation, the forward model of the musculoskeletal system was updated as the models encountered the perturbations. In contrast, previous computational models of the trial-by-trial update of motor activity which included a modular architecture assumed that the forward model, responsible for the error correction, was either known a priori, or instantly fully learned as soon as the perturbation was introduced [22,23], an assumption that has been criticized as implausible [32]. In Simulation 2, we investigated three possibilities for the learning of the forward model: no update of the forward model (learning rate of zero), a slowly updated forward model (non-zero learning rate, the same one used in Simulation 1), or the ideal forward model for each perturbation. This allows us to compare the predictions of our model with those of models assuming an ideal forward model, as well as with available experimental data.

The results of Simulation 2 (Fig 6), show no apparent difference in any of the metrics during the rotation and the compatible surgery across all three learning rates of the forward model (each column). Statistical analyses on the force direction error (Fig 6A and Table H in S3 Text), force magnitude error (Fig 6B and Table I in S3 Text), reconstruction quality of the muscle activity using the original muscle synergies (R2) (Fig 6C and Table J in S3 Text), and norm of the muscle activity (Fig 6D and Table K in S3 Text) at the final cycle of perturbation confirm that there is no significant difference across any of the parameters for the forward model for either perturbations.

Fig 6. Effect of different learning rates of the forward model.

Fig 6

Three different learning rates of the forward model are presented in different columns. Colored lines correspond to the three different perturbations simulated. Solid lines and shaded regions are the average and standard error of each metric (rows/panels) across sixteen different model initializations. (A) Force direction error. (B) Force magnitude error. (C) Reconstruction quality (R2) of the muscle activity using the original synergies. (D) Norm of the motor commands. Gray background rectangles indicate cycles during which each perturbation was applied. Asterisks (NS: not significant) indicate results from statistical tests where a significant difference was found between at least two of the conditions, with the text colors indicating the perturbation tested, at the final cycle of the perturbation.

For the incompatible surgery, in contrast, clear differences emerge across the three learning rates for all four metrics. In comparison to when the forward model is updated slowly (middle column), both force direction error (Fig 6A) and force magnitude error (Fig 6B) are substantially higher when the forward model is not updated (left column) (even higher than at the onset of the perturbation), and markedly lower when the ideal forward model is used (right column). In the latter condition, the decrease in the error during the incompatible surgery becomes comparable to that observed for the two other perturbations, with the exception of the washout phase: a transient increase in error is present for the rotation and the compatible surgery but absent for the incompatible surgery. In terms of reconstruction quality (R2, Fig 6C), there is no significant difference in the decrease between the slowly updated (middle column) and not-updated (left column) forward model conditions (Table J in S3 Text). However, there is a significantly larger decrease when the ideal forward model is used (right column), compared to the two other conditions. Similarly, the motor command norm (Fig 6D) reaches a significantly higher level when the forward model is not updated (left column), and a significantly lower level when the ideal forward model is used (right column), relative to the slowly updated condition (middle column, Table K in S3 Text).

When the forward model is not updated, the incompatible surgery leads to a large increase in the norm of the muscle activity generated by the model (Fig 6D, left column), while the error in the force generated by this muscle activity does not decrease and instead increases relative to perturbation onset (Fig 6A and 6B). Because updates to the muscle activity are dictated by the forward model, and incompatible surgeries require novel patterns of muscle activity, changes in the muscle activity generated by the baseline forward model are inappropriate for the perturbed environment. As a result, the increased muscle activity norm fails to reduce the force error.

In contrast, with an ideal forward model (right column), the force error during the incompatible surgery decreases as fast as during the rotation and the compatible virtual surgery, accompanied by a large change in the structure of the muscle activity, as reflected by the pronounced decrease in R2. Analysis of the norm of the projection of the muscle activity in different subspaces when using the ideal forward model (Fig C in S4 Text) reveals a large increase in the use of the Nnc space during the incompatible surgery, and no increase in the norm on the baseline (unperturbed) task space. This contrasts with the condition in which the forward model is slowly updated, where the norm of the muscle activity in the baseline task space increases markedly (Fig 4A), and the decrease in R2 is smaller (Fig 6C, middle column). In addition, the force magnitude error (Fig 6B) at the onset of the washout (after the removal of the perturbation) is much smaller when an ideal forward model is used (right column), reflecting the smaller increase of the norm of the muscle activity in the baseline task space (Fig C in S4 Text) in this condition. This phenomenon is similar to the encoding of different motor tasks in orthogonal neural dimensions, which reduces interference between motor memories [38]. These results further indicate that, during an incompatible surgery, changes in the baseline (unperturbed) task component of the muscle activity arise primarily from an incorrect forward model. A correct forward model instead leads to 1) larger changes in the muscle activity, specifically in the Nnc space; 2) a faster decrease of the force error; and 3) a greater separability between familiar and novel motor tasks, resulting in a smaller washout force magnitude error.

2.7 Effect of regularization

In the preceding simulations of our model, whenever a model component (either the control policy matrix Z or the muscle synergies matrix W) was updated, a nonzero regularization was applied, pulling matrices entries towards zero. In Simulation 3, we compared two combinations of parameters of the model, with and without regularization, to characterize the effect of regularization. Overall, regularization produced small but statistically significant effects on force direction error (Fig 7A), force magnitude error (Fig 7B), and reconstruction quality (R2, Fig 7C), across all perturbations. Statistical analyses at the last cycle of perturbation (Table L in S3 Text) revealed a significant average reduction of 1.67° in the force direction error and of 0.024 (arbitrary units) in the force magnitude error, along with a significant increase of 0.019 in R2 caused by the regularization. Regularization also had a significant negative effect on the motor command norm (Fig 7D and Table M in S3 Text), with a significant interaction with the perturbation type. This effect was stronger for the incompatible surgery (F(1,90) = 410.00) than for the compatible surgery (F(1,90) = 112.00) and the rotation (F(1,90) = 103.54). The stronger effect of the regularization in the incompatible surgery may be due to a smaller increase in the norm of the motor commands during the other two perturbations.

Fig 7. Effect of regularization.

Fig 7

Simulations performed with or without regularization are shown in different columns. Colored lines correspond to the three different types of perturbation simulated. Lines and shaded regions are the average and standard error of each metric (on each row/panel) across sixteen different model initializations. (A) Force direction error. (B) Force magnitude error. (C) Reconstruction quality (R2) of the muscle activity using the original synergies. (D) Norm of the motor commands. Gray background rectangles indicate cycles during which each perturbation was applied. Asterisks indicate results from statistical tests where a significant effect of the regularization was found, examined at the final cycle of the perturbation.

These results suggest that, although regularization significantly affects the force magnitude error, its largest effect is the reduction of the norm of the muscle activity generated by the model. As there is evidence for reduction of effort at muscular level [37,39] and at synergy recruitment level [40], as well as reduction of metabolic cost during prolonged practice [41], the inclusion of a regularization term in our computational model is well justified.

3 Discussion

Although the redundancy of the human body affords the central nervous system infinitely many possibilities for coordinating multiple joints during movement execution [1], strong regularities are observed in the recruitment of muscles [3]. These regularities can be explained by the existence of a small number of control modules that can be flexibly combined during force generation, thereby simplifying coordination across the many degrees-of-freedom of the musculoskeletal system [2]. A modular architecture for the generation of muscle activity patterns also accounts for differences in the learning speed under different perturbations, depending on whether the perturbation can be compensated for using the original control modules [8]. However, computational models of error-based learning of novel muscle activity patterns either did not account for this modularity [20,21], or incorporated it under the assumptions of ideal error correction or immutable modules [22,23].

We proposed a modular architecture for the trial-by-trial generation and learning of redundant muscle activity patterns during isometric force-reaching tasks. In our computational model, explicitly defined modules, representing spatial muscle synergies, are recruited by a control policy and are combined for the generation of muscle activity, which serves as the input to the musculoskeletal system and results in the generation of force. Both the muscle synergies and the control policy are updated, at different learning rates, by backpropagation of the force error through a forward model of the musculoskeletal system, which is not assumed to be known a priori and is instead updated using force prediction error. Our model qualitatively reproduces the main findings of experiments involving virtual surgeries that alter the forces generated by the muscle activity [8,10], supporting the hypothesis that the generation and learning of muscle activity patterns in humans rely on a modular architecture. Nevertheless, discrepancies between our simulations and available experimental data were also observed.

3.1 Error-based learning of new muscle activity patterns requires updating internal model for error correction

In our computational model, a forward model of the musculoskeletal system is responsible for the correction of movement errors, and this model is updated through force prediction error. During goal-directed movement, the goal of the movement is typically specified in terms of distal variables, such as a specific posture of the body in space, or the position and orientation of a tool that is being manipulated. However, the CNS cannot control these distal variables directly, and instead relies on the control of proximal variables, such as muscle activity, to achieve movement goals. When a movement error occurs—defined as a discrepancy between the desired and executed movement— a “distal teacher” may transform this distal error into an appropriate change in proximal variables, thereby enabling updates to the control policy [17]. It has been argued that the knowledge of this “teacher” responsible for error correction cannot be innate and must instead be learned through experience [32]. Accordingly, in novel sensorimotor tasks that require new patterns of muscle activity, such as incompatible virtual surgeries, an internal model for error correction must be acquired for learning to occur [21]. Consistent with this view, our simulations show that incompatible virtual surgeries cannot be learned when the forward model is not updated. These findings support the inclusion of a gradually learned forward model of the musculoskeletal system as a key component of our model.

We have shown that, in our model, the updates of both the control policy and muscle synergies depend on the structure of the forward model. The closer the forward model is to the ideal (i.e., true) forward model, the faster the error decreases, and the more substantial the reorganization of muscle activity during incompatible surgeries. Learning an appropriate forward model under incompatible surgeries requires experience with motor commands that lie in the portion of the null space not spanned by the original muscle synergies (the Nnc space). However, generating such examples is constrained by the structure of the existing synergies. Previous work has proposed that motor exploration facilitates forward model learning [20]. Consistent with this idea, comparing Simulation 1 (Fig 4), in which motor noise was included and the forward model was updated, with the simulation in Section C of S2 Text, in which no motor noise was added, reveals a faster decrease in error during incompatible surgeries when motor noise is present. These findings support a role for motor exploration in enabling forward-model learning and the subsequent reorganization of muscle activity through error-based learning.

While motor noise at the muscle output level enhances error correction in our model, introducing noise at other levels of the model hierarchy may not yield similar benefits. Noise at the synergy recruitment level could constrain exploration to the baseline synergies, thereby limiting learning during incompatible surgeries. Noises in the internal components of our model (the control policy and the synergy matrices), while important for reward-based algorithms such as weight and node perturbation [42], would simply accumulate at the motor output level in our model, producing effects similar to the currently implemented signal-dependent motor noise; this justifies our simplified approach. Noise that the CNS is not aware of (i.e., execution, rather than exploratory noise), such as in the feedback errors driving learning, could be detrimental and may require adjustment of the learning rates [43], a mechanism not implemented in our model. Further work is needed to examine the influence of different sources of noise within the model, potentially combined with adaptive regulation of learning rates according to noise variability [44].

3.2 Contextualizing our computational model within existing models and experimental data

The behavior of our model during adaptation to compatible virtual surgeries (where the baseline synergies still span the entire force space) resembles adaptation to a visuomotor rotation. Although visuomotor rotations have not, to our knowledge, been studied in the context of myoelectric control, experiments with human participants have shown that adaptation to force perturbations (which, like visuomotor rotations, do not act directly at the muscle level) is easier than adaptation to compatible surgeries [8]. This difference may arise because experimental virtual surgeries are constructed using estimates of each participant’s synergies, allowing residual muscle activity not captured by those synergies to contribute significantly to task performance [45]. In contrast, our simulations defined virtual surgeries using the “ground-truth” synergies. Experimentally, adaptation to compatible surgeries produces only a small decrease in reconstruction quality of the muscle activity using the original synergies (R2), similar to adaptation to force perturbations [8], a result that is replicated in our simulations when comparing compatible surgeries with visuomotor rotations (Fig 3C).

Computational models of trial-by-trial learning that included modularity in the generation of muscle activity have been investigated before. Hagio & Kouzaki (2018) showed that modularity may accelerate learning by reducing the bias of the distribution of the mechanical contributions of neurons in the controller neural network. A similar argument has been made by Barradas et al. (2023), where the speed of learning under a perturbed environment was related to the uniformity of the shape of the cost function, expressed as the ratio between the smallest and the largest eigenvalue of the Hessian matrix of the cost function around its minimum. They reported that, in a non-modular architecture using the distal learning framework, learning after an incompatible surgery could be slightly faster than learning after a compatible surgery, due to differences in the uniformity of the cost functions across the two virtual surgeries. In contrast, in a modular architecture, learning after incompatible surgeries was slower than after compatible surgeries. There are key differences between our simulations and those of Barradas et al. (2023) that must be considered: 1) we do not assume that the forward model responsible for the error correction is known at the beginning of the perturbation; it is learned by minimizing the force prediction error; 2) we assume that the structure of the spatial muscle synergies can be updated by the learning algorithm, whereas they assumed fixed synergies; and 3) we used “ground truth” synergies to define the virtual surgeries, while they used estimated synergies from the muscle activity generated by the model during baseline. Using an estimate of the synergies to define incompatible surgeries may cause them being not truly “incompatible” (in the sense that they may still allow the existing synergies to span the entire force space), although this approach has the merit of following more closely the experimental approach, in which the ground-truth synergies are unknown. Additional simulations using a large number of fixed synergies and using estimated synergies to define the incompatible surgery showed only a small decrease in R2 but a decrease in the error (see Section A in S2 Text), suggesting that allowing synergies to change over time provides a better fit to experimental observations.

The regularization implemented in our model, applied to both the control policy and synergy matrices, significantly reduced the norm of the motor commands, corresponding to the reduction of muscular [37,39] and metabolic [41] effort observed in human motor tasks. Our implementation of the regularization is similar to the weight decay algorithm widely used in artificial neural networks to improve generalization [46]. Weight decay has also been investigated in computational models of sensorimotor transformations [47], where it has been shown that, over tens of thousands of trials of training (with regularization weights comparable with those used in our simulations), effort can be reduced to near-optimal levels. In contrast, our simulations involved a number of trials similar to a typical single-session human experiment—on the order of hundreds of trials—and were therefore likely too short to achieve full minimization of effort. In addition, experiments with humans performing three-dimensional isometric force tasks suggest that it is not the individual muscle activity, but rather the recruitment of muscle synergies that is minimized, albeit sub-optimally [40]. Further experiments are needed to clarify how effort is minimized at both muscular and synergistic levels during force generation and learning.

3.3 Possible neural substrates of motor adaptation with synergies

The components of our model may be linked to specific neural substrates. Evidence from spinal and cortical microstimulation [4,48] and single-unit recordings [49] studies in animals suggest that spatial muscle synergies may be encoded in the cortico-spinal connectivity and in spinal or brainstem networks. In humans, the preservation of muscle synergies following unilateral ischemic lesions in frontal motor cortical areas suggests that synergy recruitment may be encoded in higher motor areas [50]. The cerebellum has been implicated in the temporal organization of synergies [51], and is widely associated with prediction errors and forward models [12]. The integrity of the cerebello-thalamo-cortical pathway is related to the capacity to adapt to movement errors [52], but not with the execution of already learned movements [53], consistent with its role as an error-correcting forward model in our architecture. Future experiments and simulations may further elucidate the neural correlates of the components of our model and leverage it as a tool to investigate recovery processes following neural injury.

While the lack of the generation of entire movement trajectories (as discussed in the Limitations section) precludes directly fitting our model to the data from virtual surgery experiments—where participants could make use of online feedback corrections—our model may nonetheless be useful for understanding inter-individual differences in motor learning. Specifically, we predict that participants who exhibit a faster reduction in error during incompatible surgeries would be characterized, in terms of model parameters, by larger learning rates of either the forward model or the synergies. Because the goal of the present work was to characterize how the individual components of the model shape its learning behavior, we defer such analyses to future studies.

In summary, our computational model accounts for differences in adaptation to different types of virtual surgeries—at the task, muscle, and synergy levels—through the learning of three key components of a modular control architecture: the recruitment of muscle synergies, the structure of the synergies, and an acquired forward model of the task and motor system. By systematically analyzing how each component shapes the model’s behavior, we provide a framework for linking patient-specific impairments to deficits in the learning or updating of specific elements in our model and to specific neural substrates. In the future, this model may be used to predict inter-individual differences in motor learning in both patients and healthy participants, and to guide the development of targeted interventions aimed at enhancing recovery from specific impairments.

3.4 Limitations of our model

One of the limitations of our model is the use of a fixed number of muscle synergies. Changes in the number of synergies involved in locomotion, resulting from synergy fractionation and merging, have been reported during development and training [54]. Fractionation and merging of synergies have been observed after stroke, in the affected arm—relative to the unaffected arm—[55], suggesting that cortical damage can alter both the number and the structure of muscle synergies underlying upper limb movements. Although assuming a fixed number of synergies may be appropriate to study motor learning over short time scales, such as single-session experiments, extending the model to allow for a variable number of muscle synergies could provide a more comprehensive account of changes in motor coordination across development, long-term skill acquisition, and motor rehabilitation.

While we used fixed learning rates in our simulations, studies of motor adaptation in humans suggest that the CNS adjusts its adaptation rate according to the uncertainty of sensory feedback [43] and the consistency of the task environment [56,57]. These findings have been attributed to a metacognitive process that monitors task performance and regulates the rates of retention and adaptation [44]. Incorporating adaptive learning rates into our model could therefore allow it to reproduce these behaviors and enable a more detailed analysis of changes in muscle activity and synergy structure across a wider range of simulated motor tasks.

We did not include in our model any cognitive processes, despite evidence that such processes influence motor adaptation [58]. In a recent experiment in which participants had more time to reach the target during the virtual surgeries [36], a larger aftereffect in the direction error of the initial movement was observed for the compatible surgery compared to the incompatible surgery immediately after the removal of the perturbations. Large aftereffects after the compatible surgery, a result which is in line with the predictions of our model regarding the force direction error, are a hallmark for implicit adaptation [59]. In contrast, training under incompatible surgeries was associated with longer reaction times [36], suggesting a greater reliance on explicit strategies. Although our computational model predicts a decrease in the reconstruction quality of the muscle activity using the original synergies (R2), this decrease is smaller than what has been observed experimentally [8,36], and the recovery of R2 during the washout phase is also slower than in the experimental data. These discrepancies may indicate that our model lacks a cognitive component that could be responsible for the regulation of motor exploration [6062]. However, it remains unclear whether cognitive processes would be capable of recruiting muscle patterns that cannot be explained by existing muscle synergies.

As previously noted, the decrease in the reconstruction quality of the muscle activity using the original synergies (R2) during incompatible virtual surgeries in our model is smaller than the decrease observed in experiments with human participants [8,36]. Beyond the possible influence of cognitively-driven exploration strategies discussed above, several additional factors may account for this discrepancy. One possibility is the recruitment of pre-existing muscle synergies that were not identified during the baseline task, which could explain the larger decrease in the R2 observed experimentally. However, simulations in which we increased the number of synergies did not reproduce such a pronounced decrease (Section A in S2 Text). If such latent synergies do exist, our results suggest that their recruitment may rely on mechanisms not captured by our model—possibly involving cognitive processes—during incompatible surgeries.

Another factor concerns how the R2 was measured in experimental studies: in several cases it was computed over the entire movement, whereas when computed separately for the feedforward phase, the decrease was smaller [36]. This result is more in line with our predictions, as we model only the generation and updating of feedforward movement components. In addition, recent experiments using high-density surface electromyography (HDsEMG) have revealed that modularity may also exist at the level of motor neurons [63]. Such motor neuron synergies would provide the CNS with greater flexibility in muscle recruitment and might account for part of the decrease in R2 during incompatible surgeries. While muscle synergies and motor neuron synergies may capture the same modular organization at different levels—functional and neural implementation, respectively— not all existing modules may be identified from the decomposition of bipolar EMG signals, and the unidentified synergies may affect the reconstruction quality. These aspects should be considered when comparing our simulation results to experimental data, and will be further explored in future works.

Another limitation in our model is the assumption that the forward model has the same structure as the muscle activation-to-force mapping (a D x M matrix). We did not investigate other architectures and how they might affect error correction. For example, if the forward model were implemented using radial basis functions, updates might have more localized effects, potentially limiting the generalization of learning across perturbations. Similarly, if the forward model mapped synergy activation coefficients directly to predicted forces, it would implicitly contain an internal representation of the synergies. In that case changes in synergy structure would require corresponding updates to the forward model itself. Error backpropagation would then be confined to the synergy activations—unless a muscle activity error signal could be extracted from an intermediate layer of the forward model. Investigating how different forward-model architectures affect learning and error correction is an important direction for future work.

Finally, our model can only predict the generation of feedforward motor commands and the trial-by-trial learning processes of the muscle activity, whereas movements executed by the motor system are generally continuous and learning may occur throughout the movement duration [36,6467]. We plan to extend the model to predict the entire time-course of the muscle activity and of the generated force, as well as to incorporate online feedback error correction mechanisms. A feedback-driven modular architecture in a novel redundant sensorimotor task, without assuming a priori knowledge of the sensorimotor mapping, has been investigated recently [68]. However, that model did not account for possible changes in synergy structure, only in their recruitment, and did not include a feedforward component. Experimental evidence from virtual surgery paradigms further supports the need to model both processes: increasing trial duration leads to faster improvements in online feedback error correction than in initial movement error—reflecting trial-by-trial feedforward learning—during incompatible surgeries [36]. This enhanced feedback-based improvement has been attributed to increased exploration enabled by longer movement durations. These findings suggest a possible dissociation between feedback and feedforward error correction mechanisms, which has also been observed in mirror-reversal experiments [69]. From a modeling perspective, this dissociation may imply different gains for feedforward and feedback error correction, or even distinct learning mechanisms with separate learning rates governing trial-by-trial feedforward adaptation and online feedback corrections. Extending our model to generate the entire movement trajectories would allow us to directly investigate these hypotheses and better capture the dynamics of motor learning observed experimentally.

4. Methods

4.1 Model simulations

We performed simulations to validate the model described in the Results by assessing whether it can adapt to perturbations such as visuomotor rotations and ‘virtual surgeries’ and whether it can reproduce key features of motor adaptation observed in experiments with human participants. All simulations and analyses were conducted in MATLAB (MathWorks Inc., Natick, MA). In the simulations, we used D=2 force dimensions, M=10 muscles, and N=5 muscle synergies, values similar in magnitude to the dimension of the muscle activity and number of synergies reported in human experiments [8]. The muscle activation-to-force matrix H was initialized by assigning each of the M muscles a random D-dimensional force vector, ensuring that the forces positively spanned the entire force space [70]. The norm of each vector was randomly selected from the interval [0.5, 1.5] (arbitrary units). We defined 8 target forces f*, uniformly distributed in a circle with radius 0.5 (arbitrary units) centered at the origin of the force space (at rest). The control policy was implemented using NΦ=121 Gaussian basis functions Φ with centers uniformly distributed on a 11-by-11 grid spanning the range [-1, +1] in each force dimension. This basis set was sufficient to represent all force targets used in the task. Each element of the matrix Z of the control policy was initialized by sampling from a uniform distribution over the interval [0,0.05]. For the initialization of the synergy matrix W, we first generated N random force vectors positively spanning the entire force space [70]. For each of these force vectors, we used quadratic programming (MATLAB function quadprog) to compute the minimum-norm, non-negative muscle activation pattern that produced the desired force under the mapping defined by H. These muscle activity vectors, each representing a muscle synergy, were concatenated to form the matrix W.

Our model was trained under three different types of perturbation: visuomotor rotations, compatible virtual surgeries, and incompatible virtual surgeries (Fig 2A). Visuomotor rotations applied a 45° counter-clockwise rotation to the force f executed by the model. Compatible and incompatible virtual surgeries correspond to changes in the pulling directions of the muscles, defined according to whether the generation of force is compatible or not with the model’s initial muscle synergies. The virtual surgeries were computed following the procedure described in [8], utilizing the environment matrix H, its null space (the subspace of the muscle activity space that does not affect the generated force) and the initial muscle synergies matrix W. From these, we derived the subspace bases necessary for the rotations in the muscle space: the basis N𝐜 of the subspace common to the synergies and the null space of H, the basis W𝐧𝐜 of the synergy vectors not in the null space, and the basis N𝐧𝐜 of the null space vectors not generated by synergy combinations. These subspaces were then used to calculate the rotation matrices for the surgeries: the compatible rotation matrix T𝐜 rotates a vector w in the span of W𝐧𝐜 onto a second vector w in the same subspace, while the incompatible rotation matrix T𝐢 rotates a vector w in the span of W𝐧𝐜 onto a vector n in the span of N𝐧𝐜. The angle of the compatible rotation was adjusted so that both compatible and incompatible virtual surgeries would have a similar “index of difficulty”, defined as the average change in the muscle activity across muscles and force targets required to perform the task after the surgeries [8], calculated as:

Idiff=i=1Mk=18|mikmik|, (9)

where mik is the activity of the ith muscle for the kth target before the perturbation and mik is the same during the perturbation. The vectors mk and mk are computed as the minimum-norm, nonnegative solution to the equations fk*=Hmk and fk*=Hmk, respectively (with H being the perturbed environment matrix).

The effects of the virtual surgeries on baseline muscle synergies in representative simulations are illustrated in Fig 2A. It can be noted that compatible surgeries do not require changes to the muscle synergies in the model, but only adjustments in their relative recruitment across different force directions: the forces generated by the synergies (black arrows) are altered by the perturbation, yet they still span the entire force space. In contrast, incompatible surgeries require learning of new patterns of muscle activity, as the perturbed synergy forces are aligned in a single direction and do not span the force space.

Each simulated experiment started with the initialization of the model, followed by a baseline training without any perturbation for a total of 324 cycles, where each cycle consisted of eight trials—one trial for each of the eight defined targets presented in random order. During each trial, the learning rules described in the Results section were applied to update the matrices Z, W, and H^ of the model. After the initialization, each simulated experiment was trained in the baseline condition for 36 cycles, followed by 36 cycles of perturbation (matching the number of trials used in the human experiments reported in [8]), and finally by 36 cycles of washout (again in the baseline condition). Within a single model initialization, the data for each trial were averaged across four repetitions of the simulation, to attenuate the effect of the motor noise added to the motor commands at every trial. All reported results (except individual reaching trials) were obtained by averaging, at every cycle, the data across 16 random initializations of the model. Each initialization used its own environment matrix H and muscle synergies W. Because of this, each initialization also had different pairs of compatible and incompatible virtual surgeries. This approach was intended to mimic an experiment with multiple participants, and 16 initializations were deemed sufficient to illustrate the model’s behavior (for comparison, the virtual surgeries results reported in [8] were obtained from eight participants).

We conducted three sets of simulations under different combinations of model parameters: the learning rates of the control policy ηZ, of the muscle synergies ηW, and of the forward model ηH^, as well as the regularization weights for the control policy λZ and for the muscle synergies λW. The three simulations, along with the parameters investigated in each, are summarized in Table 1.

Simulation 1 tested the overall model and assessed the effects of updating the control policy and the muscle synergies. To this end, we set two possible values for the learning rate of the control policy ηZ and of the muscle synergies ηW, resulting in three combinations of parameters: {(0.05,0),(0.05,0.05),(0,0.05)}. The regularization weights of the control policy, λZ, and of the muscle synergies, λW, were set to 1% of the learning rate of each respective component (i.e., a 100:1 ratio of the weight for minimizing the task error versus regularizing the component in the cost function), which with a learning rate of 0.05 corresponds to a value of 5·104, with the same order of magnitude as used in other simulation studies [22]. Regularization weights 4 times larger were also tested, resulting in motor commands with smaller norms and larger task errors, reflecting the trade-off between minimizing the error and minimizing the norm of the model components of the model. The learning rate of the forward model ηH^ was fixed at 0.25. This value, along with the combination (0.05,0.05) for the learning rates of the control policy and of the muscle synergies, respectively, was chosen based on an initial sensitivity analysis in which five different values for each parameter were tested across eight different model initializations. This combination of parameters qualitatively reproduced the experimental results of [8] in terms of differences, between compatible and incompatible virtual surgeries, in force direction error and in reconstruction quality of the muscle activity using the original muscle synergies. Fig D in S4 Text illustrates the change in reconstruction quality (R2) of the muscle activity using the original muscle synergies during this sensitivity analysis, only for the incompatible surgery perturbation, separately for each combination of learning rates, showing that the chosen parameters produced the observed decrease in R2. Simulation 1 thus allowed us to examine the relative contribution of updating of each model components to overall learning. All parameter combinations were repeated across the 16 different initializations of the model.

In Simulation 2, we investigated the effect of the learning of the forward model H^ in the overall learning process. We tested two different learning rates ηH^, in {0,0.25}, and a third condition in which the forward model was “ideal”, i.e., it was equal to the perturbed environment matrix H, and to the unperturbed environment matrix during the baseline and washout. This third condition corresponds to instantaneous learning of the forward model, or a priori knowledge of the environment, as assumed in previous studies [22,23]. In this simulation, the learning rates of the control policy ηZ and of the muscle synergies ηW were both fixed at 0.05, and the regularization weights of each component were set to 1% of their respective learning rates, as in Simulation 1.

In Simulation 3, we investigated the effect of the regularization on the learning process. The learning rates of the control policy ηZ and of the muscle synergies ηW were both fixed at 0.05 and the learning rate of the forward model ηH^ was fixed at 0.25. Both regularization weights λZ and λW were set at either 1% of the respective learning rate or 0, allowing us to compare learning with and without regularization.

4.2 Performance metrics

Across all simulations, we quantified model performance using several metrics, calculated for each cycle of 8 trials. In each trial, the model generated force toward one of eight different force targets, with all eight targets presented once per cycle in random order. The first two metrics, force direction error and the force magnitude error, assessed the accuracy of the reaching movement. The force direction error was defined as the unsigned angle (in degrees) between two vectors: one from the center of the force space to the force target, and the other from the center of the force space to the force executed by the model. The force magnitude error was defined as the norm of the difference between the force target and the executed force (in arbitrary units). We note that, as our model generates feedforward muscle activity and forces, the force direction error corresponds to the angular error of the initial movement (i.e., the feedforward component of the movement) in human experimental data (referred to as initial angle error in Fig 2B). In contrast, the force magnitude error has no direct analogue in the human data, as a magnitude error cannot be clearly defined for the initial movement.

Two additional metrics were computed to characterize the muscle activity generated by the model. First, the reconstruction quality of the muscle activity using the original muscle synergies was evaluated. For each cycle, nonnegative linear least-squares optimization (MATLAB function lsqnonneg) was used to find the nonnegative synergy recruitment coefficients that, when multiplied by the original muscle synergies of the simulation, minimized the squared norm of the difference with the muscle activity measured during that cycle. We then calculated the fraction of total variation of the reconstructed muscle activity explained by the synergies (R2) across the trials of each cycle. The second metric was the norm of the muscle activity, computed as the average norm of the eight vectors of muscle activity generated in a cycle.

In Simulation 1, for the condition in which both the control policy and the synergies had non-zero learning rates, we also analyzed the norm of the muscle activity in different subspaces of the muscle activity space, to analyze how the usage of different dimensions changes throughout learning. Specifically, we computed the norm of the projection of the muscle activity in the baseline task space (the subspace of the muscle activity space that affects the force generated in the baseline [unperturbed] task, generated with the span of the transpose of the baseline environment matrix H), in the null space (the subspace which results in a zero change in the force executed in the environment H), in the Nc space (the common [compatible] subspace between the null space and the baseline muscle synergies), and in the Nnc space (the subspace of the null space not intersecting [not compatible with] the baseline muscle synergies). For each subspace, the muscle activity vectors were projected, and their norms were calculated. This metric was also computed in Simulation 2, under the condition of an ideal forward model, with results presented in Fig C in S4 Text.

We computed two additional metrics in Simulation 1 to better assess changes in the structure of the muscle synergies during the perturbations. The first metric, the area of the convex hull of the synergy forces, represents the overall span of the forces associated with the muscle synergies within a given task environment. It was evaluated in both the baseline and the incompatible task spaces, including for simulations not subjected to the incompatible surgery. Following the procedure described in [36], the synergy vectors were first normalized to unit norm, then projected into the task environment. The area of the convex hull of the synergy forces was calculated and scaled by the area of the convex hull of the forces spanned by the individual muscles in that environment. The second metric, the principal angle between the synergies and the vectors w, w, and n, quantifies the alignment of the subspace spanned by the synergies in the muscle activity space with the three vectors used to define the virtual surgeries. The principal angles were computed using the numerical procedure described in [71]. Both metrics were evaluated using the muscle synergy matrix saved at every three cycles, which corresponds to one block (both in our simulations and in experiments with human participants [8,10,36]).

In Simulation 1, under the parameter combination of a non-zero learning rate for both control policy and synergies, we also calculated the force prediction error of the forward model. This was defined as the norm of the difference between the force executed by the model and the force predicted by the forward model (in arbitrary units), evaluated for the motor command generated when reaching to each force target. The results of this analysis are presented in Fig A in S4 Text.

4.3 Statistical analysis

We analyzed the simulated data by fitting generalized linear mixed-effects models to the data at the last cycle (or block, for data saved at every three cycles) of the perturbation phase. The dependent variables were: force direction error, force magnitude error, fraction of total variation of the reconstructed muscle activity explained by the original synergies (R2), norm of muscle activity (both in the entire muscle activity space and in each subspace). Random effects included the ID of each model initialization. In Simulations 1 and 2, independent variables were the perturbation type (rotation, compatible surgery, or incompatible surgery), the model parameter combination, and their interaction. For Simulation 1, additional models were fitted using as dependent variables: the norm of the muscle activity in different subspaces, the area of the convex hull of the synergy forces in the baseline and incompatible task spaces, and the principal angles between the synergies and three vectors in the muscle activity space. These were evaluated only for the model parameter combination where both the control policy and the muscle synergies were updated. In Simulation 3, we verified that only the model for the norm of muscle activity showed a significant effect of the interaction term; for all the other metrics, models were fitted without the interaction term. Post-hoc analyses were performed using F-tests on the fitted models using different contrasts, and Bonferroni-corrected p-values were computed. In Simulation 1, contrasts were defined across all perturbations and within each model parameter combination (for models of the norm of the muscle activity in different subspaces, contrasts were defined across all perturbations). In Simulation 2, and for the motor command norm in Simulation 3 (which included an interaction between perturbation type and model parameter combination), contrasts were defined across the different parameter combinations within each perturbation types.

4.4 Additional simulations

In the three simulations that we present in the manuscript, we demonstrate how the different components of our computational model contribute to its overall learning process. However, the model exhibits additional emergent properties that are not fully captured by these three simulations. Therefore, we conducted three additional simulations where we investigate features of the model not covered in the main text. A detailed description of these simulations and their results is provided in S2 Text. In the simulation in Section A of S2 Text, we test the adaptation to incompatible surgeries when the model has a large number of fixed synergies, using either the “ground truth” synergies or an estimate of the model’s synergies to calculate the surgery. The simulation in Section B of S2 Text examines training under incompatible surgeries followed by further training under compatible surgeries, and vice versa, to assess persistent changes in the model’s behavior after adaptation. The simulation in Section C of S2 Text simulates the model without signal-dependent motor noise, to evaluate how motor noise affects the reorganization of the muscle activity patterns and the decrease of the force error.

Supporting information

S1 Text. Derivations of update equations of the computational model.

(PDF)

pcbi.1012834.s001.pdf (181.4KB, pdf)
S2 Text. Additional simulations of the computational model.

(PDF)

pcbi.1012834.s002.pdf (796.7KB, pdf)
S3 Text. Tables with results of statistical tests performed on data from simulations.

(PDF)

pcbi.1012834.s003.pdf (338.1KB, pdf)
S4 Text. Supplementary figures from the simulations in the manuscript.

(PDF)

pcbi.1012834.s004.pdf (529.6KB, pdf)
S1 Dataset. MATLAB scripts and processed data to reproduce figures and analyses from the simulations in the manuscript.

(ZIP)

pcbi.1012834.s005.zip (2.2MB, zip)

Data Availability

The GitHub repository with the code used in our simulations has been archived in Zenodo, and is accessible through the following DOI: https://doi.org/10.5281/zenodo.19131019 All other relevant data are in the manuscript and its supporting information files.

Funding Statement

LD gratefully acknowledges the funding provided by the Italian Ministry of Health (IRCCS Fondazione Santa Lucia, Ricerca corrente; GR-2019-12370271). DJB gratefully acknowledges the funding provided by the #NEXTGENERATIONEU (NGEU) National Recovery and Resilience Plan (NRRP), project MNESYS (PE0000006)—A Multiscale integrated approach to the study of the nervous system in health and disease (DN. 1553 11.10.2022). DB gratefully acknowledges the Università del Piemonte Orientale for the support provided through the Starting Kit 2025. AD gratefully acknowledges the funding provided by the project “HARIA - Human-Robot Sensorimotor Augmentation - Wearable Sensorimotor Interfaces and Supernumerary Robotic Limbs for Humans with Upper-limb Disabilities” (EU Horizon Europe, GA No. 101070292, https://clem.diism.unisi.it/~haria/) and by the Italian Ministry of Research (PRIN 2022YXLNR7). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • 1.Bernstein NA. The co-ordination and regulation of movements. 1st English ed. ed. Oxford, New York: Pergamon Press; 1967. [Google Scholar]
  • 2.Bizzi E, Cheung VCK, d’Avella A, Saltiel P, Tresch M. Combining modules for movement. Brain Res Rev. 2008;57(1):125–33. doi: 10.1016/j.brainresrev.2007.08.004 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Tresch MC, Saltiel P, Bizzi E. The construction of movement by the spinal cord. Nat Neurosci. 1999;2(2):162–7. doi: 10.1038/5721 [DOI] [PubMed] [Google Scholar]
  • 4.Saltiel P, Wyler-Duda K, D’Avella A, Tresch MC, Bizzi E. Muscle synergies encoded within the spinal cord: evidence from focal intraspinal NMDA iontophoresis in the frog. J Neurophysiol. 2001;85(2):605–19. doi: 10.1152/jn.2001.85.2.605 [DOI] [PubMed] [Google Scholar]
  • 5.d’Avella A, Portone A, Fernandez L, Lacquaniti F. Control of fast-reaching movements by muscle synergy combinations. J Neurosci. 2006;26(30):7791–810. doi: 10.1523/JNEUROSCI.0830-06.2006 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Torres-Oviedo G, Ting LH. Subject-specific muscle synergies in human balance control are consistent across different biomechanical contexts. J Neurophysiol. 2010;103(6):3084–98. doi: 10.1152/jn.00960.2009 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.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]
  • 8.Berger DJ, Gentner R, Edmunds T, Pai DK, d’Avella A. Differences in adaptation rates after virtual surgeries provide direct evidence for modularity. J Neurosci. 2013;33(30):12384–94. doi: 10.1523/JNEUROSCI.0122-13.2013 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Gentner R, Edmunds T, Pai DK, d’Avella A. Robustness of muscle synergies during visuomotor adaptation. Front Comput Neurosci. 2013;7:120. doi: 10.3389/fncom.2013.00120 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Berger DJ, d’Avella A. Persistent changes in motor adaptation strategies after perturbations that require exploration of novel muscle activation patterns. J Neurophysiol. 2023;130(5):1194–9. doi: 10.1152/jn.00154.2023 [DOI] [PubMed] [Google Scholar]
  • 11.Berger DJ, d’Avella A. Myoelectric control and virtual reality to enhance motor rehabilitation after stroke. Front Bioeng Biotechnol. 2024;12:1376000. doi: 10.3389/fbioe.2024.1376000 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Shadmehr R, Smith MA, Krakauer JW. Error correction, sensory prediction, and adaptation in motor control. Annu Rev Neurosci. 2010;33:89–108. doi: 10.1146/annurev-neuro-060909-153135 [DOI] [PubMed] [Google Scholar]
  • 13.Franklin DW, Burdet E, Peng Tee K, Osu R, Chew C-M, Milner TE. CNS learns stable, accurate, and efficient movements using a simple algorithm. J Neurosci. 2008;28:11165–73. doi: 10.1523/JNEUROSCI.3099-08.2008 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Thoroughman KA, Shadmehr R. Electromyographic correlates of learning an internal model of reaching movements. J Neurosci. 1999;19(19):8573–88. doi: 10.1523/JNEUROSCI.19-19-08573.1999 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Herzog M, Berger DJ, Russo M, d’Avella A, Stein T. Changes in muscle synergy structure and activation patterns underlie force field adaptation, retention, and generalization. J Neurophysiol. 2025;134(6):2047–69. doi: 10.1152/jn.00621.2024 [DOI] [PubMed] [Google Scholar]
  • 16.Krakauer JW, Hadjiosif AM, Xu J, Wong AL, Haith AM. Motor Learning. Comprehensive Physiology. 2019;9:613–63. doi: 10.1002/cphy.c170043 [DOI] [PubMed] [Google Scholar]
  • 17.Jordan MI, Rumelhart DE. Forward models: supervised learning with a distal teacher. Cognitive Modeling. The MIT Press; 2002. 223–56. doi: 10.7551/mitpress/1888.003.0014 [DOI] [Google Scholar]
  • 18.Telgen S, Parvin D, Diedrichsen J. Mirror reversal and visual rotation are learned and consolidated via separate mechanisms: recalibrating or learning de novo?. The Journal of Neuroscience: The Official Journal of the Society for Neuroscience. 2014. doi: 10.1523/JNEUROSCI.5306-13.2014 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Hadjiosif AM, Krakauer JW, Haith AM. Did we get sensorimotor adaptation wrong? Implicit Adaptation as Direct Policy Updating Rather than Forward-Model-Based Learning. J Neurosci. 2021;41(12):2747–61. doi: 10.1523/JNEUROSCI.2125-20.2021 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Pierella C, Casadio M, Mussa-Ivaldi FA, Solla SA. The dynamics of motor learning through the formation of internal models. PLoS Comput Biol. 2019;15(12):e1007118. doi: 10.1371/journal.pcbi.1007118 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Dal’Bello LR, Izawa J. Computational role of exploration noise in error-based de novo motor learning. Neural Netw. 2022;153:349–72. doi: 10.1016/j.neunet.2022.06.011 [DOI] [PubMed] [Google Scholar]
  • 22.Hagio S, Kouzaki M. Modularity speeds up motor learning by overcoming mechanical bias in musculoskeletal geometry. J R Soc Interface. 2018;15(147):20180249. doi: 10.1098/rsif.2018.0249 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Barradas VR, Koike Y, Schweighofer N. Theoretical limits on the speed of learning inverse models explain the rate of adaptation in arm reaching tasks. Neural Netw. 2024;170:376–89. doi: 10.1016/j.neunet.2023.10.049 [DOI] [PubMed] [Google Scholar]
  • 24.Thoroughman KA, Shadmehr R. Learning of action through adaptive combination of motor primitives. Nature. 2000;407(6805):742–7. doi: 10.1038/35037588 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Sanger TD. Failure of motor learning for large initial errors. Neural Comput. 2004;16(9):1873–86. doi: 10.1162/0899766041336431 [DOI] [PubMed] [Google Scholar]
  • 26.Kadiallah A, Franklin DW, Burdet E. Generalization in adaptation to stable and unstable dynamics. PLoS One. 2012;7(10):e45075. doi: 10.1371/journal.pone.0045075 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Harris CM, Wolpert DM. Signal-dependent noise determines motor planning. Nature. 1998;394(6695):780–4. doi: 10.1038/29528 [DOI] [PubMed] [Google Scholar]
  • 28.Clamann HP. Statistical analysis of motor unit firing patterns in a human skeletal muscle. Biophys J. 1969;9(10):1233–51. doi: 10.1016/S0006-3495(69)86448-9 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Matthews PB. Relationship of firing intervals of human motor units to the trajectory of post-spike after-hyperpolarization and synaptic noise. J Physiol. 1996;492 (Pt 2)(Pt 2):597–628. doi: 10.1113/jphysiol.1996.sp021332 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Hasson CJ, Gelina O, Woo G. Neural control adaptation to motor noise manipulation. Front Hum Neurosci. 2016;10:59. doi: 10.3389/fnhum.2016.00059 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31.Jones KE, Hamilton AF, Wolpert DM. Sources of signal-dependent noise during isometric force production. J Neurophysiol. 2002;88(3):1533–44. doi: 10.1152/jn.2002.88.3.1533 [DOI] [PubMed] [Google Scholar]
  • 32.Abdelghani MN, Lillicrap TP, Tweed DB. Sensitivity derivatives for flexible sensorimotor learning. Neural Comput. 2008;20(8):2085–111. doi: 10.1162/neco.2008.04-07-507 [DOI] [PubMed] [Google Scholar]
  • 33.Lillicrap TP, Cownden D, Tweed DB, Akerman CJ. Random synaptic feedback weights support error backpropagation for deep learning. Nat Commun. 2016;7:13276. doi: 10.1038/ncomms13276 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34.Saijo N, Gomi H. Multiple motor learning strategies in visuomotor rotation. PLoS One. 2010;5(2):e9399. doi: 10.1371/journal.pone.0009399 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Krakauer JW, Pine ZM, Ghilardi MF, Ghez C. Learning of visuomotor transformations for vectorial planning of reaching trajectories. J Neurosci. 2000;20(23):8916–24. doi: 10.1523/JNEUROSCI.20-23-08916.2000 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Berger DJ, Borzelli D, d’Avella A. Task space exploration improves adaptation after incompatible virtual surgeries. J Neurophysiol. 2022;127(4):1127–46. doi: 10.1152/jn.00356.2021 [DOI] [PubMed] [Google Scholar]
  • 37.Franklin DW, Osu R, Burdet E, Kawato M, Milner TE. Adaptation to stable and unstable dynamics achieved by combined impedance control and inverse dynamics model. J Neurophysiol. 2003;90(5):3270–82. doi: 10.1152/jn.01112.2002 [DOI] [PubMed] [Google Scholar]
  • 38.Losey DM, Hennig JA, Oby ER, Golub MD, Sadtler PT, Quick KM, et al. Learning leaves a memory trace in motor cortex. Curr Biol. 2024;34(7):1519-1531.e4. doi: 10.1016/j.cub.2024.03.003 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Fagg AH, Shah A, Barto AG. A computational model of muscle recruitment for wrist movements. J Neurophysiol. 2002;88(6):3348–58. doi: 10.1152/jn.00621.2002 [DOI] [PubMed] [Google Scholar]
  • 40.Borzelli D, Berger DJ, Pai DK, d’Avella A. Effort minimization and synergistic muscle recruitment for three-dimensional force generation. Front Comput Neurosci. 2013;7:186. doi: 10.3389/fncom.2013.00186 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Huang HJ, Kram R, Ahmed AA. Reduction of metabolic cost during motor learning of arm reaching dynamics. J Neurosci. 2012;32(6):2182–90. doi: 10.1523/JNEUROSCI.4003-11.2012 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.Werfel J, Xie X, Seung HS. Learning curves for stochastic gradient descent in linear feedforward networks. Neural Comput. 2005;17(12):2699–718. doi: 10.1162/089976605774320539 [DOI] [PubMed] [Google Scholar]
  • 43.Wei K, Körding K. Uncertainty of feedback and state estimation determines the speed of motor adaptation. Front Comput Neurosci. 2010;4:11. doi: 10.3389/fncom.2010.00011 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Sugiyama T, Schweighofer N, Izawa J. Reinforcement learning establishes a minimal metacognitive process to monitor and control motor learning performance. Nat Commun. 2023;14(1):3988. doi: 10.1038/s41467-023-39536-9 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Barradas VR, Kutch JJ, Kawase T, Koike Y, Schweighofer N. When 90% of the variance is not enough: residual EMG from muscle synergy extraction influences task performance. J Neurophysiol. 2020;123(6):2180–90. doi: 10.1152/jn.00472.2019 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46.Krogh A, Hertz JA. A simple weight decay can improve generalization. In: Proceedings of the 4th International Conference on Neural Information Processing Systems. 1991. 950–7. [Google Scholar]
  • 47.Hirashima M, Nozaki D. Learning with slight forgetting optimizes sensorimotor transformation in redundant motor systems. PLoS Comput Biol. 2012;8(6):e1002590. doi: 10.1371/journal.pcbi.1002590 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48.Overduin SA, d’Avella A, Carmena JM, Bizzi E. Microstimulation activates a handful of muscle synergies. Neuron. 2012;76:1071–7. doi: 10.1016/j.neuron.2012.10.018 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Takei T, Confais J, Tomatsu S, Oya T, Seki K. Neural basis for hand muscle synergies in the primate spinal cord. Proc Natl Acad Sci U S A. 2017;114(32):8643–8. doi: 10.1073/pnas.1704328114 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.Cheung VCK, Piron L, Agostini M, Silvoni S, Turolla A, Bizzi E. Stability of muscle synergies for voluntary actions after cortical stroke in humans. Proc Natl Acad Sci U S A. 2009;106(46):19563–8. doi: 10.1073/pnas.0910114106 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Berger DJ, Masciullo M, Molinari M, Lacquaniti F, d’Avella A. Does the cerebellum shape the spatiotemporal organization of muscle patterns? Insights from subjects with cerebellar ataxias. J Neurophysiol. 2020;123(5):1691–710. doi: 10.1152/jn.00657.2018 [DOI] [PubMed] [Google Scholar]
  • 52.Chen H, Hua SE, Smith MA, Lenz FA, Shadmehr R. Effects of human cerebellar thalamus disruption on adaptive control of reaching. Cereb Cortex. 2006;16(10):1462–73. doi: 10.1093/cercor/bhj087 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53.Fabre-Thorpe M, Levesque F. Visuomotor relearning after brain damage crucially depends on the integrity of the ventrolateral thalamic nucleus. Behav Neurosci. 1991;105(1):176–92. doi: 10.1037//0735-7044.105.1.176 [DOI] [PubMed] [Google Scholar]
  • 54.Cheung VCK, Cheung BMF, Zhang JH, Chan ZYS, Ha SCW, Chen C-Y, et al. Plasticity of muscle synergies through fractionation and merging during development and training of human runners. Nat Commun. 2020;11(1):4356. doi: 10.1038/s41467-020-18210-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55.Cheung VCK, Turolla A, Agostini M, Silvoni S, Bennis C, Kasi P, et al. Muscle synergy patterns as physiological markers of motor cortical damage. Proc Natl Acad Sci U S A. 2012;109(36):14652–6. doi: 10.1073/pnas.1212056109 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 56.Gonzalez Castro LN, Hadjiosif AM, Hemphill MA, Smith MA. Environmental consistency determines the rate of motor adaptation. Curr Biol. 2014;24(10):1050–61. doi: 10.1016/j.cub.2014.03.049 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 57.Herzfeld DJ, Vaswani PA, Marko MK, Shadmehr R. A memory of errors in sensorimotor learning. Science. 2014;345(6202):1349–53. doi: 10.1126/science.1253138 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 58.McDougle SD, Ivry RB, Taylor JA. Taking Aim at the Cognitive Side of Learning in Sensorimotor Adaptation Tasks. Trends Cogn Sci. 2016;20(7):535–44. doi: 10.1016/j.tics.2016.05.002 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 59.Wolpert DM, Ghahramani Z, Jordan MI. An internal model for sensorimotor integration. Science. 1995;269(5232):1880–2. doi: 10.1126/science.7569931 [DOI] [PubMed] [Google Scholar]
  • 60.Pekny SE, Izawa J, Shadmehr R. Reward-dependent modulation of movement variability. J Neurosci. 2015;35(9):4015–24. doi: 10.1523/JNEUROSCI.3244-14.2015 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 61.Dhawale AK, Smith MA, Ölveczky BP. The Role of Variability in Motor Learning. Annu Rev Neurosci. 2017;40:479–98. doi: 10.1146/annurev-neuro-072116-031548 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 62.Sternad D. It’s Not (Only) the Mean that Matters: Variability, Noise and Exploration in Skill Learning. Curr Opin Behav Sci. 2018;20:183–95. doi: 10.1016/j.cobeha.2018.01.004 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 63.Hug F, Avrillon S, Ibáñez J, Farina D. Common synaptic input, synergies and size principle: Control of spinal motor neurons for movement generation. J Physiol. 2023;601(1):11–20. doi: 10.1113/JP283698 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 64.Albert ST, Shadmehr R. The neural feedback response to error as a teaching signal for the motor learning system. J Neurosci. 2016;36(17):4832–45. doi: 10.1523/JNEUROSCI.0159-16.2016 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 65.Kawato M, Gomi H. A computational model of four regions of the cerebellum based on feedback-error learning. Biol Cybern. 1992;68(2):95–103. doi: 10.1007/BF00201431 [DOI] [PubMed] [Google Scholar]
  • 66.Liu X, Scheidt RA. Contributions of online visual feedback to the learning and generalization of novel finger coordination patterns. J Neurophysiol. 2008;99(5):2546–57. doi: 10.1152/jn.01044.2007 [DOI] [PubMed] [Google Scholar]
  • 67.Yang C, Ganesh G, Haddadin S, Parusel S, Albu-Schaeffer A, Burdet E. Human-like adaptation of force and impedance in stable and unstable interactions. IEEE Trans Robot. 2011;27(5):918–30. doi: 10.1109/tro.2011.2158251 [DOI] [Google Scholar]
  • 68.Kamboj A, Ranganathan R, Tan X, Srivastava V. Human motor learning dynamics in high-dimensional tasks. PLoS Comput Biol. 2024;20(10):e1012455. doi: 10.1371/journal.pcbi.1012455 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 69.Kasuga S, Telgen S, Ushiba J, Nozaki D, Diedrichsen J. Learning feedback and feedforward control in a mirror-reversed visual environment. J Neurophysiol. 2015;114(4):2187–93. doi: 10.1152/jn.00096.2015 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 70.Regis RG. On the properties of positive spanning sets and positive bases. Optim Eng. 2016;17:229–62. doi: 10.1007/s11081-015-9286-x [DOI] [Google Scholar]
  • 71.Bjorck A, Golub GH. Numerical methods for computing angles between linear subspaces. Mathematics of Computation. 1973;27(123):579. doi: 10.2307/2005662 [DOI] [Google Scholar]
PLoS Comput Biol. doi: 10.1371/journal.pcbi.1012834.r001

Decision Letter 0

Tomohiko Takei

6 May 2025

-->PCOMPBIOL-D-25-00179

A modular architecture for trial-by-trial learning of redundant muscle activity patterns in novel sensorimotor tasks

PLOS Computational Biology

Dear Dr. Rebelo Dal'Bello,

Thank you for submitting your manuscript to PLOS Computational Biology. After careful consideration, we feel that it has merit but does not fully meet PLOS Computational Biology's publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

Please submit your revised manuscript within 60 days Jul 06 2025 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at ploscompbiol@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pcompbiol/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

* A rebuttal letter that responds to each point raised by the editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'. This file does not need to include responses to formatting updates and technical items listed in the 'Journal Requirements' section below.

* A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.

* An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, competing interests statement, or data availability statement, please make these updates within the submission form at the time of resubmission. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter

We look forward to receiving your revised manuscript.

Kind regards,

Tomohiko Takei

Guest Editor

PLOS Computational Biology

Andrea E. Martin

Section Editor

PLOS Computational Biology

Additional Editor Comments :

The three reviewers recognize the significance of this study, which aims to integrate three learning components—control policy, synergy structure, and internal forward model—within the virtual surgery paradigm. They also highlight the need for more detailed presentation of the results and a deeper discussion of their implications. A key recommendation is to include a discussion comparing the present findings with previous and alternative models. Please use this feedback to revise the manuscript.

Journal Requirements:

1) Please upload all main figures as separate Figure files in .tif or .eps format. For more information about how to convert and format your figure files please see our guidelines:

https://journals.plos.org/ploscompbiol/s/figures

2) We have noticed that you have uploaded Supporting Information files, but you have not included a complete list of legends. Please add a full list of legends for all the Supporting Information files after the references list. We noted that S1 figure is labeled as S7 fig in the supporting information legend. Please correct the label of the figure.

Reviewers' comments:

Reviewer's Responses to Questions

Reviewer #1: The authors introduce a computational model of trial-by-trial generation and learning of muscle activity to test the modularity framework. They test the model on isometric force tasks with visuomotor rotations as well as compatible and incompatible virtual surgeries, consistent with prior experimental data from the group. They find that indeed their model that includes modularity explains the experimental virtual surgery data.

There are a few things that I think would improve clarity and readability of the manuscript

1. The introduction and discussion are on the longer side and could benefit from more succinct language. In the introduction, for example, there is good contextualizing of this work within the existing literature but does not state the findings from this paper. It could be clearer on what is new and novel about this model. A structure that describes the three simulations they present would be helpful (this information exists elsewhere in the paper but it’s buried in the methods). By doing so, it will be very clear what this work is adding to the existing literature and also easier to follow what the take-aways are.

2. There is a lack of statistics in the main body of the manuscript. The statistics are all in supplemental tables. It would be nice to include some indication of the statistically significant differences in the figures themselves. Especially because there are some comparisons that are statistically different but it is difficult to see differences in the figures themselves. Something like a bar along the top that shows the cycles for which there is a statistical difference would be helpful.

3. There are multiple statements that the models are consistent with the data of the compatible and incompatible surgeries. If possible, I think it could be very helpful to include the experimental data findings alongside the model outputs for direct comparison.

Minor concerns

1. I don’t understand the inclusion of the visuomotor rotation perturbation. If the model is meant to test de novo learning, visuomotor rotations are much more similar to adaptation than de novo learning. Also, there isn’t much difference between the modeling of visuomotor rotations and the compatible virtual surgeries. If it is included because visuomotor rotations are well-studied and thus is serves as a good benchmark for the model, that should be more explicitly stated.

2. In Figure 1, how is the back propagation of the force error through the forward model shown? There are many dashed lines but only one with an arrowhead on the dashed lines. Are those lines supposed to indicate the feedback?

3. I would benefit from more handholding in the descriptions of the Null space, Nc space and the Nnc space. I am not sure I understand what the “null space of the baseline task space” means. The description at Line 356-358 makes me think that the baseline task space and the null space are force spaces but they are described as “different subspaces in muscle activity space.”

4. The paragraph starting at Line 430 is difficult to follow. There are lots of pairwise comparisons that are summarized in a supplementary table. However, it is not easy to parse what the take-aways from all these comparisons are. Also, rather than just reporting that the reconstruction quality increases or decreases it would be helpful to describe what an increase/decrease means.

Specific comments

Line 367: should “force error” be “force magnitude error”?

Line 392: towards each of the 8 targets meaning one trial to each target? Or, eight trials to each target?

Figure 3: it would be helpful to label each panel with a number. This would simplify the callouts from the text.

Reviewer #2: 1. Summary of the manuscript

The authors presented the computational model of trial-by-trial learning of redundant muscle activity patterns during isometric force perturbation tasks under various perturbations such as visuomotor rotation and virtual surgery. A key feature of the proposed model is the assumption that the motor system operates through a modular control architecture. In this framework, muscle activity is generated by flexibly combining a small set of predefined spatial muscle synergies. These synergies are recruited through the control policy, which maps a desired force into specific combinations of synergies. The resulting muscle activation is then transformed into endpoint force via an internal model of the musculoskeletal system. Importantly, the model incorporates learning mechanisms in which the control policy, the muscle synergy structure, and the internal forward model are all updated based on sensory prediction errors. This allows the system to gradually refine the structure of its motor output and its internal understanding of how muscle activity generates force.

Through simulations, the authors show that successful adaptation, especially under incompatible virtual surgeries where the baseline synergies can no longer span the force space, requires both structural updates to W and Z. The model also highlights the role of regularization in effort minimization and reproduces several experimental phenomena, such as aftereffects and changes in muscle activity structure. Overall, the model offers a mechanistic explanation for how the motor system may learn and adapt complex motor tasks through a redundant body by updating all levels of modular architecture.

2. Comments

The authors begin by systematically examining how the behavior of the model changes depending on different parameter settings, including the learning rates and regularization strengths applied to various components. Following this, they demonstrate that to successfully reproduce key findings from previous virtual surgery experiments, it is necessary to allow learning to occur across all levels of modular architecture, including the control policy, the synergy structure, and the internal forward model.

One major comment is that the manuscript would benefit from more intuitive explanations of the model’s behavior under certain conditions.

* I would appreciate a clearer discussion of why, during the washout phase, the force magnitude error remains large when both the control policy and the synergy structure are updated and why this phenomenon does not occur when only the synergy structure is updated. A mechanistic explanation would help the reader better understand the implications of updating different layers of the modular architecture (line 449).

* The simulation results of this model are quite intuitive: when force cannot be generated in the task space, the system appears to redirect activity into the task null space. However, I am struggling to fully understand why such a simple gradient-based model, updating the synergy matrix W using a force-to-muscle mapping derived from the internal forward model ^ ⊤, can produce such a task-space to null-space reallocation of activity. Given that the control policy Z is also updated based on a similar gradient derived from the same error signal, I would like to better understand how this redistribution emerges. Does this transition reflect a division of roles between the two parallel learning pathways (i.e., synergy structure vs control policy)? More specifically, how does the model determine that the task space is no longer sufficient and that expanding into the null space is necessary? An explicit discussion of the complementary or competing contributions of W and Z during this process would help clarify the source of the observed structural reorganization in the muscle activity space. (Line 530)

Another concern is that the model appears to be configured in a way that closely reproduces known experimental outcomes, but it is less clear whether it provides new insights or explanatory mechanisms beyond what is already known. In other words, rather than clarifying the underlying principles of motor adaptation, the model may simply be encoding prior empirical findings into its structure.

* One promising direction that could be further explored or discussed is how the model might help explain individual differences in motor adaptation. The authors demonstrate that the model's behavior changes substantially depending on the parameter settings—such as the relative learning rates of the control policy and synergy structure or the accuracy of the internal forward model (Fig. 3-5). These factors may map meaningfully onto inter-individual variability observed in experimental data. For example, participants with greater baseline variability might correspond to a less accurate internal model, while others with more consistent baseline performance may reflect more refined internal representations. If the authors have access to such participant-level data showing that (e.g.,) the variability in the baseline trial is correlated with the learning speed in the incompatible perturbation, it would be highly valuable to explore whether individual differences in adaptation can be predicted by the model under different parameter combinations. Even if such data are not currently available, we believe that acknowledging this possibility in the discussion would highlight the model’s potential for generalization and translational relevance.

* Another point worth expanding is the distinction between modifying existing muscle synergies versus increasing the dimensionality of control—a key theoretical question in motor control that is briefly mentioned as a limitation (Line 749). Their proposed model allows for structural updates to the synergy matrix W, which could be interpreted as reorganizing existing synergies. I wonder whether it is good to compare their proposed model with alternative models, particularly ones that assume fixed muscle synergies but increased control dimensionality as a means of adaptation. For example, I would argue that the large decrease in R² through the incompatible perturbation observed in the simulation of the proposed model supports the necessity of structural change in synergy composition rather than merely increasing control dimensionality. If the adaptation could be accomplished simply by recruiting additional dimensions, one would expect R² to remain relatively stable (Line 446). In contrast, while the authors interpret the larger decrease in R² observed experimentally during incompatible surgeries as a potential sign of higher-dimensional control strategies, another possibility is that both structural reorganization and increased control dimensionality are engaged simultaneously in adaptation. It might be worth clarifying this point and reconsidering the interpretation considering this alternative perspective (Line 449).

* Another interesting implication of the current model is that residual changes in the structure of muscle activity after adaptation to an incompatible perturbation—such as the incomplete recovery of R² or the persistently elevated muscle activity norm during washout—may influence subsequent motor learning.

For instance, Berger et al. (2023) showed that prior exposure to an incompatible virtual surgery affected the adaptation to a subsequent compatible surgery, resulting in reduced reconstruction quality and increased reaction times—whereas the reverse order had no such effect. This raises the question: Can the current model reproduce such history-dependent learning asymmetries? If so, demonstrating this would greatly enhance the explanatory power of the model (Line 463).

Lastly, as the model components (e.g., synergy structure, control policy, internal forward model) are meant to reflect functional modules in motor control, it would be valuable to include at least a brief discussion of how these elements might relate to neuroanatomical substrates. While the simulations reproduce a range of experimental findings, it remains somewhat unclear why this architectural design is necessary or advantageous beyond its ability to match known data. I wonder whether this architecture is robust to environmental changes or motor noise.

3. Conclusion

Overall, I find this work a valuable contribution to the field of computational motor control. That said, I believe that the manuscript would benefit from further clarification of the model’s mechanisms and assumptions, as well as a deeper discussion of its limitations and comparison with other hypotheses, as these revisions are likely to substantially improve the clarity and significance of the work.

Reviewer #3: This study proposes a computational model of motor learning in tasks involving isometric force generation with the arm. In particular, the study models learning in 3 different tasks: a visuomotor rotation (a transformation in force space), a compatible virtual surgery, and an incompatible virtual surgery (transformations in muscle space). Here, the brain-body system is modeled as a system with 4 main components: 1. A feedforward controller that transforms a desired arm end-point force into a low-dimensional motor command, 2. Muscle synergy modules which transform the low-dimensional motor command into the muscle activations of a set of arm muscles, 3. An arm, represented as a linear mapping between muscle activations and end-point forces, and 4. A forward model of the arm that estimates produced forces given an efferent copy of the muscle activations. The forward model of the arm is used to transform errors in the force space into errors in the motor command space so that the feedforward controller and the muscle synergies can be adjusted to minimize errors in the 3 isometric tasks. The novelty of the study corresponds to the inclusion of learnable muscle synergies and forward model of the arm, which had not been included simultaneously in previous modeling studies. By assuming that learning in the feedforward controller is faster than learning in the muscle synergy structure, and that learning of the forward model of the arm occurs slowly, the study qualitatively replicates task behavior and muscle activity observed in previous experiments.

The study is interesting and gives a complementary view of learning in tasks that require the acquisition of new spatial muscle activation patterns, but there are some major issues that need to be addressed:

1. Based on the equations that define the model (plant and gradients), muscle activations do not seem to be restricted to be non-negative. This is very important, as negative activation of muscles would result in muscles that produce pushing forces, which is not biologically feasible. As a workaround, it seems like the feedforward controller was initialized in a region of parameter space that tends to produce non-negative muscle activations (Line 240). However, there is no guarantee that this will remain to be the case during learning, especially for the incompatible virtual surgery, where the synergy weights don’t seem to be restricted either. It is difficult to be confident in the interpretability of the results without guaranteeing non-negative muscle activations.

2. The addition of motor noise in muscle activity has no bearing in the learning process. That is, the noise does not inform any aspect of the learning algorithm as in previous studies of this task (DalBello and Izawa, 2022). Performance in Fig 2A suggests that noise is quite large. At best, the inclusion of noise adds some biological plausibility to the model, but its relevance in the current study is unclear. At worst, a) It might produce biologically implausible results, and b) It obscures the results of the simulations, increasing the difficulty of result interpretation.

a. Because the model does not guarantee non-negative muscle activations, in some cases, noise may pull down the motor command to be negative.

b. The R^2 reconstructions shown in Fig. 3 suggest that noise may affect this metric in an important way. In the case where only the control policy is updated (synergies are fixed), there is a drop in the R^2 metric for the rotation and compatible tasks. All motor commands are produced by the fixed synergies, so the only reason that I can think for this drop is motor noise. At the same time of this drop in R^2, there is an increase in the size of the motor command. Because the noise is signal dependent, the larger the motor command, the larger the magnitude of the noise. Therefore, there is a strong possibility that noise might be a confounding factor in the dips seen in R^2. This is especially worrisome for the case of the incompatible surgery when both control policy and synergies are updated. The motor command in this case becomes very large. Therefore, it is difficult to attribute this drop in R^2 exclusively to the model configuration (update of control policy and synergies). Given that this drop in R^2 is the main result of the study, this issue needs clarification. Therefore, I recommend running a round of simulations without any motor noise.

3. Even though the learning of the forward model is a central component in the current model, no learning curves of how the forward model is learned are shown. That is, the time course of the prediction error throughout the task is not available. It would be insightful to see the time scale of learning in this model compared to the time scale of learning in the overall task. For example, the results of Pierella et al. 2019 suggest that the forward model is learned significantly faster than the control policy. This would shed light on how the selection of the learning rate parameters in the current model affect the results of the simulation. It is mentioned that the specific values of the parameters were selected through an analysis to qualitatively reproduce experimental results (Line 310-316). It would be important to discuss more granularly under what conditions these results hold.

4. The presentation of the study emphasizes the contrast between the merits of previous models and the current model, and suggests the current model is superior. Here, the cause of the difference between learning speed in compatible and incompatible synergies is attributed to the difference in learning rates between the control policy and the muscle synergies in conjunction with slow learning of an inverse model. Other models have attributed this difference to:

a. The structure of exploration noise and its interaction with both types of surgeries (task-relevant and non-task relevant noise) (DalBello and Izawa, 2022). In this case, the strength of the current model is argued to be the inclusion of modularity in the model, but it seems trivial to include modularity in the DalBello and Izawa study to get similar results, so the comparison seems quite superficial.

b. The structure of the error surface in the learning parameter space (Barradas et al, 2024). In this case, the strength of the current model is argued to be the inclusion of learnable synergies and forward model. However, an analysis of the Hessian of the error surface in the current model is not provided. Therefore, it is not clear what the predictions of the Barradas et al study are in the current architecture. The goal of the Barradas et al paper is to show the influence of the structure of the parameter space on motor learning, and not necessarily to define an architecture for learning the virtual surgery task.

The bottom line here is that in the real world there are likely many parallel factors that bring about the difference in learning rates between the compatible and incompatible virtual surgeries and other tasks. Therefore, rather than presenting a false dilemma between “competing” explanations, it would be more insightful to compare how these explanations interact with each other.

5. The extent of the predictions of the model are limited to previously observed data. The current model could be more impactful if it could be used to make predictions for future experiments in the virtual surgery and other tasks. Perhaps the results of the projections of the motor commands onto the different task and synergy spaces could be a way to do this.

Minor comments:

1. The paper does not follow the typical format of the PLOS Computational Biology journal (Order of sections).

2. The structure of the forward model is assumed to be known a priori. What would be the influence of using a more realistic structure? How do the results depend on the choice of forward model mapping? For example: What if the forward model is a general function approximator like the control policy network? What if the forward model maps synergy activation coefficients to predicted forces instead of muscle activations to predicted forces?

3. Awkward phrasing in some parts. For example:

a. Line 173-176: which assumed that the “knowledge” of the environment is “known” a priori

b. Line 175: visualized or realized?

c. Line 235: circle distant 0.5 from the

d. Line 251: surgeries were initialized or defined?

e. Line 303: “of and with synergies”

f. Line 342: Awkward definition of force direction error

4. In Fig. 1 it is not immediately clear what the figures above the diagram of the model are. They are the H mapping, the W matrix and…

5. Given that the H and W matrices were generated artificially across 16 different initializations, why not make many more initializations?

6. Line 263: Maybe include Index of difficult equation in supplementary material?

7. Fig. 2 contains results but it is in the Methods section.

8. It sounds artificial to introduce the regularization term as such, when it can be completely derived from the gradient of the effort defined as the sum of squared muscle activations.

9. It is more natural to justify the value of the regularization as a trade-off between error and effort units rather than as a percentage of the learning rate.

10. Line 354 – 361: The purpose of analyzing the motor command projection in different spaces should be explained here.

11. It would be nice to see a comparison with the previously published experimental results to confirm that the difference in learning speed of compatible and incompatible surgeries is relatively similar to the simulations.

12. It is unclear why statistical comparisons are performed between the visuomotor rotation and the virtual surgeries. What knowledge is gained from this?

13. Fig 3: The aftereffect for the error in the simulations appear much larger than what has been found experimentally. I could not find the actual value in the Berger et al 2013 paper, as the first washout block is averaged across many trials.

14. Line 476 – 484: Discussion material, not results. This is true in other paragraphs too.

15. Fig. 4: It would be useful to clarify what the projection onto the baseline task is.

16. Fig. 5: Why doesn’t the error increase at washout in the ideal forward model case for the incompatible surgery?

17. Please include a README file with instructions to run the Matlab scripts.

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

Figure resubmission:

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org. Please note that Supporting Information files do not need this step. If there are other versions of figure files still present in your submission file inventory at resubmission, please replace them with the PACE-processed versions.

Reproducibility:

To enhance the reproducibility of your results, we recommend that authors of applicable studies deposit laboratory protocols in protocols.io, where a protocol can be assigned its own identifier (DOI) such that it can be cited independently in the future. Additionally, PLOS ONE offers an option to publish peer-reviewed clinical study protocols. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols

-->

PLoS Comput Biol. doi: 10.1371/journal.pcbi.1012834.r003

Decision Letter 1

Tomohiko Takei

7 Sep 2025

-->PCOMPBIOL-D-25-00179R1

A modular architecture for trial-by-trial learning of redundant muscle activity patterns in novel sensorimotor tasks

PLOS Computational Biology

Dear Dr. Rebelo Dal'Bello,

Thank you for submitting your manuscript to PLOS Computational Biology. After careful consideration, we feel that it has merit but does not fully meet PLOS Computational Biology's publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

Please submit your revised manuscript within 60 days Nov 07 2025 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at ploscompbiol@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pcompbiol/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

* A rebuttal letter that responds to each point raised by the editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'. This file does not need to include responses to formatting updates and technical items listed in the 'Journal Requirements' section below.

* A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.

* An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, competing interests statement, or data availability statement, please make these updates within the submission form at the time of resubmission. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter

We look forward to receiving your revised manuscript.

Kind regards,

Tomohiko Takei

Guest Editor

PLOS Computational Biology

Andrea E. Martin

Section Editor

PLOS Computational Biology

Additional Editor Comments:

The reviewers acknowledge that your revision has substantially improved the clarity and strength of the manuscript. In particular, the additional simulations have helped substantiate several of the main claims. However, the reviewers have also emphasized the necessity to more explicitly elaborate on the differences between the model predictions and the experimental observations. Accordingly, I would like to ask you to revise the manuscript to provide a clearer discussion of these discrepancies and, where possible, to clarify potential mechanisms that may account for them.

Journal Requirements:

1) We have noticed that you have uploaded Supporting Information files, but you have not included a complete list of legends. Please add a full list of legends for your Supporting Information files (processed data.zip) after the references list.

Note: If the reviewer comments include a recommendation to cite specific previously published works, please review and evaluate these publications to determine whether they are relevant and should be cited. There is no requirement to cite these works unless the editor has indicated otherwise.

Reviewers' comments:

Reviewer's Responses to Questions

Reviewer #1: I thank the authors for their careful responses to my feedback and their revisions to the manuscript. They have largely addressed my concerns. I have only a few remaining comments:

1. The inclusion of the experimental data figure panels are helpful. It would be even more helpful if the y-axes were the same scale. In B and C, is ‘angular error’ the same as ‘force direction error’? If so, consistent labels would be clearer.

2. Line 325-327: “…under all 3 combinations of learning rates.” Is the comparison really between different learning rates or is the comparison between different learning ‘modes’, i.e., updating synergies vs the forward model?

3. Line 329-332: “While a decrease in the reconstruction quality suggests that the structure of the underlying muscle synergies have changed compared to the baseline, this is not possible in the simulations without the update of the muscle synergies.” Is this by construction? Also, it is unclear if this statement applies to the rotations and compatible surgeries or just the incompatible surgeries.

4. I found the statistics indicated in Figure 5 to be a little confusing. I think it is because it looks like the asterisk is being labeled as incompatible rather than clarifying which conditions are being compared.

5. Some of the sentences, especially in the discussion, are very long. Because of this, I found parts difficult to follow

Typos or text comments:

1. I think there is a missing word in the sentence line 295-296.

2. Line 300: missing an ‘and’ between Z and W

3. Figure 3 caption, line 314: ‘Each panel…’ should be ‘Each row…’

4. Line 361: “We also observed that both force errors did not return…” -> “We also observed that neither force error returned…”

5. Line 373: “This behavior is replicated in an additional…”

6. Line 706: What does “larger” forward model mean? Closer to ideal? Higher dimensional?

Reviewer #2: I appreciate the extensive revisions the authors have made. The revised manuscript provides a much clearer explanation of the hierarchical learning framework and its implications for motor adaptation. The authors have successfully addressed most of my previous comments, and the inclusion of additional simulations has helped substantiate several key claims. Overall, I find the manuscript substantially improved and believe it now presents a compelling mechanistic account of trial-by-trial motor learning in a modular system.

That said, I have three remaining comments that I encourage the authors to consider to further clarify and strengthen their contribution:

Comment

Clarifying the Temporal Profile of Muscle Activity Redistribution (Figure 4):

In the discussion surrounding Figure 4 (lines 434–472), the authors describe a progression in which muscle activity, particularly under the incompatible surgery condition, initially increases in the baseline task space and is later redistributed into the N_nc space. While this explanation is informative and plausible, it gives the impression of a sequential transition: that is, the baseline component increases first, followed by a delayed rise in N_nc activity.

However, upon close inspection of Figure 4, the time courses of the baseline and N_nc projections appear to rise concurrently during the initial learning phase. The more striking difference lies in the sustained elevation of the N_nc norm, whereas the baseline component tends to plateau. This suggests that both subspaces may be recruited in parallel, and that N_nc reflects more lasting structural adaptation.

If the authors intend to argue for a sequential transition from baseline to N_nc, we recommend including a quantitative comparison of onset latencies or rise times between these components to support this interpretation. Alternatively, we suggest revising the text to clarify that both subspaces are likely co-recruited early in learning, with N_nc becoming more prominent over time. Additionally, since the incompatible condition demonstrates the clearest structural reorganization, the authors might consider including a consolidated figure overlaying the time courses of the baseline, N_c, and N_nc norms for this condition. This would facilitate a more direct comparison and enhance the clarity of the redistribution dynamics.

Linking Findings to Broader Principles in Motor Learning:

The proposed model provides a sophisticated and compelling explanation of motor adaptation under virtual surgery conditions. However, its significance could be further enhanced by more clearly linking it to general principles and findings in the motor learning literature.

For example, the observed reduction in the norm of muscle activity through regularization is consistent with well-established findings that prolonged practice leads to a reduction in effort or control cost (Huang et al., J Neurosci, 2012). Additionally, it is known that learning is often impaired in inconsistent environments (Castro et al., Curr Biol 2014). Discussing how the current model accounts for such findings—or how it might behave under such conditions—would help position it more broadly within motor learning theory.

By explicitly highlighting these connections in the Discussion, the authors could more clearly situate the model within the broader context of sensorimotor learning research.

Probing the Role and Implementation of Noise in the Model

Furthermore, the model’s finding that forward model learning is facilitated by motor noise is consistent with the results of Wu et al. (2014), which showed that higher baseline variability predicts faster learning.

However, in the current implementation, noise is added only at the motor output level, and not to internal representations or prediction errors. Providing a rationale for this modeling choice would help deepen readers’ understanding. Additionally, discussing how the model’s behavior or predictions might change if noise were introduced at other levels—such as the forward model or internal state estimation—would strengthen the theoretical generality and applicability of the model.

Conclusion

Overall, this revised manuscript represents a significant step forward. The authors have responded thoughtfully to prior comments and clarified many key mechanisms in the model. The proposed modular learning framework is compelling and well-grounded in experimental observations. That said, addressing the remaining points—particularly the temporal interpretation of redistribution dynamics and the model’s relation to broader principles in motor learning—will help enhance both clarity and theoretical reach. I believe these refinements will make the paper more informative and impactful for the motor control and computational neuroscience communities.

Reviewer #3: Thank you for your thorough response to my comments. However, I think that the claim the study makes of providing a good fit to the experimental data is not fully supported. First, no formal fits to the data are provided or quantified, so it’s hard to claim a good fit to the data. Second, even though the model can produce dips in the R^2 metric during exposure to the incompatible surgery, the magnitudes of these dips remain considerably smaller than those observed experimentally, and only a fraction of the total dip in the model seems to be attributable to the proposed computational framework, with the other component coming from motor noise. See my response to comment 2 for a more in-depth discussion of the issue. I would recommend softening the claims of the paper, or performing additional supporting analyses. Additionally, I am including below other observations to some of the authors’ responses. I use the same enumeration as in my original review.

Main comments

1. This explanation helps to clarify the handling of the non-negativity constraint on muscle activations. Setting any resulting negative weights in the Z and W matrices to zero during learning would indeed ensure that muscle activations remain non-negative, provided that the network’s RBF input is also non-negative, which is guaranteed by their definition as Gaussian. However, a remaining small issue with this method is that the gradient component from these zero-weights could vanish, which could have some implications for learning. Could the authors report if this happened in the simulations, and how often if so?

2. After removing the motor noise, the R^2 value indeed drops noticeably during the incompatible surgery in comparison with the other conditions. I agree that this does show that the structure of the synergies W changes more during this model condition than in the other conditions. However, as the authors acknowledge (Line 350), the value of the dip in R^2 observed in the simulations is much smaller than that observed experimentally. Seeing as motor noise has a considerable contribution to the dip in R^2 (S2 Text), the size of the effect of control policy and synergy updates on R^2 predicted by the simulation appears now even smaller. Could the authors elaborate on why this difference with the experimental results is so large? The authors mention in the discussion section that cognitive processes might account for a portion of this additional drop in R^2 through the regulation of motor exploration. However, this would imply that the cognitive system can voluntarily produce explorative actions in muscle activation spaces outside of the spaces spanned by both the baseline and the newly learned synergies (if these actions are in the space of the newly learned synergies, the values of R^2 should not change with respect to the condition without this kind of explorative actions). What voluntary motor control processes would allow for this kind of motor exploration? To my knowledge, only a few plausible mechanisms come to mind: 1. Individual muscle control. 2. Production of high forces to engage signal-dependent motor noise that the system can somehow cognitively identify. 3. Engagement of additional muscle synergies that were not expressed in the baseline force task (i.e. synergies that produce forces out of plane). I think that more concrete hypotheses are needed, seeing as the update in muscle synergies by itself cannot account for the whole decrease in R^2.

Additionally, I now realize that these simulations offer a perfect opportunity to assess what the concrete changes in muscle synergy structure are after exposure to the incompatible surgery, and to relate them to the observed decreases in the R^2 metric. This is hard to perform experimentally as a large amount of stable data is needed to extract reliable muscle synergies. Therefore, extracting muscle synergies at the end of an experiment to directly compare them to the synergies before the experiment is hard to consider, and the R^2 metric is a clever way to assess the divergence of the muscle activation spaces. However, this model allows to perform this comparison directly. Informative outcomes like the similarity of the pre- and post- learning synergy sets, or the synergy forces spanning the horizontal plane can be studied, and correlated to the decreases in the R^2 metric. I apologize to the authors for not proposing this previously, but I think such an analysis would strengthen the study’s results.

3. I think it would be beneficial to include in the main text the explanation about the role of the exploration noise contributing to the acquisition of a richer forward model, leading to faster learning overall, as detailed in the last paragraph of the supplementary material. Otherwise, without any motivating context, the lack of explicit interaction of motor noise in the system’s learning equations may seem puzzling at first sight.

4. Thank you for including the figures showing the time course of force prediction error for the three model conditions. I think it makes sense that learning the forward model for the incompatible surgery has a faster component than the other two tasks. This is because the dimensionality of the incompatible task is reduced, so it is qualitatively “simpler” to learn (the force goes either in one direction or the opposite direction, at least at the beginning of learning). It then seems to reach a bottleneck. It would be interesting to see what happens if the model is allowed to continue learning the incompatible surgery. Can it totally eliminate the task error, and will the learning of the forward model be complete by then?

Regarding the sensitivity analysis for the learning rate of the forward model in Figure S4.C, from these figures it seems like the effect of the forward model learning rate on the size of the change of R^2 only has a marginal effect. That is, it seems to make the left tail of the shown distributions heavier, but the bulk of the simulations still show very little change (the means are quite close to zero). This may be a little misleading because these simulations presumably include many instances where learning of the control policy and synergies is very slow. This is evidenced from the fact that the mean change in the simulations (red line) is quite different from the mean of these histograms. Is there a way to visualize more directly the effect of the forward model learning rate? For example, by showing additional histograms when the other two learning rates (control policies and synergies) are fixed? Or subdividing each histogram bar into different color blocks indicating the combination of parameters used (there are only 8 combinations, right)?

5. Thank you for your perspective on my comment. I consider that both supplementary materials S2 and S4 contribute to a stronger analysis of the presented model and its relation with previous studies.

6. Thank you for providing the additional simulations supporting the Berger and d’Avella 2023 study. However, I consider that it is unclear what aspects of the model introduced here are essential to obtain this result. I suppose that this is because of the updateable weights of the muscle synergies. Because there is no memory component that would allow the system to return to the same baseline synergy structure after exposure to an incompatible surgery, it would be rather surprising if this experimental result could not be accounted for by the current model.

Minor comments:

1. No comment

2. It is a good compromise to include these points in the Discussion. However, I think it is important to emphasize there that the current model assumes that the mathematical structure of the forward model is the same as the structure of the muscle-force mapping (both are Mx2 matrices).

3. No comment

4. It’s a good idea to relate each of the insets to a block in the model. However, I think it would be illustrative to label the axes of the color maps (phi(f_x) and phi(f_y), correct?)

5. No comment.

6. No comment

7. No comment

8. I see. This is literally a regularization term as defined in machine learning. It may have a similar overall effect to minimization of effort, so no further comment.

9. No comment

10. No comment

11. It would be very helpful if the results in Figure 2 could have the same units as the experimental data (blocks vs cycles), or at least an axis that shows the correspondence between blocks and cycles.

12. The similarity between visuomotor rotations and compatible surgeries becomes evident from plots showing the forces in the plane associated to each synergy like those in Fig. 2A. The compatible surgery as defined in Berger et al 2013 will never mix up the distribution of synergy forces around the plane (the forces always stay in the same relative arrangement), so it effectively has a very similar effect to a VMR on these forces. It would be possible to create something like a mirror transformation to the baseline mapping, and this would still be compatible, but the procedure defined in Berger et al 2013 cannot produce such transformations (although it would be simple to do it manually). Therefore, the only differences between the compatible surgery and the VMR are small in the directions and magnitudes of the forces, so they should have very similar effects.

13. No comment

14. No comment

15. No comment

16. No comment

17. Thank you for including the README file. Unfortunately, I do not have access to the parallel computing toolbox, so I was not able to run the code. The README file states that the parallel computing toolbox is optional, but I don’t see a way to run the code without it. Is there an option in the script that initializes the simulations to activate/deactivate it?

Additional new comments:

The re-written sections of the paper need some proof-reading as there are plenty of typos.

Example: Line 405: “Fig. 2 illustrates the three types perturbations”

Line 417: “a modular architecture whose is slower…”

Line 469: “under different combinations of learning rates the model’s adaptive…”

Line 477: “when both Z W are updated”

Line 561: “This behavior is replicated an additional simulation…”

Line 484: Seems like a non sequitur? Because the incompatible virtual surgeries…

In summary, while the manuscript has improved substantially, I believe the central claims still need either stronger quantitative support or more cautious framing.

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

Figure resubmission:

While revising your submission, we strongly recommend that you use PLOS’s NAAS tool (https://ngplosjournals.pagemajik.ai/artanalysis) to test your figure files. NAAS can convert your figure files to the TIFF file type and meet basic requirements (such as print size, resolution), or provide you with a report on issues that do not meet our requirements and that NAAS cannot fix.-->

After uploading your figures to PLOS’s NAAS tool - https://ngplosjournals.pagemajik.ai/artanalysis, NAAS will process the files provided and display the results in the "Uploaded Files" section of the page as the processing is complete. If the uploaded figures meet our requirements (or NAAS is able to fix the files to meet our requirements), the figure will be marked as "fixed" above. If NAAS is unable to fix the files, a red "failed" label will appear above. When NAAS has confirmed that the figure files meet our requirements, please download the file via the download option, and include these NAAS processed figure files when submitting your revised manuscript.

Reproducibility:

To enhance the reproducibility of your results, we recommend that authors of applicable studies deposit laboratory protocols in protocols.io, where a protocol can be assigned its own identifier (DOI) such that it can be cited independently in the future. Additionally, PLOS ONE offers an option to publish peer-reviewed clinical study protocols. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols

PLoS Comput Biol. doi: 10.1371/journal.pcbi.1012834.r005

Decision Letter 2

Shlomi Haar

24 Dec 2025

PCOMPBIOL-D-25-00179R2

A modular architecture for trial-by-trial learning of redundant muscle activity patterns in novel sensorimotor tasks

PLOS Computational Biology

Dear Dr. Rebelo Dal'Bello,

Thank you for submitting your manuscript to PLOS Computational Biology. After careful consideration, we feel that it has merit but does not fully meet PLOS Computational Biology's publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

Please submit your revised manuscript by Feb 23 2026 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at ploscompbiol@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pcompbiol/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

* A rebuttal letter that responds to each point raised by the editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'. This file does not need to include responses to formatting updates and technical items listed in the 'Journal Requirements' section below.

* A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.

* An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, competing interests statement, or data availability statement, please make these updates within the submission form at the time of resubmission. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

We look forward to receiving your revised manuscript.

Kind regards,

Shlomi Haar, PhD

Academic Editor

PLOS Computational Biology

Andrea E. Martin

Section Editor

PLOS Computational Biology

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #1: I thank the authors for their thoughtful responses to reviewer feedback. My only remaining suggestion is that the manuscript would benefit from additional editing for clarity and concision. Several sentences are quite long and difficult to parse, and the discussion section has become rather lengthy in the process of addressing all reviewer comments. Streamlining these areas would improve readability.

Specific comments:

Line 345: “…this is not possible in the simulations without the update of the muscle synergies.” It may be more appropriate to say, “…this does not occur in the simulations without an update of the muscle synergies.” Please confirm that this wording accurately reflects the intended meaning.

Line 346-350: This sentence is quite long and difficult to parse. It would help to clarify what “observed here” (Line 347) refers to. Does “here” mean all panels in Fig. 3C or a specific panel? Also, there appears to be a typo in Line 350.

Fig. 6B: All y-axis labels should be consistent

Reviewer #2: Thank you for the thorough revisions. Although my own comments did not require substantial changes, I greatly appreciate the care with which you addressed the other reviewers’ points. These additions and clarifications have, in my view, significantly strengthened the validity and depth of the proposed model.

One of the most important improvements is the inclusion of new analyses that clarify how changes in muscle synergy structure unfold during learning. The convex-hull analysis of synergy forces and the principal-angle analysis between the synergies and the vectors defining the virtual surgeries together provide a more mechanistic explanation for the reduction in R² observed during incompatible surgeries. These analyses convincingly connect the model dynamics more directly to the experimental literature and enhance the credibility and interpretability of the simulation results. Importantly, they also reinforce the idea that this model is not merely a descriptive or reproducing framework, but one that offers insight into potential underlying mechanisms.

I also believe that the model has strong potential for further development. By linking the computational components to neural activity, individual differences, or cortical/subcortical learning mechanisms, future work could explore where and how such adaptive processes might be implemented in the brain. In this sense, the present study provides a valuable foundation for more integrative neuro-computational research.

My remaining comments are very minor and intended purely as optional suggestions to further clarify certain aspects of the manuscript. The paper is already strong as it stands, and these points are not essential for acceptance:

Recovery of the convex hull area (Fig. 5A):

The fact that the convex hull area does not fully recover after the incompatible surgery also made me think about whether this might contribute to the more pronounced decrease in R². If the synergy structure remains partially altered, the baseline muscle patterns may be less well reconstructed. A short comment on this possible relationship could further strengthen the interpretation.

Explanation of the vectors w, w′, and n (Fig. 5B):

I found the principal-angle analysis very informative, but I think the manuscript would benefit from a clearer conceptual explanation of what the three reference vectors (w, w′, n) represent. Providing a brief intuitive rationale for why these vectors were chosen, and how to interpret the angle changes with respect to each of them, would greatly help readers understand the significance of the observed synergy reorganization.

Number of model initializations (16 runs):

I noticed that the results are averaged across 16 model initializations. While this seems like a reasonable and standard choice, it may be helpful to briefly mention why this number was selected—for example, whether it reflects computational considerations or whether preliminary tests indicated that 16 runs were sufficient to stabilize the variance. This is only a minor point, and if there was no particular justification beyond practicality, a short statement to that effect would also be perfectly fine.

Regularization strength in Simulation 3:

I appreciate the comparison between the model with and without regularization. I was wondering whether the authors explored different strengths of the regularization term as well. Even a brief comment on whether varying the regularization weight changes the model’s behavior (or whether the effects remain qualitatively similar) would help clarify how sensitive the results are to this choice. Of course, if preliminary tests indicated that the strength has minimal influence, a short statement to that effect would already be helpful.

Reviewer #3: I would like to thank the authors for their efforts in addressing my concerns. I consider that the manuscript has become stronger after the revisions. I only have a couple of minor comments (the numbering follows my earlier comments), which require little or no action:

1. Thank you for the thorough response. This additional analysis suggests that the model is able to recover from gradient clipping, so the gradient does not end up vanishing. It’s interesting that the clipping is more pervasive in the incompatible surgery, suggesting that the computed gradients for the compatible surgery match the gradient of the linear network more closely than for the incompatible surgery. It would be interesting to explore the relationship between gradient clipping and the speed of learning, although this would be outside of the scope of the current study.

2. Thank you for elaborating on the possible mechanisms by which exploration with additional non-identified synergies may contribute to an increased drop in the R^2 metric, and for including the new set of simulations examining changes in the structure of muscle synergies. I would only suggest to more explicitly define the vectors w, w’ and n, as they are introduced somewhat abruptly, and might be difficult for readers to interpret at first.

3. I was able to run the provided code (do_sim_1.m and do_sim_2.m), but after the initialization stage indicated by the console output:

initialization 16/16

init 16/16, rot

init 16/16, comp

init 16/16, incomp

I encountered repeated instances of the following message:

Matrix size doesn't match, attempting to transpose matrix

The execution continued for some time, but given the repeated warnings and the long runtime, I stopped the process. It is not clear whether this behavior is expected. For reference, I ran the code on Matlab R2023a.

**********

Have the authors made all data and (if applicable) computational code underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: Yes

Reviewer #3: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.). If published, this will include your full peer review and any attached files.). If published, this will include your full peer review and any attached files.). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our For information about this choice, including consent withdrawal, please see our For information about this choice, including consent withdrawal, please see our For information about this choice, including consent withdrawal, please see our Privacy Policy....

Reviewer #1: No

Reviewer #2:Yes:Yuto MakinoYuto MakinoYuto MakinoYuto Makino

Reviewer #3: No

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

Figure resubmission:

-->While revising your submission, we strongly recommend that you use PLOS’s NAAS tool (https://ngplosjournals.pagemajik.ai/artanalysis) to test your figure files. NAAS can convert your figure files to the TIFF file type and meet basic requirements (such as print size, resolution), or provide you with a report on issues that do not meet our requirements and that NAAS cannot fix.-->-->

After uploading your figures to PLOS’s NAAS tool - https://ngplosjournals.pagemajik.ai/artanalysis, NAAS will process the files provided and display the results in the "Uploaded Files" section of the page as the processing is complete. If the uploaded figures meet our requirements (or NAAS is able to fix the files to meet our requirements), the figure will be marked as "fixed" above. If NAAS is unable to fix the files, a red "failed" label will appear above. When NAAS has confirmed that the figure files meet our requirements, please download the file via the download option, and include these NAAS processed figure files when submitting your revised manuscript.-->

Reproducibility:

To enhance the reproducibility of your results, we recommend that authors of applicable studies deposit laboratory protocols in protocols.io, where a protocol can be assigned its own identifier (DOI) such that it can be cited independently in the future. Additionally, PLOS ONE offers an option to publish peer-reviewed clinical study protocols. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols

PLoS Comput Biol. doi: 10.1371/journal.pcbi.1012834.r007

Decision Letter 3

Shlomi Haar

12 Mar 2026

Dear Dr. Rebelo Dal'Bello,

We are pleased to inform you that your manuscript 'A modular architecture for trial-by-trial learning of redundant muscle activity patterns in novel sensorimotor tasks' has been provisionally accepted for publication in PLOS Computational Biology.

Before your manuscript can be formally accepted you will need to complete some formatting changes, which you will receive in a follow up email. A member of our team will be in touch with a set of requests.

Please note that your manuscript will not be scheduled for publication until you have made the required changes, so a swift response is appreciated.

IMPORTANT: The editorial review process is now complete. PLOS will only permit corrections to spelling, formatting or significant scientific errors from this point onwards. Requests for major changes, or any which affect the scientific understanding of your work, will cause delays to the publication date of your manuscript.

Should you, your institution's press office or the journal office choose to press release your paper, you will automatically be opted out of early publication. We ask that you notify us now if you or your institution is planning to press release the article. All press must be co-ordinated with PLOS.

Thank you again for supporting Open Access publishing; we are looking forward to publishing your work in PLOS Computational Biology.

Best regards,

Shlomi Haar, PhD

Academic Editor

PLOS Computational Biology

Andrea E. Martin

Section Editor

PLOS Computational Biology

***********************************************************

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #1: I commend the authors for the substantial effort they have invested in revising this manuscript over multiple rounds of review. The revisions have been thorough and thoughtful, resulting in meaningful improvements to the manuscript. At this stage, I have no remaining concerns.

Reviewer #2: The authors have addressed my comments carefully and thoughtfully.

The manuscript provides a detailed and compelling account of how synergies expand toward the internal null space of the model and how adaptation to different perturbations is achieved within this framework. In particular, the model demonstrates strong explanatory power in accounting for behavioral patterns observed in virtual surgery experiments.

I believe this work provides a valuable foundation for future studies, including applications to BCI paradigms, more detailed descriptions of real motor behavior, and investigations into how such mechanisms may be implemented at the neural level.

I have no further concerns.

Reviewer #3: I would like to thank the authors for all their work in addressing the reviewers' comments.

I was able to run the simulation code without any issues. Thank you again!

**********

Have the authors made all data and (if applicable) computational code underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: None

Reviewer #2: Yes

Reviewer #3: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.). If published, this will include your full peer review and any attached files.). If published, this will include your full peer review and any attached files.). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our For information about this choice, including consent withdrawal, please see our For information about this choice, including consent withdrawal, please see our For information about this choice, including consent withdrawal, please see our Privacy Policy....

Reviewer #1: No

Reviewer #2: No

Reviewer #3: No

PLoS Comput Biol. doi: 10.1371/journal.pcbi.1012834.r008

Acceptance letter

Shlomi Haar

PCOMPBIOL-D-25-00179R3

A modular architecture for trial-by-trial learning of redundant muscle activity patterns in novel sensorimotor tasks

Dear Dr Rebelo Dal'Bello,

I am pleased to inform you that your manuscript has been formally accepted for publication in PLOS Computational Biology. Your manuscript is now with our production department and you will be notified of the publication date in due course.

The corresponding author will soon be receiving a typeset proof for review, to ensure errors have not been introduced during production. Please review the PDF proof of your manuscript carefully, as this is the last chance to correct any errors. Please note that major changes, or those which affect the scientific understanding of the work, will likely cause delays to the publication date of your manuscript.

Soon after your final files are uploaded, unless you have opted out, the early version of your manuscript will be published online. The date of the early version will be your article's publication date. The final article will be published to the same URL, and all versions of the paper will be accessible to readers.

For Research, Software, and Methods articles, you will receive an invoice from PLOS for your publication fee after your manuscript has reached the completed accept phase. If you receive an email requesting payment before acceptance or for any other service, this may be a phishing scheme. Learn how to identify phishing emails and protect your accounts at https://explore.plos.org/phishing.

Thank you again for supporting PLOS Computational Biology and open-access publishing. We are looking forward to publishing your work!

With kind regards,

Anita Estes

PLOS Computational Biology | Carlyle House, Carlyle Road, Cambridge CB4 3DN | United Kingdom ploscompbiol@plos.org | Phone +44 (0) 1223-442824 | ploscompbiol.org | @PLOSCompBiol

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    S1 Text. Derivations of update equations of the computational model.

    (PDF)

    pcbi.1012834.s001.pdf (181.4KB, pdf)
    S2 Text. Additional simulations of the computational model.

    (PDF)

    pcbi.1012834.s002.pdf (796.7KB, pdf)
    S3 Text. Tables with results of statistical tests performed on data from simulations.

    (PDF)

    pcbi.1012834.s003.pdf (338.1KB, pdf)
    S4 Text. Supplementary figures from the simulations in the manuscript.

    (PDF)

    pcbi.1012834.s004.pdf (529.6KB, pdf)
    S1 Dataset. MATLAB scripts and processed data to reproduce figures and analyses from the simulations in the manuscript.

    (ZIP)

    pcbi.1012834.s005.zip (2.2MB, zip)
    Attachment

    Submitted filename: Response to Reviewers.docx

    pcbi.1012834.s006.docx (46.5KB, docx)
    Attachment

    Submitted filename: Response_to_Reviewers_auresp_2.docx

    pcbi.1012834.s007.docx (230.3KB, docx)
    Attachment

    Submitted filename: Response_to_Reviewers_auresp_3.docx

    pcbi.1012834.s008.docx (23.9KB, docx)

    Data Availability Statement

    The GitHub repository with the code used in our simulations has been archived in Zenodo, and is accessible through the following DOI: https://doi.org/10.5281/zenodo.19131019 All other relevant data are in the manuscript and its supporting information files.


    Articles from PLOS Computational Biology are provided here courtesy of PLOS

    RESOURCES