Introduction

A large body of neuroimaging1,2,3 and computational4,5 research has revealed the complexity and richness of spontaneous brain activity measured at rest. It is now widely acknowledged that spontaneous brain activity is not just “noise”, but exhibits distinct spatiotemporal organization at the level of large-scale distributed neuroanatomical systems6. However, whether and to what extent spontaneous brain activity is modified to support behaviors such as sensory-motor tasks is still unclear6,7. Highlighting a functional role of the resting-state activity would be of great clinical value, potentially providing novel, rich, and sensitive biomarkers for neurological disorders, which impair patients’ ability to perform sensory-motor tasks8. These biomarkers could maximize therapeutic effects by informing personalization of therapy selection, timing, and duration9. However, mechanisms of neuronal reorganization and plasticity are inconsistent and variable at the individual level8 and, thus, their investigation entails the definition of subject-specific biomarkers. Therefore, the use of spontaneous brain activity as a biomarker of recovery mechanisms and neural deficits in neuro-motor disorders is contingent on the demonstration that: 1) this intrinsic activity plays a functional role in motor behaviors, and 2) that this relation with sensory-motor tasks can be extracted in each subject independently.

When recorded with electroencephalography (EEG), spontaneous brain activity can be represented in terms of microstates, which are brain states characterized by periods of coherent and synchronized neural activation and marked by distinctive topographies of the scalp electrical potential10,11,12. Prototypical topographies with typical durations of 50–150ms have been associated with four states that are persistently observed across the entire human life span10. They have been attributed functional relevance as well as been related to some functional magnetic resonance imaging (fMRI) resting-state networks (RSNs)11,13,14,15.

Here we tested whether subject-specific resting-state activity persists during volitional movements, how it is modified and supplemented, and whether it is predictive of motor behavior.

For each of the enrolled healthy volunteers, we extracted EEG microstates independently during upper limb movement planning and execution. Simultaneously, we recorded high fidelity (3 kHz) wireless electromyographic (EMG) activity of 15 arm and hand muscles to extract muscle synergies16,17,18 and investigate the correlation between these signals and the brain activity in each individual. Muscle synergies obtained from the decomposition of the EMG signals have been extensively proposed to study muscle coordination and motor control strategies19,20,21,22,23,24,25. Moreover, cortical motor neuron activity seems to encode the recruitment of motor primitives in the form of spatiotemporal muscular and kinematic synergies26,27,28.

We first compared individual microstates that emerged at rest against those extracted during motor tasks29. We found that some of the resting-state microstates persisted during motor behavior, but the set of brain states was supplemented with task-specific microstates as well. Second, we explored the correlation between temporal dynamics of subject-specific microstates and the emergence of muscle synergies during movement using multivariate analysis. We show that muscle synergies activation was correlated with microstates’ dynamical organization in each of the enrolled subjects. Finally, we used the subject-specific microstates occurrence to decode individual grasping movements with high accuracy in all subjects, demonstrating high degree of correlation with specific motor-tasks.

The preservation and correlation of spontaneous brain activity with task-specific motor behaviors and the corroboration of this evidence in all subjects highlight its potential to study brain plasticity and recovery processes in neuro-motor disorders.

Results

In the experiment, subjects were asked to perform pure planar reaching and reaching-and-grasping movements while high-density EEG and EMG activity was acquired. Subject-specific EEG microstates were extracted for each individual for each motor task and for resting state separately. They were identified as the best solution of the cluster analysis using cross-validation without any a priori assumptions on the number of clusters or on the minimum explained variance. Subject-specific microstates were then compared across conditions and their dynamics was correlated with muscle synergies.

Resting-state microstates are present during motor tasks

During resting state, we found a set of four microstates (A, B, C, and D; mean of optimal subject’s clusters: 4; range [2 5]) consistent across subjects (R = 0.79, Fig. 1e) and in agreement with extensive literature10,11,30 (Fig. 1b). During all the volitional motor tasks, instead, we identified up to five EEG microstates (Fig. 1b, mean across subjects: 5; range [3 7]; consistency across subjects: R = 0.68 and R = 0.76 for pure-reaching and reaching-and-grasping, respectively, Fig. 1e).

Figure 1
figure 1

EEG microstates. Subjects were asked to execute pure planar reaching movements or to reach, grasp, and hold 16 different objects with four different grasp types. A screen was used to indicate the experimental timeline. (a) Subject-specific EEG microstates were extracted for each subject and dataset using CARTOOL77. The plot reports typical subject-specific microstates for resting state (white bar – first row), pure-reaching during movement phase (yellow bar – second row), reaching-and-grasping during movement phase (blue bar – third row), pure-reaching during holding phase (light yellow bar – fourth row), and reaching-and-grasping during holding phase (light blue bar – fifth row). Red and blue colors correspond to positive and negative voltages, respectively. (b) To identify the presence of spontaneous brain activity during motor behavior, subject-specific microstates found during motor task conditions were matched to the resting-state microstates. The non-matching microstates were then compared across motor task conditions. Correlation across conditions (c) and across grasp types (d) are reported coded in red for each microstate. Correlations are reported in absolute values. Grey squares code “correlation not available” (e.g., for microstate E the comparisons with the resting-state condition are not possible because microstate E is not present during resting state). Black squares code “correlation meaningless”. Indeed, we considered meaningless to compare the holding phase of a specific motor task with the movement phase of another motor task (e.g., the holding phase of pure-reaching with the movement phase of a grasp type). For the purpose of summarizing the results across all subjects, subject-specific microstates were matched across individual using a second k-means cluster analysis. For each subject and microstate, averaged correlation values across conditions are reported coded in blue. (e) Correlation values were calculated between the maps presenting highest similarity within a cluster and the subject-specific microstates within the same cluster.

