Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2023 May 9.
Published in final edited form as: Curr Biol. 2022 Apr 6;32(9):2051–2060.e6. doi: 10.1016/j.cub.2022.03.047

Implicit mechanisms of intention

Tyson Aflalo 1,2, Carey Zhang 1, Boris Revechkis 1, Emily Rosario 4, Nader Pouratian 3, Richard A Andersen 1,2
PMCID: PMC9090994  NIHMSID: NIHMS1796881  PMID: 35390282

Summary:

High-level cortical regions encode motor decisions before or even absent awareness, suggesting that neural processes predetermine behavior before conscious choice. Such early neural encoding challenges popular conceptions of human agency. It also raises fundamental questions for brain-machine interfaces (BMIs) that traditionally assume neural activity reflects the user’s conscious intentions. Here we study the timing of human posterior parietal cortex single-neuron activity recorded from implanted microelectrode arrays relative to the explicit urge to initiate movement. Participants were free to choose when to move, whether to move, and what to move, and they retrospectively reported the time they felt the urge to move. We replicate prior studies by showing that posterior parietal cortex (PPC) neural activity sharply rises hundreds of milliseconds before the reported urge. However, we find that this “pre-conscious” activity is part of a dynamic neural population response that initiates much earlier, when the participant first chooses to perform the task. Together with details of neural timing, our results suggest that PPC encodes an internal model of the motor planning network that transforms high-level task objectives into appropriate motor behavior. These new data challenge traditional interpretations of early neural activity and offer a more holistic perspective on the interplay between choice, behavior, and their neural underpinnings. Our results have important implications for translating BMIs into more complex real-world environments. We find that early neural dynamics are sufficient to drive BMI movements before the participant intends to initiate movement. Appropriate algorithms ensure BMI movements align with the subject’s awareness of choice.

Keywords: Posterior Parietal Cortex, Brain-machine Interface, Awareness of intent, Motor planning

Introduction:

A neural prosthesis translates the motor intentions of paralyzed individuals into control signals for assistive devices 1-4. These systems have largely assumed that decoded neural signals reflect the conscious intentions of the user. However, high-level cortical regions can encode intended actions before conscious awareness or absent awareness 5-9. The prospect of a neural prosthetic interface executing movements before or without the explicit awareness of the individual raises legal, ethical, and practical challenges for BMI adoption. Despite this, the origins of early “pre-conscious” activity and how this activity might interact with a neural prosthesis have not been explored.

The posterior parietal cortex (PPC) is an important region at the intersection of action awareness and production as intentions are encoded by early planning activity 3, 10-14, stimulation can induce an urge to initiate movement 15, and damage can disrupt awareness of movement and body state 16-19. The significance of this body of literature for neural prosthetics was highlighted when, as part of an ongoing clinical study, we developed a neural prosthetic piano interface using signals from PPC (Video S1). We trained an algorithm to decode individuated finger movements in response to simple cues and mapped decoded movements to the keys of a virtual piano. However, while playing the piano, the participant sometimes reported that “the keys just automatically hit themselves without me thinking about it. It just seemed like it (the decoding algorithm) knew the tune and did it on its own. I did not have to move my fingers to make it happen” (Video S2). This example highlights how neural prosthetic systems decoding neural signals from high-level regions of cortex can execute actions before the user explicitly intends movement.

Here, we study the timing and nature of single neuron and population activity in the PPC of two tetraplegic individuals participating in a human neural prosthetic clinical study. Participants chose when to move and retrospectively reported the time of the choice. In two follow-up experiments, a participant chose whether to participate in the task on a trial-by-trial basis or chose both when to move and what movement to perform. Results from these experiments suggest that within our recording regions of PPC: 1) the rapid rise in neural activity before movement awareness and initiation are part of network dynamics associated with movement planning; 2) cortical activity is better correlated with motor production than awareness; 3) cortical responses are contingent on high-level (non-motor) choices; 4) cortical activity can occur absent awareness of motor intent when in line with high-level choices; and, 5) algorithm selection and design are essential to ensure that high-level motor intention signals are appropriately translated into prosthetic control signals. One interpretation is that PPC contributes to an internal model of the motor planning network that transforms high-level task goals into the motor commands necessary to achieve those goals. Further, our results challenge traditional interpretations of “pre-conscious” activity by demonstrating that neural population responses that rise before the participant’s choice to initiate movement first arise due to the participant’s choice to perform the task.

Results

We recorded single-neuron activity in two tetraplegic individuals (NS & ES) implanted with Neuroport arrays near the junction of the post-central and intraparietal sulci in the PPC (Figure S1). We used three complementary paradigms in which participants performed self-initiated movements to understand the relationship between conscious intent and neural activation. NS and ES participated in experiment 1. NS participated in experiments 2 and 3.

The timing of single-neuron activity during motor production and awareness.

In the first experiment (Figure 1A), each trial began with a cue instructing one of two movements of the contralateral upper limb: brief shrugs of the shoulder (a movement above the spinal cord injury) and attempted squeezing of the hand (a movement below the spinal cord injury). The participant was then free to choose when they initiated the instructed movement (Figure S2). We used the method of Libet 6 to allow participants to retrospectively report when they first experienced the urge to initiate movement. Following Libet 6, we refer to this reported time as “W” and the time of the motor response as “M”.

Figure 1: Neural dynamics demonstrate early encoding of movement intent.

Figure 1:

A) Task paradigm. B) Population activity from a representative session (participant NS) summarized as 1st principal component of population response (42% variance explained, mean ± sem with single-trial examples of the population response in grey; 200 ms boxcar smoothing.) C) Single unit examples illustrating diverse temporal responses (500 ms boxcar smoothing). Colors identify four basic temporal profiles found within the population (Cluster analysis, Bayesian information criteria to determine the number of clusters.) Percent of total population falling into each cluster shown in parenthesis. D) Proportion of neurons whose temporal response is best explained relative to reported urge to move (W aligned), EMG onset (M aligned), or neither (No preference), broken up by cluster identity. Percentages in legend (bottom) refer to the total percentage of population collapsing across neural classes identified in panel C. E) Sample neural responses illustrating effector specific and effector general dynamics beginning with trial onset (mean ± sem). Each panel illustrates a separate unit. Panels from left to right are aligned to cue onset, clock onset, and time of reported urge (W). F) Percent of the population demonstrating significant modulation (p<0.05 uncorrected, linear regression) from baseline (black) and significant differences between effectors (grey) through trial progression. G) Population-level latent dimensions demonstrating effector independent and specific network dynamics (cross-validated mean ± 95% ci). The dashed line represents temporal discontinuity from concatenating cue-aligned and movement-aligned signals. We adopt the concatenated visualization for supervised learning techniques to emphasize dependencies between time points. See also Figures S1-3.

PPC population activity increases before W, supporting previous findings that changes in neural activity precede awareness of intent 5-9 and extending these results to human PPC (Figure 1B). Further, the sensitivity to brain-state provided by simultaneously recorded neural populations reveals that the early ramping activity seen in trial averages provides an accurate template for the population response measured during single trials (compare black and light grey traces, Figure 1B). However, individual neuron responses were diverse. Cluster analysis identified subpopulations becoming engaged before W (Pre W+/−) but also around the time of W (Peri W) or after (Post W) (Figure 1C). This cascade of neural activations in time points to complicated neural mechanisms underlying the process of voluntary movement initiation and is consistent with delayed-movement experiments in non-human primates (NHPs) 20-22 but previously unreported for voluntary movement initiation in humans.

Conscious intent and movement initiation are two events confounded in time. Early rising activity (Figure 1C; bottom row) has been hypothesized to trigger the urge to initiate movement as activity passes a threshold 7, 23. However, this activity may reflect a parallel process whereby movement is prepared for execution without a direct relation to awareness (e.g., movements can be performed without a concomitant awareness 24, 25. To address whether neural signals are more closely related to motor production or subjective experience, we looked at the relative timing of these signals. We can address this question because the time interval between M and W varied (Figure S2B), with a range comparable to simple reaction time tasks 26. We used the following logic: if a neural signal is time-locked to motor production (M), then aligning neural signals to the time of conscious intent (W) will misalign the temporal profiles leading to greater trial-to-trial variability and vice versa (Figure S3). All neuron types were better explained in relation to the time of motor initiation or demonstrated no preference (Figure 1D). Neurons showing no preference had significantly lower SNR (depth of modulation/variance) and thus likely reflect detection difficulty instead of a mixture of W and M alignment. These results cannot be easily explained by increased measurement error when using the clock to report onset times (Figure S3). Together, our results suggest that early rising activity better reflects mechanisms related to motor production and not awareness as such.

What are the origins of neural activity changes that precede awareness?

In prior studies, activity preceding movement awareness is described as having “pre-conscious” origins; however, this label does not help us understand how systems of neurons give rise to behavior and experience. From a systems neuroscience perspective, the increase in neural activity must be the consequence of preceding neural computations (e.g., related to cue processing, context, high-level intent). Our motivation for including the effector cue was to introduce a known moment when movement-related information could first be encoded in the cortex. We hypothesized that analysis of neural activity at this moment would help contextualize activity arising around W.

Figure 1E shows neural responses from the effector cue through movement production for both shrug and squeeze trials. As above, many neurons exhibit rapid changes in activity hundreds of milliseconds before W (right portion of each sub-panel). However, tracing the neural responses backward in time shows that rapid changes at the end of the trial are connected to temporal or effector-specific modulation beginning at cue presentation (Figs. 1E & 1F). We used a cross-validated variant of demixed-PCA 27, a supervised dimensionality reduction technique, to analyze the temporal evolution of PPC activity at the population level (Figure 1G). These population responses are presumed to capture the underlying latent variables that define a cortical region 28-30. These principal components demonstrate that the neural dynamics that precede the urge to initiate movement occurs within a latent neural subspace that is first engaged immediately after the movement is encoded (e.g., in each panel, latent population activity first modulates directly following the cue and then modulates further, often in anticipation of W). Early task-relevant modulation suggests that neural modulation around W is a consequence of neural processes initiated at (or before) trial onset and thus are the consequence of the participants’ decision to perform the task as instructed.

The latent dimensions (Figure 1G) contain an effector-specific component (dPCs 2&4; consistent with an evolving motor plan) and an effector-general component (dPCs 1&3; potentially encoding global urgency, movement likelihood, timing intervals, or other effector-independent quantities), again drawing parallels with work in NHPs 31-33. Both effector-specific and general components emerged in anticipation of W.

Is early activity the consequence of high-level intent?

To test the hypothesis that neural activity before W is a consequence of the participant’s decision to perform the task, we had participant NS choose, on a trial-by-trial basis, whether to perform a trial or not (“Opt-out task”, Figure 2A). We wanted the opt-out decision to occur before the effector cue (e.g., before the subject knew which effector to move) to dissociate the high-level intent to perform the trial from motor planning signals. Therefore, the participant was instructed to abort the trial if the opt-out choice was not made before a beep played 1.5 seconds before the effector cue. We reasoned that if neural dynamics are the consequence of the NS’s high-level choice, then neural dynamics would only occur during trials NS chose to perform.

Figure 2: Volitional neural dynamics connect trial-onset to movement production.

Figure 2:

A) Task paradigm. B) Single unit examples illustrate how neural behavior depends on the participant’s choice (N trials = 20±4, mean ± sem). E) Percent of the population (p<0.05 uncorrected, linear regression) exhibiting differential modulation to effector cue contingent on high-level response. F) Population decoding of the participant’s choice to participate on a trial-to-trial basis (cross-validated mean ± 95% CI). Asterix indicates significant decoding (shuffle test.)

