<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD with MathML3 v1.2 20190208//EN"  "JATS-archivearticle1-mathml3.dtd"><article xmlns:ali="http://www.niso.org/schemas/ali/1.0/" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="1.2"><front><journal-meta><journal-id journal-id-type="nlm-ta">elife</journal-id><journal-id journal-id-type="publisher-id">eLife</journal-id><journal-title-group><journal-title>eLife</journal-title></journal-title-group><issn publication-format="electronic" pub-type="epub">2050-084X</issn><publisher><publisher-name>eLife Sciences Publications, Ltd</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">77690</article-id><article-id pub-id-type="doi">10.7554/eLife.77690</article-id><article-categories><subj-group subj-group-type="display-channel"><subject>Research Article</subject></subj-group><subj-group subj-group-type="heading"><subject>Neuroscience</subject></subj-group></article-categories><title-group><article-title>Interplay between external inputs and recurrent dynamics during movement preparation and execution in a network model of motor cortex</article-title></title-group><contrib-group><contrib contrib-type="author" corresp="yes" id="author-269431"><name><surname>Bachschmid-Romano</surname><given-names>Ludovica</given-names></name><contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0002-7249-5167</contrib-id><email>ludovica.bachschmid.romano@duke.edu</email><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="fn" rid="con1"/><xref ref-type="fn" rid="conf1"/></contrib><contrib contrib-type="author" id="author-19199"><name><surname>Hatsopoulos</surname><given-names>Nicholas G</given-names></name><xref ref-type="aff" rid="aff2">2</xref><xref ref-type="aff" rid="aff3">3</xref><xref ref-type="fn" rid="con2"/><xref ref-type="fn" rid="conf2"/></contrib><contrib contrib-type="author" corresp="yes" id="author-172887"><name><surname>Brunel</surname><given-names>Nicolas</given-names></name><contrib-id authenticated="true" contrib-id-type="orcid">https://orcid.org/0000-0002-2272-3248</contrib-id><email>nb170@phy.duke.edu</email><xref ref-type="aff" rid="aff1">1</xref><xref ref-type="aff" rid="aff4">4</xref><xref ref-type="aff" rid="aff5">5</xref><xref ref-type="aff" rid="aff6">6</xref><xref ref-type="other" rid="fund1"/><xref ref-type="fn" rid="con3"/><xref ref-type="fn" rid="conf2"/></contrib><aff id="aff1"><label>1</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/00py81415</institution-id><institution>Department of Neurobiology, Duke University</institution></institution-wrap><addr-line><named-content content-type="city">Durham</named-content></addr-line><country>United States</country></aff><aff id="aff2"><label>2</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/024mw5h28</institution-id><institution>Department of Organismal Biology and Anatomy, University of Chicago</institution></institution-wrap><addr-line><named-content content-type="city">Chicago</named-content></addr-line><country>United States</country></aff><aff id="aff3"><label>3</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/024mw5h28</institution-id><institution>Committee on Computational Neuroscience, University of Chicago</institution></institution-wrap><addr-line><named-content content-type="city">Chicago</named-content></addr-line><country>United States</country></aff><aff id="aff4"><label>4</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/00py81415</institution-id><institution>Department of Physics, Duke University</institution></institution-wrap><addr-line><named-content content-type="city">Durham</named-content></addr-line><country>United States</country></aff><aff id="aff5"><label>5</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/00py81415</institution-id><institution>Duke Institute for Brain Sciences, Duke University</institution></institution-wrap><addr-line><named-content content-type="city">Durham</named-content></addr-line><country>United States</country></aff><aff id="aff6"><label>6</label><institution-wrap><institution-id institution-id-type="ror">https://ror.org/00py81415</institution-id><institution>Center for Cognitive Neuroscience, Duke University</institution></institution-wrap><addr-line><named-content content-type="city">Durham</named-content></addr-line><country>United States</country></aff></contrib-group><contrib-group content-type="section"><contrib contrib-type="editor"><name><surname>Diedrichsen</surname><given-names>Jörn</given-names></name><role>Reviewing Editor</role><aff><institution-wrap><institution-id institution-id-type="ror">https://ror.org/02grkyz14</institution-id><institution>Western University</institution></institution-wrap><country>Canada</country></aff></contrib><contrib contrib-type="senior_editor"><name><surname>Makin</surname><given-names>Tamar R</given-names></name><role>Senior Editor</role><aff><institution-wrap><institution-id institution-id-type="ror">https://ror.org/013meh722</institution-id><institution>University of Cambridge</institution></institution-wrap><country>United Kingdom</country></aff></contrib></contrib-group><pub-date publication-format="electronic" date-type="publication"><day>11</day><month>05</month><year>2023</year></pub-date><pub-date pub-type="collection"><year>2023</year></pub-date><volume>12</volume><elocation-id>e77690</elocation-id><history><date date-type="received" iso-8601-date="2022-02-08"><day>08</day><month>02</month><year>2022</year></date><date date-type="accepted" iso-8601-date="2023-03-09"><day>09</day><month>03</month><year>2023</year></date></history><pub-history><event><event-desc>This manuscript was published as a preprint at bioRxiv.</event-desc><date date-type="preprint" iso-8601-date="2022-02-19"><day>19</day><month>02</month><year>2022</year></date><self-uri content-type="preprint" xlink:href="https://doi.org/10.1101/2022.02.19.481140"/></event></pub-history><permissions><copyright-statement>© 2023, Bachschmid-Romano et al</copyright-statement><copyright-year>2023</copyright-year><copyright-holder>Bachschmid-Romano et al</copyright-holder><ali:free_to_read/><license xlink:href="http://creativecommons.org/licenses/by/4.0/"><ali:license_ref>http://creativecommons.org/licenses/by/4.0/</ali:license_ref><license-p>This article is distributed under the terms of the <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution License</ext-link>, which permits unrestricted use and redistribution provided that the original author and source are credited.</license-p></license></permissions><self-uri content-type="pdf" xlink:href="elife-77690-v1.pdf"/><self-uri content-type="figures-pdf" xlink:href="elife-77690-figures-v1.pdf"/><abstract><p>The primary motor cortex has been shown to coordinate movement preparation and execution through computations in approximately orthogonal subspaces. The underlying network mechanisms, and the roles played by external and recurrent connectivity, are central open questions that need to be answered to understand the neural substrates of motor control. We develop a recurrent neural network model that recapitulates the temporal evolution of neuronal activity recorded from the primary motor cortex of a macaque monkey during an instructed delayed-reach task. In particular, it reproduces the observed dynamic patterns of covariation between neural activity and the direction of motion. We explore the hypothesis that the observed dynamics emerges from a synaptic connectivity structure that depends on the preferred directions of neurons in both preparatory and movement-related epochs, and we constrain the strength of both synaptic connectivity and external input parameters from data. While the model can reproduce neural activity for multiple combinations of the feedforward and recurrent connections, the solution that requires minimum external inputs is one where the observed patterns of covariance are shaped by external inputs during movement preparation, while they are dominated by strong direction-specific recurrent connectivity during movement execution. Our model also demonstrates that the way in which single-neuron tuning properties change over time can explain the level of orthogonality of preparatory and movement-related subspaces.</p></abstract><kwd-group kwd-group-type="author-keywords"><kwd>motor cortex</kwd><kwd>recurrent neural networks</kwd><kwd>continuous attractor models</kwd></kwd-group><kwd-group kwd-group-type="research-organism"><title>Research organism</title><kwd>Rhesus macaque</kwd></kwd-group><funding-group><award-group id="fund1"><funding-source><institution-wrap><institution-id institution-id-type="FundRef">http://dx.doi.org/10.13039/100000002</institution-id><institution>National Institutes of Health</institution></institution-wrap></funding-source><award-id>R01NS104898</award-id><principal-award-recipient><name><surname>Brunel</surname><given-names>Nicolas</given-names></name></principal-award-recipient></award-group><funding-statement>The funders had no role in study design, data collection and interpretation, or the decision to submit the work for publication.</funding-statement></funding-group><custom-meta-group><custom-meta specific-use="meta-only"><meta-name>Author impact statement</meta-name><meta-value>A recurrent neural network model with parameters constrained by data explains mechanisms for how tuning properties of motor cortical neurons change during movement preparation and execution in a monkey performing a reaching task, and accurately reproduces neural dynamics from recordings.</meta-value></custom-meta></custom-meta-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><p>The activity of the primary motor cortex (M1) during movement preparation and execution plays a key role in the control of voluntary limb movement (<xref ref-type="bibr" rid="bib24">Evarts, 1968</xref>; <xref ref-type="bibr" rid="bib97">Whishaw et al., 1993</xref>; <xref ref-type="bibr" rid="bib98">Whishaw, 2000</xref>; <xref ref-type="bibr" rid="bib33">Graziano et al., 2002</xref>; <xref ref-type="bibr" rid="bib38">Harrison et al., 2012</xref>; <xref ref-type="bibr" rid="bib81">Scott, 2012</xref>; <xref ref-type="bibr" rid="bib9">Brown and Teskey, 2014</xref>). Classic studies of motor preparation were performed in a delayed-reaching task setting, showing that firing rates correlate with task-relevant parameters during the delay period, despite no movement occurring (<xref ref-type="bibr" rid="bib36">Hanes and Schall, 1996</xref>; <xref ref-type="bibr" rid="bib91">Tanji and Evarts, 1976</xref>; <xref ref-type="bibr" rid="bib15">Churchland et al., 2006a</xref>; <xref ref-type="bibr" rid="bib16">Churchland et al., 2006b</xref>; <xref ref-type="bibr" rid="bib59">Messier and Kalaska, 2000</xref>; <xref ref-type="bibr" rid="bib22">Dorris et al., 1997</xref>; <xref ref-type="bibr" rid="bib32">Glimcher and Sparks, 1992</xref>; <xref ref-type="bibr" rid="bib32">Glimcher and Sparks, 1992</xref>; <xref ref-type="bibr" rid="bib100">Wurtz and Goldberg, 1972</xref>; <xref ref-type="bibr" rid="bib20">Darlington et al., 2018</xref>; <xref ref-type="bibr" rid="bib21">Darlington and Lisberger, 2020</xref>). More recent works have shown that preparatory activity is also displayed before non-delayed movements (<xref ref-type="bibr" rid="bib53">Lara et al., 2018</xref>), that it is involved in reach correction (<xref ref-type="bibr" rid="bib3">Ames et al., 2019</xref>), and that when multiple reaches are executed rapidly and continuously, each upcoming reach is prepared by the motor cortical activity while the current reach is in action (<xref ref-type="bibr" rid="bib102">Zimnik and Churchland, 2021</xref>). Preparation and execution of different reaches are thought to be processed simultaneously without interference in the motor cortex through computation along orthogonal dimensions (<xref ref-type="bibr" rid="bib102">Zimnik and Churchland, 2021</xref>). Indeed, the preparatory and movement-related subspaces identified by linear dimensionality reduction methods are almost orthogonal (<xref ref-type="bibr" rid="bib23">Elsayed et al., 2016</xref>) so that simple linear readouts that transform motor cortical activity into movement commands will not produce premature movement during the planning stage (<xref ref-type="bibr" rid="bib50">Kaufman et al., 2014</xref>). However, response patterns in these two epochs are nevertheless linked, as demonstrated by the fact that a linear transformation can explain the flow of activity from the preparatory subspace to the movement subspace (<xref ref-type="bibr" rid="bib23">Elsayed et al., 2016</xref>). How this population-level strategy is implemented at the circuit level is still under investigation (<xref ref-type="bibr" rid="bib49">Kao et al., 2021</xref>, ). A related open question (<xref ref-type="bibr" rid="bib57">Malonis et al., 2021</xref>) is whether inputs from areas upstream to the primary motor cortex (such as from the thalamus and other cortical regions, here referred to as <italic>external inputs</italic>) that have been shown to be necessary to sustain movement generation (<xref ref-type="bibr" rid="bib75">Sauerbrei et al., 2020</xref>) are specific to the type of movement being generated throughout the whole course of the motor action, or if they serve to set the initial conditions for the dynamics of the motor cortical network to evolve as shaped by recurrent connections (<xref ref-type="bibr" rid="bib18">Churchland et al., 2012</xref>; <xref ref-type="bibr" rid="bib85">Shenoy et al., 2013</xref>; <xref ref-type="bibr" rid="bib40">Hennequin et al., 2014</xref>; <xref ref-type="bibr" rid="bib89">Sussillo et al., 2015</xref>; <xref ref-type="bibr" rid="bib51">Kaufman et al., 2016</xref>; <xref ref-type="bibr" rid="bib96">Vyas et al., 2020</xref>).</p><p>In this work, we use a network modeling approach to explain the relationship between network connectivity, external inputs, and computations in orthogonal dimensions. Our analysis is based on electrophysiological recordings from M1 of a macaque monkey performing a delayed center-out reaching task. The dynamics of motor cortical neurons during reaching limb movements has been shown to be low-dimensional (<xref ref-type="bibr" rid="bib26">Gallego et al., 2018</xref>). Here, we develop a low-dimensional description of the dynamics using <italic>order parameters</italic> that quantify the covariation between neural activity and the direction of motion (see <xref ref-type="bibr" rid="bib29">Georgopoulos et al., 1986</xref>; <xref ref-type="bibr" rid="bib77">Schwartz et al., 1988</xref>; <xref ref-type="bibr" rid="bib30">Georgopoulos et al., 1989</xref>; <xref ref-type="bibr" rid="bib31">Georgopoulos et al., 1993</xref> but also <xref ref-type="bibr" rid="bib78">Scott and Kalaska, 1997</xref>; <xref ref-type="bibr" rid="bib79">Scott et al., 2001</xref>). Recorded neurons are tuned to the direction of motion both during movement preparation and execution, but their preferred direction and amplitude of the tuning function change over time (<xref ref-type="bibr" rid="bib39">Hatsopoulos et al., 2007</xref>; <xref ref-type="bibr" rid="bib17">Churchland and Shenoy, 2007</xref>; <xref ref-type="bibr" rid="bib70">Rickert et al., 2009</xref>). Interestingly, major changes happen when the activity flows from the preparatory to the movement-related subspaces. We describe neuronal selectivity during the task by four parameters: two angular variables corresponding to the preferred direction during movement preparation and execution, respectively; and two parameters that represent the strength of tuning in the two epochs. We characterized the empirical distribution of these parameters, and investigated potential network mechanisms that can generate the observed tuning properties by building a recurrent neural network model, whose synaptic weights depend on tuning properties of pre and post-synaptic neurons, and external inputs can contain information about movement direction. First, we analytically derived a low-dimensional description of the dynamics in terms of a few observables denoted as <italic>order parameters</italic>, which recapitulate the temporal evolution of the population-level patterns of tuning to the direction of motion. Then, we inferred the strength of recurrent connections and external inputs from data, by imposing that the model reproduce the observed dynamics of the order parameters. There are multiple combinations of feedforward and recurrent connections that allow the model to generate neural activity that strongly resembles the one from recordings both at the single-neuron and population level, and that can be transformed into realistic patterns of muscle activity by a linear readout. To break the model degeneracy, we imposed an extra cost associated with large external inputs – that likely require more metabolic energy consumption compared to local recurrent inputs. The resulting solution suggests that different network mechanisms operate during movement preparation and execution. During the delay period, the population activity is shaped by external inputs that are tuned to the preferred directions of the neurons. During movement execution, the localized pattern of activity is maintained via strong direction-specific recurrent connections. Finally, we show how the specific way in which neurons tuning properties rearrange over time produces the observed level of orthogonality between the preparatory- and movement-related subspaces.</p></sec><sec id="s2" sec-type="results"><title>Results</title><sec id="s2-1"><title>Subjects and task</title><p>We analyzed multi-electrode recordings from the primary motor cortex (M1) of two macaque monkeys performing a previously reported instructed-delay, center-out reaching task (<xref ref-type="bibr" rid="bib72">Rubino et al., 2006</xref>). The monkey’s arm was on a two-link exoskeletal robotic arm, so that the position of the monkey’s hand controlled the location of a cursor projected onto a horizontal screen. The task consisted of three periods (<xref ref-type="fig" rid="fig1">Figure 1a</xref>): a hold period, during which the monkey was trained to hold the cursor on a center target and wait 500ms for the instruction cue; an instruction period, during which the monkey was presented with one of eight evenly spaced peripheral targets and continued to hold at the center for an additional 1,000–1,500ms; a movement period, signalled by a go cue, when the monkey initiated the reach to the peripheral target. Successful trials for which the monkeys reached the target were rewarded with a juice or water reward. The peripheral target was present on the screen throughout the whole instruction and movement periods. In line with previous studies (e.g. <xref ref-type="bibr" rid="bib23">Elsayed et al., 2016</xref>), the preparatory and movement-related epochs were defined as two 300ms time intervals beginning, respectively, 100ms after target onset and 50ms before the start of the movement.</p><fig-group><fig id="fig1" position="float"><label>Figure 1.</label><caption><title>Tuning to the direction of motion during movement preparation and execution in a delayed reaching task.</title><p>(<bold>a</bold>) Schematic of the center-out delayed reaching task and definition of the preparatory (blue) and of the movement-related (red) epochs. Black circles represent the time of: target onset; go cue; start of movement; end of movement, averaged across trials. (<bold>b</bold>) Example of the trial averaged firing rate of two neurons during movement preparation as a function of the target location. Solid lines represent the corresponding cosine fit. For one example neuron, we show its preferred direction (<inline-formula><mml:math id="inf1"><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula>), defined as the location of the peak of the cosine function; and its degree of participation (<inline-formula><mml:math id="inf2"><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula>), which is proportional to the amplitude of the cosine function. (<bold>c</bold>) Same as in (<bold>a</bold>), but for the activity of the same neurons during movement execution. The preferred direction is denoted as <inline-formula><mml:math id="inf3"><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula> and the degree of participation is <inline-formula><mml:math id="inf4"><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula>. (<bold>d</bold>) Scatter plot of the preferred direction during execution (<inline-formula><mml:math id="inf5"><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula>) vs preparation (<inline-formula><mml:math id="inf6"><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula>) for all neurons; preferred directions are defined as the location of the peak of the cosine tuning functions (circular correlation coefficient <inline-formula><mml:math id="inf7"><mml:mrow><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:mn>0.4</mml:mn></mml:mrow></mml:math></inline-formula>). The heat map represents the joint distribution over (<inline-formula><mml:math id="inf8"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) inferred from the data (<xref ref-type="disp-formula" rid="equ5">Equation 4</xref>). (<bold>e</bold>) Scatter plot of the normalized amplitude of the cosine tuning curve during execution (<inline-formula><mml:math id="inf9"><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula>) vs preparation (<inline-formula><mml:math id="inf10"><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula>) for all neurons (correlation coefficient <inline-formula><mml:math id="inf11"><mml:mrow><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:mn>0.3</mml:mn></mml:mrow></mml:math></inline-formula>). Blue line: empirical distribution of <inline-formula><mml:math id="inf12"><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula> from kernel density estimation; red line: empirical distribution of <inline-formula><mml:math id="inf13"><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula>. (<bold>f–g</bold>) Trial averaged firing rate for all neurons during movement preparation as a function of <inline-formula><mml:math id="inf14"><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula> (<bold>f</bold>) and <inline-formula><mml:math id="inf15"><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula> (<bold>g</bold>), for the condition with target location <inline-formula><mml:math id="inf16"><mml:mrow><mml:mi/><mml:mo>=</mml:mo><mml:mrow><mml:mrow><mml:mn>5</mml:mn><mml:mo>⁢</mml:mo><mml:mi>π</mml:mi></mml:mrow><mml:mo>/</mml:mo><mml:mn>4</mml:mn></mml:mrow></mml:mrow></mml:math></inline-formula>, indicated by the dashed vertical line. The activity is normalized across condition for each neuron. The activity of one neuron chosen at random is indicated by the orange dots in panels f and g.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77690-fig1-v1.tif"/></fig><fig id="fig1s1" position="float" specific-use="child-fig"><label>Figure 1—figure supplement 1.</label><caption><title>Variance of preferred directions across time.</title><p>(<bold>a</bold>) Cumulative density function of the circular variance of preferred directions. We binned time into time bins of length 160 ms, and computed neurons’ preferred directions in each time bin. We then considered the delay period only (3 time bins) and computed the circular variance of preferred directions across time bins, for each neuron. Its cumulative distribution is plot in blue. We repeated the same procedure for the movement-related epoch (3 time bins, red) and for the whole duration of the experiment (9 time bins, gray). (<bold>b</bold>) Bootstrap analysis (see Methods for details). Cumulative density function of the circular variance of preferred directions as in (<bold>a</bold>), but considering trials from the bootstrap distribution. (<bold>c</bold>) Thick line: median (across neurons) circular variance of preferred directions from data, for the delay period. Histogram: distribution of median circular variances of preferred directions from bootstrap samples, for the delay period. The dotted line represents the 95% quantile of the distribution.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77690-fig1-figsupp1-v1.tif"/></fig><fig id="fig1s2" position="float" specific-use="child-fig"><label>Figure 1—figure supplement 2.</label><caption><title>Distribution of tuning parameters from data.</title><p>(<bold>a</bold>) Distribution of <inline-formula><mml:math id="inf17"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> computed from recorded data (orange) and data generated from the distribution: <inline-formula><mml:math id="inf18"><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mo>⁢</mml:mo><mml:mrow><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow><mml:mo>/</mml:mo><mml:mn>3</mml:mn></mml:mrow></mml:mrow></mml:math></inline-formula> (gray). (<bold>b</bold>) Variables <inline-formula><mml:math id="inf19"><mml:mrow><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> plotted as a function of <inline-formula><mml:math id="inf20"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. The circular correlation is <inline-formula><mml:math id="inf21"><mml:mrow><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:mn>0.13</mml:mn></mml:mrow></mml:math></inline-formula> (<inline-formula><mml:math id="inf22"><mml:mrow><mml:mi>P</mml:mi><mml:mo>=</mml:mo><mml:mn>0.3</mml:mn></mml:mrow></mml:math></inline-formula>), for both <inline-formula><mml:math id="inf23"><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf24"><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula>. (<bold>c</bold>) Variables <inline-formula><mml:math id="inf25"><mml:mrow><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> plotted as a function of <inline-formula><mml:math id="inf26"><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula>. The circular correlation is <inline-formula><mml:math id="inf27"><mml:mrow><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:mn>0.08</mml:mn></mml:mrow></mml:math></inline-formula> (<inline-formula><mml:math id="inf28"><mml:mrow><mml:mi>P</mml:mi><mml:mo>=</mml:mo><mml:mn>0.6</mml:mn></mml:mrow></mml:math></inline-formula>) for <inline-formula><mml:math id="inf29"><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf30"><mml:mrow><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:mn>0.06</mml:mn></mml:mrow></mml:math></inline-formula> (<inline-formula><mml:math id="inf31"><mml:mrow><mml:mi>P</mml:mi><mml:mo>=</mml:mo><mml:mn>0.7</mml:mn></mml:mrow></mml:math></inline-formula>) for <inline-formula><mml:math id="inf32"><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula>. (<bold>d</bold>) Variables <inline-formula><mml:math id="inf33"><mml:mrow><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> plotted as a function of <inline-formula><mml:math id="inf34"><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula>. The circular correlation is <inline-formula><mml:math id="inf35"><mml:mrow><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:mn>0.01</mml:mn></mml:mrow></mml:math></inline-formula> (<inline-formula><mml:math id="inf36"><mml:mrow><mml:mi>P</mml:mi><mml:mo>=</mml:mo><mml:mn>0.9</mml:mn></mml:mrow></mml:math></inline-formula>) for <inline-formula><mml:math id="inf37"><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf38"><mml:mrow><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:mn>0.1</mml:mn></mml:mrow></mml:math></inline-formula> (<inline-formula><mml:math id="inf39"><mml:mrow><mml:mi>P</mml:mi><mml:mo>=</mml:mo><mml:mn>0.2</mml:mn></mml:mrow></mml:math></inline-formula>) for <inline-formula><mml:math id="inf40"><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula>. (<bold>e</bold>) Scatter plot of the amplitude of a cosine function fitted to the tuning curve of the preparatory activity vs the <inline-formula><mml:math id="inf41"><mml:msup><mml:mi>R</mml:mi><mml:mn>2</mml:mn></mml:msup></mml:math></inline-formula> coefficient of the fit. The neurons with larger tuning amplitude are the ones with higher <inline-formula><mml:math id="inf42"><mml:msup><mml:mi>R</mml:mi><mml:mn>2</mml:mn></mml:msup></mml:math></inline-formula>. (<bold>f</bold>) Same as in (<bold>c</bold>) but for movement-related activity.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77690-fig1-figsupp2-v1.tif"/></fig></fig-group></sec><sec id="s2-2"><title>Patterns of correlation between neural activity and movement direction</title><p>Studies of motor cortex have shown that tuning to movement direction is not a time-invariant property of motor cortical neurons, but rather varies in time throughout the course of the motor action; single-neuron encoding of entire movement trajectories has been also reported (e.g. [<xref ref-type="bibr" rid="bib39">Hatsopoulos et al., 2007</xref>; <xref ref-type="bibr" rid="bib17">Churchland and Shenoy, 2007</xref>]). We measured temporal variations in neurons preferred direction by binning time into <inline-formula><mml:math id="inf43"><mml:mrow><mml:mn>160</mml:mn><mml:mo>⁢</mml:mo><mml:mi>m</mml:mi><mml:mo>⁢</mml:mo><mml:mi>s</mml:mi></mml:mrow></mml:math></inline-formula> time bins and fitting the binned trial-averaged spike counts as a function of movement direction with a cosine function. As the variability in preferred direction during the delay period alone and during movement execution alone was significantly smaller than the variability during the entire duration of the task (<xref ref-type="fig" rid="fig1s1">Figure 1—figure supplement 1</xref>), we characterized neurons tuning properties only in terms of these two epochs. This simplifying assumption is discussed further in Methods and Discussion. We will show later that such a simplification is enough for the model to recapitulate neuronal activity both at the level of single-units and at the population level.</p><p><xref ref-type="fig" rid="fig1">Figure 1b–c</xref> show two examples of tuning curves, where the trial-averaged and time-averaged activity during movement preparation and execution is plotted as a function of the location of the target on the screen, together with a cosine fitting curve. In the two epochs, neurons change their preferred direction - denoted, respectively, as <inline-formula><mml:math id="inf44"><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf45"><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula> - and their degree of participation, which is proportional to the amplitude of the cosine tuning function - denoted as <inline-formula><mml:math id="inf46"><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf47"><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula>. A scatter plot of the preferred directions in preparatory (<inline-formula><mml:math id="inf48"><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula>) and execution (<inline-formula><mml:math id="inf49"><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula>) epochs for all neurons is shown in <xref ref-type="fig" rid="fig1">Figure 1d</xref>, while a similar scatter plot for the degrees of tuning in preparatory (<inline-formula><mml:math id="inf50"><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula>) and execution (<inline-formula><mml:math id="inf51"><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula>) epochs is shown in <xref ref-type="fig" rid="fig1">Figure 1e</xref>. Neurons preferred direction in the two epochs are moderately correlated (circular correlation coefficient <inline-formula><mml:math id="inf52"><mml:mrow><mml:mrow><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:mn>0.4</mml:mn></mml:mrow><mml:mo rspace="4.2pt">,</mml:mo><mml:mrow><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn>3 10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn>5</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mrow></mml:math></inline-formula>), and so are their degree of participation, even if to a lesser degree (correlation coefficient <inline-formula><mml:math id="inf53"><mml:mrow><mml:mrow><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:mn>0.3</mml:mn></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn>4</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mrow></mml:math></inline-formula>). Neuronal tuning to movement direction is reflected in a population activity profile that is spatially localized, as shown in <xref ref-type="fig" rid="fig1">Figure 1f-g</xref>, were we plot the normalized firing rate for all neurons, as a function of their preferred direction, separately for the two epochs. An example of the activity of a single neuron in the two epochs is highlighted in red. It illustrates how the activity of single neurons is drastically rearranged across time, while the population activity remains localized around the same angular location, which corresponds to the location of the target on the screen.</p></sec><sec id="s2-3"><title>Recurrent neural network model</title><p>The experimental observations described above motivated us to build a network model in which neuronal selectivity properties match the ones observed in the data. In particular, we built a network model in which neurons are characterized by the four same parameters we use to fit the preferred directions <inline-formula><mml:math id="inf54"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and degrees of tuning, <inline-formula><mml:math id="inf55"><mml:mrow><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, leading to a 4-dimensional selectivity space. The subspace defined by the coordinates <inline-formula><mml:math id="inf56"><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> is denoted as map <inline-formula><mml:math id="inf57"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:mstyle></mml:math></inline-formula>, while the subspace defined by <inline-formula><mml:math id="inf58"><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> is denoted as map <inline-formula><mml:math id="inf59"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:mstyle></mml:math></inline-formula>. We will denote the coordinate vector by<disp-formula id="equ1"><mml:math id="m1"><mml:mrow><mml:mi>x</mml:mi><mml:mo>=</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo fence="false" stretchy="false">}</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula></p><p>and refer to the units in the network as neurons, even though each unit in the model could instead represents a group of M1 neurons with similar functional properties, and likewise the connection between two units in our model could represent the effective connection between the two functionally similar groups of neurons in M1.</p><p>In this model, neurons with coordinates (selectivity parameters) <inline-formula><mml:math id="inf60"><mml:mi>x</mml:mi></mml:math></inline-formula> are described by their firing rate <inline-formula><mml:math id="inf61"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>r</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mstyle></mml:math></inline-formula> whose temporal evolution is given by:<disp-formula id="equ2"><label>(1)</label><mml:math id="m2"><mml:mrow><mml:mi>τ</mml:mi><mml:mfrac><mml:mi>d</mml:mi><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mi>r</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>;</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:mi>r</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>;</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mtext>tot</mml:mtext></mml:mrow></mml:msup><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>;</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mrow><mml:mo>+</mml:mo></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula></p><p>where <inline-formula><mml:math id="inf62"><mml:mi>τ</mml:mi></mml:math></inline-formula> is the time constant of firing rate dynamics. <inline-formula><mml:math id="inf63"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mo stretchy="false">[</mml:mo><mml:mspace width="thickmathspace"/><mml:msub><mml:mo stretchy="false">]</mml:mo><mml:mrow><mml:mo>+</mml:mo></mml:mrow></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula> is the threshold-linear (a.k.a. relu) transfer function that converts synaptic inputs in firing rates, and <inline-formula><mml:math id="inf64"><mml:mrow><mml:msup><mml:mi>I</mml:mi><mml:mtext>tot</mml:mtext></mml:msup><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>;</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> is the total synaptic input to neurons with coordinates <inline-formula><mml:math id="inf65"><mml:mi>x</mml:mi></mml:math></inline-formula>. We set the time constant to <inline-formula><mml:math id="inf66"><mml:mrow><mml:mi>τ</mml:mi><mml:mo>=</mml:mo><mml:mn>25</mml:mn></mml:mrow></mml:math></inline-formula> ms, which is of the same order of magnitude of the membrane time constant, and we checked that for values of <inline-formula><mml:math id="inf67"><mml:mi>τ</mml:mi></mml:math></inline-formula> in the range <inline-formula><mml:math id="inf68"><mml:mrow><mml:mrow><mml:mn>10</mml:mn><mml:mo>⁢</mml:mo><mml:mi>m</mml:mi><mml:mo>⁢</mml:mo><mml:mi>s</mml:mi></mml:mrow><mml:mo>-</mml:mo><mml:mrow><mml:mn>100</mml:mn><mml:mo>⁢</mml:mo><mml:mi>m</mml:mi><mml:mo>⁢</mml:mo><mml:mi>s</mml:mi></mml:mrow></mml:mrow></mml:math></inline-formula> our results did not quantitatively change. The total input to a neuron is<disp-formula id="equ3"><label>(2)</label><mml:math id="m3"><mml:mrow><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mtext>tot</mml:mtext></mml:mrow></mml:msup><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>;</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mo>∫</mml:mo><mml:mi>d</mml:mi><mml:msup><mml:mi>x</mml:mi><mml:mrow><mml:mi mathvariant="normal">′</mml:mi></mml:mrow></mml:msup><mml:mi>ρ</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msup><mml:mi>x</mml:mi><mml:mrow><mml:mi mathvariant="normal">′</mml:mi></mml:mrow></mml:msup><mml:mo stretchy="false">)</mml:mo><mml:mi>J</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:msup><mml:mi>x</mml:mi><mml:mrow><mml:mi mathvariant="normal">′</mml:mi></mml:mrow></mml:msup><mml:mo stretchy="false">)</mml:mo><mml:mi>r</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msup><mml:mi>x</mml:mi><mml:mrow><mml:mi mathvariant="normal">′</mml:mi></mml:mrow></mml:msup><mml:mo>;</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mtext>ext</mml:mtext></mml:mrow></mml:msup><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>;</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p><p>The first term in the r.h.s. of (2) is the recurrent input, which depends on the firing rates of presynaptic neurons <inline-formula><mml:math id="inf69"><mml:mrow><mml:mi>r</mml:mi><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msup><mml:mi>x</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula>, and on <inline-formula><mml:math id="inf70"><mml:mrow><mml:mi>J</mml:mi><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:msup><mml:mi>x</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula>, the strength of recurrent connections from neurons with coordinates <inline-formula><mml:math id="inf71"><mml:msup><mml:mi>x</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:math></inline-formula> to neurons with coordinates <inline-formula><mml:math id="inf72"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>x</mml:mi></mml:mrow></mml:mstyle></mml:math></inline-formula>. <inline-formula><mml:math id="inf73"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mtext>ext</mml:mtext></mml:mrow></mml:msup><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>;</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mstyle></mml:math></inline-formula> is the external input, and <inline-formula><mml:math id="inf74"><mml:mrow><mml:mi>ρ</mml:mi><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> is the probability density of <inline-formula><mml:math id="inf75"><mml:mi>x</mml:mi></mml:math></inline-formula>.</p><p>The recurrent term in <inline-formula><mml:math id="inf76"><mml:msup><mml:mi>I</mml:mi><mml:mtext>tot</mml:mtext></mml:msup></mml:math></inline-formula> is the sum of single neuron contributions: here, we assumed that the cortical network is sufficiently large that instead of summing over the contributions of single neurons, each one at a given coordinate <inline-formula><mml:math id="inf77"><mml:mrow><mml:mi>x</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="false">{</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo stretchy="false">}</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula>, we can integrate over a continuous distribution of <inline-formula><mml:math id="inf78"><mml:mi>x</mml:mi></mml:math></inline-formula>. The probability density of the coordinates <inline-formula><mml:math id="inf79"><mml:mrow><mml:mi>ρ</mml:mi><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> is set to match the empirical distribution of the preferred direction and degree of participation. The preferred directions are not significantly correlated with the degrees of tuning (<xref ref-type="fig" rid="fig1s2">Figure 1—figure supplement 2</xref>), and we therefore took them to be independent:<disp-formula id="equ4"><label>(3)</label><mml:math id="m4"><mml:mrow><mml:mi>ρ</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>ρ</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thickmathspace"/><mml:msub><mml:mi>ρ</mml:mi><mml:mrow><mml:mi>p</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p><p>The distribution of preferred directions was well fitted by:<disp-formula id="equ5"><label>(4)</label><mml:math id="m5"><mml:mrow><mml:msub><mml:mi>ρ</mml:mi><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mn>4</mml:mn><mml:msup><mml:mi>π</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mfrac><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mfrac><mml:mn>2</mml:mn><mml:mn>3</mml:mn></mml:mfrac><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula></p><p>as shown in <xref ref-type="fig" rid="fig1s2">Figure 1—figure supplement 2</xref>, while for the sake of simplicity we assumed <inline-formula><mml:math id="inf80"><mml:mrow><mml:mrow><mml:msub><mml:mi>ρ</mml:mi><mml:mi>p</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:msub><mml:mi>ρ</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>⁢</mml:mo><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo rspace="5.3pt" stretchy="false">)</mml:mo></mml:mrow><mml:mo>⁢</mml:mo><mml:msub><mml:mi>ρ</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>⁢</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow></mml:math></inline-formula> and estimated <inline-formula><mml:math id="inf81"><mml:mrow><mml:msub><mml:mi>ρ</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>⁢</mml:mo><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>ρ</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>⁢</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> non-parametrically using kernel density estimation. The last two ingredients that we need to specify to define the network dynamics are the recurrent couplings and external inputs. The strength of synaptic connections from a pre-synaptic neuron with preferred directions <inline-formula><mml:math id="inf82"><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msubsup><mml:mi>θ</mml:mi><mml:mi>A</mml:mi><mml:mo>′</mml:mo></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>θ</mml:mi><mml:mi>B</mml:mi><mml:mo>′</mml:mo></mml:msubsup><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> and participation strengths <inline-formula><mml:math id="inf83"><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msubsup><mml:mi>η</mml:mi><mml:mi>A</mml:mi><mml:mo>′</mml:mo></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>η</mml:mi><mml:mi>B</mml:mi><mml:mo>′</mml:mo></mml:msubsup><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> to a post-synaptic neuron with preferred directions <inline-formula><mml:math id="inf84"><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> and participation strengths <inline-formula><mml:math id="inf85"><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> is given by<disp-formula id="equ6"><label>(5)</label><mml:math id="m6"><mml:mrow><mml:mi>J</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msup><mml:mi>x</mml:mi><mml:mrow><mml:mi mathvariant="normal">′</mml:mi></mml:mrow></mml:msup><mml:mo>,</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msubsup><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">′</mml:mi></mml:mrow></mml:msubsup><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msubsup><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">′</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msubsup><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">′</mml:mi></mml:mrow></mml:msubsup><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msubsup><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">′</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">′</mml:mi></mml:mrow></mml:msubsup><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msubsup><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">′</mml:mi></mml:mrow></mml:msubsup><mml:mo stretchy="false">)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula></p><p>where <inline-formula><mml:math id="inf86"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>j</mml:mi><mml:mn>0</mml:mn></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula> represents a uniform inhibitory term; <inline-formula><mml:math id="inf87"><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math id="inf88"><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup></mml:math></inline-formula> measure the amplitude of the symmetric direction-specific connections in map <inline-formula><mml:math id="inf89"><mml:mi>A</mml:mi></mml:math></inline-formula> and map <inline-formula><mml:math id="inf90"><mml:mi>B</mml:mi></mml:math></inline-formula>, respectively; and <inline-formula><mml:math id="inf91"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>j</mml:mi><mml:mi>a</mml:mi></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula> measures the amplitude of asymmetric connections from map <inline-formula><mml:math id="inf92"><mml:mi>A</mml:mi></mml:math></inline-formula> to map <inline-formula><mml:math id="inf93"><mml:mi>B</mml:mi></mml:math></inline-formula>. In the Methods, we explain how the dynamics of a network with such recurrent connectivity can reproduce the spatially localized population activity that we observed in the data, and we provide an intuition for the role of the different coupling parameters. A schematic depiction of the network is shown in <xref ref-type="fig" rid="fig2">Figure 2a</xref>. We parameterized the external input in analogy with the recurrent input:<disp-formula id="equ7"><label>(6)</label><mml:math id="m7"><mml:mrow><mml:mtable columnalign="left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mtext>ext</mml:mtext></mml:mrow></mml:msup><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>;</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:msub><mml:mi>ϵ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mrow><mml:mtext>ext</mml:mtext></mml:mrow></mml:msup><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mi>ϵ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mrow><mml:mtext>ext</mml:mtext></mml:mrow></mml:msup><mml:mo stretchy="false">)</mml:mo><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula></p><fig id="fig2" position="float"><label>Figure 2.</label><caption><title>Spatially localized activity of the network model.</title><p>(<bold>a</bold>) Schematic depiction of the network model. Each shaded disk corresponds to one unit in the network. The direction of the blue and red arrows within each disk represents the neurons preferred direction during preparatory (<inline-formula><mml:math id="inf94"><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula>) and execution (<inline-formula><mml:math id="inf95"><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula>) epochs, respectively, while the thickness of the arrows represents the degree of participation (<inline-formula><mml:math id="inf96"><mml:mrow><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) in these epochs. The orange arrows show the strength of synaptic connectivity (defined by <xref ref-type="disp-formula" rid="equ6">equation 5</xref>) between units. It contains both a symmetric component, that depends on the distance between preferred directions of pre and post-synaptic neurons separately for the two epochs (see strong connections between the two top left neurons), and an asymmetric component that depends on the distance between the preferred preparatory direction of the pre-synaptic neuron and the preferred execution direction of the post-synaptic one (see connections between bottom right neurons). (<bold>b</bold>) Spatially localized activity of the network at a given time <inline-formula><mml:math id="inf97"><mml:mi>t</mml:mi></mml:math></inline-formula>, shown in three different 2-dimensional subspaces of the 4-dimensional selectivity space. Left: activity plotted on map A (<inline-formula><mml:math id="inf98"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) at fixed <inline-formula><mml:math id="inf99"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. Center: activity plotted on map B (<inline-formula><mml:math id="inf100"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) at fixed <inline-formula><mml:math id="inf101"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. Right: activity plotted as a function of <inline-formula><mml:math id="inf102"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, at fixed <inline-formula><mml:math id="inf103"><mml:mrow><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. (<bold>c</bold>) Network activity at a given time <inline-formula><mml:math id="inf104"><mml:mi>t</mml:mi></mml:math></inline-formula>, plotted as a function of <inline-formula><mml:math id="inf105"><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula>, at fixed <inline-formula><mml:math id="inf106"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and for different values of <inline-formula><mml:math id="inf107"><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula>. (<bold>d</bold>) Network activity at a given time <inline-formula><mml:math id="inf108"><mml:mi>t</mml:mi></mml:math></inline-formula>, plotted as a function of <inline-formula><mml:math id="inf109"><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula>, at fixed <inline-formula><mml:math id="inf110"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and for different values of <inline-formula><mml:math id="inf111"><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula>.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77690-fig2-v1.tif"/></fig><p>where <inline-formula><mml:math id="inf112"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mn>0</mml:mn></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula> represents an untuned homogeneous external input, <inline-formula><mml:math id="inf113"><mml:msub><mml:mi>C</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf114"><mml:msub><mml:mi>C</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula> represent untuned map-specific inputs to maps <inline-formula><mml:math id="inf115"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:mstyle></mml:math></inline-formula> and <inline-formula><mml:math id="inf116"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:mstyle></mml:math></inline-formula>, respectively, <inline-formula><mml:math id="inf117"><mml:msub><mml:mi>ϵ</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf118"><mml:msub><mml:mi>ϵ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula> represent directionnally tuned inputs to maps <inline-formula><mml:math id="inf119"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:mstyle></mml:math></inline-formula> and <inline-formula><mml:math id="inf120"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:mstyle></mml:math></inline-formula>, respectively, and <inline-formula><mml:math id="inf121"><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mtext>ext</mml:mtext></mml:msup></mml:math></inline-formula> is the direction encoded by external inputs. An example of the spatially localized population activity at a given time <inline-formula><mml:math id="inf122"><mml:mi>t</mml:mi></mml:math></inline-formula> visualized in different 2-D subspaces of the 4-D space with coordinates <inline-formula><mml:math id="inf123"><mml:mrow><mml:mi>x</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="false">{</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo stretchy="false">}</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> is shown in <xref ref-type="fig" rid="fig2">Figure 2b</xref>, blue and an example of tuning curves from the network’s activity is shown in <xref ref-type="fig" rid="fig2">Figure 2c</xref>.</p></sec><sec id="s2-4"><title>Order parameters</title><p>The simplicity of the model described by <xref ref-type="disp-formula" rid="equ2 equ3 equ4 equ5 equ6 equ7">Equations 1–6</xref> allowed us to derive a low dimensional description of the model dynamics in terms of a few population-level signals denoted as <italic>order parameters</italic>. The order parameters quantify the average population activity <inline-formula><mml:math id="inf124"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula>, and the degree to which the population activity is localized in map A (<inline-formula><mml:math id="inf125"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula>) and B (<inline-formula><mml:math id="inf126"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula>). These parameters are defined by the following equations:<disp-formula id="equ8"> <label>(7)</label><mml:math id="m8"><mml:mrow><mml:mtable columnalign="left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:mo>∫</mml:mo><mml:mi>d</mml:mi><mml:mi>x</mml:mi><mml:mi>ρ</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thickmathspace"/><mml:mi>r</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:mo>∫</mml:mo><mml:mi>d</mml:mi><mml:mi>x</mml:mi><mml:mi>ρ</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thickmathspace"/><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mspace width="thinmathspace"/><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>ψ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thinmathspace"/><mml:mi>r</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:mo>∫</mml:mo><mml:mi>d</mml:mi><mml:mi>x</mml:mi><mml:mi>ρ</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thickmathspace"/><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mspace width="thinmathspace"/><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>ψ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thinmathspace"/><mml:mi>r</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula></p><p>Note that <inline-formula><mml:math id="inf127"><mml:msub><mml:mi>r</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf128"><mml:msub><mml:mi>r</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula> are the first Fourier coefficient of the population rate over the domain <inline-formula><mml:math id="inf129"><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf130"><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula>, respectively.</p><p>These order parameters can be both computed in the model and from data. Therefore, they can provide us with a simple tool to compare model and data, and to infer model network parameters from data. <xref ref-type="fig" rid="fig3">Figure 3a</xref> shows the dynamics of the order parameters computed from the data during the delayed reaching task. As expected, we see that during the preparatory period the activity activity is localized in map <inline-formula><mml:math id="inf131"><mml:mi>A</mml:mi></mml:math></inline-formula> (<inline-formula><mml:math id="inf132"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula>) but not in map <inline-formula><mml:math id="inf133"><mml:mi>B</mml:mi></mml:math></inline-formula> (<inline-formula><mml:math id="inf134"><mml:mrow><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>∼</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula>). Around the time of the go cue, network activity dynamically reorganizes, such as the network becomes now strongly localized in map <inline-formula><mml:math id="inf135"><mml:mi>B</mml:mi></mml:math></inline-formula> (<inline-formula><mml:math id="inf136"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula>), while the degree of modulation in map <inline-formula><mml:math id="inf137"><mml:mi>A</mml:mi></mml:math></inline-formula> slowly decreases towards zero. We can think of map <inline-formula><mml:math id="inf138"><mml:mi>A</mml:mi></mml:math></inline-formula> and map <inline-formula><mml:math id="inf139"><mml:mi>B</mml:mi></mml:math></inline-formula> as two different coordinate systems that the network can use to produce distinct patterns of population activity, that are both localized around the location of the target on the screen, but in different ways. A spatially localized activity profile associated with either <inline-formula><mml:math id="inf140"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula> or <inline-formula><mml:math id="inf141"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula> is denoted as a bump. A definition of this term provided in the Methods. At different times, the bump of activity has different shapes – either localised in map <inline-formula><mml:math id="inf142"><mml:mi>A</mml:mi></mml:math></inline-formula>, or in map <inline-formula><mml:math id="inf143"><mml:mi>B</mml:mi></mml:math></inline-formula>, or in both maps – but its location remains constant. Next, we studied possible mechanisms underlying these observations.</p><fig-group><fig id="fig3" position="float"><label>Figure 3.</label><caption><title>Dynamics of the order parameters and phase diagram of the model.</title><p>(<bold>a</bold>) Dynamics of the order parameters <inline-formula><mml:math id="inf144"><mml:msub><mml:mi>r</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula> (degree of spatial modulation of the activity in map A) and <inline-formula><mml:math id="inf145"><mml:msub><mml:mi>r</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula> (degree of spatial modulation in map B) computed from data (solid line; shaded area: ± SEM across trials). Black dots on the x-axis represent the trial-averaged time of: target onset, go cue, start of movement and end of movement. (<bold>b</bold>) Phase diagram of the model, shown as a function of the parameters <inline-formula><mml:math id="inf146"><mml:mrow><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup><mml:mo rspace="4.2pt">,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>, that describe how strongly maps A and B are embedded in recurrent synaptic connectivity. Different curves correspond to bifurcation lines for different values of the parameter <italic>j</italic><sub><italic>a</italic></sub>, modulating the asymmetric term in synaptic connectivity. The area underneath each line (gray) corresponds to the homogeneous phase; the area beyond each line (white) corresponds to the phase where the network exhibit a localized activity pattern even in absence of tuned external inputs. (<bold>c</bold>) Weak coupling scenario: Here, the observed dynamics of the order parameters results from external inputs that are tuned to <inline-formula><mml:math id="inf147"><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula> during movement preparation and to <inline-formula><mml:math id="inf148"><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula> during movement execution. (<bold>d</bold>) Strong coupling scenario: Here, strong recurrent connections sustain the localized pattern of activity; a change in <italic>untuned</italic> external inputs makes the activity to be localized along map A during preparation, and along map B during preparation.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77690-fig3-v1.tif"/></fig><fig id="fig3s1" position="float" specific-use="child-fig"><label>Figure 3—figure supplement 1.</label><caption><title>Results are independent on chosen duration of preparatory and movement-related epochs.</title><p>For two different definitions of the preparatory (blue segment) and movement-related (red segment) epochs: (<bold>a</bold>) vs (<bold>b</bold>), we show the corresponding distributions of <inline-formula><mml:math id="inf149"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>: (<bold>c</bold>) vs (<bold>e</bold>); the distributions of <inline-formula><mml:math id="inf150"><mml:mrow><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>: (<bold>d</bold>) vs (<bold>f</bold>); the dynamics of the order parameters: (<bold>g</bold>) vs (<bold>i</bold>); and the results of the PCA analysis: (<bold>h</bold>) vs (<bold>l</bold>).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77690-fig3-figsupp1-v1.tif"/></fig></fig-group></sec><sec id="s2-5"><title>Tuned states in the model: External inputs vs recurrent connectivity</title><p>We next investigated the network model to understand the mechanisms underlying the observed dynamics. We first derived equations governing the temporal evolution of the order parameters (see Methods). We then analyzed the stationary solutions of the equations in the absence of tuned inputs (<inline-formula><mml:math id="inf151"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>ϵ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>ϵ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula>), in the space of the three parameters defining the couplings strength: <inline-formula><mml:math id="inf152"><mml:mrow><mml:msub><mml:mi>j</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>. We found that, similarly to the ring model (<xref ref-type="bibr" rid="bib7">Ben-Yishai et al., 1995</xref>; <xref ref-type="bibr" rid="bib37">Hansel and Sompolinsky, 1998</xref>), there exists two qualitatively distinct regions in the space of parameters characterizing recurrent connectivity (<xref ref-type="fig" rid="fig3">Figure 3b</xref>). For weak recurrent connectivity (gray area in <xref ref-type="fig" rid="fig3">Figure 3b</xref>), the activity in the network is uniform in the absence of tuned inputs. Thus, in this region, tuned network activity must rely on external inputs. For strong recurrent connectivity (white area in <xref ref-type="fig" rid="fig3">Figure 3b</xref>), network activity is tuned, even in the absence of tuned inputs. In this case, the location of the bump in network activity is determined by initial conditions. These two regimes are separated by a bifurcation line, where the uniform solution becomes unstable due to a Turing instability (<xref ref-type="bibr" rid="bib7">Ben-Yishai et al., 1995</xref>; <xref ref-type="bibr" rid="bib37">Hansel and Sompolinsky, 1998</xref>).</p><p>This analysis shows that a network activity profile that is localised in a given map, say map A (<inline-formula><mml:math id="inf153"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula>), can be sustained either thanks to the strong recurrent connectivity (i.e. a strong enough parameter <inline-formula><mml:math id="inf154"><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup></mml:math></inline-formula> in <xref ref-type="disp-formula" rid="equ6">Equation 5</xref>), or thanks to the external input term proportional to <inline-formula><mml:math id="inf155"><mml:mrow><mml:msub><mml:mi>ϵ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> (<xref ref-type="disp-formula" rid="equ7">Equation 6</xref>). Hence, our model can potentially generate the observed dynamics of the order parameters (<xref ref-type="fig" rid="fig3">Figure 3a</xref>) for different choices of recurrent connections and external inputs parameters, ranging in between the following two opposite scenarios:</p><list list-type="bullet"><list-item><p>Recurrent connections are absent: <inline-formula><mml:math id="inf156"><mml:mrow><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mi>a</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula>. In this case, the system is simply driven by feedforward inputs. The localized activity is the result of external inputs that selectively excites or inhibits specific neurons during motor preparation and execution, thanks to sufficiently large values of the parameter <inline-formula><mml:math id="inf157"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula> during preparation and <inline-formula><mml:math id="inf158"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>ϵ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula> during execution. This scenario is depicted schematically in <xref ref-type="fig" rid="fig3">Figure 3c</xref>.</p></list-item><list-item><p>The network is strongly recurrent, with strongly direction-specific connections, and external inputs are untuned (<inline-formula><mml:math id="inf159"><mml:mrow><mml:msub><mml:mi>ϵ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="inf160"><mml:mrow><mml:msub><mml:mi>ϵ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula>). Analytical study of the dynamics (Methods) shows that, in order for such a system to exhibit tuning, the strength of the couplings has to exceed a critical value shown in <xref ref-type="fig" rid="fig3">Figure 3b</xref>. Moreover, when the synaptic strength exceeds this value, the activity can be localized in map A during preparation and in map B during execution simply as the result of homogeneous external inputs changing their strength, without the need for tuned external inputs to selectively excite/inhibit specific neurons. This scenario is depicted in <xref ref-type="fig" rid="fig3">Figure 3d</xref>.</p></list-item></list><p>We next turn to the question of which of these two scenarios best describes the data.</p></sec><sec id="s2-6"><title>Fitting the model to the data</title><p>Our next goal is to infer the strength of recurrent connections (<inline-formula><mml:math id="inf161"><mml:mrow><mml:msub><mml:mi>j</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>) and feedforward inputs (<inline-formula><mml:math id="inf162"><mml:mrow><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>ϵ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>ϵ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow></mml:math></inline-formula>) that best describes the data. To do so, we imposed that our network reproduce the dynamics of the population-level order parameters <inline-formula><mml:math id="inf163"><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>. Specifically, for a given set of recurrent connections and feedforward inputs, we can compute analytically the dynamics of the order parameters (Methods). Based on these calculations, we build an iterative procedure that minimizes the reconstruction error <inline-formula><mml:math id="inf164"><mml:msub><mml:mi>E</mml:mi><mml:mtext>rec</mml:mtext></mml:msub></mml:math></inline-formula>, i.e. the squared difference between the predicted and observed dynamics of the order parameters. The results show that there is a large region of the <inline-formula><mml:math id="inf165"><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>-space where the reconstruction error has essentially the same value (<xref ref-type="fig" rid="fig4s2">Figure 4—figure supplement 2</xref>). Solutions range from a a network with zero recurrent connections (i.e. a purely feedforward scenario, shown in <xref ref-type="fig" rid="fig4">Figure 4a-c</xref>) to a network with strong direction-specific connections.</p><fig-group><fig id="fig4" position="float"><label>Figure 4.</label><caption><title>Inferred dynamics of the external currents required to sustain the observed dynamics of the order parameters for different sets of couplings parameters <inline-formula><mml:math id="inf166"><mml:mrow><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mi>a</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>.</title><p>(<bold>a–c</bold>) Scenario where neurons are connected by uniform inhibitory connections, in the absence of direction-specific couplings. (<bold>a</bold>) Couplings parameters <inline-formula><mml:math id="inf167"><mml:mrow><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mi>a</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> are set to zero (orange dot on the phase diagram). The black line represents the bifurcation surface in the space <inline-formula><mml:math id="inf168"><mml:mrow><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>, at <inline-formula><mml:math id="inf169"><mml:mrow><mml:msub><mml:mi>j</mml:mi><mml:mi>a</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula>. (<bold>b</bold>) Dynamics of the external inputs inferred from the data. Gray line: homogeneous (untuned) input; light blue/red line: input that is specific to map A/B, but untuned to direction; input that is directionally tuned, and specific to map A/B. Black dots on the x-axes represent the trial-averaged time of: target onset, go cue, start of movement and end of movement. (<bold>c</bold>) Dynamics of the order parameters <inline-formula><mml:math id="inf170"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> computed from data (thin line; shaded area: ± SEM across trials) and model (thick line). (<bold>d-i</bold>) Both couplings parameters and external inputs are inferred from data. (<bold>d</bold>) Solution where the coupling parameters are slightly above the bifurcation line (<inline-formula><mml:math id="inf171"><mml:mrow><mml:mi>α</mml:mi><mml:mo>=</mml:mo><mml:mn>0.17</mml:mn></mml:mrow></mml:math></inline-formula>). (<bold>d</bold>) Dynamics of the external inputs inferred from the data. Note that tuned inputs are drastically lower than in <bold>b</bold>, especially during movement execution. (<bold>f</bold>) Dynamics of the order parameters <inline-formula><mml:math id="inf172"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> computed from data (thin line) and model (thick line). (<bold>g</bold>) Solution where the coupling parameters are below but close to the bifurcation line (see <xref ref-type="fig" rid="fig4s1">Figure 4—figure supplement 1</xref>, <inline-formula><mml:math id="inf173"><mml:mrow><mml:mi>α</mml:mi><mml:mo>=</mml:mo><mml:mn>0.5</mml:mn></mml:mrow></mml:math></inline-formula>). (<bold>h</bold>) Dynamics of the external inputs inferred from the data. (<bold>i</bold>) Dynamics of the order parameters <inline-formula><mml:math id="inf174"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> computed from data (thin line) and model (thick line).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77690-fig4-v1.tif"/></fig><fig id="fig4s1" position="float" specific-use="child-fig"><label>Figure 4—figure supplement 1.</label><caption><title>Value of the couplings parameters <inline-formula><mml:math id="inf175"><mml:mrow><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> inferred from data, through minimization of a cost function composed of two terms: <inline-formula><mml:math id="inf176"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mtext>tot</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>α</mml:mi><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mtext>rec</mml:mtext></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mtext>ext</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula>.</title><p><inline-formula><mml:math id="inf177"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mtext>rec</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula> represents the reconstruction error of the order parameters, while <inline-formula><mml:math id="inf178"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mtext>ext</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula> is the magnitude of the external inputs required to sustain the activity. <inline-formula><mml:math id="inf179"><mml:mi>α</mml:mi></mml:math></inline-formula> is an hyperparameter of the fitting algorithm. Different colors correspond to the result of using a different value of the hyperparameter <inline-formula><mml:math id="inf180"><mml:mi>α</mml:mi></mml:math></inline-formula> in the cost function. The black line represents the bifurcation surface in the space <inline-formula><mml:math id="inf181"><mml:mrow><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>, at <inline-formula><mml:math id="inf182"><mml:mrow><mml:msub><mml:mi>j</mml:mi><mml:mi>a</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula>.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77690-fig4-figsupp1-v1.tif"/></fig><fig id="fig4s2" position="float" specific-use="child-fig"><label>Figure 4—figure supplement 2.</label><caption><title>Reconstruction error vs cost function.</title><p>Left: Reconstruction error <inline-formula><mml:math id="inf183"><mml:msub><mml:mi>E</mml:mi><mml:mtext>rec</mml:mtext></mml:msub></mml:math></inline-formula> computed at different values of <inline-formula><mml:math id="inf184"><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math id="inf185"><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup></mml:math></inline-formula>, for <inline-formula><mml:math id="inf186"><mml:mrow><mml:msub><mml:mi>j</mml:mi><mml:mi>a</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula>. The reconstruction error quantifies the squared difference between the dynamics of the order parameters computed from data and the one predicted by the model for a given value of coupling parameters <inline-formula><mml:math id="inf187"><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math id="inf188"><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup></mml:math></inline-formula>. In a large region of the space, the reconstruction error has the same value. Right: Example of the cost function <inline-formula><mml:math id="inf189"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mtext>tot</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mrow><mml:mi>α</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mtext>rec</mml:mtext></mml:msub></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mtext>ext</mml:mtext></mml:msub></mml:mrow></mml:mrow></mml:math></inline-formula>, for a given value of the hyperparameter <inline-formula><mml:math id="inf190"><mml:mi>α</mml:mi></mml:math></inline-formula>, yielding one of the solutions of <xref ref-type="fig" rid="fig4s1">Figure 4—figure supplement 1</xref>.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77690-fig4-figsupp2-v1.tif"/></fig><fig id="fig4s3" position="float" specific-use="child-fig"><label>Figure 4—figure supplement 3.</label><caption><title>Analysis based on data recorded from monkey Rj.</title><p>(<bold>a</bold>) Couplings parameters inferred from data; different points correspond to solutions for different values of the hyperparameter <inline-formula><mml:math id="inf191"><mml:mi>α</mml:mi></mml:math></inline-formula> of the fitting procedure. The black line represents the bifurcation surface in the space <inline-formula><mml:math id="inf192"><mml:mrow><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>, at <inline-formula><mml:math id="inf193"><mml:mrow><mml:msub><mml:mi>j</mml:mi><mml:mi>a</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula>. (<bold>b</bold>) Dynamics of the external inputs inferred from data. (<bold>c</bold>) Dynamics of the order parameters (solid line: data, shaded area: ± standard error across the population; dotted line: analytical prediction).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77690-fig4-figsupp3-v1.tif"/></fig></fig-group><p>To break the degeneracy of solutions, we added an energetic cost to the reconstruction error. This reflects the idea that a biological network where the computation is only driven by long-range connections from upstream areas is likely to consume more metabolic energy than a network where the computation is processed through shorter-range recurrent connections. Our inference procedure minimizes the cost function:<disp-formula id="equ9"><mml:math id="m9"><mml:mrow><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mtext>tot</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mrow><mml:mi>α</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mtext>rec</mml:mtext></mml:msub></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mtext>ext</mml:mtext></mml:msub></mml:mrow></mml:mrow><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula></p><p>where <inline-formula><mml:math id="inf194"><mml:msub><mml:mi>E</mml:mi><mml:mtext>ext</mml:mtext></mml:msub></mml:math></inline-formula> is the total magnitude of external inputs (see Methods, <xref ref-type="disp-formula" rid="equ44">Equation 31</xref>). The hyperparameter <inline-formula><mml:math id="inf195"><mml:mi>α</mml:mi></mml:math></inline-formula> describes the relative strength of these two terms. For very small values of <inline-formula><mml:math id="inf196"><mml:mi>α</mml:mi></mml:math></inline-formula>, the algorithm mainly minimizes external inputs, and the resulting reconstruction of the dynamics is poor. For very large values of <inline-formula><mml:math id="inf197"><mml:mi>α</mml:mi></mml:math></inline-formula>, multiple solutions are found, that yield similar dynamics (see <xref ref-type="fig" rid="fig4">Figure 4c</xref> and <xref ref-type="fig" rid="fig4">Figure 4i</xref>). <xref ref-type="fig" rid="fig4s1">Figure 4—figure supplement 1</xref> shows the results we obtained by using intermediate values of <inline-formula><mml:math id="inf198"><mml:mi>α</mml:mi></mml:math></inline-formula>, that are small enough to yield a unique solution, but large enough to guarantee a good reconstruction of the dynamics. Interestingly, all solutions cluster in a small region of the parameter space, that is close to the bifurcation surface in such a way that the parameter <inline-formula><mml:math id="inf199"><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup></mml:math></inline-formula> is close to (either larger or smaller) its critical value; <inline-formula><mml:math id="inf200"><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup></mml:math></inline-formula> is much smaller than its critical value, and <inline-formula><mml:math id="inf201"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula> is zero.</p><p>We show the results obtained with two distinct values of <inline-formula><mml:math id="inf202"><mml:mi>α</mml:mi></mml:math></inline-formula> in <xref ref-type="fig" rid="fig4">Figure 4d</xref> and <xref ref-type="fig" rid="fig4">Figure 4g</xref>; the corresponding dynamics of the inferred external inputs in <xref ref-type="fig" rid="fig4">Figure 4e</xref> and <xref ref-type="fig" rid="fig4">Figure 4f</xref>; and the resulting dynamics of the order parameters from mean field equations in <xref ref-type="fig" rid="fig4">Figure 4f</xref> and <xref ref-type="fig" rid="fig4">Figure 4i</xref>. In particular, <xref ref-type="fig" rid="fig4">Figure 4d</xref> corresponds to a smaller value of <inline-formula><mml:math id="inf203"><mml:mi>α</mml:mi></mml:math></inline-formula>, that is we are penalizing more strongly for large external inputs: the resulting coupling parameters are stronger than their critical value. <xref ref-type="fig" rid="fig4">Figure 4g</xref> corresponds to a larger value of <inline-formula><mml:math id="inf204"><mml:mi>α</mml:mi></mml:math></inline-formula>: the strength of the couplings is below the critical line, yielding larger external inputs (<xref ref-type="fig" rid="fig4">Figure 4h</xref>) and a smaller reconstruction error (<xref ref-type="fig" rid="fig4">Figure 4i</xref>). The purely feedforward case is added in <xref ref-type="fig" rid="fig4">Figure 4a-c</xref> for comparison. While a purely feedforward network requires a strong input tuned to map <inline-formula><mml:math id="inf205"><mml:mi>B</mml:mi></mml:math></inline-formula> right before the movement onset (<xref ref-type="fig" rid="fig4">Figure 4b</xref>), in our solution such input is either absent (<xref ref-type="fig" rid="fig4">Figure 4e</xref>) or much weaker than the corresponding untuned input (<xref ref-type="fig" rid="fig4">Figure 4h</xref>). Our analysis therefore suggests that recurrent connectivity plays a major role in maintaining the degree of spatial modulation observed in the data.</p><p>Importantly, the same analysis applied to a second dataset recorded from a different macaque monkey performing the same task yielded qualitatively similar results (see <xref ref-type="fig" rid="fig4s3">Figure 4—figure supplement 3</xref>).</p></sec><sec id="s2-7"><title>The model generates realistic neural and muscle activity</title><p>We have shown that the model is able to reproduce the dynamics of the order parameters computed from data. Here, we ask how the activity of single neurons in our model compares to data, and whether a readout of neural activity can generate realistic patterns of muscle activity. We simulated the dynamics of a network of 16,000 neurons. To each neuron <inline-formula><mml:math id="inf206"><mml:mi>i</mml:mi></mml:math></inline-formula>, we assigned the coordinates <inline-formula><mml:math id="inf207"><mml:mrow><mml:msubsup><mml:mi>θ</mml:mi><mml:mi>A</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>θ</mml:mi><mml:mi>B</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>η</mml:mi><mml:mi>A</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>η</mml:mi><mml:mi>B</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> so as to match the empirical distribution of coordinates (<xref ref-type="disp-formula" rid="equ4">Equation 3</xref> and <xref ref-type="fig" rid="fig5s3">Figure 5—figure supplement 3a</xref>). We added a noise term to the total current that each neuron is subject to, modelled as an Ornstein-Uhlenbeck process (see Methods, <xref ref-type="disp-formula" rid="equ47">Equation 33</xref>).</p><p>First, we checked that the dynamics of the order parameters – previously computed by numerically integrating the analytical equations – is also correctly reconstructed by simulations (<xref ref-type="fig" rid="fig5s1">Figure 5—figure supplement 1b</xref>). <xref ref-type="fig" rid="fig5s1">Figure 5—figure supplement 1</xref> shows the case of a network with couplings parameters stronger than their critical value, where the dynamics is dominated by recurrent currents and is very sensitive to noise The location of the bump undergoes a small diffusion around the value predicted by the mean field analysis (<xref ref-type="fig" rid="fig5s1">Figure 5—figure supplement 1c</xref> and <xref ref-type="fig" rid="fig5s1">Figure 5—figure supplement 1d</xref>).</p><p>Then, we computed tuning curves during the preparatory and execution epochs from simulations, and estimated the values <inline-formula><mml:math id="inf208"><mml:mrow><mml:msubsup><mml:mi>θ</mml:mi><mml:mi>A</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>θ</mml:mi><mml:mi>B</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>η</mml:mi><mml:mi>A</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>η</mml:mi><mml:mi>B</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> from the location and the amplitude of the tuning functions. The reconstructed values of neurons tuning parameters are consistent with the values initially assigned to them when we built the network (<xref ref-type="fig" rid="fig5s2">Figure 5—figure supplement 2b</xref>). We noticed (<xref ref-type="fig" rid="fig5s2">Figure 5—figure supplement 2c</xref>) that the quality of the cosine fit strongly correlates with the magnitude of <inline-formula><mml:math id="inf209"><mml:mrow><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, as we see in the data (<xref ref-type="fig" rid="fig1s2">Figure 1—figure supplement 2e-f</xref>): for neurons with a low value of <inline-formula><mml:math id="inf210"><mml:mrow><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> the tuning functions poorly resemble a cosine. Overall, tuning curves from simulations strongly resemble the ones from data (see <xref ref-type="fig" rid="fig5s3">Figure 5—figure supplement 3</xref>, and Discussion).</p><p>Next, we showed that the network activity closely resembles the one from recordings. At the level of the population, we used canonical correlation analysis to identify common patterns of activity between simulations and recordings, and to show that they strongly correlate (see <xref ref-type="fig" rid="fig5">Figure 5a</xref> and Methods). At the level of single units, for each neuron in the data we selected a neuron in the model network with the closest value of <inline-formula><mml:math id="inf211"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> variables. A side-by-side comparison of the time course of responses shows a good qualitative agreement (<xref ref-type="fig" rid="fig5">Figure 5c</xref>). We also noted that both the activity from recordings and from simulations present sequential activity and rotational dynamics (<xref ref-type="fig" rid="fig5s4">Figure 5—figure supplement 4</xref>). Finally, a linear readout of the activity from simulations can generate realistic patterns of muscle activity, which closely match electromyographic (EMG) signals recorded from Monkey Bx during a center-out reaching movement (<xref ref-type="fig" rid="fig5">Figure 5b</xref>).</p><fig-group><fig id="fig5" position="float"><label>Figure 5.</label><caption><title>Comparisons between model and data, for parameters of <xref ref-type="fig" rid="fig4">Figure 4d</xref>.</title><p>(<bold>a</bold>) CCA analysis to compare the population activity from simulations and from recordings. First, we projected the activity onto the PCA dimensions that captured 90% of the activity variance, for both the data and the simulations; then, we applied CCA to look for common patterns in the activity matrices from data and simulations. Top: canonical correlations, activity during preparation. Bottom: canonical correlations, activity during execution. (<bold>b</bold>) Blue lines: electromyographic (EMG) signals from 13 muscles, recorded during a center-out reaching movement. Each panel corresponds to a different condition (location of the target on the screen). Black lines: patterns of muscle activity predicted by a linear readout of the activity of 1000 units drawn at random from the 16000 units in the network model (cross- validated NMSE = 0.0066). (<bold>c</bold>) For each neuron in the data, we chose the corresponding one from simulations with the closest value of parameters <inline-formula><mml:math id="inf212"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. Top row: examples of trial averaged activity from data; bottom row: corresponding neurons from simulations. Different shades of blue correspond to the 8 different conditions.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77690-fig5-v1.tif"/></fig><fig id="fig5s1" position="float" specific-use="child-fig"><label>Figure 5—figure supplement 1.</label><caption><title>Dynamics of the order parameters from simulations, for the coupling parameters indicated in red in panel (<bold>a</bold>), above but close to the bifurcation line.</title><p>(<bold>b</bold>) Dynamics of the order parameters <inline-formula><mml:math id="inf213"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> computed from data (thin line; shaded area: ± SEM across trials) and numerical simulations (thick line) of the dynamics of a finite-size network model with additive noise. (<bold>c</bold>) Location of the bump of activity in map <inline-formula><mml:math id="inf214"><mml:mi>A</mml:mi></mml:math></inline-formula> from trial-averaged activity from simulations, for 8 conditions corresponding to different locations of the target on the screen. (<bold>d</bold>) Location of the bump of activity in map <inline-formula><mml:math id="inf215"><mml:mi>B</mml:mi></mml:math></inline-formula>.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77690-fig5-figsupp1-v1.tif"/></fig><fig id="fig5s2" position="float" specific-use="child-fig"><label>Figure 5—figure supplement 2.</label><caption><title>Network architecture for simulations.</title><p>(<bold>a</bold>) To build the network architecture, we assigned to 16,000 neurons coordinates <inline-formula><mml:math id="inf216"><mml:mrow><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (top) and <inline-formula><mml:math id="inf217"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (bottom) drawn from their respective empirical distribution. (<bold>b</bold>) Scatter plot of the coordinates initially assigned to the neurons (x-axes) vs the corresponding variables that we computed from simulations of the network activity during the preparatory and movement-related epochs (y-axes). Points clustered on the diagonal show self-consistency of the model. (<bold>c</bold>) <inline-formula><mml:math id="inf218"><mml:msup><mml:mi>R</mml:mi><mml:mn>2</mml:mn></mml:msup></mml:math></inline-formula> coefficient of the cosine fit for tuning curves computed from simulation during preparation (top) and execution (bottom) as a function of <inline-formula><mml:math id="inf219"><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf220"><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula>, respectively.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77690-fig5-figsupp2-v1.tif"/></fig><fig id="fig5s3" position="float" specific-use="child-fig"><label>Figure 5—figure supplement 3.</label><caption><title>Examples of tuning curves during the preparatory (blue) and movement-related (red) epochs computed from simulations (<bold>a</bold>) and from data (<bold>b</bold>).</title></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77690-fig5-figsupp3-v1.tif"/></fig><fig id="fig5s4" position="float" specific-use="child-fig"><label>Figure 5—figure supplement 4.</label><caption><title>Rotational dynamics and sequential activity.</title><p>(<bold>a</bold>) Left. Trial-averaged activity rates during movement execution (from <inline-formula><mml:math id="inf221"><mml:mrow><mml:mn>50</mml:mn><mml:mo>⁢</mml:mo><mml:mi>m</mml:mi><mml:mo>⁢</mml:mo><mml:mi>s</mml:mi></mml:mrow></mml:math></inline-formula> before the start of the movement, to <inline-formula><mml:math id="inf222"><mml:mrow><mml:mn>250</mml:mn><mml:mo>⁢</mml:mo><mml:mi>m</mml:mi><mml:mo>⁢</mml:mo><mml:mi>s</mml:mi></mml:mrow></mml:math></inline-formula> after the start of the movement) projected onto the first two jPCA dimensions, defined as in <xref ref-type="bibr" rid="bib18">Churchland et al., 2012</xref>. In order to compare the data to the theory, we averaged the activity of all trials corresponding to the same condition – defining 8 groups (each denoted in a different color) corresponding to the 8 different conditions. However, hand kinematics corresponding to the activity within the same group can differ quite substantially, even if they end up at the same target location. This is a major difference with respect to the analysis of <xref ref-type="bibr" rid="bib18">Churchland et al., 2012</xref>, where many more groups were defined, each group containing the activity corresponding to very similar hand trajectories. Right. Same as in <bold>a</bold>, but for activity from simulations. (<bold>b</bold>) Activity rates averaged across trials for condition 1, and z-scored across time, from data (left) and simulations (right). Neurons are sorted according to the time of the peak of activity.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77690-fig5-figsupp4-v1.tif"/></fig><fig id="fig5s5" position="float" specific-use="child-fig"><label>Figure 5—figure supplement 5.</label><caption><title>Simulations of a network with no recurrent connections.</title><p>(<bold>a</bold>) <inline-formula><mml:math id="inf223"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> computed from data (thin line; shaded area: ± SEM of the population) and numerical simulations (thick line). (<bold>b</bold>) CCA analysis to compare the population activity from simulations and from recordings. Top: canonical correlations, activity during preparation. Bottom: canonical correlations, activity during execution. (<bold>c</bold>) For each neuron in the data, we chose the corresponding one from simulations with the closest value of parameters <inline-formula><mml:math id="inf224"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. Top row: examples of trial averaged activity from data; bottom row: their corresponding neurons from simulations. Different colors correspond to the 8 different conditions.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77690-fig5-figsupp5-v1.tif"/></fig></fig-group><p>So far in this section, we discussed results from a network with strong couplings; <xref ref-type="fig" rid="fig5s5">Figure 5—figure supplement 5</xref> shows that the dynamics of a purely feedforward network is almost indistinguishable from from the strongly recurrent case - although canonical correlations between the activity of a purely feedforward network and the data are slightly lower than the ones for networks with strong recurrent couplings, during movement execution (average canonical correlation of 0.74 for the purely feedforward network, and 0.82 for the strongly recurrent one). We also noticed that networks with coupling parameters below the bifurcation surface are robust to noise in the <inline-formula><mml:math id="inf225"><mml:mrow><mml:msubsup><mml:mi>θ</mml:mi><mml:mi>A</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>θ</mml:mi><mml:mi>B</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> variables. Conversely, the solutions above the bifurcation surface that do not require tuned external inputs are very sensitive to such noise, and the location of the bump of the activity drifts towards a few discrete attractors. When the noise is weak, the drift happens on a time scale that is much larger that the time of movement execution; the larger the level of the noise, the faster the drift.</p></sec><sec id="s2-8"><title>PCA subspaces dedicated to movement preparation and execution</title><p>In the previous sections, we considered the low-dimensional description of the dynamics given by the order parameters. Here, we use the commonly used principal component analysis (PCA) to compare the dimensionality of data and network model. In particular, we ask whether our formalism can explain the orthogonality of the preparatory and movement-related linear subspaces. As previously reported in the literature <xref ref-type="bibr" rid="bib50">Kaufman et al., 2014</xref>; <xref ref-type="bibr" rid="bib23">Elsayed et al., 2016</xref>, the top panel in <xref ref-type="fig" rid="fig6">Figure 6a</xref> shows that the top principal components of the preparatory activity explain most of the variance of the preparatory activity, but very little variance of the movement-related activity; vice versa, the top movement-related principal components explain very little variance of the preparatory activity (<xref ref-type="fig" rid="fig6">Figure 6a</xref>, bottom panel). The activity of our network model also displays this property (<xref ref-type="fig" rid="fig6">Figure 6b</xref>). We also quantified the level of orthogonality of the two subspaces using the alignment index as defined in <xref ref-type="bibr" rid="bib23">Elsayed et al., 2016</xref>, that measures the percentage of variance of each epoch’s activity explained by both sets of PCs. <xref ref-type="fig" rid="fig6">Figure 6c</xref> shows that the alignment index is much smaller than the one computed between two subspaces drawn at random (random alignment index, explained in the Methods), in both data and network simulations. Note that model with uniform degrees of participation (<inline-formula><mml:math id="inf226"><mml:mrow><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></inline-formula>) displays a higher overlap between the preparatory and movement-related subspaces, as shown in <xref ref-type="fig" rid="fig6s2">Figure 6—figure supplement 2c</xref>. In the Methods section, we explain how the dimensionality of the activity depends on the connectivity of the network.</p><fig-group><fig id="fig6" position="float"><label>Figure 6.</label><caption><title>Orthogonality of the preparatory and movement-related subspaces.</title><p>(<bold>a</bold>) Percentage of variance of the preparatory (blue) and movement-related (red) activity from data explained by the first 11 principal components calculated from preparatory (top) and movement-related (bottom) trial-averaged activity. (<bold>b</bold>) As in <bold>a</bold>, activity from simulations. (<bold>c</bold>) The alignment index quantifies the degree of orthogonality between two subspaces. Top: alignment index between the preparatory and movement-related activities computed from data, compared to the randomized test (random alignment index, distribution in light gray and average in dark grey). Bottom: alignment index computed from simulations.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77690-fig6-v1.tif"/></fig><fig id="fig6s1" position="float" specific-use="child-fig"><label>Figure 6—figure supplement 1.</label><caption><title>PCA analysis of network dynamics in various conditions.</title><p>(<bold>a</bold>) PCA analysis on the results of simulations for the solution of <xref ref-type="fig" rid="fig4">Figure 4d</xref>. (strong couplings) when no noise is added to the dynamics. (<bold>b</bold>) Alignment index quantifying the degree of orthogonality between the preparatory and movement-related subspaces from simulations, for the same solution as in <bold>a</bold>: strong couplings, no noise added to the dynamics. In absence of noise, the dynamics is confined onto a four-dimensional space; the random alignment index quantifies the alignment between two two-dimensional subspaces drawn at random within the four-dimensional space occupied by neural activity. Note that the alignment index is significantly smaller than the random test. (<bold>c</bold>) PCA analysis on the results of simulations for the solution of <xref ref-type="fig" rid="fig4">Figure 4d</xref>. (strong couplings) and (<bold>d</bold>) of <xref ref-type="fig" rid="fig4">Figure 4a</xref> (zero couplings).</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77690-fig6-figsupp1-v1.tif"/></fig><fig id="fig6s2" position="float" specific-use="child-fig"><label>Figure 6—figure supplement 2.</label><caption><title>Network with uniform degrees of tuning, <inline-formula><mml:math id="inf227"><mml:mrow><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></inline-formula> for all neurons.</title><p>(<bold>a</bold>) Examples of trial averaged activity from data (top panel) and simulations (bottom panel). Simulations of a model without <inline-formula><mml:math id="inf228"><mml:mrow><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> generate dynamics that is identical for all neurons with the same preferred direction – a part from the noise terms; this also yields tuning curves that have the same shape for all neurons. (<bold>b</bold>) PCA analysis and (<bold>c</bold>) alignment index computed from the results of simulations with <inline-formula><mml:math id="inf229"><mml:mrow><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. The preparatory and movement-related subspace overlap more than in the data.</p></caption><graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-77690-fig6-figsupp2-v1.tif"/></fig></fig-group></sec></sec><sec id="s3" sec-type="discussion"><title>Discussion</title><sec id="s3-1"><title>Orthogonal spaces dedicated to movement preparation and execution</title><p>Studies on the dynamics of motor cortical activity during delayed reaching tasks have shown that the primary motor cortex employs an ‘orthogonal but linked strategy’ (<xref ref-type="bibr" rid="bib50">Kaufman et al., 2014</xref>; <xref ref-type="bibr" rid="bib23">Elsayed et al., 2016</xref>) to coordinate planning and execution of movements.</p><p>In this work, we explored the hypothesis that this strategy emerges as result of a specific recurrent functional architecture, in which synaptic connections store information about two distinct patterns of activity that underlie movement preparation and movement execution. We built a network model in which neurons are characterized by their selectivity properties in both preparatory and movement execution epochs (preferred direction and degree of participation), and in which synaptic connectivity is shaped by these selectivity properties in a Hebbian-like fashion.</p><p>A strong correlation between the selectivity properties of the preparatory and movement-related epochs will produce strongly correlated patterns of activity in these two intervals and a strong overlap between the respective PCA subspaces. We inferred the distribution of these tuning features from data and showed that the correlation between the preparatory and movement-related patterns of activity is small enough to allow for almost orthogonal subspaces, which is thought to be important for the preparatory activity not to cause premature movement. At the same time, the correlation is non-zero, and that allows the activity to flow from the preparatory to the movement-related subspaces with minimal external inputs, as summarized in the next section.</p></sec><sec id="s3-2"><title>Interplay between external and recurrent currents</title><p>We analytically described the temporal evolution of the population activity in the low-dimensional space defined by maps A and B in terms of a few order parameters, which can be easily computed from data. Different combinations of the strength of direction-specific recurrent connections and of tuned external inputs allow the model to accurately reproduce the dynamics of the order parameters from data. We argue that solutions that require less inputs from areas upstream of the motor cortex are favorable in terms of metabolic energy consumption. With the addition of a cost proportional to the magnitude of external inputs, we find solutions where recurrent connections are strong and direction specific. In the resulting scenario, during movement preparation, an external input tuned to map A sustains a population-level activity localized in map A, and pins the location of the peak of activity. During movement execution, the localized activity is sustained mostly by recurrent connectivity; the correlation between preferred directions <inline-formula><mml:math id="inf230"><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf231"><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula> allows the activity in map B during movement execution to be localized around the same location as it was in map A during movement preparation. The inferred strength of recurrent connectivity is close to the critical value above which the recurrent network can generate localized patterns of activity in the absence of tuned inputs. Solutions well beyond the bifurcation line require an implausible fine tuning of the recurrent connections, as heterogeneity in the connectivity causes a systematic drift of the encoded direction of motion on a typical time scales of seconds – the larger the structural noise in the couplings, the faster the drift, as has been extensively studied in continuous attractor models (<xref ref-type="bibr" rid="bib94">Tsodyks and Sejnowski, 1995</xref>; <xref ref-type="bibr" rid="bib101">Zhang, 1996</xref>; <xref ref-type="bibr" rid="bib69">Renart et al., 2003</xref>; <xref ref-type="bibr" rid="bib46">Itskov et al., 2011</xref>; <xref ref-type="bibr" rid="bib82">Seeholzer et al., 2019</xref>; <xref ref-type="bibr" rid="bib19">Compte et al., 2000</xref>). It has been shown that homeostatic mechanisms could compensate for the heterogeneity in cellular excitability and synaptic inputs to reduce systematic drifts of the activity (<xref ref-type="bibr" rid="bib69">Renart et al., 2003</xref>) and that short-term synaptic facilitation in recurrent connections could also significantly improve the robustness of the model (<xref ref-type="bibr" rid="bib46">Itskov et al., 2011</xref>) – even when combined with short-term depression (<xref ref-type="bibr" rid="bib82">Seeholzer et al., 2019</xref>). While a full characterization of our model in the presence of structural heterogeneity is beyond the scope of this work, we note that solutions close but below the bifurcation line are stable with respect to perturbations in the couplings. In this case, tuned inputs are present also during movement execution, but their magnitude is much weaker than the untuned ones: direction-specific couplings are strong and amplify the weak external inputs tuned to map B, therefore playing a major role into shaping the observed dynamics during movement execution.</p><p>Our prediction that external inputs are direction-specific during movement preparation but mostly non-specific during movement execution needs to be tested experimentally. Interestingly, it agrees with several previous studies on the activity of the primary motor cortex during limb movement. In particular, <xref ref-type="bibr" rid="bib51">Kaufman et al., 2016</xref> showed that changes in neural activity that characterize the transition from movement preparation to execution reflect when movement is made but are invariant to movement direction and type, in monkeys performing a reaching task; <xref ref-type="bibr" rid="bib44">Inagaki et al., 2022</xref> detected a large, movement non-specific thalamic input to the cortex just before movement onset, in mice performing a licking task. The authors of <xref ref-type="bibr" rid="bib64">Nashef et al., 2019</xref> used high-frequency stimulation to in- terfere with the normal flow of information through the cerebellar-thalamo-cortical (CTC) pathway in monkeys performing a center-out reaching task. This perturbation produced reversible motor deficits, preceded by substantial changes in the activity of motor cortical neurons around movement execution. Interestingly, the spatial tuning of motor cortical cells was unaffected, and their early preparatory activity was mostly intact. These results are in line with our prediction, if we interpret the condition-invariant inputs that we inferred during movement execution as thalamic inputs that are part of the CTC pathway. We speculate that the direction-specific inputs that we inferred during movement preparation have a different origin. Further simultaneous recordings of M1 and upstream regions, as well as measures of synaptic strength between motor cortical neurons, will be necessary to test our predictions.</p></sec><sec id="s3-3"><title>Cosine tuning</title><p>While cosine tuning functions have been extensively used to describe the firing properties of motor cortical neurons (e.g. <xref ref-type="bibr" rid="bib27">Georgopoulos et al., 1982</xref>), and they were also hypothesized to be the optimal tuning profile to minimize the expected errors in force production (<xref ref-type="bibr" rid="bib93">Todorov, 2002</xref>), more recent work has emphasized that tuning functions in the motor cortex present heterogeneous shapes. Specifically, the authors of <xref ref-type="bibr" rid="bib52">Lalazar et al., 2016</xref> showed that tuning functions are well fitted by a sum of a cosine-modulated component, and an unstructured component, often including terms with higher spatial frequency. They also argued that the unstructured component is key for a readout of motor cortical activity to reproduce EMG activity. In this work, we showed that a noisy recurrent network model that is based on cosine tuning reproduces well the <inline-formula><mml:math id="inf232"><mml:msup><mml:mi>R</mml:mi><mml:mn>2</mml:mn></mml:msup></mml:math></inline-formula> coefficient of the cosine fit of tuning curves from data (see a comparison between <xref ref-type="fig" rid="fig1s2">Figure 1—figure supplement 2e-f</xref> and <xref ref-type="fig" rid="fig5s2">Figure 5—figure supplement 2c</xref>). Moreover, tuning curves from simulations present heterogeneous shapes (<xref ref-type="fig" rid="fig5s3">Figure 5—figure supplement 3</xref>), including bimodal profiles, especially for neurons with low values of <inline-formula><mml:math id="inf233"><mml:mrow><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. Indeed, we showed that the <inline-formula><mml:math id="inf234"><mml:msup><mml:mi>R</mml:mi><mml:mn>2</mml:mn></mml:msup></mml:math></inline-formula> of the cosine fit strongly correlates with the variables <inline-formula><mml:math id="inf235"><mml:mi>η</mml:mi></mml:math></inline-formula>, both in the data and in the model. Neurons with a low degree of participation have low <inline-formula><mml:math id="inf236"><mml:msup><mml:mi>R</mml:mi><mml:mn>2</mml:mn></mml:msup></mml:math></inline-formula> coefficient of the cosine fit, and present heterogeneous tuning curves. We also showed that a linear readout of the activity of our model can very accurately reconstruct EMG activity. Finally, our model could easily be extended to incorporate other tuning functions. While we leave the analysis of a model with an arbitrary shape of the tuning function to future work, we don’t expect our results to strongly depend on the specific shape of the tuning function.</p></sec><sec id="s3-4"><title>Comparison with the ring model</title><p>The idea that the tuning properties of motor cortical neurons could emerge from direction-specific synaptic connections goes back to the work of <xref ref-type="bibr" rid="bib56">Lukashin and Georgopoulos, 1993</xref>. However, it was with the theoretical analysis of the so called ring model (<xref ref-type="bibr" rid="bib2">Amari, 1977</xref>; <xref ref-type="bibr" rid="bib7">Ben-Yishai et al., 1995</xref>; <xref ref-type="bibr" rid="bib87">Somers et al., 1995</xref>; <xref ref-type="bibr" rid="bib37">Hansel and Sompolinsky, 1998</xref>) that localized patterns of activity were formalized as attractor states of the dynamics in networks with strongly specific recurrent connections. Related models were later used to describe maintenance of internal representations of continuous variables in various brain regions (<xref ref-type="bibr" rid="bib101">Zhang, 1996</xref>; <xref ref-type="bibr" rid="bib68">Redish et al., 1996</xref>; <xref ref-type="bibr" rid="bib58">McNaughton et al., 1996</xref>; <xref ref-type="bibr" rid="bib84">Seung et al., 2000</xref>; <xref ref-type="bibr" rid="bib95">Tsodyks, 1999</xref>; <xref ref-type="bibr" rid="bib13">Camperi and Wang, 1998</xref>; <xref ref-type="bibr" rid="bib19">Compte et al., 2000</xref>; <xref ref-type="bibr" rid="bib74">Samsonovich and McNaughton, 1997</xref>; <xref ref-type="bibr" rid="bib88">Stringer et al., 2002</xref>; <xref ref-type="bibr" rid="bib10">Burak and Fiete, 2009</xref>) and were extended to allow for storage of multiple continuous manifolds (<xref ref-type="bibr" rid="bib6">Battaglia and Treves, 1998</xref>; <xref ref-type="bibr" rid="bib71">Romani and Tsodyks, 2010</xref>; <xref ref-type="bibr" rid="bib61">Monasson and Rosay, 2015</xref>) to model the firing patterns of place cells the hippocampus of rodents exploring multiple environments. While our formalism builds on the same theoretical framework of these previous works, we would like to stress two main differences between our model and the ones previously considered in the literature. First, we studied the dynamic interplay between fluctuating external inputs and recurrent currents, that causes the activity to flow from the preparatory map to the movement-related one and, consequently, neurons tuning curves and order parameters to change over time, while at the population level the pattern of activity remains localized around the same location. Then, we introduced an extra dimension representing the degree of participation of single neurons to the population pattern of activity; this is an effective way to introduce neuron-to-neuron variability in the responses, which decreases the level of orthogonality between the preparatory and movement-related subspaces, and yields tuning curves whose shape resembles the one computed from data – in contrast with the classic ring model, where all tuning curves have the same shape.</p></sec><sec id="s3-5"><title>Representational vs dynamical system approaches</title><p>There has been a debate whether neuronal activity in motor cortex is better described by so-called ‘representational models’ or dynamical systems models (<xref ref-type="bibr" rid="bib17">Churchland and Shenoy, 2007</xref>; <xref ref-type="bibr" rid="bib60">Michaels et al., 2016</xref>). Representational models (<xref ref-type="bibr" rid="bib60">Michaels et al., 2016</xref>; <xref ref-type="bibr" rid="bib45">Inoue et al., 2018</xref>) are models in which neuronal firing rates are related to movement parameters (<xref ref-type="bibr" rid="bib24">Evarts, 1968</xref>; <xref ref-type="bibr" rid="bib27">Georgopoulos et al., 1982</xref>; <xref ref-type="bibr" rid="bib28">Georgopoulos et al., 1984</xref>; <xref ref-type="bibr" rid="bib66">Paninski et al., 2004</xref>; <xref ref-type="bibr" rid="bib62">Moran and Schwartz, 1999</xref>; <xref ref-type="bibr" rid="bib86">Smith et al., 1975</xref>; <xref ref-type="bibr" rid="bib41">Hepp-Reymond et al., 1978</xref>; <xref ref-type="bibr" rid="bib14">Cheney and Fetz, 1980</xref>; <xref ref-type="bibr" rid="bib48">Kalaska et al., 1989</xref>; <xref ref-type="bibr" rid="bib90">Taira et al., 1996</xref>; <xref ref-type="bibr" rid="bib12">Cabel et al., 2001</xref>). Dynamical systems models (<xref ref-type="bibr" rid="bib89">Sussillo et al., 2015</xref>) are instead recurrent neural networks whose synaptic connectivity is trained in order to produce a given pattern of muscle activity. Such models have been argued to reproduce better the dynamical patterns of population activity in motor cortex (<xref ref-type="bibr" rid="bib60">Michaels et al., 2016</xref>).</p><p>In our model, firing rates are described by a system of coupled ODEs, and the synaptic connectivity is built from the neuronal tuning properties, in the spirit of the classical ring model discussed above, and of the model introduced by <xref ref-type="bibr" rid="bib56">Lukashin and Georgopoulos, 1993</xref>. Our model is thus a dynamical system where kinematic parameters can be decoded from the population activity.</p><p>Importantly, our model is constrained to reproduce the dynamics of a few order parameters that are a low-dimensional representation of the activity of recorded neurons. In contrast to kinematic-encoding models, our model can recapitulate the heterogeneity of single-unit responses. Moreover, as in trained recurrent network models, a linear readout of the network activity can reproduce realistic muscle signals.</p><p>The advantage of our model with respect to a trained RNN is that it yields a low-rank connectivity matrix which is simple enough to allow for analytical tractability of the dynamics. The model can be used to test specific hypotheses on the relationship between network connectivity, external inputs and neural dynamics, and on the learning mechanisms that may lead to the emergence of a given connectivity structure. The model is also helpful to illustrate the problem of degeneracy of network models. An interesting future direction would be to compare the connectivity matrices of trained RNNs and of our model.</p></sec><sec id="s3-6"><title>Extension to modeling activity underlying more complex tasks</title><p>Neurons directional tuning properties have been shown to be influenced by many contextual factors that we neglected in our analysis (<xref ref-type="bibr" rid="bib42">Hepp-Reymond et al., 1999</xref>; <xref ref-type="bibr" rid="bib63">Muir and Lemon, 1983</xref>), to depend on the acquisition of new motor skills (<xref ref-type="bibr" rid="bib67">Paz et al., 2003</xref>; <xref ref-type="bibr" rid="bib54">Li et al., 2001</xref>; <xref ref-type="bibr" rid="bib99">Wise et al., 1998</xref>) and other features of movement such as the shoulder abduction/adduction angle even for similar hand kinematic profiles (<xref ref-type="bibr" rid="bib78">Scott and Kalaska, 1997</xref>; <xref ref-type="bibr" rid="bib79">Scott et al., 2001</xref>), or the speed of movement for similar trajectories (<xref ref-type="bibr" rid="bib17">Churchland and Shenoy, 2007</xref>). A large body of work (<xref ref-type="bibr" rid="bib79">Scott et al., 2001</xref>; <xref ref-type="bibr" rid="bib1">Ajemian et al., 2000</xref>; <xref ref-type="bibr" rid="bib34">Gribble and Scott, 2002</xref>; <xref ref-type="bibr" rid="bib42">Hepp-Reymond et al., 1999</xref>; <xref ref-type="bibr" rid="bib92">Todorov, 2000</xref>; <xref ref-type="bibr" rid="bib43">Holdefer and Miller, 2002</xref>; <xref ref-type="bibr" rid="bib83">Sergio et al., 2005</xref>) has shown that the activity in the primary motor cortex covaries with many parameters of movement other than the hand kinematics – for a review, see <xref ref-type="bibr" rid="bib80">Scott, 2003</xref>. More recent studies <xref ref-type="bibr" rid="bib60">Michaels et al., 2016</xref>; <xref ref-type="bibr" rid="bib73">Russo et al., 2018</xref>; <xref ref-type="bibr" rid="bib83">Sergio et al., 2005</xref>; <xref ref-type="bibr" rid="bib76">Schroeder et al., 2021</xref> have also suggested that the largest signals in motor cortex may not correlate with task-relevant variables at all.</p><p>Our model can be extended to more realistic scenarios in several ways. A simplifying assumption we made is that the task can be clearly separated into a preparatory phase and one movement-related phase. A possible extension is one where the motor action is composed of a sequence of epochs, corresponding to a sequence of maps in our model. It will be interesting to study the role of asymmetric connections for storing a sequence of maps. Such a network model could be used to study the storage of motor motifs in the motor cortex (<xref ref-type="bibr" rid="bib55">Logiaco et al., 2021</xref>); external inputs could then combine these building blocks to compose complex actions. Moreover, incorporating variability in the degree of symmetry of the connections could allow to model features that are not currently included, such as the speed of movement.</p><p>In summary, we proposed a simple model that can explain recordings during a reaching task. It provides a scaffold upon which more sophisticated models could be built, to explain neural activity underlying more complex tasks.</p></sec></sec><sec id="s4" sec-type="methods"><title>Methods</title><sec id="s4-1"><title>Animals</title><p><xref ref-type="fig" rid="fig1">Figures 1</xref>—<xref ref-type="fig" rid="fig6">6</xref> are based on electrophysiological recordings from the primary motor cortex of Macaque monkey Rk (141 units, 391 trials), while in <xref ref-type="fig" rid="fig4s3">Figure 4—figure supplement 3</xref> we analyzed recordings from Macaque monkey Rj (57 units, 191 trials). For details on the electrophysiology and on the multi-electrode array implants, see <xref ref-type="bibr" rid="bib73">Russo et al., 2018</xref>.</p></sec><sec id="s4-2"><title>Circular statistics</title><p>To define the statistical measures of angular variables (<xref ref-type="bibr" rid="bib25">Fisher, 1995</xref>; <xref ref-type="bibr" rid="bib8">Berens, 2009</xref>), let us consider a set of angles <inline-formula><mml:math id="inf237"><mml:msub><mml:mrow><mml:mo stretchy="false">{</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo stretchy="false">}</mml:mo></mml:mrow><mml:mi>i</mml:mi></mml:msub></mml:math></inline-formula>, and visualize them as vectors on the plane:<disp-formula id="equ10"><label>(8)</label><mml:math id="m10"><mml:mrow><mml:msub><mml:mi mathvariant="normal">Θ</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mtable rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>sin</mml:mi><mml:mo>⁡</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable><mml:mo>]</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p><p>The mean vector is then defined as<disp-formula id="equ11"><label>(9)</label><mml:math id="m11"><mml:mrow><mml:mover accent="true"><mml:mi mathvariant="normal">Θ</mml:mi><mml:mo>¯</mml:mo></mml:mover><mml:mo>=</mml:mo><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mi>N</mml:mi></mml:mfrac><mml:mo>⁢</mml:mo><mml:mrow><mml:munder><mml:mo largeop="true" movablelimits="false" symmetric="true">∑</mml:mo><mml:mi>i</mml:mi></mml:munder><mml:msub><mml:mi mathvariant="normal">Θ</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mrow></mml:mrow></mml:math></disp-formula></p><p>from which we can get the mean angular direction <inline-formula><mml:math id="inf238"><mml:mover accent="true"><mml:mi>θ</mml:mi><mml:mo>¯</mml:mo></mml:mover></mml:math></inline-formula> using the four quadrant inverse tangent function. The length of the mean resultant vector,<disp-formula id="equ12"><label>(10)</label><mml:math id="m12"><mml:mrow><mml:mrow><mml:mi>R</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo fence="true" stretchy="false">∥</mml:mo><mml:mover accent="true"><mml:mi mathvariant="normal">Θ</mml:mi><mml:mo>¯</mml:mo></mml:mover><mml:mo fence="true" stretchy="false">∥</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula></p><p>is a measure of how concentrated the data sample is around the mean direction: the closer <inline-formula><mml:math id="inf239"><mml:mi>R</mml:mi></mml:math></inline-formula> is to 1, the more concentrated the data is. We quantify the spread in a data set through the circular variance given by<disp-formula id="equ13"><label>(11)</label><mml:math id="m13"><mml:mrow><mml:mrow><mml:mi>S</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:mi>R</mml:mi></mml:mrow></mml:mrow><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula></p><p>which ranges from 0 to 1. To compute the correlation between two sets of angular variables, <inline-formula><mml:math id="inf240"><mml:msub><mml:mrow><mml:mo stretchy="false">{</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo stretchy="false">}</mml:mo></mml:mrow><mml:mi>i</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf241"><mml:msub><mml:mrow><mml:mo stretchy="false">{</mml:mo><mml:mi>ϕ</mml:mi><mml:mo stretchy="false">}</mml:mo></mml:mrow><mml:mi>i</mml:mi></mml:msub></mml:math></inline-formula>, we used the correlation coefficient (<xref ref-type="bibr" rid="bib47">Jammalamadaka and SenGupta, 2001</xref>) defined as:<disp-formula id="equ14"><label>(12)</label><mml:math id="m14"><mml:mrow><mml:mrow><mml:mi>ρ</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mo largeop="true" symmetric="true">∑</mml:mo><mml:mi>i</mml:mi></mml:msub><mml:mrow><mml:mrow><mml:mi>sin</mml:mi><mml:mo>⁡</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mover accent="true"><mml:mi>θ</mml:mi><mml:mo>¯</mml:mo></mml:mover></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>⁢</mml:mo><mml:mrow><mml:mi>sin</mml:mi><mml:mo>⁡</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mi>ϕ</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mover accent="true"><mml:mi>ϕ</mml:mi><mml:mo>¯</mml:mo></mml:mover></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow></mml:mrow><mml:msqrt><mml:mrow><mml:msub><mml:mo largeop="true" symmetric="true">∑</mml:mo><mml:mi>i</mml:mi></mml:msub><mml:mrow><mml:mrow><mml:msup><mml:mi>sin</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo>⁡</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mover accent="true"><mml:mi>θ</mml:mi><mml:mo>¯</mml:mo></mml:mover></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>⁢</mml:mo><mml:mrow><mml:msup><mml:mi>sin</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo>⁡</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mi>ϕ</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mover accent="true"><mml:mi>ϕ</mml:mi><mml:mo>¯</mml:mo></mml:mover></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow></mml:mrow></mml:msqrt></mml:mfrac></mml:mrow><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula></p><p>where <inline-formula><mml:math id="inf242"><mml:mover accent="true"><mml:mi>θ</mml:mi><mml:mo>¯</mml:mo></mml:mover></mml:math></inline-formula> and <inline-formula><mml:math id="inf243"><mml:mover accent="true"><mml:mi>ϕ</mml:mi><mml:mo>¯</mml:mo></mml:mover></mml:math></inline-formula> are the mean angular directions of the two sets.</p></sec><sec id="s4-3"><title>Preparatory and movement-related epochs</title><p>In our analysis, we characterized neurons’ tuning properties during movement preparation and execution. The choice of considering only two epochs is an approximation based on the observation that neurons preferred directions are more conserved within the delay period alone and within movement execution alone than across periods (<xref ref-type="fig" rid="fig1s1">Figure 1—figure supplement 1</xref>). In <xref ref-type="fig" rid="fig1s1">Figure 1—figure supplement 1</xref>, we considered three temporal epochs: the delay period (blue lines), movement execution (red) and the whole duration of the task (grey). We binned each epoch into <inline-formula><mml:math id="inf244"><mml:msub><mml:mi>N</mml:mi><mml:mi>W</mml:mi></mml:msub></mml:math></inline-formula> time bins of length 160 ms: the preparatory and execution epochs consist of <inline-formula><mml:math id="inf245"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi>W</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>3</mml:mn></mml:mrow></mml:math></inline-formula> bins each, while the whole task consists of <inline-formula><mml:math id="inf246"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi>W</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>7</mml:mn></mml:mrow></mml:math></inline-formula> bins. For each neuron, we first computed its preferred direction in each time bin, by fitting the trial-averaged and time-averaged firing rate with a cosine function. Then, for each epoch, and for each neuron, we computed the circular variance of preferred directions across the <inline-formula><mml:math id="inf247"><mml:msub><mml:mi>N</mml:mi><mml:mi>W</mml:mi></mml:msub></mml:math></inline-formula> bins. The cumulative distribution of circular variances is shown in <xref ref-type="fig" rid="fig1s1">Figure 1—figure supplement 1a</xref>: the variability of preferred direction within the delay epochs and within movement execution is non-zero, although their distribution is skewed towards zero.</p><p>For each epoch, we computed the median variability in preferred direction and used a bootstrap analysis to check its statistical significance. Let us consider the matrix of <italic>single trial</italic> activity of a given neuron, for a specific condition, and during a given epoch; the size of the matrix is <inline-formula><mml:math id="inf248"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi>W</mml:mi></mml:msub><mml:mo>×</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="inf249"><mml:mi>n</mml:mi></mml:math></inline-formula> is the number of trials per condition (in the data, <inline-formula><mml:math id="inf250"><mml:mi>n</mml:mi></mml:math></inline-formula> ranges between 41 and 47). We repeat the same procedure for all of the 8 conditions, and z-scored the 8 activity matrices across conditions (this is done because the average activity changes across time bins, and in the following we will shuffle time bins). To check if tuning curves are exactly conserved across time-bins, we generated <inline-formula><mml:math id="inf251"><mml:mrow><mml:mi>B</mml:mi><mml:mo>=</mml:mo><mml:mn>1000</mml:mn></mml:mrow></mml:math></inline-formula> bootstrap samples of the activity matrix for a given condition, where each entry is chosen at random (with repetitions) between the possible <inline-formula><mml:math id="inf252"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi>W</mml:mi></mml:msub><mml:mo>×</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:math></inline-formula> entries of the original matrix. For each bootstrap sample matrix, we computed the variance of preferred direction as we did for the original matrix. This is repeated for all neurons, all epochs, all conditions. The cumulative distribution of all variances of preferred direction is shown in <xref ref-type="fig" rid="fig1s1">Figure 1—figure supplement 1b</xref>. Then, for each bootstrap sample, we computed the corresponding median variance of preferred direction; the histogram is shown in <xref ref-type="fig" rid="fig1s1">Figure 1—figure supplement 1c</xref>. From <xref ref-type="fig" rid="fig1s1">Figure 1—figure supplement 1c</xref>, it is obvious that the median variance of preferred directions from the data is significantly larger than the one from the bootstrap samples. This suggests that neurons do change their preferred direction within epochs, even though major changes happen between epochs.</p></sec><sec id="s4-4"><title>Analysis of the model</title><p>We studied the rate model with couplings defined by (5) with two complementary approaches. First, an analytic approximation based on mean-field arguments and valid in the limit of large network size allowed us to derive a low-dimensional description of the network dynamics in terms of a few latent variables, and to fit the model parameters to the data. Next, we checked that simulations of the dynamics of a network of <inline-formula><mml:math id="inf253"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn>10</mml:mn><mml:mn>4</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> neurons reproduce the results that we derived in the limit <inline-formula><mml:math id="inf254"><mml:mrow><mml:mi>N</mml:mi><mml:mo>→</mml:mo><mml:mi mathvariant="normal">∞</mml:mi></mml:mrow></mml:math></inline-formula>.</p><p>The mean-field equations are derived following the methods introduced in <xref ref-type="bibr" rid="bib7">Ben-Yishai et al., 1995</xref>; <xref ref-type="bibr" rid="bib71">Romani and Tsodyks, 2010</xref>. In the limit where the number of neurons is large, the average activity of a neuron with coordinates <inline-formula><mml:math id="inf255"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is described by <xref ref-type="disp-formula" rid="equ2 equ3">Equations 1; 2</xref>, where we have defined <inline-formula><mml:math id="inf256"><mml:mrow><mml:mi>x</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="false">{</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo stretchy="false">}</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula>. In order to derive a lower dimensional description of the dynamics, we rewrite (1) in terms of the average activity rate (14), and of the second Fourier components of the activity rate modulated by <inline-formula><mml:math id="inf257"><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mo>/</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>:<disp-formula id="equ15"><label>(13)</label><mml:math id="m15"><mml:mrow><mml:mtable columnalign="left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msub><mml:mi>Z</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub></mml:mtd><mml:mtd><mml:mo>≡</mml:mo><mml:mo>∫</mml:mo><mml:mi>d</mml:mi><mml:mi>x</mml:mi><mml:mspace width="thinmathspace"/><mml:mi>ρ</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thickmathspace"/><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mspace width="thinmathspace"/><mml:mi>r</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thinmathspace"/><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msup><mml:mo>≡</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:msub><mml:mi>ψ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msup></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>Z</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mtd><mml:mtd><mml:mo>≡</mml:mo><mml:mo>∫</mml:mo><mml:mi>d</mml:mi><mml:mi>x</mml:mi><mml:mspace width="thinmathspace"/><mml:mi>ρ</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thickmathspace"/><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mspace width="thinmathspace"/><mml:mi>r</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thinmathspace"/><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msup><mml:mo>≡</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:msub><mml:mi>ψ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msup><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula></p><p>The phase <inline-formula><mml:math id="inf258"><mml:msub><mml:mi>ψ</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mo>⁣</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi/><mml:mo>/</mml:mo><mml:mi>B</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is defined so that the parameter <inline-formula><mml:math id="inf259"><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mo>⁣</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi/><mml:mo>/</mml:mo><mml:mi>B</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is a real nonnegative number, yielding <xref ref-type="disp-formula" rid="equ16">Equation 14</xref> for <inline-formula><mml:math id="inf260"><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mo>⁣</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi/><mml:mo>/</mml:mo><mml:mi>B</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula>, and the following equation for the phase <inline-formula><mml:math id="inf261"><mml:msub><mml:mi>ψ</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mo>⁣</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi/><mml:mo>/</mml:mo><mml:mi>B</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula>, representing the position of the peak of the activity profile in map <inline-formula><mml:math id="inf262"><mml:mrow><mml:mi>A</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mo>/</mml:mo><mml:mi>B</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula>:<disp-formula id="equ16"><label>(14)</label><mml:math id="m16"><mml:mrow><mml:mtable columnalign="left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mn>0</mml:mn></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:mo>∫</mml:mo><mml:mi>d</mml:mi><mml:mi>x</mml:mi><mml:mspace width="thinmathspace"/><mml:mi>ρ</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thickmathspace"/><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mspace width="thinmathspace"/><mml:mi>sin</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>ψ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thinmathspace"/><mml:mi>r</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>0</mml:mn></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:mo>∫</mml:mo><mml:mi>d</mml:mi><mml:mi>x</mml:mi><mml:mspace width="thinmathspace"/><mml:mi>ρ</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thickmathspace"/><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mspace width="thinmathspace"/><mml:mi>sin</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>ψ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thinmathspace"/><mml:mi>r</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula></p><p>From (1), we see that the order parameters evolve in time according to the following set of equations,<disp-formula id="equ17"><label>(15)</label><mml:math id="m17"><mml:mrow><mml:mtable columnalign="left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>τ</mml:mi><mml:mfrac><mml:mi>d</mml:mi><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:mo>∫</mml:mo><mml:mi>d</mml:mi><mml:mi>x</mml:mi><mml:mspace width="thinmathspace"/><mml:mi>ρ</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thickmathspace"/><mml:mo stretchy="false">[</mml:mo><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mtext>tot</mml:mtext></mml:mrow></mml:msup><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>;</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:msub><mml:mo stretchy="false">]</mml:mo><mml:mrow><mml:mo>+</mml:mo></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>τ</mml:mi><mml:mfrac><mml:mi>d</mml:mi><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:mo>∫</mml:mo><mml:mi>d</mml:mi><mml:mi>x</mml:mi><mml:mspace width="thinmathspace"/><mml:mi>ρ</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thickmathspace"/><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mspace width="thinmathspace"/><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>ψ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thinmathspace"/><mml:mo stretchy="false">[</mml:mo><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mtext>tot</mml:mtext></mml:mrow></mml:msup><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>;</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:msub><mml:mo stretchy="false">]</mml:mo><mml:mrow><mml:mo>+</mml:mo></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>τ</mml:mi><mml:mfrac><mml:mi>d</mml:mi><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:mo>∫</mml:mo><mml:mi>d</mml:mi><mml:mi>x</mml:mi><mml:mspace width="thinmathspace"/><mml:mi>ρ</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thickmathspace"/><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mspace width="thinmathspace"/><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>ψ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thinmathspace"/><mml:mo stretchy="false">[</mml:mo><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mtext>tot</mml:mtext></mml:mrow></mml:msup><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>;</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:msub><mml:mo stretchy="false">]</mml:mo><mml:mrow><mml:mo>+</mml:mo></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>τ</mml:mi><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mfrac><mml:mi>d</mml:mi><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:msub><mml:mi>ψ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:mo>∫</mml:mo><mml:mi>d</mml:mi><mml:mi>x</mml:mi><mml:mspace width="thinmathspace"/><mml:mi>ρ</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thickmathspace"/><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mspace width="thinmathspace"/><mml:mi>sin</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>ψ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thinmathspace"/><mml:mo stretchy="false">[</mml:mo><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mtext>tot</mml:mtext></mml:mrow></mml:msup><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>;</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:msub><mml:mo stretchy="false">]</mml:mo><mml:mrow><mml:mo>+</mml:mo></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>τ</mml:mi><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mfrac><mml:mi>d</mml:mi><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:msub><mml:mi>ψ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:mo>∫</mml:mo><mml:mi>d</mml:mi><mml:mi>x</mml:mi><mml:mspace width="thinmathspace"/><mml:mi>ρ</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thickmathspace"/><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mspace width="thinmathspace"/><mml:mi>sin</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>ψ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thinmathspace"/><mml:mo stretchy="false">[</mml:mo><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mtext>tot</mml:mtext></mml:mrow></mml:msup><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>;</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:msub><mml:mo stretchy="false">]</mml:mo><mml:mrow><mml:mo>+</mml:mo></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula></p><p>where the total input (2) is rewritten as:<disp-formula id="equ18"><label>(16)</label><mml:math id="m18"><mml:mrow><mml:mtable columnalign="left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mtext>tot</mml:mtext></mml:mrow></mml:msup><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>;</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mtext>ext</mml:mtext></mml:mrow></mml:msup><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>;</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:munder><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>ν</mml:mi><mml:mo>=</mml:mo><mml:mi>A</mml:mi><mml:mo>,</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:munder><mml:msubsup><mml:mi>j</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>ν</mml:mi></mml:mrow></mml:msubsup><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>ν</mml:mi></mml:mrow></mml:msub><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>ν</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>ψ</mml:mi><mml:mrow><mml:mi>ν</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>ν</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msub><mml:mi>ψ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula></p></sec><sec id="s4-5"><title>Stationary states for homogeneous external inputs</title><p>We first characterize the model by studying the fixed-points of the network dynamics when subject to a constant and homogeneous external input, and focusing on the scenario where the joint distribution (3) of the <inline-formula><mml:math id="inf263"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is of the form<disp-formula id="equ19"><label>(17)</label><mml:math id="m19"><mml:mrow><mml:mrow><mml:mrow><mml:msub><mml:mi>ρ</mml:mi><mml:mi>d</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mn>4</mml:mn><mml:mo>⁢</mml:mo><mml:msup><mml:mi>π</mml:mi><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mfrac><mml:mo>⁢</mml:mo><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:mrow><mml:mi>x</mml:mi><mml:mo>⁢</mml:mo><mml:mrow><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow></mml:mrow><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula></p><p>which fits the empirical distribution of the data well for <inline-formula><mml:math id="inf264"><mml:mrow><mml:mi>x</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mo>/</mml:mo><mml:mn>3</mml:mn></mml:mrow></mml:mrow></mml:math></inline-formula> (<xref ref-type="fig" rid="fig1s2">Figure 1—figure supplement 2</xref>). For now, we leave the distributions <inline-formula><mml:math id="inf265"><mml:mrow><mml:msub><mml:mi>ρ</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>⁢</mml:mo><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="inf266"><mml:mrow><mml:msub><mml:mi>ρ</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>⁢</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> unspecified. We first consider the case where the external input to the network is a constant that is independent of <inline-formula><mml:math id="inf267"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>:<disp-formula id="equ20"><label>(18)</label><mml:math id="m20"><mml:mrow><mml:mrow><mml:mrow><mml:msup><mml:mi>I</mml:mi><mml:mtext>ext</mml:mtext></mml:msup><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:mrow><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:mrow><mml:mo>+</mml:mo><mml:mrow><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:mrow></mml:mrow><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p><p>The stationary solutions of (1,16) are of the form:<disp-formula id="equ21"><label>(19)</label><mml:math id="m21"><mml:mrow><mml:mrow><mml:mrow><mml:mi>r</mml:mi><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:msup><mml:mi>I</mml:mi><mml:mtext>tot</mml:mtext></mml:msup><mml:mo>]</mml:mo></mml:mrow><mml:mo>+</mml:mo></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>ψ</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow><mml:mo>+</mml:mo><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>ψ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>+</mml:mo></mml:msub></mml:mrow><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula></p><p>where we have defined<disp-formula id="equ22"><label>(20)</label><mml:math id="m22"><mml:mrow><mml:mtable columnalign="left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:msubsup><mml:mi>j</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msubsup><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:msubsup><mml:mi>j</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msubsup><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula></p><p>Here, <inline-formula><mml:math id="inf268"><mml:mrow><mml:mo stretchy="false">{</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo stretchy="false">}</mml:mo></mml:mrow></mml:math></inline-formula> are solutions of the system (15) with the left hand side set to zero. The second term on the r.h.s in the last equation of (20) is obtained from (16) by observing that in the stationary state <inline-formula><mml:math id="inf269"><mml:mrow><mml:msub><mml:mi>ψ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>ψ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> if either <inline-formula><mml:math id="inf270"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula> or if <inline-formula><mml:math id="inf271"><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf272"><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula> are correlated (as we are assuming here). As in <xref ref-type="bibr" rid="bib7">Ben-Yishai et al., 1995</xref>; <xref ref-type="bibr" rid="bib37">Hansel and Sompolinsky, 1998</xref>, we can distinguish broad from narrow activity profiles. The term <italic>broad activity profile</italic> refers to the scenario where the activity of all the neurons is above threshold, the dynamics is linear and the stationary state reduces to:<disp-formula id="equ23"><label>(21)</label><mml:math id="m23"><mml:mrow><mml:mrow><mml:mrow><mml:mi>r</mml:mi><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>ψ</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow><mml:mo>+</mml:mo><mml:mrow><mml:msub><mml:mi>I</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>ψ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow></mml:mrow></mml:mrow><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p><p>By inserting the above equation in (14), we find that the only solution is homogeneous over the maps <inline-formula><mml:math id="inf273"><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf274"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula>:<disp-formula id="equ24"><label>(22)</label><mml:math id="m24"><mml:mrow><mml:mtable columnalign="left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mrow><mml:mo>⟨</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>⟩</mml:mo></mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mrow><mml:mo>⟨</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>⟩</mml:mo></mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>r</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula></p><p>where the notation <inline-formula><mml:math id="inf275"><mml:mrow><mml:mo stretchy="false">⟨</mml:mo><mml:mo>.</mml:mo><mml:mo stretchy="false">⟩</mml:mo></mml:mrow></mml:math></inline-formula> represents an average over the measure <inline-formula><mml:math id="inf276"><mml:mrow><mml:mi>d</mml:mi><mml:mo>⁢</mml:mo><mml:mi>μ</mml:mi></mml:mrow></mml:math></inline-formula>, i.e.<disp-formula id="equ25"><mml:math id="m25"><mml:mrow><mml:mrow><mml:mrow><mml:mrow><mml:mo stretchy="false">⟨</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo stretchy="false">⟩</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:msubsup><mml:mo largeop="true" symmetric="true">∫</mml:mo><mml:mn>0</mml:mn><mml:mn>1</mml:mn></mml:msubsup><mml:mrow><mml:mrow><mml:mo rspace="0pt">d</mml:mo><mml:mpadded width="+1.7pt"><mml:mi>η</mml:mi></mml:mpadded></mml:mrow><mml:mo>⁢</mml:mo><mml:msub><mml:mi>ρ</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>⁢</mml:mo><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>η</mml:mi><mml:mo rspace="4.2pt" stretchy="false">)</mml:mo></mml:mrow><mml:mo>⁢</mml:mo><mml:mi>η</mml:mi></mml:mrow></mml:mrow></mml:mrow><mml:mo rspace="12.5pt">,</mml:mo><mml:mrow><mml:mrow><mml:mo stretchy="false">⟨</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo stretchy="false">⟩</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:msubsup><mml:mo largeop="true" symmetric="true">∫</mml:mo><mml:mn>0</mml:mn><mml:mn>1</mml:mn></mml:msubsup><mml:mrow><mml:mrow><mml:mo rspace="0pt">d</mml:mo><mml:mpadded width="+1.7pt"><mml:mi>η</mml:mi></mml:mpadded></mml:mrow><mml:mo>⁢</mml:mo><mml:msub><mml:mi>ρ</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>⁢</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>η</mml:mi><mml:mo rspace="4.2pt" stretchy="false">)</mml:mo></mml:mrow><mml:mo>⁢</mml:mo><mml:mi>η</mml:mi></mml:mrow></mml:mrow></mml:mrow></mml:mrow><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p><p>First, we notice that a nonzero homogeneous state is present if<disp-formula id="equ26"><mml:math id="m26"><mml:mrow><mml:mfrac><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mo fence="false" stretchy="false">⟨</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo fence="false" stretchy="false">⟩</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mo fence="false" stretchy="false">⟨</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo fence="false" stretchy="false">⟩</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mo>&gt;</mml:mo><mml:mn>0.</mml:mn></mml:mrow></mml:math></disp-formula></p><p>Then, the stability of this state with respect to a small perturbation <inline-formula><mml:math id="inf277"><mml:mrow><mml:mo stretchy="false">{</mml:mo><mml:mrow><mml:mi>δ</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mn>0</mml:mn></mml:msub></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mi>δ</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mi>δ</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow><mml:mo stretchy="false">}</mml:mo></mml:mrow></mml:math></inline-formula> can be studied by linearizing (15) around the stationary solution, at fixed <inline-formula><mml:math id="inf278"><mml:mrow><mml:msub><mml:mi>ψ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>ψ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula>. The resulting Jacobian matrix is<disp-formula id="equ27"><mml:math id="m27"><mml:mrow><mml:mo>(</mml:mo><mml:mtable columnspacing="5pt" displaystyle="true" rowspacing="0pt"><mml:mtr><mml:mtd columnalign="center"><mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mn>0</mml:mn></mml:msub></mml:mrow></mml:mtd><mml:mtd columnalign="center"><mml:mn>0</mml:mn></mml:mtd><mml:mtd columnalign="center"><mml:mn>0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="center"><mml:mn>0</mml:mn></mml:mtd><mml:mtd columnalign="center"><mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>+</mml:mo><mml:mrow><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup><mml:mo>⁢</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mo>⁢</mml:mo><mml:mi>A</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>+</mml:mo><mml:mrow><mml:msub><mml:mi>j</mml:mi><mml:mi>a</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mo>⁢</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:mtd><mml:mtd columnalign="center"><mml:mrow><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup><mml:mo>⁢</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mo>⁢</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd columnalign="center"><mml:mn>0</mml:mn></mml:mtd><mml:mtd columnalign="center"><mml:mrow><mml:mrow><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup><mml:mo>⁢</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mo>⁢</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo>+</mml:mo><mml:mrow><mml:msub><mml:mi>j</mml:mi><mml:mi>a</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi>B</mml:mi><mml:mo>⁢</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:mtd><mml:mtd columnalign="center"><mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>+</mml:mo><mml:mrow><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup><mml:mo>⁢</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi>B</mml:mi><mml:mo>⁢</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo>)</mml:mo></mml:mrow></mml:math></disp-formula></p><p>where<disp-formula id="equ28"><mml:math id="m28"><mml:mrow><mml:mtable columnalign="left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>∫</mml:mo><mml:mi>d</mml:mi><mml:mi>x</mml:mi><mml:mspace width="thinmathspace"/><mml:mi>ρ</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thickmathspace"/><mml:msubsup><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:msup><mml:mo stretchy="false">)</mml:mo><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:mo fence="false" stretchy="false">⟨</mml:mo><mml:msubsup><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo fence="false" stretchy="false">⟩</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi>B</mml:mi><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>∫</mml:mo><mml:mi>d</mml:mi><mml:mi>x</mml:mi><mml:mspace width="thinmathspace"/><mml:mi>ρ</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thickmathspace"/><mml:msubsup><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:msup><mml:mo stretchy="false">)</mml:mo><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:mo fence="false" stretchy="false">⟨</mml:mo><mml:msubsup><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo fence="false" stretchy="false">⟩</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>∫</mml:mo><mml:mi>d</mml:mi><mml:mi>x</mml:mi><mml:mspace width="thinmathspace"/><mml:mi>ρ</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thickmathspace"/><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mi>x</mml:mi><mml:mn>4</mml:mn></mml:mfrac><mml:mo fence="false" stretchy="false">⟨</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo fence="false" stretchy="false">⟩</mml:mo><mml:mo fence="false" stretchy="false">⟨</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo fence="false" stretchy="false">⟩</mml:mo><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula></p><p>The homogeneous solution (22) is stable if <inline-formula><mml:math id="inf279"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>&lt;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula> and if the couplings parameters <inline-formula><mml:math id="inf280"><mml:mrow><mml:mo stretchy="false">{</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mi>a</mml:mi></mml:msub><mml:mo stretchy="false">}</mml:mo></mml:mrow></mml:math></inline-formula> satisfy the following system of inequalities:<disp-formula id="equ29"><label>(23)</label><mml:math id="m29"><mml:mrow><mml:mrow><mml:mo>{</mml:mo><mml:mtable columnalign="right left right left right left right left right left right left" rowspacing="3pt" columnspacing="0em 2em 0em 2em 0em 2em 0em 2em 0em 2em 0em" displaystyle="true"><mml:mtr><mml:mtd/><mml:mtd><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:mfrac><mml:mi>x</mml:mi><mml:mn>4</mml:mn></mml:mfrac><mml:mo fence="false" stretchy="false">⟨</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo fence="false" stretchy="false">⟩</mml:mo><mml:mo fence="false" stretchy="false">⟨</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo fence="false" stretchy="false">⟩</mml:mo><mml:mo>+</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msubsup><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:mo fence="false" stretchy="false">⟨</mml:mo><mml:msubsup><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo fence="false" stretchy="false">⟩</mml:mo><mml:mo>+</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msubsup><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:mo fence="false" stretchy="false">⟨</mml:mo><mml:msubsup><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo fence="false" stretchy="false">⟩</mml:mo><mml:mo>&lt;</mml:mo><mml:mn>2</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msubsup><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:mo fence="false" stretchy="false">⟨</mml:mo><mml:msubsup><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo fence="false" stretchy="false">⟩</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>−</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msubsup><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac><mml:mo fence="false" stretchy="false">⟨</mml:mo><mml:msubsup><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo fence="false" stretchy="false">⟩</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>−</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msubsup><mml:msubsup><mml:mi>j</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msubsup><mml:mfrac><mml:mi>x</mml:mi><mml:mn>4</mml:mn></mml:mfrac><mml:mo fence="false" stretchy="false">⟨</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo fence="false" stretchy="false">⟩</mml:mo><mml:mo fence="false" stretchy="false">⟨</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo fence="false" stretchy="false">⟩</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mfrac><mml:mi>x</mml:mi><mml:mn>4</mml:mn></mml:mfrac><mml:mo fence="false" stretchy="false">⟨</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo fence="false" stretchy="false">⟩</mml:mo><mml:mo fence="false" stretchy="false">⟨</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo fence="false" stretchy="false">⟩</mml:mo><mml:mo>&gt;</mml:mo><mml:mn>0.</mml:mn></mml:mtd></mml:mtr></mml:mtable><mml:mo fence="true" stretchy="true" symmetric="true"/></mml:mrow></mml:mrow></mml:math></disp-formula></p><p>If <inline-formula><mml:math id="inf281"><mml:mrow><mml:msub><mml:mi>j</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>≥</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></inline-formula>, the system undergoes an amplitude instability. For values of <inline-formula><mml:math id="inf282"><mml:mrow><mml:mo stretchy="false">{</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mi>a</mml:mi></mml:msub><mml:mo stretchy="false">}</mml:mo></mml:mrow></mml:math></inline-formula> that exceed the threshold implicitly defined by (23), there is a region of the four-dimensional space <inline-formula><mml:math id="inf283"><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> where the total input <inline-formula><mml:math id="inf284"><mml:msup><mml:mi>I</mml:mi><mml:mtext>tot</mml:mtext></mml:msup></mml:math></inline-formula> (19) is negative. The dynamics is no longer linear and the activity profile at the fixed point is localized around a particular direction, and characterized by positive stationary values of the order parameters <inline-formula><mml:math id="inf285"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. This ‘bump’ of activity can be localized either more strongly in map A (<inline-formula><mml:math id="inf286"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>&gt;</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula>), in map B (<inline-formula><mml:math id="inf287"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>&gt;</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula>) or at the same level in both maps (<inline-formula><mml:math id="inf288"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula>). Since maps A and B are correlated according to 3, the location of the stationary bump of activity is constrained to be the same in the two maps: <inline-formula><mml:math id="inf289"><mml:mrow><mml:msub><mml:mi>ψ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>ψ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>≡</mml:mo><mml:mi>ψ</mml:mi></mml:mrow></mml:math></inline-formula>, with arbitrary <inline-formula><mml:math id="inf290"><mml:mi>ψ</mml:mi></mml:math></inline-formula>. The asymmetric term in the connectivity, modulated by the parameter <inline-formula><mml:math id="inf291"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula>, further contributes to aligning the location of the bump in map B to the one in map A. The system can relax to a continuous manifold of fixed points parameterized by <inline-formula><mml:math id="inf292"><mml:mi>ψ</mml:mi></mml:math></inline-formula> that are marginally stable. In this continuous attractor regime, the system can store in memory any direction of motion <inline-formula><mml:math id="inf293"><mml:mi>ψ</mml:mi></mml:math></inline-formula>, as the activity is localized in absence of tuned inputs.</p><p>Examples of two-dimensional cross-sections of the four-dimensional activity profile in the marginal phase are shown in <xref ref-type="fig" rid="fig2">Figure 2b</xref>. <xref ref-type="fig" rid="fig2">Figure 2c</xref> shows one-dimensional cross-sections of the activity as a function of <inline-formula><mml:math id="inf294"><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula> or <inline-formula><mml:math id="inf295"><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula>, for different values of <inline-formula><mml:math id="inf296"><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf297"><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula>. These correspond to the tuning curves of the model for stationary external inputs. The tuning profile can have either a full-cosine modulation or a rectified cosine modulation, depending on the values of <inline-formula><mml:math id="inf298"><mml:mrow><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. The plots of <xref ref-type="fig" rid="fig1">Figure 1f-g</xref> correspond to the activity as a function of <inline-formula><mml:math id="inf299"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> in the case of a discrete number of neurons – each neuron with a different value of <inline-formula><mml:math id="inf300"><mml:mrow><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>.</p></sec><sec id="s4-6"><title>Time-dependent external input</title><p>The activity of motor cortical neurons shows no signature of being in a stationary state but instead displays complex transients. To model the data, we assumed that the neurons are responding both to recurrent inputs and to fluctuating external inputs that can be either homogeneous or tuned to <inline-formula><mml:math id="inf301"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, with peak at constant location <inline-formula><mml:math id="inf302"><mml:mrow><mml:msub><mml:mi mathvariant="normal">Φ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="normal">Φ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>≡</mml:mo><mml:mi mathvariant="normal">Φ</mml:mi></mml:mrow></mml:math></inline-formula> (<xref ref-type="disp-formula" rid="equ7">Equation 6</xref>). The total input 2 that neurons are subject to at a given time <inline-formula><mml:math id="inf303"><mml:mi>t</mml:mi></mml:math></inline-formula> is:<disp-formula id="equ30"><label>(24)</label><mml:math id="m30"><mml:mrow><mml:mtable columnalign="left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mtext>tot</mml:mtext></mml:mrow></mml:msup><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>;</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thinmathspace"/><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:msup><mml:mi mathvariant="normal">ϕ</mml:mi><mml:mrow><mml:mtext>ext</mml:mtext></mml:mrow></mml:msup><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thinmathspace"/><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>−</mml:mo><mml:mi mathvariant="normal">ϕ</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula></p><p>where<disp-formula id="equ31"><label>(25)</label><mml:math id="m31"><mml:mrow><mml:mtable columnalign="left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo>;</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:msubsup><mml:mi>j</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msubsup><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mi>ϵ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>I</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:msubsup><mml:mi>j</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msubsup><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mi>ϵ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula></p><p>In order to draw a correspondence between the model and the data, we note that the activity of each neuron in the data corresponds to the activity rate at a specific coordinate <inline-formula><mml:math id="inf304"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> in the model. From <xref ref-type="disp-formula" rid="equ2 equ30">Equations 1 and 24</xref> we see that, if we assume that changes in the external inputs happen on a time scale larger than <inline-formula><mml:math id="inf305"><mml:mi>τ</mml:mi></mml:math></inline-formula>, the modulation of the activity profile in map A at each time <inline-formula><mml:math id="inf306"><mml:mi>t</mml:mi></mml:math></inline-formula> is <inline-formula><mml:math id="inf307"><mml:mrow><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mi mathvariant="normal">Φ</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> and has amplitude proportional to <inline-formula><mml:math id="inf308"><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula>, while the modulation of the activity profile in map B is <inline-formula><mml:math id="inf309"><mml:mrow><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mi mathvariant="normal">Φ</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> and has amplitude proportional to <inline-formula><mml:math id="inf310"><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula>. Accordingly, for each recorded neuron <inline-formula><mml:math id="inf311"><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf312"><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula> represent the location of the peak of the neuron’s tuning curve computed during the preparatory and movement-related epoch, respectively, while <inline-formula><mml:math id="inf313"><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf314"><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula> are proportional to the amplitude of the tuning curves.</p></sec><sec id="s4-7"><title>Fitting the model to the data</title><p>Neurons activity rates were computed by smoothing the spike trains with a Gaussian kernel with s.d. of 25ms and averaging them across all trials with the same condition; <inline-formula><mml:math id="inf315"><mml:mrow><mml:msubsup><mml:mi>r</mml:mi><mml:mi>k</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> denotes the rate of neuron <inline-formula><mml:math id="inf316"><mml:mi>i</mml:mi></mml:math></inline-formula> at time <inline-formula><mml:math id="inf317"><mml:mi>t</mml:mi></mml:math></inline-formula> for condition <inline-formula><mml:math id="inf318"><mml:mi>k</mml:mi></mml:math></inline-formula>, each condition corresponding to one of the 8 angular locations of the target on the screen. Since trials had highly variable length, we normalized the responses along the temporal dimension before averaging them over trials, as follows. We divided the activity into three temporal intervals: from the target onset to the go cue; from the go cue to the start of the movement; from the start of the movement to the end of the movement. For each interval, we normalized the response times to the average length of the interval across trials. We then aggregated the three intervals together. We defined the preparatory and execution epochs – denoted by A and B – as two 300ms time intervals beginning, respectively, 100ms after target onset and 50ms before the start of the movement, in line with (<xref ref-type="bibr" rid="bib23">Elsayed et al., 2016</xref>). <xref ref-type="fig" rid="fig3s1">Figure 3—figure supplement 1</xref> shows that our results do not change qualitatively when the lengths of the preparatory and execution intervals are increased. For each neuron <inline-formula><mml:math id="inf319"><mml:mi>i</mml:mi></mml:math></inline-formula>, we fitted the activity rate averaged across time within each epoch as a function of the angular position <inline-formula><mml:math id="inf320"><mml:mi mathvariant="normal">Φ</mml:mi></mml:math></inline-formula> of the target with a cosine function:<disp-formula id="equ32"><mml:math id="m32"><mml:mrow><mml:mrow><mml:mrow><mml:mrow><mml:mrow><mml:msubsup><mml:mi>a</mml:mi><mml:mi>ν</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>+</mml:mo><mml:mrow><mml:msubsup><mml:mi>b</mml:mi><mml:mi>ν</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>⁢</mml:mo><mml:mrow><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mi>θ</mml:mi><mml:mi>ν</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:mi mathvariant="normal">Φ</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow></mml:mrow><mml:mo rspace="12.5pt">,</mml:mo><mml:mi>ν</mml:mi></mml:mrow><mml:mo>=</mml:mo><mml:mi>A</mml:mi></mml:mrow><mml:mo>,</mml:mo><mml:mi>B</mml:mi></mml:mrow><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula></p><p>where the parameters <inline-formula><mml:math id="inf321"><mml:msubsup><mml:mi>θ</mml:mi><mml:mi>A</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math id="inf322"><mml:msubsup><mml:mi>θ</mml:mi><mml:mi>B</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup></mml:math></inline-formula> represent the neuron’s preferred direction during the preparatory and execution epochs. In our the model, the direction modulation of the rates, see (25), is proportional to <inline-formula><mml:math id="inf323"><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mo>\</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, that measures how strongly the neuron participates in the two epochs of movement; hence, we defined <inline-formula><mml:math id="inf324"><mml:msubsup><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mo>\</mml:mo><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup></mml:math></inline-formula> to be proportional to the amplitude of the tuning curve:<disp-formula id="equ33"><label>(26)</label><mml:math id="m33"><mml:mrow><mml:mrow><mml:mrow><mml:msubsup><mml:mi>η</mml:mi><mml:mi>ν</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mrow><mml:msubsup><mml:mi>b</mml:mi><mml:mi>ν</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>/</mml:mo><mml:mrow><mml:munder><mml:mi>max</mml:mi><mml:mi>i</mml:mi></mml:munder><mml:mo>⁡</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msubsup><mml:mi>b</mml:mi><mml:mi>ν</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow></mml:mrow><mml:mo rspace="12.5pt">,</mml:mo><mml:mrow><mml:mi>ν</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mi>A</mml:mi><mml:mo>,</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:mrow></mml:mrow><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p><p>The scatter plot of <inline-formula><mml:math id="inf325"><mml:mrow><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (<xref ref-type="fig" rid="fig1">Figure 1e</xref>) shows an outlier with <inline-formula><mml:math id="inf326"><mml:mrow><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>∼</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></inline-formula>. We checked that our results hold true if we discard that point. <xref ref-type="fig" rid="fig1s2">Figure 1—figure supplement 2</xref> shows that both <inline-formula><mml:math id="inf327"><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="inf328"><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:math></inline-formula> strongly correlate with the <inline-formula><mml:math id="inf329"><mml:msup><mml:mi>R</mml:mi><mml:mn>2</mml:mn></mml:msup></mml:math></inline-formula>-coefficient of the cosine fit. In other words, neurons with a higher value of <inline-formula><mml:math id="inf330"><mml:mrow><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> are the ones whose tuning curves more strongly resemble a cosine (this holds true in our simulations too, see <xref ref-type="fig" rid="fig5s2">Figure 5—figure supplement 2c</xref>, and Discussion). The order parameters (14) are computed at each time <inline-formula><mml:math id="inf331"><mml:mi>t</mml:mi></mml:math></inline-formula> by approximating the integrals with the sums:<disp-formula id="equ34"><label>(27)</label><mml:math id="m34"><mml:mrow><mml:mtable columnalign="left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mtext>data</mml:mtext></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mi>N</mml:mi></mml:mfrac><mml:mfrac><mml:mn>1</mml:mn><mml:msub><mml:mi>n</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:msub></mml:mfrac><mml:munder><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:munder><mml:munder><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:munder><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mtext>data</mml:mtext></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mi>N</mml:mi></mml:mfrac><mml:mfrac><mml:mn>1</mml:mn><mml:msub><mml:mi>n</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:msub></mml:mfrac><mml:munder><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:munder><mml:munder><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:munder><mml:msubsup><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msubsup><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>−</mml:mo><mml:msubsup><mml:mi>ψ</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>k</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mspace width="1em"/><mml:mtext>for</mml:mtext><mml:mspace width="1em"/><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mo>…</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi>n</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula></p><p>where <inline-formula><mml:math id="inf332"><mml:mi>N</mml:mi></mml:math></inline-formula> is the number of neurons and <inline-formula><mml:math id="inf333"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi>c</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn>8</mml:mn></mml:mrow></mml:math></inline-formula> is the number of conditions. The angular location of the localized activity <inline-formula><mml:math id="inf334"><mml:mrow><mml:msubsup><mml:mi>ψ</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mo>/</mml:mo><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>k</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> can be computed from (14) as<disp-formula id="equ35"><label>(28)</label><mml:math id="m35"><mml:mrow><mml:mn>0</mml:mn><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mi>N</mml:mi></mml:mfrac><mml:munder><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:munder><mml:msubsup><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mi>sin</mml:mi><mml:mo>⁡</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msubsup><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>−</mml:mo><mml:msubsup><mml:mi>ψ</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>k</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p><p>However, this estimate is strongly affected by the heterogeneity in the distribution of <inline-formula><mml:math id="inf335"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> - deviating from the rotational symmetry of the model. That is why in <xref ref-type="fig" rid="fig2">Figure 2</xref> we approximated <inline-formula><mml:math id="inf336"><mml:mrow><mml:msubsup><mml:mi>ψ</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mo>/</mml:mo><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>k</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> by the <inline-formula><mml:math id="inf337"><mml:mrow><mml:mi>k</mml:mi><mml:mo>-</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>⁢</mml:mo><mml:mi>h</mml:mi></mml:mrow></mml:mrow></mml:math></inline-formula> angular location of the target on the screen. We checked that computing <inline-formula><mml:math id="inf338"><mml:mrow><mml:msubsup><mml:mi>ψ</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mo>/</mml:mo><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>k</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> by using either method does not affect the dynamics of the order parameters <inline-formula><mml:math id="inf339"><mml:mrow><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mo>/</mml:mo><mml:mi>B</mml:mi></mml:mrow><mml:mtext>data</mml:mtext></mml:msubsup><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula>.</p><p>We assumed that the observed dynamics of the order parameters <inline-formula><mml:math id="inf340"><mml:mrow><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>r</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow></mml:math></inline-formula> obeys <xref ref-type="disp-formula" rid="equ1 equ18">Equations 15; 16</xref> with time-dependent external inputs of the form (6). We inferred the value of the parameters <inline-formula><mml:math id="inf341"><mml:msub><mml:mrow><mml:mo stretchy="false">{</mml:mo><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>ϵ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>ϵ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">}</mml:mo></mml:mrow><mml:mi>t</mml:mi></mml:msub></mml:math></inline-formula> of the external currents and <inline-formula><mml:math id="inf342"><mml:mrow><mml:msub><mml:mi>j</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mi>a</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> of the coupling matrix that allow us to reconstruct the dynamics of the order parameters <inline-formula><mml:math id="inf343"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> computed from data; since this inference problem is undetermined, we required as further constraint that the model reconstruct the dynamics of the following two additional order parameters:<disp-formula id="equ36"><label>(29)</label><mml:math id="m36"><mml:mrow><mml:mtable columnalign="left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mi>τ</mml:mi><mml:mfrac><mml:mi>d</mml:mi><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:mo>∫</mml:mo><mml:mo>∫</mml:mo><mml:mi>d</mml:mi><mml:mi>x</mml:mi><mml:mspace width="thinmathspace"/><mml:mi>ρ</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thickmathspace"/><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mspace width="thinmathspace"/><mml:mo stretchy="false">[</mml:mo><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mtext>tot</mml:mtext></mml:mrow></mml:msup><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>;</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:msub><mml:mo stretchy="false">]</mml:mo><mml:mrow><mml:mo>+</mml:mo></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>τ</mml:mi><mml:mfrac><mml:mi>d</mml:mi><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:mo>−</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:mo>∫</mml:mo><mml:mo>∫</mml:mo><mml:mi>d</mml:mi><mml:mi>x</mml:mi><mml:mspace width="thinmathspace"/><mml:mi>ρ</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mi>x</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mspace width="thickmathspace"/><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mspace width="thinmathspace"/><mml:mo stretchy="false">[</mml:mo><mml:msup><mml:mi>I</mml:mi><mml:mrow><mml:mtext>tot</mml:mtext></mml:mrow></mml:msup><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>;</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:msub><mml:mo stretchy="false">]</mml:mo><mml:mrow><mml:mo>+</mml:mo></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula></p><p>In this way, for given coupling parameters <inline-formula><mml:math id="inf344"><mml:mrow><mml:msub><mml:mi>j</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mi>a</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, we can uniquely identify the external currents parameters that produced the observed dynamics. Still, an equally good reconstruction of <inline-formula><mml:math id="inf345"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mo>⁢</mml:mo><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mo>⁢</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> can be obtained for different choices of coupling parameters (2). Hence, we inferred the model parameters by minimizing a cost function composed of two terms: one that is proportional to the reconstruction error of the temporal evolution of the order parameters and the other that represents an energetic cost penalizing large external inputs.</p></sec><sec id="s4-8"><title>Fitting the model to the data: details</title><p>The fitting procedure was divided in the following steps:</p><list list-type="order"><list-item><p>The time interval <inline-formula><mml:math id="inf346"><mml:mi>T</mml:mi></mml:math></inline-formula> going from the target onset till the end of the movement was binned into <inline-formula><mml:math id="inf347"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn>5</mml:mn><mml:mi>m</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:mstyle></mml:math></inline-formula> time bins: <inline-formula><mml:math id="inf348"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>T</mml:mi><mml:mo>=</mml:mo><mml:mo fence="false" stretchy="false">{</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>…</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msub><mml:mo fence="false" stretchy="false">}</mml:mo></mml:mrow></mml:mstyle></mml:math></inline-formula>.</p></list-item><list-item><p>The couplings parameters were initialized to zero: <inline-formula><mml:math id="inf349"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula>. At the first time bin, the external currents parameters were initialized to zero:</p><list list-type="simple"><list-item><p><disp-formula id="equ37"> <mml:math id="m37"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>ϵ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>ϵ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></disp-formula></p></list-item></list></list-item></list><list list-type="simple"><list-item><p>and the reconstructed order parameters (<italic>r</italic><sub>0</sub>, …) were initialized to the order parameters estimated from the data (<inline-formula><mml:math id="inf350"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mtext>data</mml:mtext></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:mo>…</mml:mo></mml:mrow></mml:mstyle></mml:math></inline-formula>):</p><list list-type="simple"><list-item><p><disp-formula id="equ38"><mml:math id="m38"><mml:mrow><mml:mtable columnalign="left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd/><mml:mtd><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mtext>data</mml:mtext></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>,</mml:mo><mml:mspace width="1em"/><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mtext>data</mml:mtext></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>,</mml:mo><mml:mspace width="1em"/><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mtext>data</mml:mtext></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mtext>data</mml:mtext></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>,</mml:mo><mml:mspace width="1em"/><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mtext>data</mml:mtext></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula></p></list-item></list></list-item></list><list list-type="order"><list-item><p>For each time step <inline-formula><mml:math id="inf351"><mml:mrow><mml:mrow><mml:mrow><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo rspace="5.3pt">,</mml:mo><mml:mi>i</mml:mi></mml:mrow><mml:mo>=</mml:mo><mml:mn>2</mml:mn></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:mi>T</mml:mi></mml:mrow></mml:mrow></mml:math></inline-formula>:</p><list list-type="bullet"><list-item><p>We started from the reconstructed order parameters at the previous time step:<disp-formula id="equ39"> <mml:math id="m39"><mml:mrow><mml:mrow><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mo>⁢</mml:mo><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mo>⁢</mml:mo><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula></p><p>and we let the dynamical system (15, 29) with external currents parameters <inline-formula><mml:math id="inf352"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>ϵ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>ϵ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> evolve for <inline-formula><mml:math id="inf353"><mml:mrow><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo>⁢</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo>=</mml:mo><mml:mrow><mml:mn>5</mml:mn><mml:mo>⁢</mml:mo><mml:mi>m</mml:mi><mml:mo>⁢</mml:mo><mml:mi>s</mml:mi></mml:mrow></mml:mrow></mml:math></inline-formula> to estimate the order parameters at the current time step:<disp-formula id="equ40"><mml:math id="m40"><mml:mrow><mml:mrow><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mo>⁢</mml:mo><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mo>⁢</mml:mo><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p></list-item></list></list-item></list><list list-type="bullet"><list-item><p>We inferred the value of the external currents parameters</p></list-item></list><list list-type="simple"><list-item><p>by minimizing the reconstruction error:</p></list-item><list-item><p><disp-formula id="equ41"><label>(30)</label><mml:math id="m41"><mml:mrow><mml:mtable columnalign="left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd/><mml:mtd><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>ϵ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>ϵ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mo stretchy="false">[</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>−</mml:mo><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mtext>data</mml:mtext></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:msup><mml:mo stretchy="false">]</mml:mo><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mi>T</mml:mi></mml:mfrac><mml:munder><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:munder><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mtext>data</mml:mtext></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mfrac><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:mo stretchy="false">[</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>−</mml:mo><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mtext>data</mml:mtext></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:msup><mml:mo stretchy="false">]</mml:mo><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mi>T</mml:mi></mml:mfrac><mml:munder><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:munder><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mtext>data</mml:mtext></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mfrac></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:mo stretchy="false">[</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>−</mml:mo><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mtext>data</mml:mtext></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:msup><mml:mo stretchy="false">]</mml:mo><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mi>T</mml:mi></mml:mfrac><mml:munder><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:munder><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mtext>data</mml:mtext></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mfrac><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:mo stretchy="false">[</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>−</mml:mo><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mtext>data</mml:mtext></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:msup><mml:mo stretchy="false">]</mml:mo><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mi>T</mml:mi></mml:mfrac><mml:munder><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:munder><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mtext>data</mml:mtext></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mfrac><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:mo stretchy="false">[</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>−</mml:mo><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mtext>data</mml:mtext></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:msup><mml:mo stretchy="false">]</mml:mo><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mi>T</mml:mi></mml:mfrac><mml:munder><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:munder><mml:msubsup><mml:mi>r</mml:mi><mml:mrow><mml:mn>0</mml:mn><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mtext>data</mml:mtext></mml:mrow></mml:msubsup><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mfrac><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula></p></list-item></list><list list-type="simple"><list-item><p>that quantifies the difference between the order parameters estimated from the data and the reconstructed ones; note that the dependence of the cost function <inline-formula><mml:math id="inf354"><mml:mi>E</mml:mi></mml:math></inline-formula> on <inline-formula><mml:math id="inf355"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>ϵ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>ϵ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is implicitly contained in the reconstructed order parameters. We minimized the cost function (30) by using an interior point method algorithm [<xref ref-type="bibr" rid="bib11">Byrd et al., 1999</xref>] starting from the initial condition</p><list list-type="simple"><list-item><p><disp-formula id="equ42"><mml:math id="m42"><mml:mrow><mml:mrow><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>ϵ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>ϵ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow><mml:mo>;</mml:mo></mml:mrow></mml:math></disp-formula></p></list-item></list></list-item><list-item><p>we imposed that <inline-formula><mml:math id="inf356"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>ϵ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mi>ϵ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>&gt;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:mstyle></mml:math></inline-formula> and added a <inline-formula><mml:math id="inf357"><mml:mrow><mml:mi>L</mml:mi><mml:mo>⁢</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></inline-formula> regularization term to the external inputs, not to infer pathologically large positive and negative inputs that balance each other. This favors solutions with smaller external inputs and non-zero reconstruction error with respect to ones with larger inputs and almost-zero reconstruction error.</p></list-item><list-item><p>The external currents inferred with step 3 depend on our initial choice of of the couplings parameters <inline-formula><mml:math id="inf358"><mml:mrow><mml:msub><mml:mi>j</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mi>a</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>.</p></list-item></list><list list-type="order"><list-item><p>Using step 3, the value of the couplings parameters <inline-formula><mml:math id="inf359"><mml:mrow><mml:msub><mml:mi>j</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>A</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>j</mml:mi><mml:mi>s</mml:mi><mml:mi>B</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mi>a</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is inferred by minimizing the cost function</p><list list-type="simple"><list-item><p><disp-formula id="equ43"> <mml:math id="m43"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mtext>tot</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mrow><mml:mi>α</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mtext> rec</mml:mtext></mml:msub></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mtext> ext</mml:mtext></mml:msub></mml:mrow></mml:mrow></mml:math></disp-formula></p></list-item><list-item><p>composed of two terms: the reconstruction error and a term that favors small external currents:</p></list-item><list-item><p><disp-formula id="equ44"><label>(31)</label><mml:math id="m44"><mml:mrow><mml:mtable columnalign="left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mtext>rec</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mfrac><mml:mn>1</mml:mn><mml:mi>T</mml:mi></mml:mfrac><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:munderover><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi>ϵ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi>ϵ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mtext>ext</mml:mtext></mml:mrow></mml:msub><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mfrac><mml:mn>1</mml:mn><mml:mi>T</mml:mi></mml:mfrac><mml:munderover><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:munderover><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mrow><mml:mo stretchy="false">|</mml:mo></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mi>ϵ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mi>ϵ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula></p></list-item><list-item><p>The minimization is done using a surrogate optimization algorithm [<xref ref-type="bibr" rid="bib35">Gutmann, 2001</xref>].</p></list-item></list></list-item></list><p>The result does not depend on the choice of the time bin <inline-formula><mml:math id="inf360"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mo>⁢</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>. Also, the result weakly depends on the time constant <inline-formula><mml:math id="inf361"><mml:mi>τ</mml:mi></mml:math></inline-formula> in the mean field equations (e.g. 15), if <inline-formula><mml:math id="inf362"><mml:mi>τ</mml:mi></mml:math></inline-formula> varies on in the range: 10 – 100ms. We set <inline-formula><mml:math id="inf363"><mml:mrow><mml:mi>τ</mml:mi><mml:mo>=</mml:mo><mml:mn>25</mml:mn></mml:mrow></mml:math></inline-formula> ms.</p></sec><sec id="s4-9"><title>Simulations of the model</title><p>We simulated the dynamics of a finite network of <inline-formula><mml:math id="inf364"><mml:mi>N</mml:mi></mml:math></inline-formula> neurons. To each neuron <inline-formula><mml:math id="inf365"><mml:mi>i</mml:mi></mml:math></inline-formula>, we assigned the variables <inline-formula><mml:math id="inf366"><mml:mrow><mml:msubsup><mml:mi>θ</mml:mi><mml:mi>A</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>θ</mml:mi><mml:mi>B</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>η</mml:mi><mml:mi>A</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>η</mml:mi><mml:mi>B</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> as follows.</p><list list-type="bullet"><list-item><p>In the <inline-formula><mml:math id="inf367"><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mo>\</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>-space, we sampled <inline-formula><mml:math id="inf368"><mml:msub><mml:mi>N</mml:mi><mml:mi>θ</mml:mi></mml:msub></mml:math></inline-formula> points <inline-formula><mml:math id="inf369"><mml:msubsup><mml:mrow><mml:mo stretchy="false">{</mml:mo><mml:msubsup><mml:mi>θ</mml:mi><mml:mi>A</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>θ</mml:mi><mml:mi>B</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo stretchy="false">}</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi>θ</mml:mi></mml:msub></mml:msubsup></mml:math></inline-formula> equally spaced along the lines<disp-formula id="equ45"><mml:math id="m45"><mml:mrow><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow><mml:mo>=</mml:mo><mml:mtext>const</mml:mtext></mml:mrow></mml:math></disp-formula></p><p>in such a way that their joint distribution matches the distribution of the data (4), as shown in <xref ref-type="fig" rid="fig5s2">Figure 5—figure supplement 2a</xref>.</p></list-item><list-item><p>In the <inline-formula><mml:math id="inf370"><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mo>\</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>-space, we drew <inline-formula><mml:math id="inf371"><mml:msub><mml:mi>N</mml:mi><mml:mi>η</mml:mi></mml:msub></mml:math></inline-formula> points <inline-formula><mml:math id="inf372"><mml:msubsup><mml:mrow><mml:mo stretchy="false">{</mml:mo><mml:msubsup><mml:mi>η</mml:mi><mml:mi>A</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>η</mml:mi><mml:mi>B</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo stretchy="false">}</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi>η</mml:mi></mml:msub></mml:msubsup></mml:math></inline-formula> at random from the empirical distribution <inline-formula><mml:math id="inf373"><mml:mrow><mml:msub><mml:mi>ρ</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>⁢</mml:mo><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>⁢</mml:mo><mml:msub><mml:mi>ρ</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>⁢</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula>.</p></list-item><list-item><p>For <inline-formula><mml:math id="inf374"><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mo>,</mml:mo><mml:mrow><mml:mi mathvariant="normal">…</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mi>θ</mml:mi></mml:msub></mml:mrow></mml:mrow></mml:mrow></mml:math></inline-formula>, we assigned to a block of <inline-formula><mml:math id="inf375"><mml:msub><mml:mi>N</mml:mi><mml:mi>η</mml:mi></mml:msub></mml:math></inline-formula> neurons the same coordinates <inline-formula><mml:math id="inf376"><mml:mrow><mml:msubsup><mml:mi>θ</mml:mi><mml:mi>A</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>θ</mml:mi><mml:mi>B</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> in the <inline-formula><mml:math id="inf377"><mml:msub><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mo>\</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>-space, and all possible coordinates <inline-formula><mml:math id="inf378"><mml:msubsup><mml:mrow><mml:mo stretchy="false">{</mml:mo><mml:msubsup><mml:mi>η</mml:mi><mml:mi>A</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>η</mml:mi><mml:mi>B</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo stretchy="false">}</mml:mo></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi>η</mml:mi></mml:msub></mml:msubsup></mml:math></inline-formula> in the <inline-formula><mml:math id="inf379"><mml:msub><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi><mml:mo>\</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>-space, so that the overall number of neurons is <inline-formula><mml:math id="inf380"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi>θ</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mi>η</mml:mi></mml:msub></mml:mrow></mml:mrow></mml:math></inline-formula>.</p></list-item></list><p>The network dynamics we simulated is defined by the following stochastic differential equation:<disp-formula id="equ46"><label>(32)</label><mml:math id="m46"><mml:mrow><mml:mi>τ</mml:mi><mml:mo>⁢</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mo>⁢</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow><mml:mrow><mml:mrow><mml:mi/><mml:mo>=</mml:mo><mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow><mml:mo>+</mml:mo><mml:msub><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac><mml:mn>1</mml:mn><mml:mi>N</mml:mi></mml:mfrac></mml:mstyle><mml:mo>⁢</mml:mo><mml:mrow><mml:mstyle displaystyle="true"><mml:munderover><mml:mo largeop="true" movablelimits="false" symmetric="true">∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>N</mml:mi></mml:munderover></mml:mstyle><mml:mrow><mml:msub><mml:mi>J</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>⁢</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>⁢</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow></mml:mrow><mml:mo>+</mml:mo><mml:mrow><mml:msubsup><mml:mi>I</mml:mi><mml:mi>i</mml:mi><mml:mtext>ext</mml:mtext></mml:msubsup><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>+</mml:mo><mml:mrow><mml:msub><mml:mi>ξ</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>+</mml:mo></mml:msub></mml:mrow></mml:mrow><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula><disp-formula id="equ47"><label>(33)</label><mml:math id="m47"><mml:mrow><mml:mi>d</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>ξ</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mrow><mml:mi/><mml:mo>=</mml:mo><mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mrow><mml:mi>γ</mml:mi><mml:mo>⁢</mml:mo><mml:msub><mml:mi>ξ</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>⁢</mml:mo><mml:mi>d</mml:mi><mml:mo>⁢</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mrow><mml:mo>+</mml:mo><mml:mrow><mml:msub><mml:mi>σ</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mi>d</mml:mi><mml:mo>⁢</mml:mo><mml:mi>W</mml:mi></mml:mrow></mml:mrow></mml:mrow><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula></p><p>where<disp-formula id="equ48"><label>(34)</label><mml:math id="m48"><mml:mrow><mml:mtable columnalign="left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msub><mml:mi>J</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:munder><mml:mo>∑</mml:mo><mml:mrow><mml:mi>ν</mml:mi><mml:mo>=</mml:mo><mml:mi>A</mml:mi><mml:mo>,</mml:mo><mml:mi>B</mml:mi></mml:mrow></mml:munder><mml:msubsup><mml:mi>j</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mi>ν</mml:mi></mml:mrow></mml:msubsup><mml:msubsup><mml:mi>η</mml:mi><mml:mrow><mml:mi>ν</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:msubsup><mml:mi>η</mml:mi><mml:mrow><mml:mi>ν</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msubsup><mml:mi>θ</mml:mi><mml:mrow><mml:mi>ν</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>−</mml:mo><mml:msubsup><mml:mi>θ</mml:mi><mml:mrow><mml:mi>ν</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mi>j</mml:mi><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:msubsup><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msubsup><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>−</mml:mo><mml:msubsup><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>j</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo stretchy="false">)</mml:mo><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msubsup><mml:mi>I</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mtext>ext</mml:mtext></mml:mrow></mml:msubsup></mml:mtd><mml:mtd><mml:mo>=</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msubsup><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msubsup><mml:mi>η</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msubsup><mml:mi>θ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>−</mml:mo><mml:mi mathvariant="normal">ϕ</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:msub><mml:mi>ϵ</mml:mi><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mo>+</mml:mo><mml:msubsup><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msubsup><mml:mi>η</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mi>cos</mml:mi><mml:mo>⁡</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msubsup><mml:mi>θ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:msubsup><mml:mo>−</mml:mo><mml:mi mathvariant="normal">ϕ</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:msub><mml:mi>ϵ</mml:mi><mml:mrow><mml:mi>B</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>;</mml:mo></mml:mtd></mml:mtr></mml:mtable><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p><p><inline-formula><mml:math id="inf381"><mml:mi>W</mml:mi></mml:math></inline-formula> in (33) is a Wiener process, and the parameters <inline-formula><mml:math id="inf382"><mml:mrow><mml:mrow><mml:mi>γ</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mn>75</mml:mn><mml:mo>/</mml:mo><mml:mi>s</mml:mi></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>σ</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mrow><mml:mn>0.35</mml:mn><mml:mo>⁢</mml:mo><mml:mi>H</mml:mi><mml:mo>⁢</mml:mo><mml:mi>z</mml:mi></mml:mrow><mml:mo>/</mml:mo><mml:msqrt><mml:mi>s</mml:mi></mml:msqrt></mml:mrow></mml:mrow></mml:mrow></mml:math></inline-formula> set the magnitude of the noise fluctuations. The level of noise is chosen so that the results of the PCA analysis (see next section) match the data. Note that by setting the noise to zero and taking the limit <inline-formula><mml:math id="inf383"><mml:mrow><mml:mi>N</mml:mi><mml:mo>→</mml:mo><mml:mi mathvariant="normal">∞</mml:mi></mml:mrow></mml:math></inline-formula> we recover the mean-field <xref ref-type="disp-formula" rid="equ2">Equation 1</xref>. The results of <xref ref-type="fig" rid="fig3">Figure 3</xref> are obtained from a network of <inline-formula><mml:math id="inf384"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mn>16000</mml:mn></mml:mrow></mml:math></inline-formula> neurons; we simulate the network dynamics for 8 location of the external input <inline-formula><mml:math id="inf385"><mml:mi mathvariant="normal">Φ</mml:mi></mml:math></inline-formula> and 10 trials for each of the 8 conditions, that is 10 instances of the noisy dynamics. The order parameters shown in <xref ref-type="fig" rid="fig3">Figure 3</xref> are computed from single-trial activity, and then averaged over trials. The correlation-based analysis, instead, is obtained from trial-averaged activity.</p></sec><sec id="s4-10"><title>Correlation-based analysis</title><p>The correlation-based analysis explained in this section was performed both on the smoothed and trial-averaged spike trains from recordings, and on the trial-averaged activity rates from simulations. Out of the 16,000 units in the simulated network model, we considered a subset of the same size <inline-formula><mml:math id="inf386"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mn>141</mml:mn></mml:mrow></mml:math></inline-formula> as the recorded neurons. In particular, for each neuron in the data, we chose the corresponding one from simulations with the closest value of parameters <inline-formula><mml:math id="inf387"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> - the one with smallest euclidean distance in the space defined by (<inline-formula><mml:math id="inf388"><mml:mrow><mml:msub><mml:mi>θ</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>θ</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>A</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>η</mml:mi><mml:mi>B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>). To compute signal correlations, we preprocessed the data as follows, both for the recordings and for the simulations. For each neuron, we normalized the activity by its standard deviation (computed across all times and all conditions); then, we mean-centered the activity across conditions. The <inline-formula><mml:math id="inf389"><mml:mrow><mml:mi>T</mml:mi><mml:mo>=</mml:mo><mml:mn>300</mml:mn></mml:mrow></mml:math></inline-formula> ms long preparatory activity for all <inline-formula><mml:math id="inf390"><mml:mrow><mml:mi>C</mml:mi><mml:mo>=</mml:mo><mml:mn>8</mml:mn></mml:mrow></mml:math></inline-formula> conditions was concatenated into a <inline-formula><mml:math id="inf391"><mml:mrow><mml:mrow><mml:mi>N</mml:mi><mml:mo>×</mml:mo><mml:mi>T</mml:mi></mml:mrow><mml:mo>⁢</mml:mo><mml:mi>C</mml:mi></mml:mrow></mml:math></inline-formula> matrix denoted by <inline-formula><mml:math id="inf392"><mml:mi>P</mml:mi></mml:math></inline-formula>, and the movement-related activity was grouped into an analogous matrix <inline-formula><mml:math id="inf393"><mml:mi>M</mml:mi></mml:math></inline-formula>.</p><p>CCA: We used a canonical correlation analysis (CCA) to compare the population activity from data and simulations. First, we projected the activity onto the <inline-formula><mml:math id="inf394"><mml:mi>K</mml:mi></mml:math></inline-formula> PCA dimensions that captured 90% of the activity variance across conditions; for the preparatory epoch, <inline-formula><mml:math id="inf395"><mml:mrow><mml:mi>K</mml:mi><mml:mo>=</mml:mo><mml:mn>20</mml:mn></mml:mrow></mml:math></inline-formula> for both the data and the simulations; for the movement-related epoch, <inline-formula><mml:math id="inf396"><mml:mrow><mml:mi>K</mml:mi><mml:mo>=</mml:mo><mml:mn>14</mml:mn></mml:mrow></mml:math></inline-formula> for the data, and <inline-formula><mml:math id="inf397"><mml:mrow><mml:mi>K</mml:mi><mml:mo>=</mml:mo><mml:mn>10</mml:mn></mml:mrow></mml:math></inline-formula> for the simulations. We then applied CCA to look for common patterns in the activity matrices from data and simulations. In brief, CCA finds a set of linear transformations of the activity matrices, in such a way that the transformed variables (called canonical variables) are maximally correlated. <xref ref-type="fig" rid="fig5">Figure 5a</xref> shows a high correlation between the sets of canonical variables from data and simulations. We repeated the procedure for the simulations of the purely feedforward network. In this case, the movement-related activity is slightly higher dimensional than for the recurrent network (<inline-formula><mml:math id="inf398"><mml:mrow><mml:mi>K</mml:mi><mml:mo>=</mml:mo><mml:mn>12</mml:mn></mml:mrow></mml:math></inline-formula>), and the average canonical correlation is a bit lower. Note that both activities are trial-averaged, and the same realization of the noise was used in both sets of simulations (feedforward and recurrent).</p><p>PCA: We obtained correlation matrices relative to preparatory and movement related activity by computing the correlations between the rows of the respective matrices. We then identified the prep-PCs and move-PCs by performing PCA separately on the matrices <inline-formula><mml:math id="inf399"><mml:mi>P</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="inf400"><mml:mi>M</mml:mi></mml:math></inline-formula>. The degree of orthogonality between the prep- and move- subspaces was quantified by the Alignment Index <inline-formula><mml:math id="inf401"><mml:mi>A</mml:mi></mml:math></inline-formula> (<xref ref-type="bibr" rid="bib23">Elsayed et al., 2016</xref>), measuring the amount of variance of the preparatory activity explained by the first <inline-formula><mml:math id="inf402"><mml:mi>K</mml:mi></mml:math></inline-formula> move-PCs:<disp-formula id="equ49"><mml:math id="m49"><mml:mrow><mml:mrow><mml:mi>A</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mtext>Tr</mml:mtext><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mi>E</mml:mi><mml:mtext>mov</mml:mtext><mml:mi>T</mml:mi></mml:msubsup><mml:mo>⁢</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mtext>prep</mml:mtext></mml:msub><mml:mo>⁢</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mtext>mov</mml:mtext></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:msubsup><mml:mo largeop="true" symmetric="true">∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mi>K</mml:mi></mml:msubsup><mml:mrow><mml:msub><mml:mi>σ</mml:mi><mml:mtext>prep</mml:mtext></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:mrow></mml:mfrac></mml:mrow><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula></p><p>where <inline-formula><mml:math id="inf403"><mml:msub><mml:mi>E</mml:mi><mml:mtext>mov</mml:mtext></mml:msub></mml:math></inline-formula> is the matrix defined by the top <inline-formula><mml:math id="inf404"><mml:mi>K</mml:mi></mml:math></inline-formula> move-PCs, <inline-formula><mml:math id="inf405"><mml:msub><mml:mi>C</mml:mi><mml:mtext>prep</mml:mtext></mml:msub></mml:math></inline-formula> is the covariance matrix of the preparatory activity and <inline-formula><mml:math id="inf406"><mml:mrow><mml:msub><mml:mi>σ</mml:mi><mml:mtext>prep</mml:mtext></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> is the <inline-formula><mml:math id="inf407"><mml:mi>i</mml:mi></mml:math></inline-formula>-th eigenvalue of <inline-formula><mml:math id="inf408"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mtext>prep</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula> was set to the number of principal components needed to explain 90% of the execution activity variance. Hence, the Alignment Index ranges from 0 (orthogonal subspaces) to 1 (aligned subspaces). As random test, we computed the Random Alignment Index between two sets of <inline-formula><mml:math id="inf409"><mml:mi>K</mml:mi></mml:math></inline-formula> dimensions drawn at random within the space occupied by neural activity, using the Monte Carlo procedure described in <xref ref-type="bibr" rid="bib23">Elsayed et al., 2016</xref>. We performed the same analysis on both the data (<inline-formula><mml:math id="inf410"><mml:mrow><mml:mi>K</mml:mi><mml:mo>=</mml:mo><mml:mn>14</mml:mn></mml:mrow></mml:math></inline-formula>) and the model (<inline-formula><mml:math id="inf411"><mml:mrow><mml:mi>K</mml:mi><mml:mo>=</mml:mo><mml:mn>10</mml:mn></mml:mrow></mml:math></inline-formula>) trial averaged activity.</p><p>The dimensionality of the preparatory and movement-related subspaces can be understood as follows. The activity of the ring model encoding the value of a singular angular variable is two-dimensional in the Euclidean space. Similarly, the activity of the double-ring model encoding two distinct circular maps is four-dimensional. Our model is an extension of the double-ring model, where both the connectivity matrix and the external fields (<xref ref-type="disp-formula" rid="equ6 equ7">Equations 5; 6</xref>) are a sum of several terms, each one composed of an <inline-formula><mml:math id="inf412"><mml:mi>η</mml:mi></mml:math></inline-formula>-dependent term multiplying a <inline-formula><mml:math id="inf413"><mml:mi>θ</mml:mi></mml:math></inline-formula>-dependent term. The connectivity matrix is still rank-four, but its eigenvectors are modulated by the <inline-formula><mml:math id="inf414"><mml:mi>η</mml:mi></mml:math></inline-formula> variables. Although the dynamics is four-dimensional, we have shown that during movement preparation the activity is localized only in map A, while during movement execution it is predominantly localized in map B: in either epoch, we expect only two eigenvalues to explain most of the activity variance, as we indeed see from simulations in absence of additive noise (<xref ref-type="fig" rid="fig6s1">Figure 6—figure supplement 1</xref>). The noise term introduces extra random dimensions; as the dynamics gets higher dimensional, both the alignment index and the random alignment index get smaller.</p><p>jPCA: We quantified the rotational structure in the data by applying the jPCA (<xref ref-type="bibr" rid="bib18">Churchland et al., 2012</xref>) dimensionality reduction technique to both simulated activity and recordings during movement execution. jPCA is a technique to identify the dimensions that capture rotational dynamics in the data. Given the matrix of activity <inline-formula><mml:math id="inf415"><mml:mi>M</mml:mi></mml:math></inline-formula> defined above, jPCA finds the best fit for the real skewed-symmetric matrix <inline-formula><mml:math id="inf416"><mml:mi>R</mml:mi></mml:math></inline-formula> that transforms the activity <inline-formula><mml:math id="inf417"><mml:mi>M</mml:mi></mml:math></inline-formula> into its derivative <inline-formula><mml:math id="inf418"><mml:mover accent="true"><mml:mi>M</mml:mi><mml:mo>˙</mml:mo></mml:mover></mml:math></inline-formula>:<disp-formula id="equ50"><mml:math id="m50"><mml:mrow><mml:mrow><mml:mover accent="true"><mml:mi>M</mml:mi><mml:mo>˙</mml:mo></mml:mover><mml:mo>=</mml:mo><mml:mrow><mml:mi>R</mml:mi><mml:mo>⁢</mml:mo><mml:mi>M</mml:mi></mml:mrow></mml:mrow><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p><p>The plane capturing the strongest rotations is spanned by the eigenvectors of the matrix <inline-formula><mml:math id="inf419"><mml:mi>R</mml:mi></mml:math></inline-formula> associated with the two largest eigenvalues. <xref ref-type="fig" rid="fig5s4">Figure 5—figure supplement 4</xref> shows that the trajectories from simulations qualitatively resembled the ones from data when projected onto the jPCA subspace that capture most of the variance.</p></sec><sec id="s4-11"><title>EMG signals</title><p>The EMG signals were recorded from macaque monkey Bx during the execution of a center-out reaching movement, as described in <xref ref-type="bibr" rid="bib5">Balasubramanian et al., 2020</xref>. Bi-polar electromyographic electrodes were implanted in 13 individual muscles (Anterior Deltoid, Posterior Deltoid, Pectoralis Major, Biceps Lateral, Biceps Medial, Triceps Long head, Triceps Lateral, Brachioradialis, Flexor Carpi Ulnaris, Flexor Digitorum Superficialis, Extensor Carpi Radialis, Extensor Digitorum Communis, Extensor Carpi Ulnaris). The signals were amplified individually and bandpass filtered between 0.3 and 1 kHz prior to digitization and sampled at 10 kHz. The EMG signals shown in <xref ref-type="fig" rid="fig5">Figure 5b</xref> were rectified and smoothed; signals from different trials were rescaled to match the average length of movement execution, and then averaged over trials. The linear readout of the activity from simulations was defined as<disp-formula id="equ51"> <label>(35)</label><mml:math id="m51"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mi>W</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>r</mml:mi><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mi>W</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></disp-formula></p><p>where <inline-formula><mml:math id="inf420"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:mstyle></mml:math></inline-formula> is the trial-averaged activity from simulations, with the <inline-formula><mml:math id="inf421"><mml:mrow><mml:mi>C</mml:mi><mml:mo>=</mml:mo><mml:mn>8</mml:mn></mml:mrow></mml:math></inline-formula> conditions concatenated into a matrix of dimensions <inline-formula><mml:math id="inf422"><mml:mrow><mml:mrow><mml:mi>N</mml:mi><mml:mo>×</mml:mo><mml:mi>T</mml:mi></mml:mrow><mml:mo>⁢</mml:mo><mml:mi>C</mml:mi></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="inf423"><mml:mi>T</mml:mi></mml:math></inline-formula> the average duration of movement execution; <inline-formula><mml:math id="inf424"><mml:mi>z</mml:mi></mml:math></inline-formula> is a matrix with dimension <inline-formula><mml:math id="inf425"><mml:mrow><mml:mrow><mml:mi>m</mml:mi><mml:mo>×</mml:mo><mml:mi>T</mml:mi></mml:mrow><mml:mo>⁢</mml:mo><mml:mi>C</mml:mi></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="inf426"><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn>13</mml:mn></mml:mrow></mml:math></inline-formula> being the number of recorded muscles. For each muscle <inline-formula><mml:math id="inf427"><mml:mi>k</mml:mi></mml:math></inline-formula>, the EMG signal <inline-formula><mml:math id="inf428"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> was regressed onto the activity rate <inline-formula><mml:math id="inf429"><mml:msub><mml:mrow><mml:mo stretchy="false">{</mml:mo><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">}</mml:mo></mml:mrow><mml:mi>j</mml:mi></mml:msub></mml:math></inline-formula> to find the readout weight vector <inline-formula><mml:math id="inf430"><mml:msubsup><mml:mrow><mml:mo stretchy="false">{</mml:mo><mml:msub><mml:mi>W</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo stretchy="false">}</mml:mo></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mi>N</mml:mi></mml:msubsup></mml:math></inline-formula>. For the reconstructed EMG signals shown in <xref ref-type="fig" rid="fig5">Figure 5b</xref>, we used as inputs the activity of N = 1000 units drawn at random from the 16000 units in the network model. For each muscle <inline-formula><mml:math id="inf431"><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:mstyle></mml:math></inline-formula>, we cross-validated the regression by randomly partitioning the TC time-steps into 10 folds of non-consecutive time points. The decoder was trained on 9 folds using LASSO regression, and tested on the left-out fold. We repeated the procedure 10 times and reported a normalized mean squared error of 0.0066.</p></sec></sec></body><back><sec sec-type="additional-information" id="s5"><title>Additional information</title><fn-group content-type="competing-interest"><title>Competing interests</title><fn fn-type="COI-statement" id="conf1"><p>No competing interests declared</p></fn><fn fn-type="COI-statement" id="conf2"><p>No competing interests declared</p></fn></fn-group><fn-group content-type="author-contribution"><title>Author contributions</title><fn fn-type="con" id="con1"><p>Conceptualization, Software, Formal analysis, Investigation, Writing - original draft</p></fn><fn fn-type="con" id="con2"><p>Resources, Data curation, Funding acquisition, Writing – review and editing</p></fn><fn fn-type="con" id="con3"><p>Conceptualization, Resources, Supervision, Funding acquisition, Investigation, Writing – review and editing</p></fn></fn-group><fn-group content-type="ethics-information"><title>Ethics</title><fn fn-type="other"><p>The data analyzed in this paper has been previously published in Rubino, Robbins, Hatsopoulos, Nature neuroscience. 2006 Dec;9(12):1549-57, where the ethics approval is described. No ethical approval was necessary for this article because no new experiments were performed.</p></fn></fn-group></sec><sec sec-type="supplementary-material" id="s6"><title>Additional files</title><supplementary-material id="transrepform"><label>Transparent reporting form</label><media xlink:href="elife-77690-transrepform1-v1.pdf" mimetype="application" mime-subtype="pdf"/></supplementary-material></sec><sec sec-type="data-availability" id="s7"><title>Data availability</title><p>Source data and all the codes used for data analysis will be made publicly available at <ext-link ext-link-type="uri" xlink:href="https://github.com/lbachromano/M1_Preparatory_Movement_Representation">https://github.com/lbachromano/M1_Preparatory_Movement_Representation</ext-link> (copy archived at <xref ref-type="bibr" rid="bib4">Bachschmid-Romano et al., 2023</xref>).</p></sec><ack id="ack"><title>Acknowledgements</title><p>We thank Wei Liang from the Hatsopoulos lab for providing the EMG signals; Jason MacLean, Alex P Vaz, Subhadra Mokashe, Alessandro Sanzeni for helpful discussions; and Stephen H Scott for pointing the work of <xref ref-type="bibr" rid="bib65">Nashef et al., 2021</xref> to our attention. This work has been supported by NIH R01NS104898.</p></ack><ref-list><title>References</title><ref id="bib1"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Ajemian</surname><given-names>R</given-names></name><name><surname>Bullock</surname><given-names>D</given-names></name><name><surname>Grossberg</surname><given-names>S</given-names></name></person-group><year iso-8601-date="2000">2000</year><article-title>Kinematic coordinates in which motor cortical cells encode movement direction</article-title><source>Journal of Neurophysiology</source><volume>84</volume><fpage>2191</fpage><lpage>2203</lpage><pub-id pub-id-type="doi">10.1152/jn.2000.84.5.2191</pub-id><pub-id pub-id-type="pmid">11067965</pub-id></element-citation></ref><ref id="bib2"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Amari</surname><given-names>S</given-names></name></person-group><year iso-8601-date="1977">1977</year><article-title>Dynamics of pattern formation in lateral-inhibition type neural fields</article-title><source>Biological Cybernetics</source><volume>27</volume><fpage>77</fpage><lpage>87</lpage><pub-id pub-id-type="doi">10.1007/BF00337259</pub-id><pub-id pub-id-type="pmid">911931</pub-id></element-citation></ref><ref id="bib3"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Ames</surname><given-names>KC</given-names></name><name><surname>Ryu</surname><given-names>SI</given-names></name><name><surname>Shenoy</surname><given-names>KV</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>Simultaneous motor preparation and execution in a last-moment reach correction task</article-title><source>Nature Communications</source><volume>10</volume><elocation-id>2718</elocation-id><pub-id pub-id-type="doi">10.1038/s41467-019-10772-2</pub-id><pub-id pub-id-type="pmid">31221968</pub-id></element-citation></ref><ref id="bib4"><element-citation publication-type="software"><person-group person-group-type="author"><name><surname>Bachschmid-Romano</surname><given-names>L</given-names></name><name><surname>Hatsopoulos</surname><given-names>NG</given-names></name><name><surname>Brunel</surname><given-names>N</given-names></name></person-group><year iso-8601-date="2023">2023</year><data-title>M1_Preparatory_Movement_Representation</data-title><version designator="swh:1:rev:1ab4d05d900a55f4f44a7d02b39db72620fae02a">swh:1:rev:1ab4d05d900a55f4f44a7d02b39db72620fae02a</version><source>Software Heritage</source><ext-link ext-link-type="uri" xlink:href="https://archive.softwareheritage.org/swh:1:dir:2d0d0688f9f539cbc6a93bf18dcccf3d3540be9e;origin=https://github.com/lbachromano/M1_Preparatory_Movement_Representation;visit=swh:1:snp:3b49ca90aec256149338712715339405eba28f53;anchor=swh:1:rev:1ab4d05d900a55f4f44a7d02b39db72620fae02a">https://archive.softwareheritage.org/swh:1:dir:2d0d0688f9f539cbc6a93bf18dcccf3d3540be9e;origin=https://github.com/lbachromano/M1_Preparatory_Movement_Representation;visit=swh:1:snp:3b49ca90aec256149338712715339405eba28f53;anchor=swh:1:rev:1ab4d05d900a55f4f44a7d02b39db72620fae02a</ext-link></element-citation></ref><ref id="bib5"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Balasubramanian</surname><given-names>K</given-names></name><name><surname>Papadourakis</surname><given-names>V</given-names></name><name><surname>Liang</surname><given-names>W</given-names></name><name><surname>Takahashi</surname><given-names>K</given-names></name><name><surname>Best</surname><given-names>MD</given-names></name><name><surname>Suminski</surname><given-names>AJ</given-names></name><name><surname>Hatsopoulos</surname><given-names>NG</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Propagating motor cortical dynamics facilitate movement initiation</article-title><source>Neuron</source><volume>106</volume><fpage>526</fpage><lpage>536</lpage><pub-id pub-id-type="doi">10.1016/j.neuron.2020.02.011</pub-id><pub-id pub-id-type="pmid">32145183</pub-id></element-citation></ref><ref id="bib6"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Battaglia</surname><given-names>FP</given-names></name><name><surname>Treves</surname><given-names>A</given-names></name></person-group><year iso-8601-date="1998">1998</year><article-title>Attractor neural networks storing multiple space representations: a model for hippocampal place fields</article-title><source>Physical Review E</source><volume>58</volume><fpage>7738</fpage><lpage>7753</lpage><pub-id pub-id-type="doi">10.1103/PhysRevE.58.7738</pub-id></element-citation></ref><ref id="bib7"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Ben-Yishai</surname><given-names>R</given-names></name><name><surname>Bar-Or</surname><given-names>RL</given-names></name><name><surname>Sompolinsky</surname><given-names>H</given-names></name></person-group><year iso-8601-date="1995">1995</year><article-title>Theory of orientation tuning in visual cortex</article-title><source>PNAS</source><volume>92</volume><fpage>3844</fpage><lpage>3848</lpage><pub-id pub-id-type="doi">10.1073/pnas.92.9.3844</pub-id><pub-id pub-id-type="pmid">7731993</pub-id></element-citation></ref><ref id="bib8"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Berens</surname><given-names>P</given-names></name></person-group><year iso-8601-date="2009">2009</year><article-title>Circstat: a matlab toolbox for circular statistics</article-title><source>Journal of Statistical Software</source><volume>31</volume><fpage>1</fpage><lpage>21</lpage><pub-id pub-id-type="doi">10.18637/jss.v031.i10</pub-id></element-citation></ref><ref id="bib9"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Brown</surname><given-names>AR</given-names></name><name><surname>Teskey</surname><given-names>GC</given-names></name></person-group><year iso-8601-date="2014">2014</year><article-title>Motor cortex is functionally organized as a set of spatially distinct representations for complex movements</article-title><source>The Journal of Neuroscience</source><volume>34</volume><fpage>13574</fpage><lpage>13585</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.2500-14.2014</pub-id><pub-id pub-id-type="pmid">25297087</pub-id></element-citation></ref><ref id="bib10"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Burak</surname><given-names>Y</given-names></name><name><surname>Fiete</surname><given-names>IR</given-names></name></person-group><year iso-8601-date="2009">2009</year><article-title>Accurate path integration in continuous attractor network models of grid cells</article-title><source>PLOS Computational Biology</source><volume>5</volume><elocation-id>e1000291</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pcbi.1000291</pub-id><pub-id pub-id-type="pmid">19229307</pub-id></element-citation></ref><ref id="bib11"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Byrd</surname><given-names>RH</given-names></name><name><surname>Hribar</surname><given-names>ME</given-names></name><name><surname>Nocedal</surname><given-names>J</given-names></name></person-group><year iso-8601-date="1999">1999</year><article-title>An interior point algorithm for large-scale nonlinear programming</article-title><source>SIAM Journal on Optimization</source><volume>9</volume><fpage>877</fpage><lpage>900</lpage></element-citation></ref><ref id="bib12"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Cabel</surname><given-names>DW</given-names></name><name><surname>Cisek</surname><given-names>P</given-names></name><name><surname>Scott</surname><given-names>SH</given-names></name></person-group><year iso-8601-date="2001">2001</year><article-title>Neural activity in primary motor cortex related to mechanical loads applied to the shoulder and elbow during a postural task</article-title><source>Journal of Neurophysiology</source><volume>86</volume><fpage>2102</fpage><lpage>2108</lpage><pub-id pub-id-type="doi">10.1152/jn.2001.86.4.2102</pub-id><pub-id pub-id-type="pmid">11600665</pub-id></element-citation></ref><ref id="bib13"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Camperi</surname><given-names>M</given-names></name><name><surname>Wang</surname><given-names>X-J</given-names></name></person-group><year iso-8601-date="1998">1998</year><article-title>A model of visuospatial working memory in prefrontal cortex: recurrent network and cellular bistability</article-title><source>Journal of Computational Neuroscience</source><volume>5</volume><fpage>383</fpage><lpage>405</lpage><pub-id pub-id-type="doi">10.1023/a:1008837311948</pub-id><pub-id pub-id-type="pmid">9877021</pub-id></element-citation></ref><ref id="bib14"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Cheney</surname><given-names>PD</given-names></name><name><surname>Fetz</surname><given-names>EE</given-names></name></person-group><year iso-8601-date="1980">1980</year><article-title>Functional classes of primate corticomotoneuronal cells and their relation to active force</article-title><source>Journal of Neurophysiology</source><volume>44</volume><fpage>773</fpage><lpage>791</lpage><pub-id pub-id-type="doi">10.1152/jn.1980.44.4.773</pub-id><pub-id pub-id-type="pmid">6253605</pub-id></element-citation></ref><ref id="bib15"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Churchland</surname><given-names>MM</given-names></name><name><surname>Afshar</surname><given-names>A</given-names></name><name><surname>Shenoy</surname><given-names>KV</given-names></name></person-group><year iso-8601-date="2006">2006a</year><article-title>A central source of movement variability</article-title><source>Neuron</source><volume>52</volume><fpage>1085</fpage><lpage>1096</lpage><pub-id pub-id-type="doi">10.1016/j.neuron.2006.10.034</pub-id><pub-id pub-id-type="pmid">17178410</pub-id></element-citation></ref><ref id="bib16"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Churchland</surname><given-names>MM</given-names></name><name><surname>Santhanam</surname><given-names>G</given-names></name><name><surname>Shenoy</surname><given-names>KV</given-names></name></person-group><year iso-8601-date="2006">2006b</year><article-title>Preparatory activity in premotor and motor cortex reflects the speed of the upcoming reach</article-title><source>Journal of Neurophysiology</source><volume>96</volume><fpage>3130</fpage><lpage>3146</lpage><pub-id pub-id-type="doi">10.1152/jn.00307.2006</pub-id><pub-id pub-id-type="pmid">16855111</pub-id></element-citation></ref><ref id="bib17"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Churchland</surname><given-names>MM</given-names></name><name><surname>Shenoy</surname><given-names>KV</given-names></name></person-group><year iso-8601-date="2007">2007</year><article-title>Temporal complexity and heterogeneity of single-neuron activity in premotor and motor cortex</article-title><source>Journal of Neurophysiology</source><volume>97</volume><fpage>4235</fpage><lpage>4257</lpage><pub-id pub-id-type="doi">10.1152/jn.00095.2007</pub-id><pub-id pub-id-type="pmid">17376854</pub-id></element-citation></ref><ref id="bib18"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Churchland</surname><given-names>MM</given-names></name><name><surname>Cunningham</surname><given-names>JP</given-names></name><name><surname>Kaufman</surname><given-names>MT</given-names></name><name><surname>Foster</surname><given-names>JD</given-names></name><name><surname>Nuyujukian</surname><given-names>P</given-names></name><name><surname>Ryu</surname><given-names>SI</given-names></name><name><surname>Shenoy</surname><given-names>KV</given-names></name></person-group><year iso-8601-date="2012">2012</year><article-title>Neural population dynamics during reaching</article-title><source>Nature</source><volume>487</volume><fpage>51</fpage><lpage>56</lpage><pub-id pub-id-type="doi">10.1038/nature11129</pub-id><pub-id pub-id-type="pmid">22722855</pub-id></element-citation></ref><ref id="bib19"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Compte</surname><given-names>A</given-names></name><name><surname>Brunel</surname><given-names>N</given-names></name><name><surname>Goldman-Rakic</surname><given-names>PS</given-names></name><name><surname>Wang</surname><given-names>XJ</given-names></name></person-group><year iso-8601-date="2000">2000</year><article-title>Synaptic mechanisms and network dynamics underlying spatial working memory in a cortical network model</article-title><source>Cerebral Cortex</source><volume>10</volume><fpage>910</fpage><lpage>923</lpage><pub-id pub-id-type="doi">10.1093/cercor/10.9.910</pub-id><pub-id pub-id-type="pmid">10982751</pub-id></element-citation></ref><ref id="bib20"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Darlington</surname><given-names>TR</given-names></name><name><surname>Beck</surname><given-names>JM</given-names></name><name><surname>Lisberger</surname><given-names>SG</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>Neural implementation of Bayesian inference in a sensorimotor behavior</article-title><source>Nature Neuroscience</source><volume>21</volume><fpage>1442</fpage><lpage>1451</lpage><pub-id pub-id-type="doi">10.1038/s41593-018-0233-y</pub-id><pub-id pub-id-type="pmid">30224803</pub-id></element-citation></ref><ref id="bib21"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Darlington</surname><given-names>TR</given-names></name><name><surname>Lisberger</surname><given-names>SG</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Mechanisms that allow cortical preparatory activity without inappropriate movement</article-title><source>eLife</source><volume>9</volume><elocation-id>e50962</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.50962</pub-id><pub-id pub-id-type="pmid">32081130</pub-id></element-citation></ref><ref id="bib22"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Dorris</surname><given-names>MC</given-names></name><name><surname>Paré</surname><given-names>M</given-names></name><name><surname>Munoz</surname><given-names>DP</given-names></name></person-group><year iso-8601-date="1997">1997</year><article-title>Neuronal activity in monkey superior colliculus related to the initiation of saccadic eye movements</article-title><source>The Journal of Neuroscience</source><volume>17</volume><fpage>8566</fpage><lpage>8579</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.17-21-08566.1997</pub-id><pub-id pub-id-type="pmid">9334428</pub-id></element-citation></ref><ref id="bib23"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Elsayed</surname><given-names>GF</given-names></name><name><surname>Lara</surname><given-names>AH</given-names></name><name><surname>Kaufman</surname><given-names>MT</given-names></name><name><surname>Churchland</surname><given-names>MM</given-names></name><name><surname>Cunningham</surname><given-names>JP</given-names></name></person-group><year iso-8601-date="2016">2016</year><article-title>Reorganization between preparatory and movement population responses in motor cortex</article-title><source>Nature Communications</source><volume>7</volume><elocation-id>13239</elocation-id><pub-id pub-id-type="doi">10.1038/ncomms13239</pub-id><pub-id pub-id-type="pmid">27807345</pub-id></element-citation></ref><ref id="bib24"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Evarts</surname><given-names>EV</given-names></name></person-group><year iso-8601-date="1968">1968</year><article-title>Relation of pyramidal tract activity to force exerted during voluntary movement</article-title><source>Journal of Neurophysiology</source><volume>31</volume><fpage>14</fpage><lpage>27</lpage><pub-id pub-id-type="doi">10.1152/jn.1968.31.1.14</pub-id><pub-id pub-id-type="pmid">4966614</pub-id></element-citation></ref><ref id="bib25"><element-citation publication-type="book"><person-group person-group-type="author"><name><surname>Fisher</surname><given-names>NI</given-names></name></person-group><year iso-8601-date="1995">1995</year><source>Statistical Analysis of Circular Data</source><publisher-name>cambridge university press</publisher-name></element-citation></ref><ref id="bib26"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Gallego</surname><given-names>JA</given-names></name><name><surname>Perich</surname><given-names>MG</given-names></name><name><surname>Naufel</surname><given-names>SN</given-names></name><name><surname>Ethier</surname><given-names>C</given-names></name><name><surname>Solla</surname><given-names>SA</given-names></name><name><surname>Miller</surname><given-names>LE</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>Cortical population activity within a preserved neural manifold underlies multiple motor behaviors</article-title><source>Nature Communications</source><volume>9</volume><elocation-id>4233</elocation-id><pub-id pub-id-type="doi">10.1038/s41467-018-06560-z</pub-id><pub-id pub-id-type="pmid">30315158</pub-id></element-citation></ref><ref id="bib27"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Georgopoulos</surname><given-names>AP</given-names></name><name><surname>Kalaska</surname><given-names>JF</given-names></name><name><surname>Caminiti</surname><given-names>R</given-names></name><name><surname>Massey</surname><given-names>JT</given-names></name></person-group><year iso-8601-date="1982">1982</year><article-title>On the relations between the direction of two-dimensional arm movements and cell discharge in primate motor cortex</article-title><source>The Journal of Neuroscience</source><volume>2</volume><fpage>1527</fpage><lpage>1537</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.02-11-01527.1982</pub-id><pub-id pub-id-type="pmid">7143039</pub-id></element-citation></ref><ref id="bib28"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Georgopoulos</surname><given-names>AP</given-names></name><name><surname>Caminiti</surname><given-names>R</given-names></name><name><surname>Kalaska</surname><given-names>JF</given-names></name></person-group><year iso-8601-date="1984">1984</year><article-title>Static spatial effects in motor cortex and area 5: quantitative relations in a two-dimensional space</article-title><source>Experimental Brain Research</source><volume>54</volume><fpage>446</fpage><lpage>454</lpage><pub-id pub-id-type="doi">10.1007/BF00235470</pub-id><pub-id pub-id-type="pmid">6723864</pub-id></element-citation></ref><ref id="bib29"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Georgopoulos</surname><given-names>AP</given-names></name><name><surname>Schwartz</surname><given-names>AB</given-names></name><name><surname>Kettner</surname><given-names>RE</given-names></name></person-group><year iso-8601-date="1986">1986</year><article-title>Neuronal population coding of movement direction</article-title><source>Science</source><volume>233</volume><fpage>1416</fpage><lpage>1419</lpage><pub-id pub-id-type="doi">10.1126/science.3749885</pub-id><pub-id pub-id-type="pmid">3749885</pub-id></element-citation></ref><ref id="bib30"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Georgopoulos</surname><given-names>AP</given-names></name><name><surname>Lurito</surname><given-names>JT</given-names></name><name><surname>Petrides</surname><given-names>M</given-names></name><name><surname>Schwartz</surname><given-names>AB</given-names></name><name><surname>Massey</surname><given-names>JT</given-names></name></person-group><year iso-8601-date="1989">1989</year><article-title>Mental rotation of the neuronal population vector</article-title><source>Science</source><volume>243</volume><fpage>234</fpage><lpage>236</lpage><pub-id pub-id-type="doi">10.1126/science.2911737</pub-id><pub-id pub-id-type="pmid">2911737</pub-id></element-citation></ref><ref id="bib31"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Georgopoulos</surname><given-names>AP</given-names></name><name><surname>Taira</surname><given-names>M</given-names></name><name><surname>Lukashin</surname><given-names>A</given-names></name></person-group><year iso-8601-date="1993">1993</year><article-title>Cognitive neurophysiology of the motor cortex</article-title><source>Science</source><volume>260</volume><fpage>47</fpage><lpage>52</lpage><pub-id pub-id-type="doi">10.1126/science.8465199</pub-id><pub-id pub-id-type="pmid">8465199</pub-id></element-citation></ref><ref id="bib32"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Glimcher</surname><given-names>PW</given-names></name><name><surname>Sparks</surname><given-names>DL</given-names></name></person-group><year iso-8601-date="1992">1992</year><article-title>Movement selection in advance of action in the superior colliculus</article-title><source>Nature</source><volume>355</volume><fpage>542</fpage><lpage>545</lpage><pub-id pub-id-type="doi">10.1038/355542a0</pub-id><pub-id pub-id-type="pmid">1741032</pub-id></element-citation></ref><ref id="bib33"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Graziano</surname><given-names>MSA</given-names></name><name><surname>Taylor</surname><given-names>CSR</given-names></name><name><surname>Moore</surname><given-names>T</given-names></name></person-group><year iso-8601-date="2002">2002</year><article-title>Complex movements evoked by microstimulation of precentral cortex</article-title><source>Neuron</source><volume>34</volume><fpage>841</fpage><lpage>851</lpage><pub-id pub-id-type="doi">10.1016/s0896-6273(02)00698-0</pub-id><pub-id pub-id-type="pmid">12062029</pub-id></element-citation></ref><ref id="bib34"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Gribble</surname><given-names>PL</given-names></name><name><surname>Scott</surname><given-names>SH</given-names></name></person-group><year iso-8601-date="2002">2002</year><article-title>Overlap of internal models in motor cortex for mechanical loads during reaching</article-title><source>Nature</source><volume>417</volume><fpage>938</fpage><lpage>941</lpage><pub-id pub-id-type="doi">10.1038/nature00834</pub-id><pub-id pub-id-type="pmid">12087402</pub-id></element-citation></ref><ref id="bib35"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Gutmann</surname><given-names>HM</given-names></name></person-group><year iso-8601-date="2001">2001</year><article-title>A radial basis function method for global optimization</article-title><source>Journal of Global Optimization</source><volume>19</volume><fpage>201</fpage><lpage>227</lpage><pub-id pub-id-type="doi">10.1023/A:1011255519438</pub-id></element-citation></ref><ref id="bib36"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hanes</surname><given-names>DP</given-names></name><name><surname>Schall</surname><given-names>JD</given-names></name></person-group><year iso-8601-date="1996">1996</year><article-title>Neural control of voluntary movement initiation</article-title><source>Science</source><volume>274</volume><fpage>427</fpage><lpage>430</lpage><pub-id pub-id-type="doi">10.1126/science.274.5286.427</pub-id><pub-id pub-id-type="pmid">8832893</pub-id></element-citation></ref><ref id="bib37"><element-citation publication-type="book"><person-group person-group-type="author"><name><surname>Hansel</surname><given-names>D</given-names></name><name><surname>Sompolinsky</surname><given-names>H</given-names></name></person-group><year iso-8601-date="1998">1998</year><source>13 Modeling Feature Selectivity in Local Cortical Circuits</source><publisher-name>University of California San Diego</publisher-name></element-citation></ref><ref id="bib38"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Harrison</surname><given-names>TC</given-names></name><name><surname>Ayling</surname><given-names>OG</given-names></name><name><surname>Murphy</surname><given-names>TH</given-names></name></person-group><year iso-8601-date="2012">2012</year><article-title>Distinct cortical circuit mechanisms for complex forelimb movement and motor MAP topography</article-title><source>Neuron</source><volume>74</volume><fpage>397</fpage><lpage>409</lpage><pub-id pub-id-type="doi">10.1016/j.neuron.2012.02.028</pub-id><pub-id pub-id-type="pmid">22542191</pub-id></element-citation></ref><ref id="bib39"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hatsopoulos</surname><given-names>NG</given-names></name><name><surname>Xu</surname><given-names>Q</given-names></name><name><surname>Amit</surname><given-names>Y</given-names></name></person-group><year iso-8601-date="2007">2007</year><article-title>Encoding of movement fragments in the motor cortex</article-title><source>The Journal of Neuroscience</source><volume>27</volume><fpage>5105</fpage><lpage>5114</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.3570-06.2007</pub-id><pub-id pub-id-type="pmid">17494696</pub-id></element-citation></ref><ref id="bib40"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hennequin</surname><given-names>G</given-names></name><name><surname>Vogels</surname><given-names>TP</given-names></name><name><surname>Gerstner</surname><given-names>W</given-names></name></person-group><year iso-8601-date="2014">2014</year><article-title>Optimal control of transient dynamics in balanced networks supports generation of complex movements</article-title><source>Neuron</source><volume>82</volume><fpage>1394</fpage><lpage>1406</lpage><pub-id pub-id-type="doi">10.1016/j.neuron.2014.04.045</pub-id><pub-id pub-id-type="pmid">24945778</pub-id></element-citation></ref><ref id="bib41"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hepp-Reymond</surname><given-names>МС</given-names></name><name><surname>Wyss</surname><given-names>UR</given-names></name><name><surname>Anner</surname><given-names>R</given-names></name></person-group><year iso-8601-date="1978">1978</year><article-title>Euronal coding of static force in the primate motor cortex</article-title><source>Journal de Physiologie</source><volume>74</volume><fpage>237</fpage><lpage>239</lpage></element-citation></ref><ref id="bib42"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Hepp-Reymond</surname><given-names>MC</given-names></name><name><surname>Kirkpatrick-Tanner</surname><given-names>M</given-names></name><name><surname>Gabernet</surname><given-names>L</given-names></name><name><surname>Qi</surname><given-names>HX</given-names></name><name><surname>Weber</surname><given-names>B</given-names></name></person-group><year iso-8601-date="1999">1999</year><article-title>Context-Dependent force coding in motor and premotor cortical areas</article-title><source>Experimental Brain Research</source><volume>128</volume><fpage>123</fpage><lpage>133</lpage><pub-id pub-id-type="doi">10.1007/s002210050827</pub-id><pub-id pub-id-type="pmid">10473750</pub-id></element-citation></ref><ref id="bib43"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Holdefer</surname><given-names>RN</given-names></name><name><surname>Miller</surname><given-names>LE</given-names></name></person-group><year iso-8601-date="2002">2002</year><article-title>Primary motor cortical neurons encode functional muscle synergies</article-title><source>Experimental Brain Research</source><volume>146</volume><fpage>233</fpage><lpage>243</lpage><pub-id pub-id-type="doi">10.1007/s00221-002-1166-x</pub-id><pub-id pub-id-type="pmid">12195525</pub-id></element-citation></ref><ref id="bib44"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Inagaki</surname><given-names>HK</given-names></name><name><surname>Chen</surname><given-names>S</given-names></name><name><surname>Ridder</surname><given-names>MC</given-names></name><name><surname>Sah</surname><given-names>P</given-names></name><name><surname>Li</surname><given-names>N</given-names></name><name><surname>Yang</surname><given-names>Z</given-names></name><name><surname>Hasanbegovic</surname><given-names>H</given-names></name><name><surname>Gao</surname><given-names>Z</given-names></name><name><surname>Gerfen</surname><given-names>CR</given-names></name><name><surname>Svoboda</surname><given-names>K</given-names></name></person-group><year iso-8601-date="2022">2022</year><article-title>A midbrain-thalamus-cortex circuit reorganizes cortical dynamics to initiate movement</article-title><source>Cell</source><volume>185</volume><fpage>1065</fpage><lpage>1081</lpage><pub-id pub-id-type="doi">10.1016/j.cell.2022.02.006</pub-id><pub-id pub-id-type="pmid">35245431</pub-id></element-citation></ref><ref id="bib45"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Inoue</surname><given-names>Y</given-names></name><name><surname>Mao</surname><given-names>H</given-names></name><name><surname>Suway</surname><given-names>SB</given-names></name><name><surname>Orellana</surname><given-names>J</given-names></name><name><surname>Schwartz</surname><given-names>AB</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>Decoding arm speed during reaching</article-title><source>Nature Communications</source><volume>9</volume><fpage>1</fpage><lpage>14</lpage><pub-id pub-id-type="doi">10.1038/s41467-018-07647-3</pub-id></element-citation></ref><ref id="bib46"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Itskov</surname><given-names>V</given-names></name><name><surname>Hansel</surname><given-names>D</given-names></name><name><surname>Tsodyks</surname><given-names>M</given-names></name></person-group><year iso-8601-date="2011">2011</year><article-title>Short-Term facilitation may stabilize parametric working memory trace</article-title><source>Frontiers in Computational Neuroscience</source><volume>5</volume><elocation-id>40</elocation-id><pub-id pub-id-type="doi">10.3389/fncom.2011.00040</pub-id><pub-id pub-id-type="pmid">22028690</pub-id></element-citation></ref><ref id="bib47"><element-citation publication-type="software"><person-group person-group-type="author"><name><surname>Jammalamadaka</surname><given-names>SR</given-names></name><name><surname>SenGupta</surname><given-names>A</given-names></name></person-group><year iso-8601-date="2001">2001</year><data-title>Topics in Circular Statistics</data-title><source>world scientific</source><ext-link ext-link-type="uri" xlink:href="https://www.worldscientific.com/worldscibooks/10.1142/4031">https://www.worldscientific.com/worldscibooks/10.1142/4031</ext-link></element-citation></ref><ref id="bib48"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kalaska</surname><given-names>JF</given-names></name><name><surname>Cohen</surname><given-names>DA</given-names></name><name><surname>Hyde</surname><given-names>ML</given-names></name><name><surname>Prud’homme</surname><given-names>M</given-names></name></person-group><year iso-8601-date="1989">1989</year><article-title>A comparison of movement direction-related versus load direction-related activity in primate motor cortex, using a two-dimensional reaching task</article-title><source>The Journal of Neuroscience</source><volume>9</volume><fpage>2080</fpage><lpage>2102</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.09-06-02080.1989</pub-id><pub-id pub-id-type="pmid">2723767</pub-id></element-citation></ref><ref id="bib49"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kao</surname><given-names>TC</given-names></name><name><surname>Sadabadi</surname><given-names>MS</given-names></name><name><surname>Hennequin</surname><given-names>G</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>Optimal anticipatory control as a theory of motor preparation: a thalamo-cortical circuit model</article-title><source>Neuron</source><volume>109</volume><fpage>1567</fpage><lpage>1581</lpage><pub-id pub-id-type="doi">10.1016/j.neuron.2021.03.009</pub-id><pub-id pub-id-type="pmid">33789082</pub-id></element-citation></ref><ref id="bib50"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kaufman</surname><given-names>MT</given-names></name><name><surname>Churchland</surname><given-names>MM</given-names></name><name><surname>Ryu</surname><given-names>SI</given-names></name><name><surname>Shenoy</surname><given-names>KV</given-names></name></person-group><year iso-8601-date="2014">2014</year><article-title>Cortical activity in the null space: permitting preparation without movement</article-title><source>Nature Neuroscience</source><volume>17</volume><fpage>440</fpage><lpage>448</lpage><pub-id pub-id-type="doi">10.1038/nn.3643</pub-id><pub-id pub-id-type="pmid">24487233</pub-id></element-citation></ref><ref id="bib51"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Kaufman</surname><given-names>MT</given-names></name><name><surname>Seely</surname><given-names>JS</given-names></name><name><surname>Sussillo</surname><given-names>D</given-names></name><name><surname>Ryu</surname><given-names>SI</given-names></name><name><surname>Shenoy</surname><given-names>KV</given-names></name><name><surname>Churchland</surname><given-names>MM</given-names></name></person-group><year iso-8601-date="2016">2016</year><article-title>The largest response component in the motor cortex reflects movement timing but not movement type</article-title><source>ENeuro</source><volume>3</volume><elocation-id>ENEURO.0085-16.2016</elocation-id><pub-id pub-id-type="doi">10.1523/ENEURO.0085-16.2016</pub-id><pub-id pub-id-type="pmid">27761519</pub-id></element-citation></ref><ref id="bib52"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Lalazar</surname><given-names>H</given-names></name><name><surname>Abbott</surname><given-names>LF</given-names></name><name><surname>Vaadia</surname><given-names>E</given-names></name></person-group><year iso-8601-date="2016">2016</year><article-title>Tuning curves for arm posture control in motor cortex are consistent with random connectivity</article-title><source>PLOS Computational Biology</source><volume>12</volume><elocation-id>e1004910</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pcbi.1004910</pub-id><pub-id pub-id-type="pmid">27224735</pub-id></element-citation></ref><ref id="bib53"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Lara</surname><given-names>AH</given-names></name><name><surname>Elsayed</surname><given-names>GF</given-names></name><name><surname>Zimnik</surname><given-names>AJ</given-names></name><name><surname>Cunningham</surname><given-names>JP</given-names></name><name><surname>Churchland</surname><given-names>MM</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>Conservation of preparatory neural events in monkey motor cortex regardless of how movement is initiated</article-title><source>eLife</source><volume>7</volume><elocation-id>e31826</elocation-id><pub-id pub-id-type="doi">10.7554/eLife.31826</pub-id><pub-id pub-id-type="pmid">30132759</pub-id></element-citation></ref><ref id="bib54"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Li</surname><given-names>C-SR</given-names></name><name><surname>Padoa-Schioppa</surname><given-names>C</given-names></name><name><surname>Bizzi</surname><given-names>E</given-names></name></person-group><year iso-8601-date="2001">2001</year><article-title>Neuronal correlates of motor performance and motor learning in the primary motor cortex of monkeys adapting to an external force field</article-title><source>Neuron</source><volume>30</volume><fpage>593</fpage><lpage>607</lpage><pub-id pub-id-type="doi">10.1016/s0896-6273(01)00301-4</pub-id><pub-id pub-id-type="pmid">11395017</pub-id></element-citation></ref><ref id="bib55"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Logiaco</surname><given-names>L</given-names></name><name><surname>Abbott</surname><given-names>LF</given-names></name><name><surname>Escola</surname><given-names>S</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>Thalamic control of cortical dynamics in a model of flexible motor sequencing</article-title><source>Cell Reports</source><volume>35</volume><elocation-id>109090</elocation-id><pub-id pub-id-type="doi">10.1016/j.celrep.2021.109090</pub-id><pub-id pub-id-type="pmid">34077721</pub-id></element-citation></ref><ref id="bib56"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Lukashin</surname><given-names>AV</given-names></name><name><surname>Georgopoulos</surname><given-names>AP</given-names></name></person-group><year iso-8601-date="1993">1993</year><article-title>A dynamical neural network model for motor cortical activity during movement: population coding of movement trajectories</article-title><source>Biological Cybernetics</source><volume>69</volume><fpage>517</fpage><lpage>524</lpage><pub-id pub-id-type="pmid">8274549</pub-id></element-citation></ref><ref id="bib57"><element-citation publication-type="preprint"><person-group person-group-type="author"><name><surname>Malonis</surname><given-names>PJ</given-names></name><name><surname>Hatsopoulos</surname><given-names>NG</given-names></name><name><surname>MacLean</surname><given-names>JN</given-names></name><name><surname>Kaufman</surname><given-names>MT</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>M1 Dynamics Share Similar Inputs for Initiating and Correcting Movement</article-title><source>bioRxiv</source><pub-id pub-id-type="doi">10.1101/2021.10.18.464704</pub-id></element-citation></ref><ref id="bib58"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>McNaughton</surname><given-names>BL</given-names></name><name><surname>Barnes</surname><given-names>CA</given-names></name><name><surname>Gerrard</surname><given-names>JL</given-names></name><name><surname>Gothard</surname><given-names>K</given-names></name><name><surname>Jung</surname><given-names>MW</given-names></name><name><surname>Knierim</surname><given-names>JJ</given-names></name><name><surname>Kudrimoti</surname><given-names>H</given-names></name><name><surname>Qin</surname><given-names>Y</given-names></name><name><surname>Skaggs</surname><given-names>WE</given-names></name><name><surname>Suster</surname><given-names>M</given-names></name><name><surname>Weaver</surname><given-names>KL</given-names></name></person-group><year iso-8601-date="1996">1996</year><article-title>Deciphering the hippocampal polyglot: the hippocampus as a path integration system</article-title><source>The Journal of Experimental Biology</source><volume>199</volume><fpage>173</fpage><lpage>185</lpage><pub-id pub-id-type="doi">10.1242/jeb.199.1.173</pub-id><pub-id pub-id-type="pmid">8576689</pub-id></element-citation></ref><ref id="bib59"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Messier</surname><given-names>J</given-names></name><name><surname>Kalaska</surname><given-names>JF</given-names></name></person-group><year iso-8601-date="2000">2000</year><article-title>Covariation of primate dorsal premotor cell activity with direction and amplitude during a memorized-delay reaching task</article-title><source>Journal of Neurophysiology</source><volume>84</volume><fpage>152</fpage><lpage>165</lpage><pub-id pub-id-type="doi">10.1152/jn.2000.84.1.152</pub-id><pub-id pub-id-type="pmid">10899193</pub-id></element-citation></ref><ref id="bib60"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Michaels</surname><given-names>JA</given-names></name><name><surname>Dann</surname><given-names>B</given-names></name><name><surname>Scherberger</surname><given-names>H</given-names></name></person-group><year iso-8601-date="2016">2016</year><article-title>Neural population dynamics during reaching are better explained by a dynamical system than representational tuning</article-title><source>PLOS Computational Biology</source><volume>12</volume><elocation-id>e1005175</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pcbi.1005175</pub-id><pub-id pub-id-type="pmid">27814352</pub-id></element-citation></ref><ref id="bib61"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Monasson</surname><given-names>R</given-names></name><name><surname>Rosay</surname><given-names>S</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>Transitions between spatial attractors in place-cell models</article-title><source>Physical Review Letters</source><volume>115</volume><elocation-id>098101</elocation-id><pub-id pub-id-type="doi">10.1103/PhysRevLett.115.098101</pub-id><pub-id pub-id-type="pmid">26371684</pub-id></element-citation></ref><ref id="bib62"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Moran</surname><given-names>DW</given-names></name><name><surname>Schwartz</surname><given-names>AB</given-names></name></person-group><year iso-8601-date="1999">1999</year><article-title>Motor cortical representation of speed and direction during reaching</article-title><source>Journal of Neurophysiology</source><volume>82</volume><fpage>2676</fpage><lpage>2692</lpage><pub-id pub-id-type="doi">10.1152/jn.1999.82.5.2676</pub-id><pub-id pub-id-type="pmid">10561437</pub-id></element-citation></ref><ref id="bib63"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Muir</surname><given-names>RB</given-names></name><name><surname>Lemon</surname><given-names>RN</given-names></name></person-group><year iso-8601-date="1983">1983</year><article-title>Corticospinal neurons with a special role in precision grip</article-title><source>Brain Research</source><volume>261</volume><fpage>312</fpage><lpage>316</lpage><pub-id pub-id-type="doi">10.1016/0006-8993(83)90635-2</pub-id><pub-id pub-id-type="pmid">6831213</pub-id></element-citation></ref><ref id="bib64"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Nashef</surname><given-names>A</given-names></name><name><surname>Cohen</surname><given-names>O</given-names></name><name><surname>Harel</surname><given-names>R</given-names></name><name><surname>Israel</surname><given-names>Z</given-names></name><name><surname>Prut</surname><given-names>Y</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>Reversible block of cerebellar outflow reveals cortical circuitry for motor coordination</article-title><source>Cell Reports</source><volume>27</volume><fpage>2608</fpage><lpage>2619</lpage><pub-id pub-id-type="doi">10.1016/j.celrep.2019.04.100</pub-id><pub-id pub-id-type="pmid">31141686</pub-id></element-citation></ref><ref id="bib65"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Nashef</surname><given-names>A</given-names></name><name><surname>Mitelman</surname><given-names>R</given-names></name><name><surname>Harel</surname><given-names>R</given-names></name><name><surname>Joshua</surname><given-names>M</given-names></name><name><surname>Prut</surname><given-names>Y</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>Area-specific thalamocortical synchronization underlies the transition from motor planning to execution</article-title><source>PNAS</source><volume>118</volume><elocation-id>e2012658118</elocation-id><pub-id pub-id-type="doi">10.1073/pnas.2012658118</pub-id><pub-id pub-id-type="pmid">33526664</pub-id></element-citation></ref><ref id="bib66"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Paninski</surname><given-names>L</given-names></name><name><surname>Fellows</surname><given-names>MR</given-names></name><name><surname>Hatsopoulos</surname><given-names>NG</given-names></name><name><surname>Donoghue</surname><given-names>JP</given-names></name></person-group><year iso-8601-date="2004">2004</year><article-title>Spatiotemporal tuning of motor cortical neurons for hand position and velocity</article-title><source>Journal of Neurophysiology</source><volume>91</volume><fpage>515</fpage><lpage>532</lpage><pub-id pub-id-type="doi">10.1152/jn.00587.2002</pub-id><pub-id pub-id-type="pmid">13679402</pub-id></element-citation></ref><ref id="bib67"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Paz</surname><given-names>R</given-names></name><name><surname>Boraud</surname><given-names>T</given-names></name><name><surname>Natan</surname><given-names>C</given-names></name><name><surname>Bergman</surname><given-names>H</given-names></name><name><surname>Vaadia</surname><given-names>E</given-names></name></person-group><year iso-8601-date="2003">2003</year><article-title>Preparatory activity in motor cortex reflects learning of local visuomotor skills</article-title><source>Nature Neuroscience</source><volume>6</volume><fpage>882</fpage><lpage>890</lpage><pub-id pub-id-type="doi">10.1038/nn1097</pub-id><pub-id pub-id-type="pmid">12872127</pub-id></element-citation></ref><ref id="bib68"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Redish</surname><given-names>AD</given-names></name><name><surname>Elga</surname><given-names>AN</given-names></name><name><surname>Touretzky</surname><given-names>DS</given-names></name></person-group><year iso-8601-date="1996">1996</year><article-title>A coupled attractor model of the rodent head direction system</article-title><source>Network</source><volume>7</volume><fpage>671</fpage><lpage>685</lpage><pub-id pub-id-type="doi">10.1088/0954-898X_7_4_004</pub-id></element-citation></ref><ref id="bib69"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Renart</surname><given-names>A</given-names></name><name><surname>Song</surname><given-names>P</given-names></name><name><surname>Wang</surname><given-names>X-J</given-names></name></person-group><year iso-8601-date="2003">2003</year><article-title>Robust spatial working memory through homeostatic synaptic scaling in heterogeneous cortical networks</article-title><source>Neuron</source><volume>38</volume><fpage>473</fpage><lpage>485</lpage><pub-id pub-id-type="doi">10.1016/s0896-6273(03)00255-1</pub-id><pub-id pub-id-type="pmid">12741993</pub-id></element-citation></ref><ref id="bib70"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Rickert</surname><given-names>J</given-names></name><name><surname>Riehle</surname><given-names>A</given-names></name><name><surname>Aertsen</surname><given-names>A</given-names></name><name><surname>Rotter</surname><given-names>S</given-names></name><name><surname>Nawrot</surname><given-names>MP</given-names></name></person-group><year iso-8601-date="2009">2009</year><article-title>Dynamic encoding of movement direction in motor cortical neurons</article-title><source>The Journal of Neuroscience</source><volume>29</volume><fpage>13870</fpage><lpage>13882</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.5441-08.2009</pub-id><pub-id pub-id-type="pmid">19889998</pub-id></element-citation></ref><ref id="bib71"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Romani</surname><given-names>S</given-names></name><name><surname>Tsodyks</surname><given-names>M</given-names></name></person-group><year iso-8601-date="2010">2010</year><article-title>Continuous attractors with morphed/correlated maps</article-title><source>PLOS Computational Biology</source><volume>6</volume><elocation-id>e1000869</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pcbi.1000869</pub-id><pub-id pub-id-type="pmid">20700490</pub-id></element-citation></ref><ref id="bib72"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Rubino</surname><given-names>D</given-names></name><name><surname>Robbins</surname><given-names>KA</given-names></name><name><surname>Hatsopoulos</surname><given-names>NG</given-names></name></person-group><year iso-8601-date="2006">2006</year><article-title>Propagating waves mediate information transfer in the motor cortex</article-title><source>Nature Neuroscience</source><volume>9</volume><fpage>1549</fpage><lpage>1557</lpage><pub-id pub-id-type="doi">10.1038/nn1802</pub-id><pub-id pub-id-type="pmid">17115042</pub-id></element-citation></ref><ref id="bib73"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Russo</surname><given-names>AA</given-names></name><name><surname>Bittner</surname><given-names>SR</given-names></name><name><surname>Perkins</surname><given-names>SM</given-names></name><name><surname>Seely</surname><given-names>JS</given-names></name><name><surname>London</surname><given-names>BM</given-names></name><name><surname>Lara</surname><given-names>AH</given-names></name><name><surname>Miri</surname><given-names>A</given-names></name><name><surname>Marshall</surname><given-names>NJ</given-names></name><name><surname>Kohn</surname><given-names>A</given-names></name><name><surname>Jessell</surname><given-names>TM</given-names></name><name><surname>Abbott</surname><given-names>LF</given-names></name><name><surname>Cunningham</surname><given-names>JP</given-names></name><name><surname>Churchland</surname><given-names>MM</given-names></name></person-group><year iso-8601-date="2018">2018</year><article-title>Motor cortex embeds muscle-like commands in an untangled population response</article-title><source>Neuron</source><volume>97</volume><fpage>953</fpage><lpage>966</lpage><pub-id pub-id-type="doi">10.1016/j.neuron.2018.01.004</pub-id><pub-id pub-id-type="pmid">29398358</pub-id></element-citation></ref><ref id="bib74"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Samsonovich</surname><given-names>A</given-names></name><name><surname>McNaughton</surname><given-names>BL</given-names></name></person-group><year iso-8601-date="1997">1997</year><article-title>Path integration and cognitive mapping in a continuous attractor neural network model</article-title><source>The Journal of Neuroscience</source><volume>17</volume><fpage>5900</fpage><lpage>5920</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.17-15-05900.1997</pub-id><pub-id pub-id-type="pmid">9221787</pub-id></element-citation></ref><ref id="bib75"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Sauerbrei</surname><given-names>BA</given-names></name><name><surname>Guo</surname><given-names>J-Z</given-names></name><name><surname>Cohen</surname><given-names>JD</given-names></name><name><surname>Mischiati</surname><given-names>M</given-names></name><name><surname>Guo</surname><given-names>W</given-names></name><name><surname>Kabra</surname><given-names>M</given-names></name><name><surname>Verma</surname><given-names>N</given-names></name><name><surname>Mensh</surname><given-names>B</given-names></name><name><surname>Branson</surname><given-names>K</given-names></name><name><surname>Hantman</surname><given-names>AW</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Cortical pattern generation during dexterous movement is input-driven</article-title><source>Nature</source><volume>577</volume><fpage>386</fpage><lpage>391</lpage><pub-id pub-id-type="doi">10.1038/s41586-019-1869-9</pub-id><pub-id pub-id-type="pmid">31875851</pub-id></element-citation></ref><ref id="bib76"><element-citation publication-type="preprint"><person-group person-group-type="author"><name><surname>Schroeder</surname><given-names>KE</given-names></name><name><surname>Perkins</surname><given-names>SM</given-names></name><name><surname>Wang</surname><given-names>Q</given-names></name><name><surname>Churchland</surname><given-names>MM</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>Cortical Control of Virtual Self-Motion Using Task-Specific Subspaces</article-title><source>bioRxiv</source><pub-id pub-id-type="doi">10.1101/2019.12.13.862532</pub-id></element-citation></ref><ref id="bib77"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Schwartz</surname><given-names>AB</given-names></name><name><surname>Kettner</surname><given-names>RE</given-names></name><name><surname>Georgopoulos</surname><given-names>AP</given-names></name></person-group><year iso-8601-date="1988">1988</year><article-title>Primate motor cortex and free arm movements to visual targets in three-dimensional space. I. relations between single cell discharge and direction of movement</article-title><source>The Journal of Neuroscience</source><volume>8</volume><fpage>2913</fpage><lpage>2927</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.08-08-02913.1988</pub-id><pub-id pub-id-type="pmid">3411361</pub-id></element-citation></ref><ref id="bib78"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Scott</surname><given-names>SH</given-names></name><name><surname>Kalaska</surname><given-names>JF</given-names></name></person-group><year iso-8601-date="1997">1997</year><article-title>Reaching movements with similar hand paths but different arm orientations. I. activity of individual cells in motor cortex</article-title><source>Journal of Neurophysiology</source><volume>77</volume><fpage>826</fpage><lpage>852</lpage><pub-id pub-id-type="doi">10.1152/jn.1997.77.2.826</pub-id><pub-id pub-id-type="pmid">9065853</pub-id></element-citation></ref><ref id="bib79"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Scott</surname><given-names>SH</given-names></name><name><surname>Gribble</surname><given-names>PL</given-names></name><name><surname>Graham</surname><given-names>KM</given-names></name><name><surname>Cabel</surname><given-names>DW</given-names></name></person-group><year iso-8601-date="2001">2001</year><article-title>Dissociation between hand motion and population vectors from neural activity in motor cortex</article-title><source>Nature</source><volume>413</volume><fpage>161</fpage><lpage>165</lpage><pub-id pub-id-type="doi">10.1038/35093102</pub-id><pub-id pub-id-type="pmid">11557980</pub-id></element-citation></ref><ref id="bib80"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Scott</surname><given-names>SH</given-names></name></person-group><year iso-8601-date="2003">2003</year><article-title>The role of primary motor cortex in goal-directed movements: insights from neurophysiological studies on non-human primates</article-title><source>Current Opinion in Neurobiology</source><volume>13</volume><fpage>671</fpage><lpage>677</lpage><pub-id pub-id-type="doi">10.1016/j.conb.2003.10.012</pub-id><pub-id pub-id-type="pmid">14662367</pub-id></element-citation></ref><ref id="bib81"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Scott</surname><given-names>SH</given-names></name></person-group><year iso-8601-date="2012">2012</year><article-title>The computational and neural basis of voluntary motor control and planning</article-title><source>Trends in Cognitive Sciences</source><volume>16</volume><fpage>541</fpage><lpage>549</lpage><pub-id pub-id-type="doi">10.1016/j.tics.2012.09.008</pub-id><pub-id pub-id-type="pmid">23031541</pub-id></element-citation></ref><ref id="bib82"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Seeholzer</surname><given-names>A</given-names></name><name><surname>Deger</surname><given-names>M</given-names></name><name><surname>Gerstner</surname><given-names>W</given-names></name></person-group><year iso-8601-date="2019">2019</year><article-title>Stability of working memory in continuous attractor networks under the control of short-term plasticity</article-title><source>PLOS Computational Biology</source><volume>15</volume><elocation-id>e1006928</elocation-id><pub-id pub-id-type="doi">10.1371/journal.pcbi.1006928</pub-id><pub-id pub-id-type="pmid">31002672</pub-id></element-citation></ref><ref id="bib83"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Sergio</surname><given-names>LE</given-names></name><name><surname>Hamel-Pâquet</surname><given-names>C</given-names></name><name><surname>Kalaska</surname><given-names>JF</given-names></name></person-group><year iso-8601-date="2005">2005</year><article-title>Motor cortex neural correlates of output kinematics and kinetics during isometric-force and arm-reaching tasks</article-title><source>Journal of Neurophysiology</source><volume>94</volume><fpage>2353</fpage><lpage>2378</lpage><pub-id pub-id-type="doi">10.1152/jn.00989.2004</pub-id><pub-id pub-id-type="pmid">15888522</pub-id></element-citation></ref><ref id="bib84"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Seung</surname><given-names>HS</given-names></name><name><surname>Lee</surname><given-names>DD</given-names></name><name><surname>Reis</surname><given-names>BY</given-names></name><name><surname>Tank</surname><given-names>DW</given-names></name></person-group><year iso-8601-date="2000">2000</year><article-title>Stability of the memory of eye position in a recurrent network of conductance-based model neurons</article-title><source>Neuron</source><volume>26</volume><fpage>259</fpage><lpage>271</lpage><pub-id pub-id-type="doi">10.1016/s0896-6273(00)81155-1</pub-id><pub-id pub-id-type="pmid">10798409</pub-id></element-citation></ref><ref id="bib85"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Shenoy</surname><given-names>KV</given-names></name><name><surname>Sahani</surname><given-names>M</given-names></name><name><surname>Churchland</surname><given-names>MM</given-names></name></person-group><year iso-8601-date="2013">2013</year><article-title>Cortical control of arm movements: a dynamical systems perspective</article-title><source>Annual Review of Neuroscience</source><volume>36</volume><fpage>337</fpage><lpage>359</lpage><pub-id pub-id-type="doi">10.1146/annurev-neuro-062111-150509</pub-id><pub-id pub-id-type="pmid">23725001</pub-id></element-citation></ref><ref id="bib86"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Smith</surname><given-names>AM</given-names></name><name><surname>Hepp-Reymond</surname><given-names>MC</given-names></name><name><surname>Wyss</surname><given-names>UR</given-names></name></person-group><year iso-8601-date="1975">1975</year><article-title>Relation of activity in precentral cortical neurons to force and rate of force change during isometric contractions of finger muscles</article-title><source>Experimental Brain Research</source><volume>23</volume><fpage>315</fpage><lpage>332</lpage><pub-id pub-id-type="doi">10.1007/BF00239743</pub-id><pub-id pub-id-type="pmid">810360</pub-id></element-citation></ref><ref id="bib87"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Somers</surname><given-names>DC</given-names></name><name><surname>Nelson</surname><given-names>SB</given-names></name><name><surname>Sur</surname><given-names>M</given-names></name></person-group><year iso-8601-date="1995">1995</year><article-title>An emergent model of orientation selectivity in cat visual cortical simple cells</article-title><source>The Journal of Neuroscience</source><volume>15</volume><fpage>5448</fpage><lpage>5465</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.15-08-05448.1995</pub-id><pub-id pub-id-type="pmid">7643194</pub-id></element-citation></ref><ref id="bib88"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Stringer</surname><given-names>SM</given-names></name><name><surname>Trappenberg</surname><given-names>TP</given-names></name><name><surname>Rolls</surname><given-names>ET</given-names></name><name><surname>de Araujo</surname><given-names>IET</given-names></name></person-group><year iso-8601-date="2002">2002</year><article-title>Self-organizing continuous attractor networks and path integration: one-dimensional models of head direction cells</article-title><source>Network</source><volume>13</volume><fpage>217</fpage><lpage>242</lpage><pub-id pub-id-type="pmid">12061421</pub-id></element-citation></ref><ref id="bib89"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Sussillo</surname><given-names>D</given-names></name><name><surname>Churchland</surname><given-names>MM</given-names></name><name><surname>Kaufman</surname><given-names>MT</given-names></name><name><surname>Shenoy</surname><given-names>KV</given-names></name></person-group><year iso-8601-date="2015">2015</year><article-title>A neural network that finds a naturalistic solution for the production of muscle activity</article-title><source>Nature Neuroscience</source><volume>18</volume><fpage>1025</fpage><lpage>1033</lpage><pub-id pub-id-type="doi">10.1038/nn.4042</pub-id><pub-id pub-id-type="pmid">26075643</pub-id></element-citation></ref><ref id="bib90"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Taira</surname><given-names>M</given-names></name><name><surname>Boline</surname><given-names>J</given-names></name><name><surname>Smyrnis</surname><given-names>N</given-names></name><name><surname>Georgopoulos</surname><given-names>AP</given-names></name><name><surname>Ashe</surname><given-names>J</given-names></name></person-group><year iso-8601-date="1996">1996</year><article-title>On the relations between single cell activity in the motor cortex and the direction and magnitude of three-dimensional static isometric force</article-title><source>Experimental Brain Research</source><volume>109</volume><fpage>367</fpage><lpage>376</lpage><pub-id pub-id-type="doi">10.1007/BF00229620</pub-id><pub-id pub-id-type="pmid">8817266</pub-id></element-citation></ref><ref id="bib91"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Tanji</surname><given-names>J</given-names></name><name><surname>Evarts</surname><given-names>EV</given-names></name></person-group><year iso-8601-date="1976">1976</year><article-title>Anticipatory activity of motor cortex neurons in relation to direction of an intended movement</article-title><source>Journal of Neurophysiology</source><volume>39</volume><fpage>1062</fpage><lpage>1068</lpage><pub-id pub-id-type="doi">10.1152/jn.1976.39.5.1062</pub-id><pub-id pub-id-type="pmid">824409</pub-id></element-citation></ref><ref id="bib92"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Todorov</surname><given-names>E</given-names></name></person-group><year iso-8601-date="2000">2000</year><article-title>Direct cortical control of muscle activation in voluntary arm movements: a model</article-title><source>Nature Neuroscience</source><volume>3</volume><fpage>391</fpage><lpage>398</lpage><pub-id pub-id-type="doi">10.1038/73964</pub-id><pub-id pub-id-type="pmid">10725930</pub-id></element-citation></ref><ref id="bib93"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Todorov</surname><given-names>E</given-names></name></person-group><year iso-8601-date="2002">2002</year><article-title>Cosine tuning minimizes motor errors</article-title><source>Neural Computation</source><volume>14</volume><fpage>1233</fpage><lpage>1260</lpage><pub-id pub-id-type="doi">10.1162/089976602753712918</pub-id><pub-id pub-id-type="pmid">12020444</pub-id></element-citation></ref><ref id="bib94"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Tsodyks</surname><given-names>M</given-names></name><name><surname>Sejnowski</surname><given-names>T</given-names></name></person-group><year iso-8601-date="1995">1995</year><article-title>Associative memory and hippocampal place cells</article-title><source>International Journal of Neural Systems</source><volume>6</volume><fpage>81</fpage><lpage>86</lpage></element-citation></ref><ref id="bib95"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Tsodyks</surname><given-names>M</given-names></name></person-group><year iso-8601-date="1999">1999</year><article-title>Attractor neural network models of spatial maps in hippocampus</article-title><source>Hippocampus</source><volume>9</volume><fpage>481</fpage><lpage>489</lpage><pub-id pub-id-type="doi">10.1002/(SICI)1098-1063(1999)9:4&lt;481::AID-HIPO14&gt;3.0.CO;2-S</pub-id><pub-id pub-id-type="pmid">10495029</pub-id></element-citation></ref><ref id="bib96"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Vyas</surname><given-names>S</given-names></name><name><surname>Golub</surname><given-names>MD</given-names></name><name><surname>Sussillo</surname><given-names>D</given-names></name><name><surname>Shenoy</surname><given-names>KV</given-names></name></person-group><year iso-8601-date="2020">2020</year><article-title>Computation through neural population dynamics</article-title><source>Annual Review of Neuroscience</source><volume>43</volume><fpage>249</fpage><lpage>275</lpage><pub-id pub-id-type="doi">10.1146/annurev-neuro-092619-094115</pub-id><pub-id pub-id-type="pmid">32640928</pub-id></element-citation></ref><ref id="bib97"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Whishaw</surname><given-names>IQ</given-names></name><name><surname>Pellis</surname><given-names>SM</given-names></name><name><surname>Gorny</surname><given-names>B</given-names></name><name><surname>Kolb</surname><given-names>B</given-names></name><name><surname>Tetzlaff</surname><given-names>W</given-names></name></person-group><year iso-8601-date="1993">1993</year><article-title>Proximal and distal impairments in rat forelimb use in reaching follow unilateral pyramidal tract lesions</article-title><source>Behavioural Brain Research</source><volume>56</volume><fpage>59</fpage><lpage>76</lpage><pub-id pub-id-type="doi">10.1016/0166-4328(93)90022-i</pub-id><pub-id pub-id-type="pmid">7691077</pub-id></element-citation></ref><ref id="bib98"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Whishaw</surname><given-names>IQ</given-names></name></person-group><year iso-8601-date="2000">2000</year><article-title>Loss of the innate cortical engram for action patterns used in skilled reaching and the development of behavioral compensation following motor cortex lesions in the rat</article-title><source>Neuropharmacology</source><volume>39</volume><fpage>788</fpage><lpage>805</lpage><pub-id pub-id-type="doi">10.1016/s0028-3908(99)00259-2</pub-id><pub-id pub-id-type="pmid">10699445</pub-id></element-citation></ref><ref id="bib99"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Wise</surname><given-names>SP</given-names></name><name><surname>Moody</surname><given-names>SL</given-names></name><name><surname>Blomstrom</surname><given-names>KJ</given-names></name><name><surname>Mitz</surname><given-names>AR</given-names></name></person-group><year iso-8601-date="1998">1998</year><article-title>Changes in motor cortical activity during visuomotor adaptation</article-title><source>Experimental Brain Research</source><volume>121</volume><fpage>285</fpage><lpage>299</lpage><pub-id pub-id-type="doi">10.1007/s002210050462</pub-id><pub-id pub-id-type="pmid">9746135</pub-id></element-citation></ref><ref id="bib100"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Wurtz</surname><given-names>RH</given-names></name><name><surname>Goldberg</surname><given-names>ME</given-names></name></person-group><year iso-8601-date="1972">1972</year><article-title>Activity of superior colliculus in behaving monkey. 3. cells discharging before eye movements</article-title><source>Journal of Neurophysiology</source><volume>35</volume><fpage>575</fpage><lpage>586</lpage><pub-id pub-id-type="doi">10.1152/jn.1972.35.4.575</pub-id><pub-id pub-id-type="pmid">4624741</pub-id></element-citation></ref><ref id="bib101"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Zhang</surname><given-names>K</given-names></name></person-group><year iso-8601-date="1996">1996</year><article-title>Representation of spatial orientation by the intrinsic dynamics of the head-direction cell ensemble: a theory</article-title><source>The Journal of Neuroscience</source><volume>16</volume><fpage>2112</fpage><lpage>2126</lpage><pub-id pub-id-type="doi">10.1523/JNEUROSCI.16-06-02112.1996</pub-id><pub-id pub-id-type="pmid">8604055</pub-id></element-citation></ref><ref id="bib102"><element-citation publication-type="journal"><person-group person-group-type="author"><name><surname>Zimnik</surname><given-names>AJ</given-names></name><name><surname>Churchland</surname><given-names>MM</given-names></name></person-group><year iso-8601-date="2021">2021</year><article-title>Independent generation of sequence elements by motor cortex</article-title><source>Nature Neuroscience</source><volume>24</volume><fpage>412</fpage><lpage>424</lpage><pub-id pub-id-type="doi">10.1038/s41593-021-00798-5</pub-id><pub-id pub-id-type="pmid">33619403</pub-id></element-citation></ref></ref-list></back><sub-article article-type="editor-report" id="sa0"><front-stub><article-id pub-id-type="doi">10.7554/eLife.77690.sa0</article-id><title-group><article-title>Editor's evaluation</article-title></title-group><contrib-group><contrib contrib-type="author"><name><surname>Diedrichsen</surname><given-names>Jörn</given-names></name><role specific-use="editor">Reviewing Editor</role><aff><institution-wrap><institution-id institution-id-type="ror">https://ror.org/02grkyz14</institution-id><institution>Western University</institution></institution-wrap><country>Canada</country></aff></contrib></contrib-group><related-object id="sa0ro1" object-id-type="id" object-id="10.1101/2022.02.19.481140" link-type="continued-by" xlink:href="https://sciety.org/articles/activity/10.1101/2022.02.19.481140"/></front-stub><body><p>The study develops a recurrent network model of M1 for center-out reaches, starting from a conventional tuning (or representational) perspective. Through recurrent connectivity, the model shows uncorrelated tuning for movement direction during preparation and execution with the dynamic transition between the two states. The continuous attractor model provides an important example of flexible switching between neural representations and is supported by convincing simulations and analysis.</p></body></sub-article><sub-article article-type="decision-letter" id="sa1"><front-stub><article-id pub-id-type="doi">10.7554/eLife.77690.sa1</article-id><title-group><article-title>Decision letter</article-title></title-group><contrib-group content-type="section"><contrib contrib-type="editor"><name><surname>Diedrichsen</surname><given-names>Jörn</given-names></name><role>Reviewing Editor</role><aff><institution-wrap><institution-id institution-id-type="ror">https://ror.org/02grkyz14</institution-id><institution>Western University</institution></institution-wrap><country>Canada</country></aff></contrib></contrib-group><contrib-group><contrib contrib-type="reviewer"><name><surname>Hennequin</surname><given-names>Guillaume</given-names></name><role>Reviewer</role><aff><institution-wrap><institution-id institution-id-type="ror">https://ror.org/013meh722</institution-id><institution>University of Cambridge</institution></institution-wrap><country>United Kingdom</country></aff></contrib></contrib-group></front-stub><body><boxed-text id="sa2-box1"><p>Our editorial process produces two outputs: (i) <ext-link ext-link-type="uri" xlink:href="https://sciety.org/articles/activity/10.1101/2022.02.19.481140">public reviews</ext-link> designed to be posted alongside <ext-link ext-link-type="uri" xlink:href="https://www.biorxiv.org/content/10.1101/2022.02.19.481140v1">the preprint</ext-link> for the benefit of readers; (ii) feedback on the manuscript for the authors, including requests for revisions, shown below. We also include an acceptance summary that explains what the editors found interesting or important about the work.</p></boxed-text><p><bold>Decision letter after peer review:</bold></p><p>Thank you for submitting your article &quot;Interplay between external inputs and recurrent dynamics during movement preparation and execution in a network model of motor cortex&quot; for consideration by <italic>eLife</italic>. Your article has been reviewed by 3 peer reviewers, and the evaluation has been overseen by a Reviewing Editor and Ronald Calabrese as the Senior Editor. The following individual involved in the review of your submission has agreed to reveal their identity: Guillaume Hennequin (Reviewer #1).</p><p>The reviewers have discussed their reviews with one another, and the Reviewing Editor has drafted this to help you prepare a revised submission.</p><p>Essential revisions:</p><p>You will find the extensive comments from the reviewers attached to this decision. When you submit your revision, please provide a response to each of these in turn. The most important 3 areas that require your special attention are:</p><p>a) Please justify the choice of the hyperparameters (especially \α) in the model and/or explore the sensitivity of the conclusion to that parameter. (i.e see reviewer 2, comment 5)</p><p>b) The &quot;representational&quot; approach taken in this paper should be more clearly contrasted with the current &quot;dynamical&quot; approach – more importantly, however, a fuller evaluation of the model prediction on neural data is required (see reviewer 3).</p><p>c) Overall, the clarity of the paper should be improved – the extensive comments below should hopefully provide some indication of where changes are needed.</p><p><italic>Reviewer #1 (Recommendations for the authors):</italic></p><p>I am sorry to have to say that the writing was really difficult to follow. Some members of my group read the paper on biorxiv and gave up halfway through. For me, it was very difficult to follow in the first pass, a bit better in the second pass, and it only &quot;clicked&quot; in the third pass. In general, there is not enough high-level narrative/heads up about where the story is headed. The order in which things are presented appears a bit odd at times. Much of this could be fixed by asking naive friends to lend a critical eye on clarity?</p><p>Perhaps the worst section for me was the one on &quot;Time-dependent activity profiles&quot;; on first reading, it was hard to know where the authors are going with this reduction of recurrent inputs to effective local input&quot;; why do we need this? In Eq 6, it becomes hard to know which variables are parameters of the model which the authors control/fit to data, and which ones result from the dynamics of the model. Accordingly, it would be nice to include a recap of the parameters that are optimized in the paragraph starting &quot;the value of the parameters that best fit the data […]&quot; in the next section. Overall this section and the next need streamlining to give a better account of the big picture; and don't you want to start by explaining that the joint density of (thetaA, thetaB, etaA, etaB) is extracted from the data according to Eqs 7, 8 + kernel density estimation? It somehow takes forever to get there.</p></body></sub-article><sub-article article-type="reply" id="sa2"><front-stub><article-id pub-id-type="doi">10.7554/eLife.77690.sa2</article-id><title-group><article-title>Author response</article-title></title-group></front-stub><body><disp-quote content-type="editor-comment"><p>Essential revisions:</p><p>You will find the extensive comments from the reviewers attached to this decision. When you submit your revision, please provide a response to each of these in turn. The most important 3 areas that require your special attention are:</p><p>a) Please justify the choice of the hyperparameters (especially \α) in the model and/or explore the sensitivity of the conclusion to that parameter. (i.e see reviewer 2, comment 5)</p><p>b) The &quot;representational&quot; approach taken in this paper should be more clearly contrasted with the current &quot;dynamical&quot; approach – more importantly, however, a fuller evaluation of the model prediction on neural data is required (see reviewer 3).</p><p>c) Overall, the clarity of the paper should be improved – the extensive comments below should hopefully provide some indication of where changes are needed.</p></disp-quote><p>We thank the editor and reviewers for providing constructive feedback. We have revised the manuscript following the reviewers’ suggestions. We substantially rewrote the main sections of the paper and added new plots, mainly to address:</p><p>a) The degeneracy of solutions and the choice of the hyperparameter α. Instead of focusing on one solution for a particular value of α, we now thoroughly discuss how different solutions depend on the choice of the model parameters/hyperparameters. We have added new supplementary figures (Figure 4—figure supplement 1 and Figure 4—figure supplement 2) to support our discussion and rewrote the Abstract, Introduction and Discussion accordingly.</p><p>b) The comparisons between neuronal activity in the model and in the data. We included three new analyses shown in Figure 5. At the population level, a canonical correlation analysis identifies patterns of activity between simulations and recordings that strongly correlate (Figure 5a); At the output level, a linear redout of neural activity produces patterns of muscle activity that match the ones from recordings (Figure 5.b); At the level of single neurons, a side-by-side comparison between the time course of neuronal activity in the model and in the data shows a good qualitative agreement (Figure 5.c). Finally, we have included a new section in the Discussion, “A dynamical system approach based on tuning to movement direction” to clarify how our work relates to &quot;representational&quot; vs &quot;dynamical&quot; approaches.</p><p>To improve clarity, we have significantly rewritten a large part of the paper.</p><disp-quote content-type="editor-comment"><p>Reviewer #1 (Recommendations for the authors):</p><p>I am sorry to have to say that the writing was really difficult to follow. Some members of my group read the paper on biorxiv and gave up halfway through. For me, it was very difficult to follow in the first pass, a bit better in the second pass, and it only &quot;clicked&quot; in the third pass. In general, there is not enough high-level narrative/heads up about where the story is headed. The order in which things are presented appears a bit odd at times. Much of this could be fixed by asking naive friends to lend a critical eye on clarity?</p><p>Perhaps the worst section for me was the one on &quot;Time-dependent activity profiles&quot;; on first reading, it was hard to know where the authors are going with this reduction of recurrent inputs to effective local input&quot;; why do we need this? In Eq 6, it becomes hard to know which variables are parameters of the model which the authors control/fit to data, and which ones result from the dynamics of the model. Accordingly, it would be nice to include a recap of the parameters that are optimized in the paragraph starting &quot;the value of the parameters that best fit the data […]&quot; in the next section. Overall this section and the next need streamlining to give a better account of the big picture; and don't you want to start by explaining that the joint density of (thetaA, thetaB, etaA, etaB) is extracted from the data according to Eqs 7, 8 + kernel density estimation? It somehow takes forever to get there.</p></disp-quote><p>Thank you for this feedback. We rewrote most of the paper to better explain the high-level narrative, and followed your suggestions for ‘Time-dependent activity profiles’.</p></body></sub-article></article>