Interestingly, four of the EEG microstates related to pure-reaching movements were highly correlated to those of the resting state, supporting the hypothesis that states of ongoing spontaneous activity are also commonly active during behavioral tasks31,32,33 (R > 0.71 for microstates A, B, C, and D, Fig. 1b,c). Reaching-and-grasping movements showed similar results albeit they did not present microstate A (R > 0.66 for microstates B, C, and D and R = 0.49 for microstate A, Fig. 1b,c).

The remaining microstates (E and F, mean correlation with microstates A, B, C, and D of the resting state was 0.38 and 0.36, respectively for E and F, Fig. 1c), whose activation was maximum over the central electrodes, were either task-specific (microstate E, R = 0.41 between pure-reaching and reaching-and-grasping movements and R = 0.52 across grasp types, Fig. 1b–d) or grasping-specific (microstate F, mean R = 0.75 across grasp types and non-present during pure-reaching movements) revealing a different topological organization not only across tasks but also across grasp types.

During the holding phase, the microstates repertoire was characterized by four states as in the resting-state condition (Fig. 1b, mean across subjects: 4; range [3 5]; consistency across subjects: R = 0.64 and R = 0.75 for pure-reaching and reaching-and-grasping, respectively, Fig. 1e). Similarly to movement phase, three of these microstates (B, C, and D) correlated with those of the resting state (R > 0.79 for pure-reaching and R > 0.73 for reaching-and-grasping, Fig. 1c). However, it should be noticed that in the case of pure-reaching during the holding phase the microstate D correlates more with the resting-state microstate C (0.87) than with the resting D (0.79), this could be caused by the similarity in the topography of these maps. The fourth microstate, instead, correlated with the task-specific microstate (i.e., E, R = 0.87 for pure-reaching and R = 0.64 for reaching-and-grasping, Fig. 1c,d) and was similar across tasks (mean R = 0.83 between pure-reaching and reaching-and-grasping movements and mean R = 0.78 across grasp types) emphasizing a topological organization across tasks and grasp types more similar during the holding phase than during movement execution.

Muscle synergy analysis allow discriminating motor control strategies across motor task

Several studies have proposed that the motor commands for limb movements’ generation originate from a small set of motor primitives termed muscle synergies, which simultaneously recruit sets of muscles reducing the redundant degrees of freedom of the human body16,17,18,34,35. Muscle and kinematic synergies related to arm and hand motor tasks seem to be encoded in the cortex26,27,28. We, thus, reasoned that muscle synergies were an elegant tool to analyze differences in motor control strategies across multiple motor tasks. Muscle synergies were extracted using L2-norm non-negative matrix factorization for each subject independently36.

The cortical activity during the holding phase was characterized by a reduced complexity with respect to movement execution, i.e., reduced number of microstates and more similar topological organization across tasks. We thus hypothesized a similar behavior in motor control strategies. Indeed, five (5.26 ± 0.35 across subjects and motor tasks) and four (4.3 ± 0.43) temporal activation profiles coalescing weighted combinations of the recorded muscle activity were sufficient to reconstruct more than 98% of the variance in the original signals respectively for movement execution and holding phase, thus, confirming our hypothesis (Supplementary Figure S2a).

The first (Syn 1) and the second (Syn 2) synergies enabled resistance to gravity and produced upper-limb extension (Fig. 2). These synergies together with the third synergy (Syn 3), which promoted finger extension, were common across motor tasks (mean DOT = 0.91). The fourth synergy (Syn 4), instead, was grasping-specific and dedicated to the control of the thumb (mean DOT = 0.97 across grasp types and mean DOT = 0.41 between pure-reaching and reaching-and-grasping). Indeed, pure-reaching movements did not require a fine control of the fingers, and thus Syn 4 was substituted by a synergy (Syn 7) that contributed to the extension of upper and forearm. Surprisingly the fifth synergy (Syn 5), which represented the contribution of the finger flexors and was not present in the holding phase except in pure-reaching, was substituted in five-finger pinch by an additional synergy (Syn 6) for the control of the thumb (mean DOT = 0.62).

Figure 2
figure 2

Muscle synergies. Subject-specific muscle synergies were extracted using the L2-norm non-negative matrix factorization algorithm36 for each subject and motor task independently. Muscle synergies were matched among subjects and conditions according to their similarity with a set of reference synergies. Left panels: muscle weights vectors for each reference synergy during movement phase. Central panels: muscle weights vectors for each reference synergy during holding phase. For synergies common across motor tasks (i.e., Syn 1, 2, 3, and 5), blue and yellow bars show the weight coefficients for each grasp type (blue bars) and for pure-reaching (yellow bar). Black bar profiles indicate means across motor tasks. For grasping-specific synergies (i.e., Syn 4 and 6), blue bars show the weight coefficients for each grasp type and blue bar profiles indicate means across grasp types. DOT values across motor tasks are reported for each synergy using red levels: RM-GM and RH-GH are the DOT products between pure-reaching and reaching-and-grasping during movement and holding phase, respectively. GM and GH are the average DOT products across grasp types during movement and holding phase, respectively; RM-RH and GM-GH are the DOT products between movement and holding phase for pure-reaching and reaching-and-grasping, respectively. RM indicates pure-reaching during movement phase; GM indicates reaching-and-grasping during movement phase; RH indicates pure-reaching during holding phase; GH indicates reaching-and-grasping during holding phase. Grey squares code “DOT product not available” (e.g., for Syn 4 comparisons between reaching-and-grasping and pure-reaching is not possible because Syn 4 was not present during pure-reaching). Right panels: muscle activation coefficients vectors for each muscle synergy during movement phase (left panels) and holding phase (right panels). Muscle activation coefficients vectors were normalized by their maximum for each muscle synergy and motor task separately.