NS aborted one trial (total trials = 286) because she had not chosen to participate by the beep. When NS chose to perform a trial (65.2% of trials), we measured selective neural responses consistent with task objectives at the time of the effector cue; conversely, this activity was not encoded or quickly suppressed when NS chose to forgo a trial (Figure 2B & 2C). Thus, the observed neural dynamics are a consequence of the participant’s choice to perform the task. We did not find neural encoding of the choice to perform a given trial before the effector cue (Figure 2D).

Are early planning dynamics a byproduct of the task paradigm?

What is the timing of motor planning signals when subjects are free to choose what to move in the absence of task structure? In the above paradigms, the effector cue provides a known moment when the motor plan is first encoded. However, this explicit external cue may create neural behavior that otherwise would not occur in more typical circumstances, such as if the subject was free to choose which effector to move. It also promotes awareness of the cued effector. To mitigate against these limitations, we asked participant NS to choose which of three movements to perform and the timing of the movement within a simple task environment (Figure 3A; see also 13). NS was given minimal instruction; however, she was asked to (1) initiate movement immediately upon deciding which movement to perform, and (2) to “avoid repeated sequences of movements” such that the movements were “spontaneous and unpredictable.” To allow for a more natural, self-paced flow of movements, we did not require NS to report the time of the experienced choice. The goal of this task variant was two-fold: first, to test whether rising activity just before movement would also be observed in more natural testing conditions, and two, to measure when intention-related activity emerges when not explicitly cued.

Figure 3: Early coding of motor intentions in a simplified choice task.

Figure 3:

A) Task. The subject was free to move the shoulder or attempt movement of the thumb or index whenever she felt the urge to do so. There was no task structure outside the brief (250ms) change of annulus color from grey to green immediately after the movement had been detected following movement onset. B) Histogram of intervals between voluntarily initiated movements. C) Behavior during the free-choice task. Top: Transition probabilities between actions. Bottom: Percent of trials each action was performed (mean ± sem computed across sessions.) D) Single unit examples aligned to the verbal report of current movement onset (mean ± sem). E) Accuracy decoding current and next action in the voluntary movement sequence split by interval duration (mean ± sem across six sessions.)

Intervals between movements were broadly distributed (Figure 3B). Movement choices were well balanced across the available options, and the transitions between options were well sampled (Figure 3C). The behavior of individual neurons demonstrated diverse and complex temporal patterns (Figure 3D) consistent with the earlier structured tasks (e.g., Figs. 1C & E). To understand timing, we aligned neural data to movement onset and used classification analyses to decode both the current executed movement and the next movement. Data was median split into long and short inter-movement intervals (Figure 3B, median =1.9 secs) and analyzed separately to understand the influence of movement intervals. In line with the results discussed above, information about the current movement begins to rise sharply ~1 second before initiation (Figure 3E, blue). Information about the next movement began nearly coincident with the execution of the current movement (−130 ± 90 ms for short-interval trials and 56 ± 90 ms for long-interval trials, Figure 3E, red). In the case of long interval trials, this early coding occurs a minimum of 1.9 seconds before movement initiation, nearly a second before the ramping responses in the instructed paradigms above (Figure 1 & 2). Such early encoding suggests that implicit neural computations support behavior when the subject is free to choose both the time and type of action.

In theory, statistical regularities in transitions between actions could drive significant decoding of the forthcoming movement based on neural coding of the current movement. To address this possibility, we repeated the classification analysis (Figure 3E) after regressing out activity attributable to the current action. The pattern of results remained the same (−114 ± 100 ms for short-interval trials and 32 ± 90 ms for long-interval trials).

Early activity and consequences for neural decoding.

Can early engagement of the motor planning network explain decoder activation before the explicit intention to initiate movement? We looked at how population-level activity collected in experiment 1 (Figure 1) dynamically evolved in a space directly relevant to neural classification. We computed the normalized Mahalanobis distance between neural population activity recorded through the course of a trial in relation to neural activity recorded during the inter-trial interval (ITI) and movement execution (Go) epochs (Figure 4A & 4B). Relative distances in Mahalanobis space underlies classification using linear discriminant analysis and can thus directly measure the factors that drive classification. We focused our analysis on shoulder trials to ensure the absence of EMG activity before W (therefore, any activity before W must reflect internal processes and not overt movement). Directly after the cue, we measure a phasic response towards the population state associated with the Go epoch, presumably reflecting the encoding of the motor plan. The neural population then reaches a steady-state, on average holding a position approximately midway to the decision boundary that separates neural states associated with the ITI and Go epochs. Next, before movement, the population drifts towards the execution response until approximately 1 second before movement initiation, at which point the ramping described above occurs (Figure 4C). We show cross-validated classification analysis of the same data in figure 4D. The described neural dynamics can drive early decoding before the explicit intention to initiate action. This early decoding does not reflect indiscriminate errors rooted in noisy data; instead, early decoding reflected the network dynamics associated with a specific motor plan. We find that more sophisticated decoding approaches, in our case carefully structured Hidden Markov Models informed by the neural dynamics of our task, align the output of the neural decoder with the explicit timing of the user’s intent (Figure 4D; Methods section 3.9, Figure S4, Supplementary Video S3).

Figure 4: Early network dynamics can explain the “pre-conscious” triggering of the neural decoder.

Figure 4:

A) Schematic. Through the course of a trial neural activity transitions from resting levels (ITI) to the response measured during execution (GO) (thin black-line). This activity can be quantified by the geometric distance to the ITI and Go activity patterns (DGO, DITI). B) Schematic. DGO and DITI can be used to calculate a continuous measure of similarity to ITI and Go. C) Distance analysis applied to actual data for shrug (red) and squeeze (green) trials (mean ± 95% CI). The dashed line represents temporal discontinuity from concatenating cue-aligned and movement-aligned signals. D) Decode analysis using LDA applied to the same data as C. Each column shows the percentage of trials each class was decoded for a single time bin (500 ms non-overlapping bins.) Populations dynamics observed in C are sufficient to generate early decodes of shrug actions (e.g., following cue & before reported urge). E) Decode analysis using a modified algorithm and training protocol applied to the same data as D can restrict decoding actions to the time of intended execution. See also Figure S4, Video S3.

Discussion

Several studies in human subjects have established that changes in neural activity occur before awareness of the urge to initiate movement 5-9, 18. These results are compelling and controversial because they suggest that unconscious neural processes predetermine behavior before an individual consciously processes the decision 5. However, our results suggest that many examples of “pre-conscious” activity may instead reflect the mechanistic process by which high-level goals are transformed into the motor commands that achieve those goals. In this view, the pivotal decision occurs when the brain self-configured to perform a movement in the future 14, 34-36. It is for this reason that we have adopted the word “implicit” as opposed to “pre-conscious” when referencing neural responses immediately preceding “W”. In other words, using the term “pre-conscious” submits to the logic that the neural events of consequence immediately precede movement initiation. However, taking a more holistic view, the activity before “W” may be better described as post- or peri-conscious as it comes after and is the consequence of the decision to perform the task. This implicit activity is analogous to our motor system. The conscious intent to drink a cup of coffee is automatically transformed into the spatiotemporal muscle activation patterns necessary to reach and grasp. Just as we are unaware of the neural processes that produce appropriate muscle activations, these data indicate that we are unaware of the internal details of the neural computations that support the production of future behaviors.

We refer to activity preceding the urge to initiate a movement as implicit; however, the participants are likely aware of which movements they will soon perform in experiments 1 and 2 (Figs. 1 and 2). What is presumed implicit is the mechanistic process by which high-level task rules combine with environmental information (e.g., task cues) to produce movements at variable times in the future. The complex and diverse dynamics we see at the single neuron level (e.g., Figure 1E) likely play a role in this transformation (see below), but how these dynamics generate behavior is beyond our awareness. Further, experiment 3 (Figure 3) suggests that neural responses can be fully implicit. In the simple task, long-interval trials (those occurring greater than 1.9 seconds) occur outside the 1-second window that characterizes ramping activity before awareness in the Libet paradigm. During the interval of time when the motor plan transforms into movement, a new motor plan for the forthcoming movement is encoded into the planning network, and this activity occurs in the temporal window presumed to be outside awareness. However, this activity is still an expression of the participant’s will to perform the task. Early encoding in the simple task is similar to NHP neural activity during well-rehearsed motor sequences 37-40. Taken together, one speculation is that early implicit encoding of future motor acts may explain why NS felt the notes played themselves in the piano task.