Whereas synergies 3 and 5 had a tonic activation during movement preparation and execution and can thus be considered postural synergies; synergies 1, 2, 4, 6, and 7 emerged during the movement phase. Timing activations were in general similar across motor tasks (R = 0.75 and R = 0.48 across grasp types and R = 0.68 and R = 0.34 between pure-reaching and reaching-and-grasping for movement and holding phase, respectively, Supplementary Figure S2b).

These analyses uncovered the function and temporal structure underlying the successive activation of the motor primitives during upper-limb movements highlighting differences across motor tasks and allowing the identification of a possible link with the temporal organization of the EEG microstates.

Resting-state microstates correlate with beta modulation

We verified that the signals used to extract the EEG microstates during volitional movements contained features commonly identified as characteristic of motor-related brain activity (i.e., beta modulation before movement initiation and after object grasp37,38), and we tested whether these features correlated with microstates.

The EEG data during movements showed characteristic beta oscillation modulations in agreement with previous results (Fig. 3)37,38. We observed an increase in the beta band as early as 1.5 seconds before movement initiation with a centro-parietal distribution (see Supplementary Figure S3). From 0.70 ± 0.10 seconds before movement onset, a decrease in the beta power gradually emerged, reaching its maximum around movement onset. Finally, a beta-rebound occurred from 0.68 ± 0.13 seconds after object grasp. No differences in the beta power modulations were identified across motor tasks in agreement with previous studies37. The lack of differences, already reported37 and in contrast with earlier studies on monkey local field potentials39 and on electrocorticography recordings40, could be attributed to the resolution of the EEG recordings.

Figure 3
figure 3

Time-frequency analysis. Time frequency spectra were calculated for each subject, epoch, and motor task from 1.5 second before movement onset (MO) to 1.5 second after object grasp (i.e., holding onset, HO). The plots display power spectra averaged across epochs and subjects and across 7 electrodes of interest (Cz, CPz, Pz, C1, C3, C2, C4) for each motor task separately. The power spectrum is expressed in percentage compared to the average spectrum (0%) as a function of time. White dashed lines code movement (MO) and holding onset (HO). Black dashed lines code specific time point of beta-desynchronization and beta-rebound onset. Most frequent microstates across epochs and subjects occurring at the time point of beta-desynchronization/rebound onset (identified from the averaged time frequency spectra over the 7 electrodes of interest) are reported in correspondence of the black dashed lines. The most frequent microstates were estimated counting the number of times (i.e., across epochs and subjects) each microstate was found at the specific time points of beta-desynchronization and beta-rebound. Red and blue colors correspond to positive and negative voltages, respectively.

Interestingly, the most frequent microstates at the specific time points of beta-desynchronization and beta-rebound were resting-state microstates. In particular, for ulnar pinch, pulp pinch, and cylindrical grasp, the most frequent microstates at the time points of the beta-desynchronization and beta-rebound were C and D, respectively, as opposed to pure-reaching and five-finger pinch (Fig. 3).

Subject-specific microstates temporal dynamics contains motor information

Despite the temporal characteristics of the microstates did not differentiate between resting-state and motor tasks (Supplementary Figure S1), the microstates dynamics could differ across conditions underlying different motor processes. Indeed, microstates dynamics have shown to correlate with altered brain functions30,41,42,43,44,45. Hence, we analyzed microstates dynamics by computing the normalized histogram of occurrence of each state during resting state and during the three motion phases: preparation, execution, and holding phase (Fig. 4).

Figure 4
figure 4

EEG microstates dynamics. We evaluated EEG microstate dynamics by computing EEG microstates occurrences for each subject independently. (a) EEG microstates occurrence for 5 seconds resting state averaged over subjects coded in red (range [0.5 1], see Supplementary Figure S4b for range [0 1] and S4c for statistical quantification of EEG microstates dynamics during resting state). We chose to represent 5 seconds in order to have the same temporal resolution of the motor tasks. The values of the histograms are normalized over time and microstates. (b) Average (across subjects) EEG microstates occurrences for pure-reaching and each grasp type separately are coded in red (range [0.5 1], see Supplementary Figure S4a for range [0 1]). The values of the histograms are normalized over time and microstates. Black dashed lines code movement (MO) and holding onset (HO). We calculated significant differences across motion phases (i.e., between movement preparation and movement execution, and between movement execution and holding phase). Significant differences (permutation test α = 0.05) are represented with grey lines and asterisks (*). We calculated also significant differences across motor tasks for movement preparation, movement execution, and holding phase separately (c). For each motor task and microstate, grey levels (range [0 4], where four means that that particular motor task is significantly different than all the other four motor tasks) code the number of significant differences across motor tasks.

At rest, microstates occurrence did not show any apparent modulation (Fig. 4a). Microstates C and D were dominating, but their presence was not modulated over time (see Supplementary Figure S4c). Instead, during motor tasks, microstates occurrence was temporally modulated between motion phases (Fig. 4b). Microstates C and D occurrence significantly increased (permutation test, α = 0.05) during the holding phase for all motor tasks but cylindrical grasp (for microstate C) and five-finger pinch (for microstate D). In pure-reaching movements, microstates B and E were also modulated showing a significant decrease in their occurrence rate during the holding phase. Occurrence of microstates B and E, instead, significantly increased during the holding phase of five-finger pinch.

As expected from the differences in muscle synergies, we found statistically significant differences in microstates occurrences between pure-reaching and reaching-and-grasping movements, in particular during movement preparation and execution. Microstate C was significantly more present in reaching-and-grasping movements than in pure-reaching movements during movement preparation and execution (permutation test, α = 0.05, Fig. 4c). The presence of microstates B and E, instead, was significantly higher in pure-reaching movements as compared to reaching-and-grasping. Moreover, when comparing across grasp types, we found that during five-finger pinch the microstates were differently modulated than during the other grasp types. Indeed, during movement preparation and execution five-finger pinch had a significantly reduced occurrence of microstates D and F as compared to the other motor tasks.

Resting-state microstates correlate with muscle synergies in all subjects

Microstates occurrences were different across motor tasks (Fig. 4). We here hypothesized that this difference underlies a functional role of the resting-state activity as measured by EEG microstates in motor control. We tested our hypothesis by measuring the correlation between microstate and muscle synergies occurrence.

To compute the correlation between all elements of the set of microstates against those of the muscle synergies set, we adopted a multivariate analysis method: the canonical correlation46. For pure-reaching, we found one significant canonical component (p = 0.02, average correlation: r = 0.90 ± 0.04). The microstates coefficients of this component were similar for resting-state and task-related microstates, while the muscle synergies coefficients were higher for Syn 2, which produced upper-limb extension, Syn 5, which represented the contribution of the finger flexors, and Syn 7 (i.e., pure-reaching specific synergy, see Fig. 5a). For reaching-and-grasping, instead, we found two significant canonical components (p = 0.008, average correlation: r = 0.76 ± 0.02 and r = 0.59 ± 0.03, respectively, for first and second component). The first component had higher coefficients for the grasping-specific microstate (F) and for the synergies involved in the control of the fingers extension and the control of the thumb (Syn 3, Syn 4, and Syn 6, see Fig. 5b left panel). The second component, instead, had a structure similar to the component of pure-reaching. Although the coefficients for microstates D and E were lower, over all, the weights for resting-state and task-related microstates were similar. The muscle synergies coefficients, instead, were higher for Syn 2 and Syn 6, which was grasping-specific (see Fig. 5b right panel).

Figure 5
figure 5

Correlation between microstates and muscle synergies. To explore the correlation between temporal dynamics of subject-specific microstates and the emergence of muscle synergies during movement, we calculated canonical correlation between all elements of the set of microstates and those of the muscle synergies set. The bar plots report average and standard error (computed over subjects) of the canonical correlation coefficients for microstates (right) and muscle synergies (left) for the first canonical component of pure-reaching (a). Canonical coefficients for microstates and muscle synergies were normalized by their norm before averaging them across subjects. r indicates average and standard error (computed over subjects) of the correlation value between microstates and muscle synergies for the statistically significant canonical component. (b) The bar plots report average and standard error (computed over subjects) of the canonical correlation coefficients for microstates and muscle synergies for the first canonical component (left) and the second canonical component (right) for reaching-and-grasping. r indicates average and standard error (computed over subjects) of the correlation value between microstates and muscle synergies for the two statistically significant canonical components. As reported in Fig. 2, synergies 1, 2, 3, and 5 are common synergies across motor tasks (represented in black). Synergies 4 and 6, instead, are grasping-specific synergies (represented in blue), and synergy 7 is reaching-specific (represented in yellow).

Despite few differences in the weight coefficients, the canonical correlation coefficients of resting-state and task-related microstates with muscle synergies activation were similar (Fig. 5). This highlights equivalent importance of both microstates sets in the generation of volitional movements.

Subject-specific spontaneous brain activity is predictive of motor behavior

The correlation between the microstate temporal dynamics and the muscle synergies activation for each subject (Fig. 5) suggests that rich information about motor behavior is encoded in the microstates time-dependent distribution.

To verify this hypothesis we performed a linear discriminant analysis that quantified the encoding of each grasp type in the subject-specific microstates time-dependent distribution (Fig. 6a). Using only the microstates occurrences during movement preparation as information, the LDA classifier was able to significantly distinguish between grasp types with a high decoding accuracy stable over cross-validation repetitions (65 ± 10%, with chance level of 25%, see Fig. 6b). The classifier confusion matrix was diagonal demonstrating high linear correlation between EEG microstates organization and specific motor tasks. A reduced, but still statistically significant, accuracy was achieved when using only the resting-state or the task-related microstates. However, decoding accuracy was slightly higher for resting-state microstates revealing a pivotal role of these brain states during volitional movements (average accuracy: 51% when using only resting-state microstates and 44% when using only task-related microstates, Fig. 6c). These results were reproduced in all eight subjects (Fig. 7).

Figure 6
figure 6

Average decoding accuracy. We employed Linear Discriminant Analysis (LDA) to further reveal the unique correspondence between microstates occurrence and motor task performed. Confusion matrices for the four grasp types were averaged over subjects and cross-validation repetitions. (a) Grey levels ([0 100%]) code the decoding accuracy values. (b) Confusion matrix for significance accuracy level. (c) Left: confusion matrix for the four grasp types when using only the resting-state microstates (i.e., microstates B, C, and D) occurrence over movement preparation as feature vectors. Right: confusion matrix for the four grasp types when using only the task-related microstates (i.e., microstates E and F) occurrence over movement preparation as feature vectors. In both cases, before performing LDA the influence of the occurrence of a microstates set (i.e., resting-state or task-related microstates set) was removed from that of the other set using linear regression.

Figure 7
figure 7