PPC may encode the internal state of the motor production network.

We analyzed trial-to-trial variability in the timing of neural signals relative to awareness (“W”) and movement onset (as measured by EMG onset). We found that neural activity is better explained relative to movement onset, suggesting that our recorded neural population is involved in motor planning and execution but not directly tied to awareness. While our control study (Figure S4) helps to strengthen this conclusion, the fact that temporal measurements were different in kind, e.g., clock monitoring versus EMG measurements, complicates a definitive conclusion on this point. However, an association with planning/execution but not awareness is consistent with and provides a deeper understanding of deficits following PPC damage 41. In their paper, Sirigu et al. report that individuals with damage to PPC preserve an ability to initiate movement and report a conscious urge to initiate movement. However, patients retrospectively report that the urge to move is roughly coincident with movement onset, while control subjects report the urge occurring ~200 ms before movement onset, approximately when we see a steep ramping of PPC activity. The lesion study and our single unit results suggest that PPC encodes the internal state of the motor production network in a way that anticipates motor production, thus enabling early detection of a forthcoming movement. In other words, PPC participants cannot predict their own movements because they lack the anticipatory PPC neural activity reported in our study. This interpretation suggests that the previously described role of PPC in state estimation during movement 16, 42-45 is broader than previously described and encompasses state estimation during planning formation through movement execution. Anticipatory signaling of the conversion of motor plans to motor initiation would have clear adaptive advantages. Environmental contexts are continually changing, and a movement programmed in the past may not be appropriate in an updated context. Anticipatory signals may ensure that a previously encoded motor plan remains relevant and allow an individual to cancel the movement otherwise. Anticipatory signals may also assist when assigning causal attribution to movement, e.g., to ensure that the brain knows the movement has an endogenous origin 46.

We found that premovement PPC activity, which drives population neural activity closer to the classifier decision boundary (Figure 4, Video S3), can spuriously trigger a BMI classifier. This finding is seemingly at odds with studies in the monkey primary (M1) and premotor cortices. Kauffman et al. 22 report that planning activity is orthogonal to movement execution activity. This orthogonality is theorized to enable planning without generating overt behavior, the very problem we see in our classifier output. However, PPC is further removed from the motor output pathway and thus may employ different encoding strategies. For example, PPC may simplify telegraphing upcoming motor behaviors by providing similar output for planning and execution states. Other differences, such as species differences, the influence of long-standing injury, or methodological differences, may also contribute.

A node in the intention network

While the Libet paradigm is presented as a single task, it includes two dissociable subtasks: a movement initiation task and a report task. The movement initiation task requires that the participant encode a motor program to initiate movement at variable and unpredictable times in the future. The reporting task requires that the participant create a “theory-of-mind” construct to report subjective experience. Our findings (that single-trial population activity arises 100s of ms before W and neural timing best correlates to movement initiation rather than W) suggest that our neurons are related to the first task but not the second. Consistent with this view, neurons encode which movement the participant will perform before the participant is aware of the choice within a simple movement choice task (e.g., Figure 3).

The clear suggestion is that neurons responsible for constructing our subjective experience must rely on different populations of neurons located in other parts of the brain. This view is consistent with an emerging picture of the neural basis of consciousness and its neuroanatomical substrates. The PPC is a large and functionally heterogenous 47, 48. Our recording locations within the anterior-superior aspect of PPC is primarily associated with planning and monitoring body movements, as discussed above 48. In contrast, more posterior-inferior portions of PPC contain neural populations responsible for constructing our subjective experience of the world 48-50. For example, electrical stimulation of the inferior parietal cortex induces the subjective experience of wanting to move or having moved, neuroimaging identifies neural correlates of awareness, and lesions disrupt awareness while otherwise preserving basic information processing. One possibility is that our recorded neural population provides inputs to inferior portions of PPC and thus contributes to, but is not directly responsible for, the participant’s subjective experience of the task.

Our results are also consistent with a functional dissociation between high-level intent and motor planning. In recent work, we have found that PPC encodes a diverse array of variables related to movement intention and body state, including motor plans and trajectories, movements from diverse regions of the body, cognitive-motor strategy, observed actions, action semantics, and experienced and cognitive tactile sensations 51-54. These results suggest that PPC may encode all task-related variables. However, somewhat to our surprise, data from the opt-out task suggests that more anterior subregions of the PPC that we have implanted may have a limited role in representing more abstract, non-motor forms of intent. In the opt-out task, the subject was asked to choose, on a trial-by-trial basis, whether or not to perform the trial. This choice represents an example of a non-motor decision because selecting a goal or desired outcome (e.g., I will or will not participate) occurs before knowledge of the specific motor act necessary to attain the goal (e.g., before the effector cue). We could not decode the decision before the effector cue, suggesting that our subregion of PPC does not encode non-motor forms of intention. The separation of motor planning and non-motor forms of intent is consistent with hierarchical intention models. In these models, the frontal cortex (e.g., prefrontal, orbitofrontal) or more posterior regions of PPC encode abstract decision variables while areas closer to the central sulcus encode variables related to motor planning, body state, and movement execution 55, 56.

Relation to previous work on the early rising activity.

There are two primary accounts for the early rise in neural activity that precedes movement onset and awareness. The original account of Libet assumes that a sub-conscious decision triggers movement preparation and initiation reflected in the early rising neural responses57. Critically, the decision is assumed to occur at the first detectable rise of the “readiness potential”, a signature of spontaneously generated movements that appears one second before movement initiation. A second account, by Schurger et al. 34, proposes a stochastic decision model by which neural activity undergoes a continuous random walk in the pre-movement period. Movement is quickly initiated, within ~150ms, when the random walk crosses a decision threshold. The presumed timing of threshold crossing and reports of W is roughly co-incident in time, indicating that the subjective experience of the decision occurs as the decision is made (not significantly earlier, as suggested by Libet). By this account, the early ramping activity is not the consequence of a decision but the final segment of the random walk that carries the neural state to the threshold.

Our results and interpretation are conceptually in-agreement with the mechanistic formulation of Schurger et al. and subsequent studies by Murakami and colleagues34, 58-60. In particular, these authors provide plausible accounts of how the high-level task goal of initiating movement at variable and unspecified times in the future can be implemented in neural populations. This mechanistic account is completely lacking from Libet’s original formulation, yet necessary to fully appreciate how early rising activity relates to human agency. We add to this story by showing that these neural programs are instantiated based on the high-level goals of the participant. However, we find that the single-trial population-level activity of consistent temporal shape rises earlier than the 150ms proposed by Schurger and colleagues 34. Thus our work is consistent with the idea that a distinct neural event leading to movement occurs hundreds of milliseconds before awareness. In our view, the mechanistic process leads to movement initiation, a process that precedes and is decoupled from awareness, as discussed above. Further, we find that the early neural activity is encoded as a motor plan, showing effector specific differences and not an abstract decision 61, 62.

Schurger et al. and Murakami et al. provide two separate mechanistic accounts for how movement timing is specified. In Schurger et al., single-trial timing results from different realizations of a stochastic leaky-accumulator model with identical initial conditions. In Murakami, the timing of future movements is specified at trial-onset by neurons that set the rate of the accumulator model. We did not find evidence that movement timing is determined at trial onset. However, our results may simply be a product of our recording region in the dorsal-anterior portion of PPC. For example, in a study in which monkeys made movements at different intervals in the future, dorsal-anterior parts of the monkey PPC looked similar to our recordings, while a more ventral-posterior portions of PPC showed varying rates of ramping beginning at trial-onset 35. Future studies recording from additional regions of the cortex are needed to address how humans program the timing of future actions.

Implications for neural prosthetics

When using a BMI to control computer devices, deviations of decoded control signals from the presumed intentions of the user are often attributed to the intrinsic noisiness of neural signals. However, recent work challenges this assumption by demonstrating that much of the neural fluctuations typically attributed to “noise” are correlated to often unmeasured subtle and highdimensional features of the animal’s behavior 63, 64. Especially in humans, such neural variability is likely also driven by internal processing related to conscious thoughts or subconscious processing. Understanding the sources and impact of these drivers of neural variability will be increasingly crucial as BMI systems are taken outside constrained laboratory experiments and tested in complex real-world environments. In our case, we find that early task-related neural dynamics are sufficient to drive BMI movements before the participant intends action.

We show that specific decoding approaches allow decoded output to reflect the participants’ explicit motor intent accurately. Further, our results demonstrate that the relative timing of neural signals, explicit intent, and motor execution can become an algorithm design choice. Future work can explore how different decoder settings within closed-loop experiments interact with the subject experience of using a BMI, such as feelings of agency. Beyond questions of timing, behaviors that have been long rehearsed, such as typing, occur without awareness of the motor acts and require decoding implicit signals. In contrast, other unpracticed behaviors may require conscious control 65. Both how neurons track our explicit intentions and the ways they do not are important to understanding and implementing a neural prosthetic system that enables effortless control across a range of environmental conditions.

Star Methods

Lead Contact

  • Requests for further information and resources should be directed to and will be fulfilled by the lead contact, Tyson Aflalo (Tyson.aflalo@gmail.com).

Materials availability

  • This study did not generate new unique reagents.