Decoding accuracy for individual subject. Confusion matrices for the four grasp types for each subject separately. For each subject, the confusion matrices were averaged over cross-validation repetitions. (a) The LDA was computed using both resting-state and task-related microstates. Grey levels ([0 100%]) code the decoding accuracy values. (b) Confusion matrix for the four grasp types obtained for each subject separately when using only the resting-state microstates (i.e., microstates B, C, and D) occurrence over movement preparation as feature vectors. Before performing LDA the influence of the occurrence of the task-related microstates set was removed from that of the resting-state microstates set using linear regression. The significant accuracy level is the same reported in Fig. 6.

These results support our hypothesis that spontaneous brain activity is present during motor-behavior and its dynamical organization encodes critical information about task execution at individual level.

Discussion

Here, we introduced a multi-modal experimental framework employing high-density EEG and muscle synergies analysis to uncover the functional role of spontaneous brain activity during the execution of volitional arm and hand movements. We utilized subject-specific EEG topographies and muscle synergies offering as such the prospect of a novel tool to study mechanisms of neuronal reorganization and recovery processes in neuro-motor disorders.

We here discuss our results with an emphasis on the modular organization of the brain activity during resting state and volitional movements, its correlation with motor task features, and its subject-specific relation to motor control strategies. Finally, we highlight the importance of these results in the debate about the relationship between rest and task brain states, and their relevance for the definition of personalized biomarkers for clinical applications.

Based on previous findings that reported correspondence between coherent patterns of resting-state and task-related brain networks8, we expected that spontaneous brain activity was present during volitional movements and was predictive of motor behavior. Subject-specific microstate analysis during reaching-and-grasping movements confirmed our hypothesis. Indeed, the prototypical resting-state microstates extensively reported in literature10,11,30 were still present during movement execution (Fig. 1) with preserved temporal characteristics (Supplementary Figure S1). Only microstates C and D showed a reduced frequency of occurrence during the movement phase, in agreement with the work of Milz and colleagues47.

During movement execution, some of the resting-state microstates were substituted by two novel states (E and F). Microstate E exhibited a marked correlation with each task; whereas microstate F was specific for the execution of grasping movements, i.e., it was only present during the movement phase of reaching-and-grasping tasks (Fig. 1).

Overall, these results reveal that the brain activity during the execution of volitional movements evolves through a set of spatiotemporal states composed of resting-state patterns, with similar spatiotemporal structure, and of movement-specific patterns, which differentiated across motor tasks. Interestingly, these differences decreased during the holding phase, which required simpler motor control strategies similar for all grasps (Fig. 2) suggesting a link between motor control strategies and brain topographies organization.

In order to verify this hypothesis, we extracted muscle synergies using non-negative matrix factorization for each subject independently36. Indeed, muscle synergies obtained from the decomposition of the EMG signals have been extensively proposed to study motor control strategies19,20,21,22,23,24,25.

We found that reaching-and-grasping movements involve the sequential activation of extensors and flexors muscles synergies different for upper and forearm limb (Fig. 2). These results are highly consistent with previous works that reported 3–4 muscle synergies, accounting for 80–90% of the dataset variability, during multi-digit grasping movements48,49, which seem to be characterized by motor units synchrony in particular across extrinsic thumb and finger flexors50. Interestingly, the motor primitives differentiate across grasp types particularly for five-finger pinch, which required a finer control of the thumb.

A first evidence of whether spontaneous brain activity correlates to features commonly associated to motor-information content can be provided by analyzing the frequency components of the EEG signals.

By looking at the well characterized behavior of the beta-band activity during movement, we found that beta-desynchronization and rebound during movement execution and after object grasp37,38 (Fig. 3) were mostly associated to the presence of microstate C (beta-desynchronization) and D (beta-rebound).

This suggests the existence of a non-trivial relation between occurrences of resting-state microstates and execution of motor tasks that might be explained by beta tuning in the ventral areas of the thalamus, which are known to project to the sensorimotor cortex51, and that correlated with the appearance of these states52.

We further validated this insight by analyzing histograms representing microstate occurrences during phases of motor tasks (Fig. 4). This analysis showed strong modulation of microstate dynamics during motor phases that additionally differentiated across motor tasks in particular during movement preparation and execution.

Taken together, these results hint at the possibility that spontaneous brain activity is linked to the basic neural mechanisms underlying skilled motor control. To verify this hypothesis we analyzed the correlation between the time-dependent distribution of brain states and muscle synergies activation in all subjects independently. This analysis revealed a correlation between both resting-state and task-related microstate occurrences and task-specific muscle synergies (Fig. 5).

This correlation was not restricted to specific states, but involved the entire set of microstates suggesting that detailed motor information is encoded in the sequence of subject-specific brain states activation.

We confirmed this hypothesis by showing in all subjects that resting-state and task-related brain states allowed for successful discrimination of individual grasping movements using only the microstate occurrences during movement preparation as information53 (Figs 6 and 7). Moreover, we were able to accurately predict the grasp type that was executed based on the occurrences of the resting-state microstates only. Although it is not possible to determine whether the microstate dynamics encode or decode movements, this accurate discrimination implies that resting-state microstates dynamics contain information—directly or indirectly—about the motor tasks executed.

We can therefore conclude that, despite the involvement of two novel states, the resting-state topographies remained active with similar spatiotemporal characteristics during movement execution and their modulation was task-specific in each subject. These results provide significant evidence about a possible role of spontaneous brain activity into the generation and organization of the brain activity underlying the control of motor behaviors.

Two hypotheses about the relation between rest and task states have been previously proposed6,7. In the first hypothesis, RSNs represent a state of “idling” of the brain that dynamically reorganizes to support task performance leading to the formation of novel task networks6,7,32,54. In the second hypothesis, instead, the RSNs, due to their similarity in the topography32,55,56, are considered “priors” for task networks and are, thus, preserved during behavioral tasks.

Our extended EEG microstates repertoire, with preservation of three resting-state microstates and replacement of one microstate, together with the shared information content between resting-state and task-related microstates (Fig. 6) is consistent with both hypotheses showing that spontaneous brain activity is in part a “prior” and in part dynamically reorganized for the accomplishment of the task. However, this conclusion of simultaneous “idling-priors” states would require a stronger demonstration of the exact link between EEG microstates and large-scale brain networks. Despite previous studies conducted using magnetoencephalography (MEG)57,58,59 showed that large-scale brain networks can be detected with electrophysiological techniques such as MEG and EEG, their correspondence with EEG microstates is still unclear. Indeed, the number of EEG microstates is low with respect to typical fMRI-RSNs and the activity of single EEG microstates seems to correlate with activity of multiple networks15. Moreover, because of the low-spatial resolution of the EEG, volume conduction and source mixing could affect the topographical patterns of the microstates making this correspondence more complicated. Therefore, other approaches, such as decomposition of EEG time-frequency spectrum using NNMF60, could be used to reveal similar property of the data shading new light on the “idling-priors” theory of the simultaneous brain activity. Finally, here we preferred consistency of extraction and labeling methodology across conditions to subject-customized procedures, potentially affecting states variability. In the future, more robust methods of microstates extraction should be envisioned to reduce this variability.

In summary, identification of brain plasticity markers can aid in the prediction of functional outcome and the development of therapeutic interventions to support and promote recovery in motor disorders9. Spontaneous brain activity features could provide rich and sensitive markers61,62 for neuro-motor diseases in which motor abilities and dexterous hand movements are often lost or significantly reduced8. However, the definition of sensible and personalized biomarkers entails the identification of subject-specific features involved in the planning and execution of motor behaviors.

Previous studies showed that differences in microstates occurrence and duration correlate with altered brain functions in psychiatric conditions30,41,42,43,44,45. Here we demonstrated that differences in the dynamics of intrinsic coherent brain patterns revealed by subject-specific EEG microstate analysis are linked with motor control strategies, which are a known biomarker of motor deficits63,64,65. Therefore, subject-specific EEG microstates analysis could be particularly useful to describe and monitor the effect of motor training on cortical plasticity and brain functional re-organization when cortical networks are damaged, such as in stroke66,67,68. Indeed, EEG-based measures are safe, inexpensive, and accessible in complex medical settings and the high temporal resolution of EEG may be particular salient in studies of the motor system9.

Finally, the high decoding accuracies that we observed, especially when compared to EEG decoding performances (see ref.53 for a detailed summary of grasp decoding studies), are significant not only as evidence of a role of spontaneous brain activity in the generation and organization of motor behaviors, but also for brain-machine interfaces and neuro-feedback applications69,70,71. Indeed, we here showed (Supplementary Figure S5) that high decoding accuracy was achieved also when using only part of the data to extract the EEG microstates, envisaging the possibility to use microstate decoding in real-time.

Despite conceptual and technological challenges, we believe that multi-modal integration of non-invasive cortico-motor signals will foster the understanding of the impact of sensorimotor disorders on brain dynamics and boost the development of personalized neurorehabilitation protocols.

Material and Methods

Participants and experimental protocol

Eight right-handed healthy young subjects (6 males and 2 females, age range [23 29]) were enrolled in the study. The Brain & Mind Institute’s Ethics Committee for Human Behavioral Research of the École Polytechnique Fédérale de Lausanne approved the experiment, and the recordings were carried out in agreement with the Declaration of Helsinki. Written informed consent, for both study participation, and publication of identifying information and images, was obtained from all subjects.

Resting State

At the beginning and at the end of the experiment, the brain activity during resting state with eyes closed was recorded for 5 minutes.

Reaching/Grasping Tasks

Subjects were either asked to execute pure planar reaching movements or to reach, grasp, and hold 16 different objects with four different grasp types: ulnar, pulp, and five-finger pinch, and cylindrical grasp (see Table 1 and Supplementary Material). We choose reaching-and-grasping movements because they are one of the pivotal ways human interact with the world and they are often disrupted in neurological disorders.

Table 1 Combinations of motor tasks and objects. Grey squares indicate that an object was grasped with the corresponding grasp type.

The subjects seated on a chair with their right arm relaxed on the table. In the starting position, the elbow was flexed of about 90°, the upper arm was parallel to the trunk, and the right hand was placed on a starting button with the palm downward and the fist open. The object was placed on the table, in front of the subject, 30 cm far from the border of the table closest to the subject. The object’s position was fixed across objects, repetitions, and grasp types. During task execution, the subjects were instructed to keep their eyes fixed on the object’s position.

A monitor was used to indicate the experimental timeline (Fig. 1a): task presentation (0.5 seconds); 2 seconds pause; movement execution phase (about 1 second); 2 seconds holding phase (the appearance of a red dot on the monitor instructed the subject to release the object); return to the starting position (i.e., return phase, about 1 second); and 5 seconds pause before the beginning of a new task. At the end of the return phase, the experimenter manually changed the object. Videos recorded during the experiment were analyzed offline to check the positioning of the correct object by the experimenter and the performance of the correct grasp by the subject. We used contact sensors to record task events, such as the initiation of the movement and the beginning of the holding phase, and we recorded these signals simultaneously in EEG and EMG data for signal synchronization. The experimental timeline was controlled by an application implemented in LabVIEW (National Instrument) according to the information provided by the contact sensors. Task times were estimated from the sensors data as the time elapsed between task presentation and initiation of the movement (i.e., movement preparation time), and between movement onset and beginning of the holding phase (i.e., movement execution time).