Data and code availability

  • The data that support the findings of this study are available from the corresponding author upon reasonable request.

  • This paper does not report original code, but our custom MATLAB code is available from the authors upon reasonable request.

  • Any additional information required to reanalyze the data reported in this paper is available from the lead contact upon request.

Experimental Model and Subject Details.

Subject N.S. is a female human participant with a C3-C4 spinal lesion (motor complete). N.S. has no motor control or sensation below her upper trapezius. Subject E.G.S. is a male human participant with a C3-C4 spinal lesion (motor complete). E.G.S. has no motor control or sensation below his upper trapezius. All procedures were approved by the California Institute of Technology, University of California, Los Angeles, Rancho Los Amigos National Rehabilitation Center, and Casa Colinas Centers for Rehabilitation Internal Review Boards. Informed consent was obtained from NS & EGS after the nature of the study and possible risks were explained. Consent to publish patient photos was obtained from NS and EGS. These studies were conducted after receiving permission from US Food and Drug Administration (Investigational Device Exemption), and data collected for this study is part of a registered clinical trial (additional information about the clinical trial is available at https://clinicaltrials.gov/ct2/show/NCT01958086). Study sessions occurred at Casa Colinas Centers for Rehabilitation and Rancho Los Amigos National Rehabilitation Center.

Methods Details

1. Data acquisition:

Behavioral Setup.

NS & EGS performed all tasks seated in their motorized wheelchair. Tasks were displayed on a 28 inch (NS) or 47 inch (EGS) LCD monitor. The monitors were positioned to occupy approximately 20 degrees of visual angle. Stimulus presentation was controlled using the Psychophysics Toolbox (23) for MATLAB.

Physiological Recordings.

Both NS and EGS were implanted with two 96-channel Neuroport arrays in putative homologues of area AIP and Brodmann’s Area 5d3. Neural activity was amplified, digitized, and recorded at 30KHz with the Neuroport neural signal processor (NSP). The Neuroport System, comprising the arrays and NSP, has received FDA clearance for <30 days acute recordings. We received FDA IDE clearance (IDE #G120096, G120287) for extending the duration of the implant for purposes of a brain-machine interface clinical study using signals from posterior parietal cortex.

Unit activity was detected using thresholding at −3.5 times the root-mean-square after high-pass filtering (250Hz cut-off) the full-bandwidth signal. Single and multiunit activity was sorted using k-mediods clustering using the gap criteria 66 to determine the total number of neural clusters. Clustering was performed on the first n principal components where n was selected to account for 95% of waveform variance. Results of offline sorting were reviewed and modified if the automated routine produced overly counterintuitive results following standard practice 67. On average, 121 sorted units were recorded from NS per session and 29 from EGS per session.

Electromyogram (EMG) activity was recorded over the right trapezius muscle using Delsys EMG electrodes. Raw EMG activity was fed as an analog signal into the NSP and recorded time-locked to neural signals at a sampling rate of 2000 Hz. EMG signals were band-pass filtered (5th order Butterworth filter with cut-off frequencies of 5 and 250 Hz), full-wave rectified, and box-car smoothed using a 50 ms smoothing window.

2. Task Descriptions

Modified Libet paradigm.

We used the method introduced by Libet to enable the subject to retrospectively self-report the time they first experienced the urge to initiate a movement 6. In a slight modification to the original paradigm, following an intertrial interval, the subject was cued to one of two possible actions (shrug of the contralateral shoulder or attempted squeezing of the contralateral hand) should be performed on a given trial (Figure 1a). Other aspects of the task were similar to that of Libet and subsequent studies,e.g. 5-7, 9, 41. An analog clock was presented with the initial position of the dial randomly (uniform distribution) selected. The dial rotated clockwise about the clock at 2.3 seconds per revolution. The subject was asked to withhold movement at least one complete clock cycle, at which point the participant was free to choose when to move. The instruction was given to “Keep your eyes on the clock but otherwise try to relax. When you first feel the urge to move, perform the movement, and note the position of the dial on the clock face when you first felt the urge to move. After you have completed the movement, let us know that you are done.” At this point, the experimenter took control of the clock dial, positioned it according to the subject’s reported time of awareness, and confirmed with the participant that this was the position of the dial when they first felt the urge to move. A minimum of 30 trials (15 trials per condition) were recorded per session. A total of 5 sessions in NS and two sessions in EGS were acquired. The distribution of time intervals the subjects withheld movement relative to the onset of the clock is shown in figure S1.

A sensory temporal estimation task was used to approximate the measurement error in the basic Libet paradigm. The subject was instructed to use the position of the clock dial to report the time of an event using the methods described above. However, in the sensory test, the subject was asked to report the time of a short sound stimulus (250ms auditory beep) that was played between 2.3 and 9.2 seconds (randomly sampled from a uniform distribution) after the clock presentation. Other aspects of presentation, such as the revolution rate of the clock, random initial starting position, etc., were identical to the baseline Libet task. A total of 2 sessions in NS and one session in EGS were acquired.

Opt-Out Paradigm

The Opt-Out task was designed to understand how the subject’s high-level intention to participate in the experiment modulated neural activity observed during task performance. The Opt-Out paradigm is similar to the basic Libet Paradigm described above. However, in this variant, we instructed the subject to choose whether to execute the trial or “opt-out” on a trial-to-trial basis. The subject passively observed the clock as usual during opt-out trials until the trial timed out after 16 seconds. The timeout period was chosen based on the participant’s choice behavior in the Libet task (Figure S2). We increased the inter-trial interval to five seconds during the opt-out task and asked the subject to decide to participate or not before the effector-cue screen. We asked the subject to report if they could not make up their mind before a beep played 1.5 seconds before the effector cue. In this event, the trial was aborted, and a new trial was initiated. The subject aborted 1 of 286 total trials and confirmed after each session that the decision to perform the trial was made before the effector cue for all non-aborted trials. A minimum of 60 trials were recorded per session. Three sessions were recorded in subject NS. Due to the free-choice nature of the opt-out experiment, one concern is that NS did not follow the instructions. For example, NS may have waited for the effector cue to choose to perform a trial, and thus, we were unable to decode her choice because she had yet to choose. However, NS reported that she consistently chose before a beep played 1.5 seconds before the effector cue. Further, in other studies involving the same participant, we have found strong evidence of behavioral compliance despite an inability to validate behavior externally. For example, we have found classification accuracy approaching 100% in motor imagery tasks, suggesting remarkable trial-to-trial compliance. However, without accompanying evidence showing encoding of the decision to participate in alternate brain regions, and in the absence of external validation of the precise timing of the internal thought processes of the subject, we acknowledge that future work is needed to understand possible encoding of abstract decision variables.

Simple Choice Paradigm.

The Simple Choice Paradigm (SCP) was designed to observe neural behavior in conditions with minimal task structure (Figure 3A). The subject was free to move the shoulder or attempt movement of the thumb or index whenever she felt the urge to do so. The participant was instructed to say “shrug,” “thumb,” or “point” timed to movement onset to indicate the timing of otherwise unobservable movements (e.g., thumb and index movements are below the level of injury and thus are not overtly produced.) Movements could thus be considered the conjunction of two actions, executed or attempted movement of the hand and arm, and a vocalization.

Movement onset time was determined by the onset of an audio trace recorded by the NSP, synchronized to neural activity. In addition, we recorded shoulder EMG activity to verify the relative onset timing of vocalization and associated movement. Detection of the participant’s verbal report was displayed as a brief (250 ms) change in the color of a simple annulus shown on the screen. The subject was instructed to move as soon as they experienced an urge to move. However, they were asked to avoid repeated sequences of movements such that the movements were “spontaneous and unpredictable.” The subject did not report the time they experienced this urge to allow free-flowing progression of movements without interruption. A minimum of 180 trials were recorded per session. Five sessions were recorded from subject NS.

3. Analysis Methods

3.1. Principal component analysis

Principal component analysis (PCA) was used to summarize the population-level temporal response of simultaneously recorded neurons 68. We constructed a matrix of neural data D that was (n) by (t * c) in size, with n being the number of neurons, t being the number of time points, and c being the number of conditions. For each neuron, activity was averaged across repetitions of the same condition, smoothed with a 250ms box-car function, sampled every 10 ms, normalized to a range between 0 and 1, and mean subtracted. Principal components were calculated based on the singular value decomposition algorithm resulting in D^=TD. To display single-trial representations or the standard error of the mean for all trials of a principal component (e.g., Figure 1b), we applied the transformation matrix T (computed based on trial-averaged data) to single-trial data preprocessed in the same manner described above, though with normalization terms set by the trial-averaged data. The details of how D was constructed depended on the dataset. For the analysis related to figure 1 B, we used a single temporal window extending from −3 to 2 seconds relative to the time of conscious intent (W) and a single condition (shoulder shrug trials) similar to previous studies e.g. 5-7, 9, 41. We focused analysis on shoulder trials because movement prior to W could be detected by simultaneously acquired EMG measurements. Only one trial was found to have early EMG activity (<1%), and further, the participant self-reported that she had moved early.

3.2. Cluster analysis of neural responses

Single neurons varied in their temporal responses (e.g., Figure 1c.) We applied a cluster analysis to determine whether the large number of recorded neurons could be categorized into a smaller set of basic temporal profiles. We limited the analysis to neurons exhibiting significant temporal modulation through time. Neural activity extending from 2 seconds before to 2 seconds after W was binned into 50 ms windows. The average response was computed across trials, and the result was normalized to a range from 0 to 1. We constructed a matrix from the resulting temporal responses that were n x t in size, with n being the total number of neurons and t being the total number of time bins. We applied Gaussian mixture model cluster analysis to the matrix using k=1 through 10 possible clusters, each with 500 randomized initializations of cluster centers. For each k, we computed the Bayesian information criteria (BIC) to determine the optimal number of clusters. Different cluster identification methods can result in different numbers of clusters being identified as “optimal.” However, the objective of this analysis was not to determine the “true” number of clusters but instead, to use a principled method to group neurons with similar temporal profiles. This enabled testing of whether the timing of a neuron’s response could explain whether a unit was better associated with conscious intent or motor production.

3.3. Timing analysis of neural signals with respect to M and W

The objective of this analysis was to determine whether neural signals are better aligned to the time the participant reported being aware of the urge to initiate movement (W) or the time of movement production, defined as muscle activity onset. We computed the average temporal profile for each neuron over a three-second interval, binned into 250 ms windows, centered on M or W. We then computed the difference in trial-to-trial variance explained by the mean profile. Significance was calculated by comparing this difference to an empirically computed null distribution of differences using a rank test with alpha = 0.05. The null distribution was generated by repeatedly (1000 permutations) calculating the difference in variance explained between two datasets generated by randomly assigning M-aligned and W-aligned trials. The mean offset between M and W trials was removed before random assignment. A schematic representation of this analysis is illustrated in figure S2. This analysis was performed on each unit separately, and the results are reported categorized by the clusters identified in section 3.2 (See Figure 1d). Potential complications in interpreting this analysis include inherent measurement error differences between M and W. See figure S3 for relevant results and discussion.

3.4. Basic population analysis

We used a linear model to quantify the percent of the population tuned to the salient task variables in the basic Libet paradigm. Neural activity was divided into three temporal epochs centered on the time of cue presentation, clock presentation, and the reported urge to initiate movement. Neural activity was averaged in 500 ms windows at 100 ms intervals (sliding window analysis.) Each window was compared to baseline activity during the inter-trial interval, chosen as a window −1000 to 0 seconds before cue onset. For each time bin, we used linear regression to model neural firing rate relative to baseline as a function of the response to the two effectors. We then looked at whether either effector changed significantly from baseline and at the contrast comparing the activity of the two effectors (to find units demonstrating effector specific modulation.) Percent significant (e.g., Figure 1F, 2C) are shown uncorrected at p<0.05. We performed a permutation test to determine whether the percent of units across the population was significant by using a rank test to compare the uncorrected percent significant against an empirical null distribution of percent significant generated by shuffling labels and repeating analyses 2000 times.

3.5. Cross-validated demixed principal component analysis.

We used demixed principal component analysis (dPCA) to visualize effector-specific and independent effector components of the neural response 21, 69. Demixed principal component analysis is a supervised dimensionality reduction technique that uses information about task parameters to find the low-dimensional latent factors that best separate task parameters. Similar to classification algorithms, dPCA has the potential to overfit training data, finding low-dimensional projections of the neural data that separate task labels in a way that won’t generalize to data that is not used to compute the dPCA projection matrices 27. We, therefore, used a stratified hold-one-out cross-validation scheme to verify the validity of the projections. We applied regularized dPCA 27 to compute dPCA projection matrices on all but one trial from each condition. The resulting projection matrices were applied to the held out trials to compute the generalized latent response estimate. This process was repeated for all combinations of held-out trials, and the mean and 95% confidence intervals were estimated using a bootstrap procedure. Trial data was constructed by binning neural firing into 500 ms non-overlapping windows and concatenating in time data from the cue aligned, clock aligned, and W aligned epochs. Analysis was repeated both on trials acquired within a single session and trials pooled across days. For pooled analysis, neurons acquired in separate sessions were treated as independent. Results in Figure 1G are shown for pooled data. Single session data were qualitatively similar.

3.6. Basic Classification methods

Our base approach to classification was to use linear discriminate analysis. To regularize covariance estimates and improve cross-validated accuracy, we modeled the covariance of the normal distribution as diagonal and pooled our data to create a single covariance estimate that was applied to all conditions. These simplifying assumptions were found to improve cross-validation prediction accuracy on preliminary data. The classifier input was a matrix of average firing rates within a specified window for each sorted unit. Classification performance is reported as generalization accuracy of a stratified leave-one-out cross-validation analysis. Features that demonstrated non-significant tuning based on a preliminary ANOVA test were excluded from the input vector to reduce the total number of features. For cross-validation purposes, the ANOVA test exclusion criteria were calculated on the training set and applied to the test set to avoid “peaking” effects. We used a shuffle procedure to determine the significance of decode accuracy. A null distribution of decoding accuracies was generated by shuffling the task labels associated with each feature vector and repeating the cross-validated decode analysis. This process was repeated 500 times, and significance was determined by a one-sided rank test, testing whether the veridical accuracy of the unshuffled data was greater than 95% of the shuffled results. Analysis was repeated both on trials acquired within a single session and trials pooled across days. For pooled analysis, neurons acquired in separate sessions were treated as independent. Results were qualitatively similar, and thus, we used pooled data for reporting purposes.

In preliminary analysis, we used alternate classification methods. This included relaxing some of the assumptions of linear discriminant analysis as performed above: allowing off-diagonal elements to the covariance matrices and allowing separate covariance estimates for each class. We also tried naïve Bayesian classification and linear, quadratic, and Gaussian support vector machines with cross-validated optimization of parameters: we would find the set of parameters that optimized cross-validated performance across all but one and test the parameters on the cross-validated performance on the remaining session. Linear discriminant analysis, as described above, outperformed all other tested methods when classification was performed on a predetermined window of time. However, when the precise window of time was unknown (e.g., when the classifier was applied continuously at each time step as is necessary for closed-loop performance), alternative techniques were required to improve performance as described below.

3.7. Decoding choice to participate

In the opt-out paradigm, the subject chose to perform any given trial before the effector cue. Is information about the high-level intention to participate in a given trial encoded in the neural population? Each trial was labeled as either a “Go” or “NoGo” trial based on whether the subject chose to perform the trial. We then used a classification analysis during four epochs to determine whether and when information related to the subject’s intent to participate was encoded in the neural population. These epochs include a “Pre Cue” epoch (mean response between −750 and 0 ms relative to the effector cue), a “Post Cue” epoch (mean response between 250 and 1000 ms relative to the effector cue), a “Clock” epoch (mean response between 250 and 1000 ms relative to clock onset), and a “Go” epoch (mean response between −250 and 500 ms relative to reported urge to initiate movement). For NoGo trials, activity for the “Go” epoch was generated by averaging data in a 750 ms window chosen an interval of time after clock onset based on movement production times of “Go” trials (e.g., Figure S2). We used cross-validated LDA to decode Go from NoGo trials for each epoch. After the effector cue, the neural population encodes a motor plan (as evidenced by effector specificity). Thus, Go versus NoGo trials can be distinguished based on the presence or absence of the motor plan. For this reason, the most parsimonious explanation of the ability to decode Go from NoGo trials after the effector cue is simply the presence or absence of the motor plan. Either way, the ability to differentiate Go from NoGo trials (Figure 2D) using the techniques described above validates the decoding methodology.

3.8. Mahalanobis distance and classification through time

Classification using LDA is based on relative distances in Mahalanobis space 70. Each class is defined by a mean and covariance in feature space. To classify a point in feature space, the distance between the point and the mean of each class normalized by the covariance matrix is computed. The point is assigned to the class that results in the shortest distance. More precisely:

y^=argmin(y=1,K)k=1KP(kx)

Where y^ is the predicted class, K is the number of classes, x represents the features, P(kx) is the posterior probability of class k for observation x and is given as:

P(kx)=P(xk)P(k)P(x)

and

P(xk)=12πΣkexp(12Dk2)Dk=(xuk)TΣk1(xuk)

Dk defines the Mahalanobis distance from the data point x to the class k defined by the mean and covariance (uk, Σk) and determines the output of the classification procedure (save for normalization terms.) Viewed in this way, LDA simply discretizes the Mahalanobis distance, assigning the data point to the class with the smallest Mahalanobis distance.

We computed a relative distance measure as a normalized difference of Mahalanobis distances to better characterize how population activity behaved through a trial.

RelativeDistance=DITIDGODITI+DGO

Where DITI & DGO define the distance from a data point to the classes that characterize the intertrial interval and execution-related activity (Figure 4A). The sign of DITIDGO determines whether a data point would be classified as ITI or GO activity. Note that with trial-to-trial variability, the closer the average difference is to zero, the more likely responses on a given trial will be misclassified. Relative distances are normalized into the range of −1 to 1 by dividing by DITI + DGO. By looking at a normalized version of Mahalanobis distance, we can better understand what drives classifier behavior. For instance, task events might make it more likely to decode class B when the true class is A either because the task events lead to greater variability in the neural features (but leave the mean response of the neural features the same) or because the task events drive the mean response of the neural features closer to class B (but leave the variability largely similar) or some combination. Looking at neural behavior in Mahalanobis space can thus lead to greater understanding and interpretability of decoder output. A schematic representation of this analysis procedure is illustrated in Figure 4A, B.

Mean and covariance estimates for the ITI period were computed based on neural features averaged within a 1-second window −1.5 to −0.5 seconds before the effector cue. Mean and covariance estimates for the Go period were calculated separately for shoulder shrug and hand squeeze trials based on neural features averaged within a 1-second window 0 to 1 second relative to W. Data points throughout the trial were constructed by computing the average firing rate within 500 ms non-overlapping windows and concatenating in time data from the cue aligned, clock aligned, and W aligned epochs for both trials where the subject was cued to perform a shrug movement and squeeze movement. The relative distance measure was then computed for each such data point. There were clear phasic responses following the cue and around the time of movement production. Does the activity in between these phasic responses change? We compared the relative distance measure for the windows starting 1 sec after cue onset and 1.5 seconds before the reported urge to move using permutation rank test where the magnitude of the difference computed for the two windows was compared to a null distribution of means generated by randomly shuffling data between the two time windows.

The same data was used for linear discriminant classification analysis by transforming Mahalanobis distances into class estimates as outlined above. As described above, classification accuracy was estimated using a stratified leave-one-out cross-validation procedure. In this case, the entire time-series comprising a trial was held out to ensure that autocorrelation in the signal did not provide information about adjacent time slices. Each time slice for each trial was classified as shoulder, squeeze, or ITI. The proportion of trials assigned to each class was displayed as the relative height of a colored bar, the heights of which necessarily sum to 100% (e.g., all trials).

3.9. Improving classification

Population decoding has become a ubiquitous technique to understand how populations of neurons encode sensory, motor, and cognitive variables. In contrast to common uses of classification algorithms for offline data analysis, online decoding algorithms must determine both what the participant intends and when the participant intends action. As shown in Figure 4, certain neural processes, such as encoding of the motor plan in response to a cue, are sufficiently similar to neural activity patterns recorded during motor execution to generate early spurious decodes. Here we show that classification performance is improved by leveraging information from early encoding and maintenance of motor plans combined with classification algorithms that leverage temporal history (e.g., compare Figure 4D and 4E.)

To motivate the updated approach to neural classification, we present the underlying issues in a toy dataset in the supporting information (Figure S4). The dataset is composed of the same neural recordings used for the analysis shown in figure 4 of the main text; however, for illustrative purposes, visualization and decoding are based on the first two principal components of the full-dimensional neural signals. Further, the activity of each “trial” is constructed by averaging the activity of two repetitions of the condition. This aids visualization and shows that the underlying problem is not the product of noisy data (although noisy data exacerbates the underlying issues). The results for all neural dimensions, unaveraged, are shown in figure 4 with visualization of the response in panel c and decode performance in panels d and e.

In standard analysis-based approaches to neural classification, several conditions are tested, and the associated neural population response is sampled in a predefined temporal window to generate features for classification. A classification algorithm then partitions the neural feature space into separate regions defined by decision boundaries. An example illustrating this process for three conditions is shown in figure S4A. One condition represents the “null-state”, the activity of the neural population sampled during the inter-trial interval when the subject intends no action (grey). The other two classes represent the “go” period activity measured during the execution of two movements (movement 1/M1 = green, movement 2/M2 = red). The decision space that separates these classes was computed using linear discriminant analysis, and each condition is color-coded. Leave-one-out classification of data acquired from these predetermined windows is perfect. However, if neural data just following the cue is projected onto the same decision space, a significant portion of trials have crossed the decision boundary and thus would be decoded as a movement, even though the subject does not intend to initiate a movement (Figure S5B.) Spurious decoding when a simple LDA classifier trained on execution-related neural responses is pervasive when the decoder is applied continuously throughout the trial (Figure S4C, D; see also Figure 4d). The two panels show the classification results for movement one trials (top) and movement two trials (bottom), with each bar showing the leave-one out classifier output (movement 1, movement 2, or null) for each slice of time (500ms non-overlapping windows as in figure 4). There is evidence of premature decoding or the correct movement and spurious decoding of the alternate movement. The behavior of the neural population generating the classifier output can be visualized throughout the temporal interval by animating the continuous neural dynamics on the decision space (Video S3). The problems are twofold. First, planning and decision-making activity early in the trial generates changes in neural activity that can cause the neural population to enter unwanted states. Second, execution-related neural activity can trace a trajectory through time that brings population activity generated by one movement close to the decision boundary defined by another movement 71-73. Including more neural dimensions than the two used in the toy, dataset can help classification accuracy. Nonetheless, even when including all relevant neural dimensions, neural dynamics can lead to problematic classifier output (e.g., Figure 4.)

We took two steps to fix the identified problems algorithmically. First, we define additional neural states in time that can capture neural activity patterns not directly related to the intention to initiate movement (e.g., sensory, decision making, and planning activity.) This better partitions the neural state-space which leads to a more precise understanding of how the neural state relates to the intention to initiate action. The second step was to replace a basic linear discriminant classifier with Hidden Markov Model (HMM) decoding 70, 74. Essentially, a HMM (as employed here) has two components. The first is an instantaneous estimate of the class based on direct classification of neural data using the same procedure as LDA as described above. The second component leverages temporal history in the neural signals in the form of the recent state history (modeled as a Markov process).

The state transition model used for decoding is shown in figure S4e. Initial state transition probabilities were fit from the data. The probabilities reflect the task design (e.g., the length of task epochs and transitions between these epochs) and the choice of window size (e.g., 500ms non-overlapping windows). The effect of the HMM with multiple states applied to the data from figure S4a-d is shown in figure S4f-i and Video S3 (inset). In particular, the finer partitioning of the neural state space is evident in panels f and g. The net impact on cross-validated classifier output is shown in panels h and i.

3.10. Early intent decoding in simple choice paradigm.

The simple choice paradigm was used to address a simple question: What is the timing of motor planning signals when subjects are free to choose when and what to move without any strictly imposed task structure? To address this question, we aligned neural data to movement onset. We used classification analyses to decode both the movement the participant is actively executing and the next movement the subject will execute in a sliding window analysis. Windowed data was computed at interval steps of 50 ms using the average firing rate of each neuron within a 500 ms window centered on the time point of interest (sliding window analyses.) For each trial, two sets of labels were generated: one label associated with the current action the subject performed (current movement) and a second label associated with the movement the subject reported performing on the next trial (next movement). Two independent cross-validated decoding analyses were performed, one for each set of labeled data. We used LDA classification with constraints as described above.

A shuffle test determined significant decoding. We first calculated a veridical estimate of accuracy using the task labels. We next computed a null distribution by shuffling task labels and recomputing an accuracy estimate 500 times. A single time slice was determined to be significant if the veridical estimate was greater than 97.5% of shuffled trials (rank test, p<0.025.) To determine the time at which the population first encoded the next chosen movement, we looked for the time slice that started a continuous block of significant decoding: this block was required to be 15 time slices in duration (750 ms) to ensure that non-overlapping bins of neural data demonstrated significant decoding. We circularly shifted the neural data relative to behavior randomly, with a minimal shift of 28 seconds, and repeated the analysis 100 times to verify this procedure. We did not find a significant block of 15 time bins in any of the 100 repetitions. We know that neural activity can dramatically rise >1s before movement initiation in PPC (e.g., Figure 1b,c). To ensure that this sudden rise cannot explain a significant early rise in activity starting at the previous trial, we split the trials into long and short interval trials and performed the analysis separately.

3.11. Statistics

No statistical methods were used to predetermine sample size. The experiments were not randomized. Data analyses were performed by automatic software routines. All data that was recorded was included in the results. No sessions or units were removed from the study based on analysis results, behavior, or other criteria. Non-parametric permutation testing was used throughout to avoid the assumption of normality.

Supplementary Material

Supplemental figures
Supplemental Video 1

Video S1: Direct neural control of a virtual piano interface. Related to Figure 1. Individuated finger flexion movements of the right hand are decoded continuously. Decoded movements are mapped to a subset of keys on a virtual piano.

Download video file (2.6MB, mp4)
Supplemental Video 2

Video S2: Finger movements can be decoded before conscious intent. Related to Figure 1. The participant describes her subjective experience using an early version of the virtual piano interface.

Download video file (1.5MB, mp4)
Supplemental Video 3

Video S3: Neural dynamics during the cued Libet paradigm. Related to Figure 4 and Figure S4. The video illustrates how the neural dynamics associated with pre-movement neural encoding and maintenance of motor plans can lead to numerous complications when attempting to decode the intention to execute a movement. Neural population activity (displayed as the position in neural state space of the first two principal components) is shown for both shoulder and hand movement trials (green and red points). Each point corresponds to the average of 3 randomly sampled trials to reduce noise and thus allows better visualization of movement through neural state space. The start of each task epoch (ITI, Cue, Movement Initiation/”W”) is labeled at the corresponding times of the video. The background image visualizes the neural decision space trained on neural data from the task’s ITI and movement initiation phases. Three sources of spurious decoding are illustrated. First, neural encoding of the plan to make a future action brings the neural state into the portion of the decision space associated with the intention to initiate movement. This triggers early decoding (see Figure 4 and Figure S4). A freeze-frame, labeled “Plan encoding crosses decision boundary,” is used in the video to illustrate an example. Second, planning-related activity brings the neural state closer to the decision threshold. Because the population state is brought closer to the decision threshold, noise can drive neural activity into the region of the decision space associated with movement initiation. A freeze-frame, labeled “Early crossing,” is used in the video to illustrate an example. Third, the trajectory of the neural population during the transition to movement initiation can lead to false positives or decoding one movement when the other movement was intended. A freeze-frame, labeled “False positives,” is used in the video to illustrate an example. In particular, neural activity related to initiating hand movements (red dots) transiently passes through the portion of the decision space associated with shoulder movement (green background). The inset within the video shows the same dynamic neural population behavior but with a backdrop decision space that better captures the neural states associated with encoding, planning, and initiating movement. Critically, it is apparent during the freeze frames that neural activity never spuriously crosses into the light green and red regions associated with movement initiation. See: Methods “Improving classification” for additional information.

Download video file (3MB, mp4)

Key resources table

REAGENT or RESOURCE SOURCE IDENTIFIER
Software and algorithms
Matlab 2017a Mathworks https://www.mathworks.com
Other
Neuroport system Blackrock Microsystems https://blackrockneurotech.com/

Posterior parietal cortex encodes movement intent before the urge to move

Subconscious neural dynamics emerge when participants choose to perform a task

Our results suggest subconcious processing connects goals with goal-achieving actions

Early coding drives untimely BMI actions that can be corrected with decoder design

High-level cortex encodes motor decisions before awareness, suggesting choice is preconsciously determined. Aflalo et al. show preconscious activity is triggered by the choice to participate in the experiment thus fulfilling, not predetermining, choice. Associated neural dynamics require decoder design to align BMI output with conscious choice.

Acknowledgments:

We thank NS and EG for their bravery and hard work in making this work possible. This work was funded by NIH R01-EY015545, UG1-EY032039, the Della Martin Foundation, and the Boswell Foundation.

Footnotes

Publisher's Disclaimer: This is a PDF file of an unedited manuscript that has been accepted for publication. As a service to our customers we are providing this early version of the manuscript. The manuscript will undergo copyediting, typesetting, and review of the resulting proof before it is published in its final form. Please note that during the production process errors may be discovered which could affect the content, and all legal disclaimers that apply to the journal pertain.

Declaration of Interests:

NP consults for Second Sight Medical Products and Abbott Laboratories. All other authors declare that they have no conflicts of interest.

References

  • 1.Hochberg LR, Serruya MD, Friehs GM, Mukand JA, Saleh M, Caplan AH, Branner A, Chen D, Penn RD, and Donoghue JP (2006). Neuronal ensemble control of prosthetic devices by a human with tetraplegia. Nature 442, 164–171. [DOI] [PubMed] [Google Scholar]
  • 2.Collinger JL, Wodlinger B, Downey JE, Wang W, Tyler-Kabara EC, Weber DJ, McMorland AJ, Velliste M, Boninger ML, and Schwartz AB (2013). High-performance neuroprosthetic control by an individual with tetraplegia. Lancet 381, 557–564. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Aflalo T, Kellis S, Klaes C, Lee B, Shi Y, Pejsa K, Shanfield K, Hayes-Jackson S, Aisen M, Heck C, et al. (2015). Decoding motor imagery from the posterior parietal cortex of a tetraplegic human. Science 348, 906–910. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Pandarinath C, Gilja V, Blabe CH, Nuyujukian P, Sarma AA, Sorice BL, Eskandar EN, Hochberg LR, Henderson JM, and Shenoy KV (2015). Neural population dynamics in human motor cortex during movements in people with ALS. eLife 4, e07436. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Libet B (1985). Unconscious Cerebral Initiative and the Role of Conscious Will in Voluntary Action. Behavioral and Brain Sciences 8, 529–539. [Google Scholar]
  • 6.Libet B, Gleason CA, Wright EW, and Pearl DK (1983). Time of Conscious Intention to Act in Relation to Onset of Cerebral-Activity (Readiness-Potential) - the Unconscious Initiation of a Freely Voluntary Act. Brain 106, 623–642. [DOI] [PubMed] [Google Scholar]
  • 7.Fried I, Mukamel R, and Kreiman G (2011). Internally generated preactivation of single neurons in human medial frontal cortex predicts volition. Neuron 69, 548–562. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Soon CS, Brass M, Heinze H-J, and Haynes J-D (2008). Unconscious determinants of free decisions in the human brain. Nature Neuroscience 11, 543–545. [DOI] [PubMed] [Google Scholar]
  • 9.Haggard P, and Eimer M (1999). On the relation between brain potentials and the awareness of voluntary movements. Experimental Brain Research 126, 128–133. [DOI] [PubMed] [Google Scholar]
  • 10.Mountcastle VB, Lynch JC, Georgopoulos A, Sakata H, and Acuna C (1975). Posterior parietal association cortex of the monkey: command functions for operations within extrapersonal space. J Neurophysiol 38, 871–908. [DOI] [PubMed] [Google Scholar]
  • 11.Andersen RA, and Cui H (2009). Intention, Action Planning, and Decision Making in Parietal-Frontal Circuits. Neuron 63, 568–583. [DOI] [PubMed] [Google Scholar]
  • 12.Cisek P, and Kalaska JF (2010). Neural mechanisms for interacting with a world full of action choices. Annual Review Of Neuroscience 33, 269–298. [DOI] [PubMed] [Google Scholar]
  • 13.Stetson C, and Andersen RA (2015). Early planning activity in frontal and parietal cortex in a simplified task. J Neurophysiol 113, 3915–3922. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Maimon G, and Assad JA (2006). A cognitive signal for the proactive timing of action in macaque LIP. Nat Neurosci 9, 948–955. [DOI] [PubMed] [Google Scholar]
  • 15.Desmurget M, Reilly KT, Richard N, Szathmari A, Mottolese C, and Sirigu A (2009). Movement Intention After Parietal Cortex Stimulation in Humans. Science 324, 811–813. [DOI] [PubMed] [Google Scholar]
  • 16.Wolpert DM, Goodbody SJ, and Husain M (1998). Maintaining internal representations: the role of the human superior parietal lobe. Nat Neurosci 1, 529–533. [DOI] [PubMed] [Google Scholar]
  • 17.Sirigu A, Daprati E, Pradat-Diehl P, Franck N, and Jeannerod M (1999). Perception of selfgenerated movement following left parietal lesion. Brain 122 (Pt 10), 1867–1874. [DOI] [PubMed] [Google Scholar]
  • 18.Desmurget M, and Sirigu A (2009). A parietal-premotor network for movement intention and motor awareness. Trends In Cognitive Sciences 13, 411–419. [DOI] [PubMed] [Google Scholar]
  • 19.Sirigu A, Daprati E, Ciancia S, Giraux P, Nighoghossian N, Posada A, and Haggard P (2004). Altered awareness of voluntary action after damage to the parietal cortex. Nat Neurosci 7, 80–84. [DOI] [PubMed] [Google Scholar]
  • 20.Churchland MM, and Shenoy KV (2007). Temporal complexity and heterogeneity of single-neuron activity in premotor and motor cortex. J Neurophysiol 97, 4235–4257. [DOI] [PubMed] [Google Scholar]
  • 21.Afshar A, Santhanam G, Yu BM, Ryu SI, Sahani M, and Shenoy KV (2011). Single-trial neural correlates of arm movement preparation. Neuron 71, 555–564. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Kaufman MT, Churchland MM, Ryu SI, and Shenoy KV (2014). Cortical activity in the null space: permitting preparation without movement. Nat Neurosci 17, 440–448. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Schurger A (2018). Specific Relationship between the Shape of the Readiness Potential, Subjective Decision Time, and Waiting Time Predicted by an Accumulator Model with Temporally Autocorrelated Input Noise. eNeuro 5, ENEURO.0302-0317.2018. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24.Spering M, and Carrasco M (2015). Acting without seeing: eye movements reveal visual processing without awareness. Trends in Neurosciences 38, 247–258. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Harms IM, Van Dijken JH, Brookhuis KA, and De Waard D (2019). Walking Without Awareness. Frontiers in Psychology 10. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Woods DL, Wyma JM, Yund EW, Herron TJ, and Reed B (2015). Factors influencing the latency of simple reaction time. Front Hum Neurosci 9, 131. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Kobak D, Brendel W, Constantinidis C, Feierstein CE, Kepecs A, Mainen ZF, Romo R, Qi X-L, Uchida N, and Machens CK (2014). Demixed principal component analysis of population activity in higher cortical areas reveals independent representation of task parameters. [Google Scholar]
  • 28.Saxena S, and Cunningham JP (2019). Towards the neural population doctrine. Current Opinion in Neurobiology 55, 103–111. [DOI] [PubMed] [Google Scholar]
  • 29.Gallego JA, Perich MG, Miller LE, and Solla SA (2017). Neural Manifolds for the Control of Movement. Neuron 94, 978–984. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Shenoy KV, Sahani M, and Churchland MM (2013). Cortical control of arm movements: a dynamical systems perspective. Annu Rev Neurosci 36, 337–359. [DOI] [PubMed] [Google Scholar]
  • 31.Kaufman MT, Seely JS, Sussillo D, Ryu SI, Shenoy KV, and Churchland MM (2016). The Largest Response Component in the Motor Cortex Reflects Movement Timing but Not Movement Type. eNeuro 3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Churchland AK, Kiani R, and Shadlen MN (2008). Decision-making with multiple alternatives. Nat Neurosci 11, 693–702. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33.Thura D, and Cisek P (2014). Deliberation and commitment in the premotor and primary motor cortex during dynamic decision making. Neuron 81, 1401–1416. [DOI] [PubMed] [Google Scholar]
  • 34.Schurger A, Sitt JD, and Dehaene S (2012). An accumulator model for spontaneous neural activity prior to self-initiated movement. Proc Natl Acad Sci U S A 109, E2904–2913. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Jazayeri M, and Shadlen MN (2015). A Neural Mechanism for Sensing and Reproducing a Time Interval. Curr Biol 25, 2599–2609. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Romo R, and Schultz W (1987). Neuronal activity preceding self-initiated or externally timed arm movements in area 6 of monkey cortex. Exp Brain Res 67, 656–662. [DOI] [PubMed] [Google Scholar]
  • 37.Averbeck BB, Crowe DA, Chafee MV, and Georgopoulos AP (2003). Neural activity in prefrontal cortex during copying geometrical shapes - II. Decoding shape segments from neural ensembles. Experimental Brain Research 150, 142–153. [DOI] [PubMed] [Google Scholar]
  • 38.Averbeck BB, Chafee MV, Crowe DA, and Georgopoulos AP (2003). Neural activity in prefrontal cortex during copying geometrical shapes - I. Single cells encode shape, sequence, and metric parameters. Experimental Brain Research 150, 127–141. [DOI] [PubMed] [Google Scholar]
  • 39.Genovesio A, Brasted PJ, and Wise SP (2006). Representation of future and previous spatial goals by separate neural populations in prefrontal cortex. Journal of Neuroscience 26, 7305–7316. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 40.Averbeck BB, Chafee MV, Crowe DA, and Georgopoulos AP (2002). Parallel processing of serial movements in prefrontal cortex. Proc Natl Acad Sci U S A 99, 13172–13177. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Sirigu A, Daprati E, Ciancia S, Giraux P, Nighoghossian N, Posada A, and Haggard P (2003). Altered awareness of voluntary action after damage to the parietal cortex. Nature Neuroscience 7, 80–84. [DOI] [PubMed] [Google Scholar]
  • 42.McNamee D, and Wolpert DM (2019). Internal Models in Biological Control. Annu Rev Control Robot Auton Syst 2, 339–364. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Mulliken GH, Musallam S, and Andersen RA (2008). Forward estimation of movement state in posterior parietal cortex. Proc Natl Acad Sci U S A 105, 8170–8177. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Desmurget M, and Grafton S (2000). Forward modeling allows feedback control for fast reaching movements. Trends in Cognitive Sciences 4, 423–431. [DOI] [PubMed] [Google Scholar]
  • 45.Graziano MS, Cooke DF, and Taylor CS (2000). Coding the location of the arm by sight. Science 290, 1782–1786. [DOI] [PubMed] [Google Scholar]
  • 46.Blakemore SJ, Wolpert DM, and Frith CD (1998). Central cancellation of self-produced tickle sensation. Nat Neurosci 1, 635–640. [DOI] [PubMed] [Google Scholar]
  • 47.Andersen RA, Aflalo T, Bashford L, Bjanes D, and Kellis S (2022). Exploring Cognition with Brain-Machine Interfaces. Annu Rev Psychol 73, 131–158. [DOI] [PubMed] [Google Scholar]
  • 48.Sirigu A, and Desmurget M (2020). The Sensorimotor Posterior Parietal Cortex: From Intention to Action. In The Senses: A Comprehensive Reference. (Elsevier; ), pp. 349–358. [Google Scholar]
  • 49.Igelström KM, and Graziano MSA (2017). The inferior parietal lobule and temporoparietal junction: A network perspective. Neuropsychologia 105, 70–83. [DOI] [PubMed] [Google Scholar]
  • 50.Webb TW, Igelström KM, Schurger A, and Graziano MSA (2016). Cortical networks involved in visual awareness independent of visual attention. Proceedings of the National Academy of Sciences 113, 13923–13928. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Chivukula S, Zhang C, Aflalo T, Jafari M, Pejsa K, Pouratian N, and Andersen RA (2021). Neural encoding of felt and imagined touch within human posterior parietal cortex. eLife (in Press), 2020.2007.2027.223636. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52.Aflalo T, Zhang CY, Rosario ER, Pouratian N, Orban GA, and Andersen RA (2020). A shared neural substrate for action verbs and observed actions in human posterior parietal cortex. Sci Adv 6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53.Zhang CY, Aflalo T, Revechkis B, Rosario ER, Ouellette D, Pouratian N, and Andersen RA (2017). Partially Mixed Selectivity in Human Posterior Parietal Association Cortex. Neuron 95, 697–708 e694. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 54.Rutishauser U, Aflalo T, Rosario ER, Pouratian N, and Andersen RA (2018). Single-Neuron Representation of Memory Strength and Recognition Confidence in Left Human Posterior Parietal Cortex. Neuron 97, 209–220 e203. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55.Pacherie E (2008). The phenomenology of action: a conceptual framework. Cognition 107, 179–217. [DOI] [PubMed] [Google Scholar]
  • 56.Haggard P (2008). Human volition: towards a neuroscience of will. Nat Rev Neurosci 9, 934–946. [DOI] [PubMed] [Google Scholar]
  • 57.Libet B, Gleason CA, Wright EW, and Pearl DK (1983). Time of conscious intention to act in relation to onset of cerebral activity (readiness-potential). The unconscious initiation of a freely voluntary act. Brain 106 (Pt 3), 623–642. [DOI] [PubMed] [Google Scholar]
  • 58.Murakami M, Shteingart H, Loewenstein Y, and Mainen ZF (2017). Distinct Sources of Deterministic and Stochastic Components of Action Timing Decisions in Rodent Frontal Cortex. Neuron 94, 908–919.e907. [DOI] [PubMed] [Google Scholar]
  • 59.Murakami M, Vicente MI, Costa GM, and Mainen ZF (2014). Neural antecedents of self-initiated actions in secondary motor cortex. Nature Neuroscience 17, 1574–1582. [DOI] [PubMed] [Google Scholar]
  • 60.Schurger A, Hu PB, Pak J, and Roskies AL (2021). What Is the Readiness Potential? Trends in Cognitive Sciences 25, 558–570. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 61.Travers E, and Haggard P (2021). The Readiness Potential reflects the internal source of action, rather than decision uncertainty. The European Journal of Neuroscience 53, 1533–1544. [DOI] [PubMed] [Google Scholar]
  • 62.Travers E, Friedemann M, and Haggard P (2021). The Readiness Potential reflects planning-based expectation, not uncertainty, in the timing of action. Cognitive Neuroscience 12, 14–27. [DOI] [PubMed] [Google Scholar]
  • 63.Stringer C, Pachitariu M, Steinmetz N, Reddy CB, Carandini M, and Harris KD (2019). Spontaneous behaviors drive multidimensional, brainwide activity. Science 364, 255. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 64.Musall S, Kaufman MT, Juavinett AL, Gluf S, and Churchland AK (2019). Single-trial neural dynamics are dominated by richly varied movements. Nat Neurosci 22, 1677–1686. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 65.Shadmehr R, Smith MA, and Krakauer JW (2010). Error correction, sensory prediction, and adaptation in motor control. Annual Review Of Neuroscience 33, 89–108. [DOI] [PubMed] [Google Scholar]
  • 66.Tibshirani R, Ealther G, and Hastie T (2001). Estimating the number of clusters in a dataset via the Gap statistic. J.R. Statist. Soc 63, 411–423. [Google Scholar]
  • 67.Harris KD, Quiroga RQ, Freeman J, and Smith SL (2016). Improving data quality in neuronal population recordings. Nat Neurosci 19, 1165–1174. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 68.Cunningham JP, and Yu BM (2014). Dimensionality reduction for large-scale neural recordings. Nature Neuroscience 17, 1500–1509. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 69.Brendel W, Romo R, and Machens CK (2011). Demixed Principal Component Analysis. Advances in Neural Information …, 2654–2662. [Google Scholar]
  • 70.Murphy K (2012). Machine Learning: A Probabilistic Perspective, (The MIT Press; ). [Google Scholar]
  • 71.Churchland MM, Cunningham JP, Kaufman MT, Foster JD, Nuyujukian P, Ryu SI, and Shenoy KV (2012). Neural population dynamics during reaching. Nature. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 72.Michaels JA, Dann B, Intveld RW, and Scherberger H (2015). Predicting Reaction Time from the Neural State Space of the Premotor and Parietal Grasping Network. J Neurosci 35, 11415–11432. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 73.Churchland MM, Cunningham JP, Kaufman MT, Ryu SI, and Shenoy KV (2010). Cortical preparatory activity: representation of movement or first cog in a dynamical machine? Neuron 68, 387–400. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 74.Kemere C, Santhanam G, Yu BM, Afshar A, Ryu SI, Meng TH, and Shenoy KV (2008). Detecting neural-state transitions using hidden Markov models for motor cortical prostheses. Journal Of Neurophysiology 100, 2441–2452. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

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

Supplementary Materials

Supplemental figures
Supplemental Video 1

Video S1: Direct neural control of a virtual piano interface. Related to Figure 1. Individuated finger flexion movements of the right hand are decoded continuously. Decoded movements are mapped to a subset of keys on a virtual piano.

Download video file (2.6MB, mp4)
Supplemental Video 2

Video S2: Finger movements can be decoded before conscious intent. Related to Figure 1. The participant describes her subjective experience using an early version of the virtual piano interface.

Download video file (1.5MB, mp4)
Supplemental Video 3

Video S3: Neural dynamics during the cued Libet paradigm. Related to Figure 4 and Figure S4. The video illustrates how the neural dynamics associated with pre-movement neural encoding and maintenance of motor plans can lead to numerous complications when attempting to decode the intention to execute a movement. Neural population activity (displayed as the position in neural state space of the first two principal components) is shown for both shoulder and hand movement trials (green and red points). Each point corresponds to the average of 3 randomly sampled trials to reduce noise and thus allows better visualization of movement through neural state space. The start of each task epoch (ITI, Cue, Movement Initiation/”W”) is labeled at the corresponding times of the video. The background image visualizes the neural decision space trained on neural data from the task’s ITI and movement initiation phases. Three sources of spurious decoding are illustrated. First, neural encoding of the plan to make a future action brings the neural state into the portion of the decision space associated with the intention to initiate movement. This triggers early decoding (see Figure 4 and Figure S4). A freeze-frame, labeled “Plan encoding crosses decision boundary,” is used in the video to illustrate an example. Second, planning-related activity brings the neural state closer to the decision threshold. Because the population state is brought closer to the decision threshold, noise can drive neural activity into the region of the decision space associated with movement initiation. A freeze-frame, labeled “Early crossing,” is used in the video to illustrate an example. Third, the trajectory of the neural population during the transition to movement initiation can lead to false positives or decoding one movement when the other movement was intended. A freeze-frame, labeled “False positives,” is used in the video to illustrate an example. In particular, neural activity related to initiating hand movements (red dots) transiently passes through the portion of the decision space associated with shoulder movement (green background). The inset within the video shows the same dynamic neural population behavior but with a backdrop decision space that better captures the neural states associated with encoding, planning, and initiating movement. Critically, it is apparent during the freeze frames that neural activity never spuriously crosses into the light green and red regions associated with movement initiation. See: Methods “Improving classification” for additional information.

Download video file (3MB, mp4)

Data Availability Statement

  • The data that support the findings of this study are available from the corresponding author upon reasonable request.

  • This paper does not report original code, but our custom MATLAB code is available from the authors upon reasonable request.

  • Any additional information required to reanalyze the data reported in this paper is available from the lead contact upon request.

RESOURCES