Each task (pure-reaching or reaching-and-grasping for each object) was repeated 15 times. All movements were executed at a comfortable speed, and the object’s order and the grasp types were randomized.

Before starting the experiment, a test for the maximum voluntary contraction (MVC) of each muscle was performed.

Movement preparation and execution had a similar duration across participants and tasks (on average 4.10 ± 0.12 sec and 1.14 ± 0.13 sec for movement preparation and execution, respectively, see Table 2). Therefore, interactions between movement duration and microstates dynamics were not explored.

Table 2 Reaction time.

The datasets generated and analyzed during the current study are available from the corresponding author on reasonable request.

Data acquisition and pre-processing

EEG data were continuously acquired using a 64 channels Active-Two system with standard 10–20 configuration (Biosemi, Amsterdam, Netherlands) at a sampling rate of 2048 Hz.

EMG signals of 15 muscles from the upper and forearm and the hand (Table 3) were recorded by using superficial Ag-AgCl electrodes (Kendall H124SG, ECG electrodes 30 × 24 mm) after appropriate skin preparation with a Noraxon Desktop DTS wireless system at a sampling rate of 3 kHz.

Table 3 Recorded EMG.

EEG and EMG data were preprocessed offline using MATLAB (MathWorks, Natick MA) and EEGLAB toolbox72.

The raw EEG data were filtered (1 Hz to 40 Hz, zero-phase IIR filters11,12,73), down-sampled at 128 Hz, and re-referenced to a common average. ‘Eye blink’ and ‘eye movements’ artifacts were removed by Independent Component Analysis (ICA)72.

Epochs were extracted for each object from 2 seconds before the beginning of the movement until the grasping of the object37,74, in case of reaching-and-grasping tasks, or until the reaching of the target position, in case of pure-reaching tasks (movement phase). Only 2 seconds before the beginning of the movement (i.e., 2 seconds of the entire movement preparation) were considered to avoid including the inter-trial interval in the epochs. Epochs for the holding phase were extracted from the grasping of the object or the reaching of the target position to 2 seconds after it. All epochs were visually inspected to discard those containing artifacts.

Epochs related to each grasp type and pure-reaching movements were averaged separately for the movement execution and the holding phase (i.e., in total 10 dataset for each subject)75. The selectivity of pre-motor neurons is determined not by the object shape but by the grip posture used to grasp the object76. Thus, objects grasped with the same grasps were averaged together. Before averaging, epochs were time interpolated at the same length using cubic splines over a number of points determined as the mean number of samples across epochs for pure-reaching and for each grasp type separately. The whole movement phase, i.e., 2 seconds of the entire movement preparation plus the time of the movement execution (about 1 second), and the whole holding phase (i.e., 2 seconds after object’s grasp) were used for microstates extraction.

For the resting state condition, we concatenated both dataset recorded before and after the experiment. Periods contaminated by artifacts were removed10. One minute of data, selected around the center of the 10 minutes segment, was used for microstates extraction.

The raw EMG signals were detrended, high-pass filtered at 50 Hz (Butterworth filter, 7th order), rectified, low-pass filtered with a cut-off frequency of 10 Hz (Butterworth filter, 7th order)63, and normalized for the MVC. Time epochs for the movement phase and the holding phase (the same used in the EEG analysis) were pooled together separately for each tasks (each grasp type and pure-reaching movements, i.e., in total 10 dataset for each subject).

Extraction of subject-specific EEG microstates

Microstates extraction results in the decomposition of the brain activity in stable topographies allowing comparison across conditions.

For each subject and dataset (i.e., resting state, pure-reaching for movement and holding phase, and each grasp type for movement and holding phase), subject-specific EEG microstates were extracted independently, using a modified spatial cluster k-means algorithm implemented in CARTOOL77, with rejection of segments shorter than 23 ms and polarity of the topographical maps ignored. The optimal number of clusters (i.e., microstates) was set by seeking for the absolute minimum of the cross-validation function for each subject and dataset77. The same number of microstates was retained for all subjects in the same condition (i.e., mean number of microstates across subjects) to allow an easy intra-task comparison.

For the purpose of summarizing the results across all subjects, subject-specific microstates were matched across conditions. Specifically, for each condition, the subject-specific microstates were submitted to a second k-means cluster analysis, with the restriction that the microstates of each subject had to be classified into different clusters and with the number of clusters fixed to the one obtained in the first k-means cluster analysis. Subject-specific microstates within the same cluster were labeled with the same label. While this procedure ensured that similar microstates were labeled with a single convention, all the individual microstates were then used for subject-specific motor task analysis, independently of their ordering (see Section Correlation between subject-specific microstates and motor control strategies).

To identify the presence of spontaneous brain activity during motor behavior, microstates of motor tasks conditions (i.e., pure-reaching and each grasp type), both for movement and holding phases, were matched to the resting-state microstates correlating the most and the non-matching microstates (i.e., Pearson correlation below 0.65) were then compared across motor tasks.

Extraction of subject-specific muscle synergies

For each subject and dataset independently (i.e., pure-reaching for movement and holding phase, and each grasp type for movement and holding phase), subject-specific muscle synergies were extracted by utilizing the L2-norm non-negative matrix factorization algorithm36 (NNMF). Results were consistent when using the KL divergence NNMF algorithm (see Supplementary Figure S2c,d). Due to non-convexity, each extraction was repeated 50 times, and the repetition with the solution explaining the highest overall amount of EMG variance was selected. The number of retained synergies was the number at which the variance accounted for (VAF) was higher than 98%78,79. The same number of muscle synergies was retained for all subjects to allow an easy intra-task comparison (i.e., mean number of muscle synergies across subjects).

Muscle synergies were matched across subjects and conditions according to their similarity (determined by using normalized scalar products, DOT, across muscle weights vectors) with a set of reference synergies. Muscle synergies were considered dissimilar if DOT < 0.65. The set of reference synergies was obtained for each condition by grouping the muscle synergies of all subjects with a hierarchical clustering procedure based on minimization of the Minkowski distance between muscle weights vectors63.

We evaluated muscle synergies dynamics by calculating muscle synergies temporal occurrence. The latter was estimated by computing the correlation between a putative EMG dataset, which was obtained by combining the synergy’s timing activation vector with the correspondent muscle weights vector, and the original EMG data. For each subject, temporal occurrence was then obtained averaging the correlation over epochs, considering windows of 100ms for movement planning (i.e., from minus 1 second to movement onset) and holding phase, and windows of 10% of the total movement duration for the movement phase (about 100ms).

Time-frequency analysis

To verify that the EEG signals used to extract the microstates during movements contained features commonly identified as characteristic of motor-related brain activity (e.g., beta modulation before movement initiation and after object grasp37,38), time frequency spectra were calculated for each motor task from 1.5 second before movement onset to 1.5 second after object grasp using sliding Hamming windows of 200 ms with time steps of 32ms. For each subject, epoch, and frequency bin, power spectra were normalized for the average spectra in the corresponding frequency bin before averaging across epochs.

Comparison with EEG microstates was based on the averaged time frequency spectra over 7 electrodes of interest (Cz, CPz, Pz, C1, C3, C2, C4) covering the centro-parietal zone where the modulation of the beta power is maximal37. Specifically, we computed the most frequent microstate across epochs and subjects evaluated at the specific time points corresponding to desynchronization and synchronization of the beta-band identified from the averaged time frequency spectra over 7 electrodes of interest.

Subject-specific EEG microstate dynamics

We evaluated EEG microstate dynamics by computing EEG microstate occurrences. The latter was obtained by computing the histogram of the most prevalent microstate within each temporal window for each epoch and subject independently. The temporal windows of the histogram were set to 100ms for movement planning (i.e., from minus 2 seconds to movement onset) and holding phase, and to windows of 10% of the total movement duration for the movement execution phase (about 100ms). For the time windows in which two or more microstates had the same highest prevalence, we assigned as prevalent microstate the one present in the previous time window. This approach replicates the frequently used temporal smoothing77. In the case in which the microstate assigned in the previous time window or in the following window was not one of the two (or more) with the highest prevalence in the examined window, the microstate assigned was chosen randomly between the two (or more) with equivalent prevalence.

We calculated significant differences across motion phases (i.e., between 2 seconds of the entire movement preparation and movement execution, and between movement execution and holding phase), and across motor tasks for movement preparation, movement execution, and holding phase separately. For each comparison, the significance threshold was obtained from a null-distribution constructed randomly permuting the microstates occurrence values of the two conditions compared. The number of permutations was determined to have α = 0.05.

Correlation between subject-specific microstates and motor control strategies

In order to quantify whether microstate occurrences might reflect differences in motor control strategies and, thus, a functional role of spontaneous brain activity in the generation of volitional motor behavior in humans, we i) calculated a multivariate analysis of correlation, i.e., canonical correlation46, between all elements of the set of microstates and those of the muscle synergies set, and ii) employed a Bayesian classifier, specifically a Linear Discriminant Analysis (LDA)80 to reveal the unique correspondence between microstates occurrence and motor task performed.

For reaching-and-grasping movements, canonical correlation was computed for each subject independently combining occurrences of microstates and muscle synergies for the four grasp types and the three motion phases (i.e., 2 seconds of the entire movement preparation, movement execution, and holding phase) together. For pure-reaching movements, instead, canonical correlation was computed for each subject independently using microstates and muscle synergies occurrence for the three motion phases. The significance of the canonical components was obtained with a one-sample non-parametrical t-test over subjects’ correlation values.

For each subject and grasp type independently, a four-class LDA classifier was built using half of the epochs of that grasp and the same amount of epochs for the other three grasps as training set (84.38 +/− 7.87 epochs). The remaining epochs of that grasp type were used as test data (21 +/− 2 epochs). The feature vectors used for the LDA classifier consisted of the microstate occurrences over movement preparation. This corresponded to a feature vector of dimension 100, i.e., 20 time windows for 5 microstates (i.e., B, C, D, E, and F). For each subject independently, the classification was repeated 1000 times shuffling training and testing sets (cross-validation). Decoding accuracy values were averaged over repetitions. We calculated the mean-standard deviation ratio of the LDA coefficients over the 1000 repetitions (maximum value 1.85) and we assessed statistical significance of these ratios versus the 95th percentile of a null-distribution (48% of coefficients were statistically significant). The null distribution was estimated repeating the LDA 10000 times for each subject with labels of the training set randomly shuffled at each repetition. Significance decoding accuracy level corresponded to the average accuracy across repetitions and subjects. LDA was performed also using only the resting-state microstates’ occurrence or only the task-related microstates’ occurrence over movement preparation as feature vectors. In both cases, before performing LDA, the influence of the occurrence of a microstates set (i.e., resting-state or task-related microstates set) was removed from that of the other set using linear regression. Then, the four-class LDA classifier was built following the same procedure aforementioned.

Statistical procedures

Subject-specific microstates and muscle synergies were used in the analysis. In order to summarize the information, the results reported were averaged across subjects. All data are reported as mean values +/− standard error of the mean. Significance was analyzed using non-parametric Wilcoxon rank sum test (α = 0.05, Bonferroni corrected) for the temporal characterization of the microstates (see Supplementary Materials), and permutation approach for the microstates occurrence and to determine chance level of the LDA.