Full text
122,016 characters
· extracted from
preprint-html
· click to expand
A Generalist Intracortical Motor Decoder | bioRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-M677548'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search New Results A Generalist Intracortical Motor Decoder View ORCID Profile Joel Ye , Fabio Rizzoglio , Adam Smoulder , Hongwei Mao , View ORCID Profile Xuan Ma , Patrick Marino , Raeed Chowdhury , View ORCID Profile Dalton Moore , Gary Blumenthal , William Hockeimer , Nicolas G. Kunigk , J. Patrick Mayo , Aaron Batista , Steven Chase , View ORCID Profile Adam Rouse , Michael L. Boninger , View ORCID Profile Charles Greenspon , Andrew B. Schwartz , Nicholas G. Hatsopoulos , Lee E. Miller , Kristofer E. Bouchard , View ORCID Profile Jennifer L. Collinger , View ORCID Profile Leila Wehbe , View ORCID Profile Robert Gaunt doi: https://doi.org/10.1101/2025.02.02.634313 Joel Ye 1 Carnegie Mellon University Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Joel Ye For correspondence: joelye9{at}gmail.com rag53{at}pitt.edu Fabio Rizzoglio 2 Northwestern University Find this author on Google Scholar Find this author on PubMed Search for this author on this site Adam Smoulder 1 Carnegie Mellon University Find this author on Google Scholar Find this author on PubMed Search for this author on this site Hongwei Mao 3 University of Pittsburgh Find this author on Google Scholar Find this author on PubMed Search for this author on this site Xuan Ma 2 Northwestern University Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Xuan Ma Patrick Marino 3 University of Pittsburgh Find this author on Google Scholar Find this author on PubMed Search for this author on this site Raeed Chowdhury 3 University of Pittsburgh Find this author on Google Scholar Find this author on PubMed Search for this author on this site Dalton Moore 4 University of Kansas Medical Center Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Dalton Moore Gary Blumenthal 3 University of Pittsburgh Find this author on Google Scholar Find this author on PubMed Search for this author on this site William Hockeimer 3 University of Pittsburgh Find this author on Google Scholar Find this author on PubMed Search for this author on this site Nicolas G. Kunigk 3 University of Pittsburgh Find this author on Google Scholar Find this author on PubMed Search for this author on this site J. Patrick Mayo 3 University of Pittsburgh Find this author on Google Scholar Find this author on PubMed Search for this author on this site Aaron Batista 3 University of Pittsburgh Find this author on Google Scholar Find this author on PubMed Search for this author on this site Steven Chase 1 Carnegie Mellon University Find this author on Google Scholar Find this author on PubMed Search for this author on this site Adam Rouse 5 University of Chicago Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Adam Rouse Michael L. Boninger 3 University of Pittsburgh Find this author on Google Scholar Find this author on PubMed Search for this author on this site Charles Greenspon 4 University of Kansas Medical Center Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Charles Greenspon Andrew B. Schwartz 3 University of Pittsburgh Find this author on Google Scholar Find this author on PubMed Search for this author on this site Nicholas G. Hatsopoulos 5 University of Chicago Find this author on Google Scholar Find this author on PubMed Search for this author on this site Lee E. Miller 2 Northwestern University Find this author on Google Scholar Find this author on PubMed Search for this author on this site Kristofer E. Bouchard 6 Lawrence Berkeley National Laboratory Find this author on Google Scholar Find this author on PubMed Search for this author on this site Jennifer L. Collinger 3 University of Pittsburgh Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Jennifer L. Collinger Leila Wehbe 1 Carnegie Mellon University Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Leila Wehbe Robert Gaunt 3 University of Pittsburgh Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Robert Gaunt For correspondence: joelye9{at}gmail.com rag53{at}pitt.edu Abstract Full Text Info/History Metrics Preview PDF Abstract Mapping the relationship between neural activity and motor behavior is a central aim of sensori-motor neuroscience and neurotechnology. While most progress to this end has relied on restricting complexity, the advent of foundation models instead proposes integrating a breadth of data as an alternate avenue for broadly advancing downstream modeling. We quantify this premise for motor decoding from intracortical microelectrode data, pretraining an autoregressive Transformer on 2000 hours of neural population spiking activity paired with diverse motor covariates from over 30 monkeys and humans. The resulting model is broadly useful, benefiting decoding on 8 downstream decoding tasks and generalizing to a variety of neural distribution shifts. However, we also highlight that scaling autoregressive Transformers seems unlikely to resolve limitations stemming from sensor variability and output stereotypy in neural datasets. Code: https://github.com/joel99/ndt3 1. Introduction Intracortical neural data collection is growing rapidly. This growth comprises not only larger individual datasets with more neurons and higher behavioral complexity ( Urai et al., 2022 ; Stevenson, 2023 ), but also an increase in the collective number of datasets. This wealth of data presents an opportunity to develop insights and applications that span multiple datasets at once, provided we can reconcile their inherent diversity. Large deep networks appear very suitable for this task, so much so that the generic creation of deep networks operating on broad domain data has been termed foundation modeling ( Bommasani et al., 2022 ). Efforts to create foundation models are now proliferating beyond their origins in natural language processing (NLP) and computer vision (CV) into many domains of engineering and science ( Wang et al., 2023c ). Here, we study foundation modeling for motor decoding from intracortical spiking activity. Motor decoding is a valuable domain for characterizing neural data foundation models. Academic and industrial efforts to create iBCIs for neuroprosthetics provide a path for scaling data collection from hundreds to thousands of subject-hours, and also fuel a need for pretrained models that generalize quickly and perform robustly for new users and settings. Behavior prediction metrics for BCI performance are also more intuitive for benchmarking progress than neural data prediction or the abstract goal of providing scientific insight (e.g. with latent variable models or in silico models) ( Pei et al., 2021 ; Wang et al., 2023b ). Finally, recent work has shown that deep networks are able to transfer learn across motor cortical datasets collected at different timepoints, subjects, or tasks ( Azabou et al., 2024 ; Ye et al., 2023 ; Schneider et al., 2023 ). These ingredients provide the motivation and means for scaling neural data modeling. However, scaling may be constrained by the design and heterogeneity of neural datasets. Many neural datasets, by design, restrict behavioral complexity to probe specific hypotheses. These restrictions impoverish both behavior and observed neural data ( Gao and Ganguli, 2015 ), providing narrow windows through which to understand the general relationship between neural activity and behavior. Beyond these limits of individual datasets, each neural dataset inherently contains unique variability distinguishing them from others. This is most salient when comparing across pretraining datasets, where different neurons are recorded in each subject and distinct output dimensions are required for each effector. To illustrate why these factors together challenge scaling, consider a 2-neuron toy setting, where both neurons fire noisily. One neuron fires on leftward motion and the other fires on rightward motion. No amount of scaling on other datasets could reduce the data needed from this setting to determine which each neuron’s preferred direction, but neither is the problem trivial due to stochastic firing. We combined simple tokenization strategies and a standard autoregressive Transformer to enable pretraining over diverse data and fine-tuning to new tasks without any task-specific parameters ( Fig. 1A ). We pretrained this model, which we call Neural Data Transformer 3 (NDT3), using up to 2000 hours of neural and behavioral data from motor neuroscience experiments with monkeys and clinical intracortical BCI (iBCI) trials with humans. We then evaluated NDT3’s decoding performance on eight motor datasets ( Section 3.1 ), finding that tuning NDT3 yields models that either improve over task-specific models trained from scratch when task data is under 1.5 hours, and match them beyond this limit ( Fig. 1B ). Further, these gains persist under a number of distribution shifts ( Section 3.3 ). These benefits may both enable more complex experimental design and decrease the burden of decoder training for people using iBCIs. We also find, however, several challenges in scaling over neural data. Scaling pretraining data to 2K hours required raising model capacity to 350M parameters to mitigate performance saturation, and some tasks accrue no benefits from scale. To guide future foundation modeling efforts, we identify specifically that fine-tuned NDT3 models generalize poorly beyond the specific inputs and outputs seen in fine-tuning ( Section 3.2 ). Download figure Open in new tab Figure 1. A. NDT3 is a deep network for decoding intracortical spiking activity into low-dimensional time series for various motor effectors 1 . B . We aggregate decoding performance on downstream tasks with variable amounts of data (from Fig. 11 ). Pretrained NDT3 models reliably outperform from-scratch models and linear baselines, up to 1.5 hrs of downstream data. 2. Approach 2.1 Data NDT3 models datasets of paired neural spiking activity and behavior ( Fig. 2 ). Given our focus on motor decoding, most of the data comes from devices implanted in motor cortex of various monkeys and humans ( Fig. 2A ). These devices are intracortical multielectrode arrays or probes that record 30 kHz extracellular potentials. After bandpass-filtering, spikes are extracted from these potentials when they exceed preset thresholds determined by the researcher. The resulting neural data in our pretraining are diverse ( Fig. 2B top). Data can have markedly different profiles across electrodes due to physical separation (being on different electrode arrays in the same subject (left), and the interaction of recording noise and threshold preprocessing can yield either many inactive channels (middle) or high and noisy firing (right). Download figure Open in new tab Figure 2. NDT3 Data and Model Design: A. NDT3 models paired neural spiking activity and behavioral covariate timeseries. We plot the distribution of 2000 hours of pretraining data by subjects (top) and covariate dimensionality (bottom). B . Examples of the neural and behavioral data for each of the three types of behavioral covariates in pretraining: kinematics, EMG (electromyography), or forces. Not all modeled dimensions in data are meaningfully task-related (right, grey behavior). C . Neural spiking activity is tokenized in time by binning the number of spikes every 20 ms, and in “space” using patches of channels (usually 32), as in NDT2 ( Ye et al., 2023 ). Behavior is low-dimensional in our data, so we use 1 token per behavior dimension, also per 20 ms timestep. NDT3 also pretrains on data from BCI control, which we annotate with two additional tokens. The phase token indicates whether the user is controlling or observing the behavior and the reward token indicates if the BCI task was completed. D . NDT3 models tokens in a single flat stream with linear readins and readouts. Every real-world timestep (shown by the blue cutout) yields several tokens, which we order to allow causal decoding at inference-time. At inference, we omit return and phase tokens and zero-mask behavior tokens. The typical behaviors in the pretraining data are reaching and grasping, nearly all from experimental paradigms that consist of short, repeated trials. While neural data were always recorded from microelectrodes, motor covariate signals came from various sensors. In monkey datasets, these sensors measure actual limb activity (e.g., Fig. 2B , left: limb kinematics from optical tracking, middle: electromyography (EMG)). In human datasets, physical movements are typically not possible, so the behavioral signals are programmatically generated. These signals are “paired” with the neural data in that they are cued or otherwise instructed to the person, who will attempt or imagine the corresponding behavior, such as grasping at a specified force level ( Fig. 2B right). This force panel also shows that in pretraining, we cannot always automatically discern the primary task covariates (e.g., blue line, force, in the panel) from other recorded behavioral variables (grey). Thus, some behavior variables may be unpredictable. Finally, we include closed loop iBCI data, where some behavior is generated by an iBCI decoder (not NDT3, see modeling strategy in Section 2.2 ). We detail the data used for pretraining NDT3 in Section C.4 . We minimize preprocessing of these data to maximize the applicability of our generalist model. Kinematic signals are typically converted to velocities, and all behavior (kinematics, EMG, force) is normalized per dataset such that the maximum absolute value of each variable is one. Data are cut or concatenated into fixed length sequences, without additional annotation of data discontinuity. This strategy, common in language modeling ( Geiping and Goldstein, 2022 ), homogenizes the data for improved GPU utilization while maintaining throughput of real data. We used a length of two seconds as it is roughly the timescale of the behavior in our data ( Fig. 2A ). Sequences with no spikes or covariate variability are discarded. In total, this yielded about 3 million sequences, 1 billion neural tokens, or 1750 hours of recorded data. We round this to 2 khrs in text for simplicity. 2.2 Model NDT3 is an autoregressive Transformer with linear readin and readout layers per modality, similar to GATO or TDMs ( Reed et al., 2022 ; Schubert et al., 2023 ; Chameleon, 2024 ). This requires data tokenization ( Fig. 2C ). We tokenize neural data by patching spike counts ( Ye et al., 2023 ); each token is a vector of the binned spikes at a fixed temporal resolution (20 ms) and spatial dimension (32 channels). For example, spikes sampled from an electrode array with 100 channels would patch into 4 = ⌈100 / 32⌉ 32D neural tokens per 20 ms timestep. As the behavioral variables are already low-dimensional, we simply assign 1 token per dimension at the same temporal resolution as neural data. Finally, we add tokens marking whether the behavior are generated by a BCI system or by physical limb movement. While measured kinematics, EMG, or force will reflect a natural relationship with neural activity, behavioral data from BCI tasks are controlled by a program or learned decoder. We frame BCI-driven behavior as suboptimal control ( Merel et al., 2016 ) and adopt a scheme from Decision Transformers ( Chen et al., 2021 ; Lee et al., 2022 ). In this scheme, we use a Phase token to denote timesteps where behavior is driven by neural activity (i.e. native body movement or BCI control) versus programmatic, open loop control. We also use a Return token reflecting controller quality based on future task completion. Note that these signals are only considered for pretraining, and are ablated entirely from the model at evaluation. Similarly, input behavior tokens are masked out in inference, so that the model input only indicates how many behavioral dimensions must be predicted. NDT3 is trained with mean-squared error for prediction of behavioral variables, and categorical cross-entropy losses for prediction of neural spike count and return. All modalities are flattened into a single token stream, with the multiple tokens in each real-world timestep sorted to respect a canonical, causal order required for control ( Fig. 2D ). We use rotary embeddings ( Su et al., 2023 ) to track real-world timesteps, and learned, modality-specific position embeddings to distinguish tokens within a timestep. Note that NDT3’s autoregressive objective will condition some tokens on other tokens from the same real-world timestep. Pretraining and Fine-Tuning We pretrain NDT3 models over many scales of pretraining data (1.5 hrs to 2 khrs) and in sizes of 45M and 350M parameters to assess the impact of data and model scaling. Pretraining is stopped early according to validation loss or terminated at a maximum of 400 epochs. The 200 hour, 45M model trains for 480 A100-hours while the 2000 hour (2 khr) 350M model takes 20K A100-hours. Fine-tuning maintains the pretraining objectives and updates all parameters. 2.3 Evaluation Strategy Evaluation datasets and tuning Our main evaluation ( Section 3.1 ) uses four human and four monkey datasets sampling varied upper limb movements, which we detail in Section C.4 . All monkeys are held-out of pretraining, and all humans are held-out of < 2 khr models. That is, our evaluation tests scaling of cross-subject generalization , as it is the most general use case for BCI-oriented foundation models. Each dataset contains multiple sessions of data, typically from a single monkey or human. We will refer to each such setting as a “task,” distinguished from the behavioral procedure performed in each dataset. Each session has unique variability, so one fine-tuning strategy, used in prior work ( Azabou et al., 2024 ; Ye et al., 2023 ; Zhang et al., 2024 ), is to focus evaluations by tuning separate models for each evaluation session. We instead fine-tune NDT3 jointly over data combined from multiple evaluation sessions, which helps manage compute and storage demands, and better reflects that real-world deep network based BCIs typically jointly tune over multiple sessions. Fig. 12 confirms such joint tuning outperforms per-session tuning for multi-session data. Baselines To contextualize NDT3 performance, we compare against Wiener filters (WF) and NDT2 ( Ye et al., 2023 ). WFs are a conventional linear method for motor decoding and control in iBCI devices ( Pandarinath and Bensmaia, 2022 ), and we implement them as ridge regression with multi-timestep history. NDT2 is a Transformer that uses MAE-style ( He et al., 2021 ) self-supervision to learn across multiple neural datasets. NDT2 currently leads on FAL-CON ( Karpowicz et al., 2024 ), a BCI decoding benchmark that notably includes RNN baselines; we thus omit RNNs in our evaluation. We compare to NDT2 in two settings, either prepared from scratch on each evaluation dataset (as in FALCON), or tuned from the pretrained weights released in the NDT2 codebase, which was pretrained on 100 hours of human data. We are also aware of two other proposals for scaled Transformers on spiking activity, POYO ( Azabou et al., 2024 ) and NDT-MTM ( Zhang et al., 2024 ). We omit full comparisons with these models, as our reproduction of POYO underperforms NDT3 on FALCON when both models are trained from scratch, and NDT-MTM is qualitatively similar to NDT (see Section C.3 ). Downstream Hyperparameters We tune all deep networks (NDT2 and NDT3) over 3 learning rates. This hyperparameter sweep is limited for computational tractability. Importantly, the same sweep is used for all tasks; we list it and show its sufficiency relative to wider sweeps in Section C.2 . The best learning rate is chosen based on the average validation score over three random seeds, and we report the average score on a separate test split. 3. Results NDT3’s pretraining effort advances prior intracortical models by an order of magnitude in data and model scale, from 200 to 2000 hours and 10M to 100M+ parameters. In Section 3.1 , we show the increased data scale does not improve aggregate downstream performance unless we also increase model scale. While the resulting model is highly performant, we propose that high variability across intracortical motor datasets will challenge further scaling. In Section 3.2 , we show how this variability appears in NDT3’s sensitivity to shifts in data input dimensions. There we also show how scaling does not improve generalization to new behaviors in datasets with stereotyped behaviors. Section 3.3 concludes by showing that despite this challenge for further data scaling, NDT3’s pretraining gains already generalize to various novel settings, establishing NDT3 as a useful foundation for motor decoding. 3.1 Multi-scale evaluation across motor decoding tasks To set expectations for how data scale and model size will impact model performance, we first examine pretraining curves computed on a test split. This test split contains data from multiple sessions of 2D reaching behavior mainly from one monkey. Models can learn this test task in pretraining because they are given 1.5 hours of data separately sampled from these sessions. Fig. 3A compares the test performance of a model using just this 1.5 hours of calibration data with those of two 200 hour models. The “Other datasets” 200 hour model used data from 10 other monkeys but did not improve over the minimal 1.5 hour model on the test data. In contrast, using 200 hours from the test monkey (from a separate set of experiments with similar behavior) achieved a small improvement in performance. Thus, only closely related data appear to benefit a model that already uses sufficient task-specific data, in this case 1.5 hours. Fig. 3B further shows that scaling to 2 khrs can actually degrade test performance, suggesting dissimilar pretraining data can interfere with learning of the test task. This interference is mitigated by increasing model size to 350M parameters, consistent with prior recommendations to scale model size and dataset size in tandem ( Dosovitskiy et al., 2021 ; Kolesnikov et al., 2020 ; Aghajanyan et al., 2023 ). However, the test task does not improve beyond what is achieved by providing 200 hours from the test monkey. Download figure Open in new tab Figure 3. Evaluation on diverse motor tasks: A single legend and color scheme is used throughout. A. Test-split pretraining R 2 compared for 3 models. All model pretraining data includes 1.5 hours of calibration data for the test dataset. We compare a model with just this data (Test dataset only) vs using 200 hours of additional data either from the test monkey or from over 10 other monkeys. Only the additional test monkey data improves over the calibration model. Models terminate at different points due to early stopping. B . Pretraining R 2 for models with up to 2000 hours (2 khr) of pretraining data. The 2 khr model degrades in performance vs the 200 hr model at 45M parameters and merely maintains performance at 350M parameters. C . Examples of good and bad data-scaling in downstream multiscale evaluation on two datasets. The bottom right text shows time in each evaluation session and total time in each dataset. The x-axis scales this full dataset down by random subsampling. Shading shows standard deviation on 3 tuning seeds. Increasing pretraining data yields performance gains at all downstream scales in the 4D task, but effects are unclear in the self-paced reach task. ▾ indicate outliers clipped for clarity. D . Downstream performance averaged for 31 settings comprised of different downstream datasets and scales, for different NDT3s and baselines. 45M NDT3s improve with data from 1.5 hrs to 200 hrs but saturate at 2 khrs. Increasing model size to 350M parameters enables further gain. E . p-values computed from FDR-corrected pairwise t-tests for each pair of models. The 350M 2 khr NDT3 significantly outperforms other pretrained NDT3s, except the 350M 200 hr NDT3, and is the only model to do so. NDT2s omitted for brevity, see Fig. 13 . F . Per-task performance, normalized by the 350M 200 hr NDT3 performance, is shown against task time for different NDT3 models. Each vertical band shows models trained on the same evaluation setting, e.g. dashed lines show the evaluations from the self-paced reaching dataset. Model variability vanishes by 1.5 hours. This upstream saturation suggests pretraining benefits might vary greatly depending on the data available in the target setting, which motivated downstream evaluation at multiple data scales. Fig. 3C shows this evaluation for two tasks. These two datasets are from a human performing open loop iBCI calibration for bimanual cursor use ( Deo et al., 2024 ), and a monkey performing self-paced reach to random targets ( O’Doherty et al., 2017 ). In both cases, the individuals are held-out from pretraining entirely, so the task-specific data are only seen in tuning. In the bimanual task, NDT3 performance improves with increased pretraining data at all downstream data scales. Encouragingly, and distinct from the saturation seen in pretraining, joint scaling of data and model size to 2 khr and 350M parameters improves performance in the bimanual task. The self-paced reach dataset shows a much less clear result. For example, the from-scratch NDT3 is competitive at all data scales. These tasks show just two of several different trends on the eight evaluation datasets we study. We defer discussion of individual tasks and their variability to Section B.5 , and next consider summary performance. Tuning over 2000 models in 31 evaluation settings, we find pretraining scale provides overall benefits ( Fig. 3D ). To begin, from-scratch NDT3 outperforms the WF and NDT2, whether pretrained or not. We discuss NDT2’s poor performance in Section B.7 . This from-scratch NDT3 performance can be improved with minimal pretraining (1.5 hrs), consistent with findings in computer vision ( Entezari et al., 2023 ), and continues improving up to 200 hours of pretraining data. Further scaling to 2000 hours is also helpful, but only when paired with increased model size to 350M parameters, as in upstream evaluation. The gain of the 350M 2 khr model over other models is statistically significant for all except the 350M 200 hr model ( Fig. 3E ). Other pairs of pretrained NDT3s are not significantly different. While scaling shows an overall positive trend, benefits vary greatly across downstream settings. While comparing benefits by experimental task is challenging, many domains report that pretraining is most beneficial at low downstream data scales. We confirm this in our setting by plotting normalized task performance against downstream scale in Fig. 3F . As in unnormalized performance ( Fig. 1B ) and pretraining results ( Fig. 3B ), the distinction between pretrained models and from-scratch models vanishes by 1.5 hours, or 0.5-5K data points. That the benefits of pretraining vanish when downstream data exceeds 5K data points implies that NDT3’s pretraining is relatively weak by CV or NLP standards ( Kolesnikov et al., 2020 ; Wang et al., 2019 ), and in practical terms can be exceeded after a few sessions of data collection. Importantly, since scaling downstream data past 1.5 hours still reliably improves performance, we cannot attribute the saturation of pretraining to insufficient signal in each dataset’s neural activity. 3.2 Generalization of fine-tuned NDT3 fails under sensor variability and output stereotypy Section 3.1 showed that pretraining gains saturate at data scales that, while larger than previously considered in neural data foundation models, are practically low. This limit may reflect intrinsic variability across neural datasets, with a long tail of specialized features that are needed for the best performance in each dataset. Alternatively, our modeling decisions, like architecture, pretraining hyperparameters, or a lack of post-training, may be to blame. To help dissociate these factors, we next analyze NDT3’s sensitivity to the specific neural inputs and covariate outputs seen in tuning. Input order sensitivity limits cross-subject transfer In neural data, transfer learning is greatly reduced when using cross-subject data compared to cross-session data ( Ye et al., 2023 ). This suggests limited scaling may be caused in part by the vanishing utility of cross-subject data, even when the data are collected in identical experimental setups and thus controlled for other variables. We can illustrate this by comparing cross-session and cross-subject transfer after large-scale pretraining. On a monkey 2D reaching dataset ( O’Doherty et al., 2017 ) in Fig. 4A , we tune NDT3 with calibration data from one test session and additional cross-session or cross-subject data. As in Section 3.1 , crosssession data is still highly beneficial even after pretraining, but cross-subject data is only helpful for from-scratch models. Pretrained models in the cross-subject setting instead begin and plateau at a performance that is just slightly better than the best cross-subject performance in from-scratch models. These results suggest that NDT3’s pretraining has already learned the features that cross-subject transfer provides in this task, supporting the idea that scaling is limited by a low (task-dependent) ceiling on cross-subject transfer. Download figure Open in new tab Figure 4. NDT3 fails in certain novel input and output configurations. A: Cross-session transfer persists after pretraining, but cross-subject does not. We test NDT3 on one evaluation session from a monkey self-paced reaching dataset. Training uses 1 minute from the evaluation session and additional data from other sessions (Cross-Session) with the same monkey or from sessions from a different monkey for the same behavior (Cross-Subject). Train/Test bars at bottom show how inputs are arranged in each setting. Single bars correspond to different data channels or dimensions, with color marking a constant physical electrode source. Squares show how channels are grouped into tokens. B: Shuffling inputs ablates cross-session data to resemble cross-subject transfer . uses the same cross-session neural data but permutes input dimensions (recording channels). Shuffle channel randomly permutes inputs, half-token shift rolls channels so that each channel i uses data from i + 16, and shuffle token permutes data patchwise, keeping channels from the same patch together. Channel shuffling and half-token shifts both are sufficient to reduce cross-session transfer to the same level as cross-subject transfer. All panels show the baseline performance achieved by the model with just 1 minute of test-session data, x-axis shows additional cross-context data provided. C . We study angular extrapolation in an isometric monkey dataset where exerted forces are mapped to cursor positions in 8 different angles. We use three held-in and five held-out angles. Behavior is cleanly separated across conditions. The neural data for each condition can also be visualized separably by projecting them to 2D plane computed by combining PCA and LDA. D . Predictions derived either by fitting a Wiener Filter to the projected neural data (Linear, PCA-lDA), or from NDT3 (Scratch, 350M 2khr). While the linear model generalizes to held-out angles, NDT3 predictions are restricted to held-in ranges. E . Pretraining quantifiably improves over from-scratch in all conditions, but far underperforms the generalization of PCA-LDA. This low transfer stems from cross-dataset variability, but may be exacerbated by NDT3’s design and inductive bias. To dissect NDT3’s sensitivities, we observe that since cross-subject data contain different neurons, cross-subject transfer must at least accommodate changes in the physical electrode correspondence of each data dimension, a problem which we term “sensor variability.” We can isolate how effectively NDT3 resolves sensor variability by transferring with cross-session data while permuting the test-session’s neural dimensions. The Channel Shuffle panel in Fig. 4B shows that input permutation cripples the ability of NDT3, whether pretrained or not, to learn from cross-session data in tuning. To probe this more precisely, we next apply structured ablations of input order, as in Neyshabur et al. (2020) . We find that even the small alteration of a half-token shift in channel order is sufficient to reproduce the effect of full shuffling ( Fig. 4B center). This shows NDT3’s cross-session transfer depends greatly on the specific token dimension semantics, and may drive the observed limits in scaling. Finally, we consider a shuffle that only alters the test session’s neural token order with respect to cross-session data, hypothesizing Transformers can more easily correct token ordering alterations. Indeed, pretrained and from-scratch models recover some gains when cross-session data is only token-shuffled ( Fig. 4B right). These sensor variability manipulations provide a failure mode to overcome, in that NDT tuning performance is currently sensitive to its tokenization strategy. Note that to control for potential confounds from tuning over heterogeneous data, we evaluated both sequential and joint tuning strategies in these experiments and reported the better approach in each panel (full results in Section B.6 ). Pretraining does not enable angular extrapolation The increased data efficiency of pretrained models suggests that NDT3 could decode a new subject’s behavior without sampling the full range of neural and behavioral data. For simple behaviors, this expectation provides a validation of whether pretraining has succeeded at all. Center-out reaching, a task which requires the subject to move their arm in stereo-typed ballistic reaches, provides this simple litmus test as its underlying neural activity can be visualized in a planar subspace ( Churchland et al., 2012 ). This visualization doubles as an explicit prior for decoders aiming to generalize to held-out angles. We expect that NDT3’s pretraining could learn this prior, enabling generalization to reach directions yet unseen in a new subject. Note that non-pretrained deep networks fail at such held-out angle generalization ( Rizzoglio et al., 2022 ). To evaluate this hypothesis, we analyze a single session of an isometric monkey center-out dataset, where the monkey exerts forces in one of eight angles and its force level is mapped to cursor position ( Fig. 4C ). We separate this data into 3 held-in and 5 held-out angles, as shown in Fig. 4D . We can visualize the corresponding separability of the neural data by first applying principal components analysis (PCA) and then linear discriminant analysis (LDA, see Section B.1 for methods). These held-out neural data are still organized radially, by reach angle ( Fig. 4D bottom right). This reduced view of the neural data implies that a linear decoder can be built that generalizes to held-out angles. Indeed, a Wiener Filter on this 2D neural data predicts behaviors that, while generally low in quality, are coarsely aligned with the correct reach angle ( Fig. 4E ). In contrast, NDT3 from scratch predictions for held-out angles are constrained to their nearest held-in angles. Pretraining provides mild improvements for the interpolated angles at ± 45°, but largely replicates the failure to predict extrapolated angles. We quantify accuracy in Fig. 4F , showing that while pretrained NDT3 improves over from-scratch NDT3 overall, both models exploit attractor-like dynamics, and thus far underperform the simple prior we built to generalize to held-out angles. This solution can be undesirable (e.g. for continuous BCI control ( Deo et al., 2024 )), but is viable for the model when the data are stereotyped, as is common in neural datasets. We replicate this result in two more settings in Section B.1 . Importantly, this analysis does not clarify whether pretraining has failed to learn to exploit dimensionality reduction or whether achieving behavioral generalization can be acquired with NDT3 post-training. Thus like sensor variability, output stereotypy leaves open the question of whether NDT3 performance limits are inherent to neural data or a shortcoming of our methods, and provides a precise test of model generalization for future foundation models. 3.3 Where does pretraining help? Despite its scaling limitations, NDT3 is highly performant, surpassing other benchmarked decoders. We next provide examples where its pretraining usefully generalizes. Neural distribution shifts Neural data are nonstationary, with shifts rising from a mix of controlled experimental variables to more speculative factors. For example, the firing rate of different channels will evolve over the course of an hour, implying a distribution shift associated with change in time ( Fig. 5A top left). Shifts also occur between activity in two arm postures or whether finger motion occurs under spring load or not ( Fig. 5A top middle and right). Since these shifts are common in neural data, pretraining gains should ideally be robust to their effect. We thus tune models on data from one setting (in-distribution, ID) and measure the performance of models in that same setting and the shifted setting (out-of-distribution, OOD). Positive correlation of performance in all cases implies the ID gains conferred by pretraining persist OOD. More practically, these examples suggest that pretraining benefits are not dependent on narrow features specific to the choice of tuning dataset. Download figure Open in new tab Figure 5. Generalizability of pretraining gains. A. Models fine-tuned in one distribution of data are evaluated in-distribution (ID) and out-of-distribution (OOD). Top plots show the distribution across channels of neural firing rates from OOD and ID trials, normalized by average ID firing rates. Lower plots scatter OOD vs ID performance, with each point being a single model with different hyperparameters. The time shift uses two human cursor datasets collected one hour apart. Models were tuned in each block and were evaluated in the second block. Pose shift uses a monkey center-out reach task which was performed with the hand starting in different locations in the workspace. Spring Load uses a dataset of monkey 1D finger motion with or without spring force feedback. B . Models are evaluated on a human open-loop cursor dataset prepared in two ways. Trialized training receives inputs according to trial boundaries, varying from 2-4 seconds in length. Continuous training receives random 1 second snippets (that can cross trial boundaries). Trialized evaluation matches trialized training, and continuous evaluation is done by streaming up to 1 second of history. ▾ indicates points below 0.0. Continuously trained models perform well in both evaluation settings, while models trained on trialized data fail in continuous evaluation. C . Multiscale fine-tuning performance of NDT3 on datasets recorded outside motor cortex, namely S1 (Somatosensory) and FEF/MT (Oculomotor). Trial structure DNNs have been observed to overfit the temporal structure of experimental data, challenging their use in iBCI control ( Deo et al., 2024 ; Costello et al., 2023 ). For example, a DNN might learn there is always no motion before the start of a behavioral trial, independent of the neural activity. To date, these claims have been studied exclusively on un-pretrained deep networks. We next assess how pretraining affects this overfitting in open loop human cursor control data by comparing a continuous and trialized setting. In the continuous setting, we cut random one second intervals of data in training and continuously stream up to one second of data in evaluation. The trialized setting formats data to respect trial boundaries, so the model always sees data aligned to the start of behavior. In Fig. 5B , we show that models using both trialized training and evaluation outperform models with both continuous training and evaluation. This implies NDT3 will learn to exploit clear trial structure in data. However, while trialized from-scratch models become subtrivial under continuous evaluation (solid blue line is off-panel), pretrained models degrade more gracefully. For example, the 350M 2 khr model evaluated continuously only performs slightly worse with trialized tuning than with continuous tuning. Pretraining NDT3 thus reduces its dependence on trial structure, which should benefit both data analysis and iBCI control. Note, however, the contrast in these results with Fig. 4C , which show that DNNs clearly do overfit to tuning data in some cases. These nuances underscore the importance of rigorously evaluating model generalization in future work. New brain areas In Fig. 5C , we return to multiscale fine-tuning to test how NDT3, pretrained on motor cortex, performs in somatosensory cortex (S1) and oculomotor areas (FEF and MT). The gain from pretraining over from-scratch models is high in S1, but also nontrivial in the Oculomotor dataset. While the former can be attributed to the close interaction of sensorimotor areas, the latter implies NDT3 has learned a broader prior. Although these results are encouraging, our previous results suggest these gains could reflect common experimental artifacts like trial structure, rather than neurophysiological priors (e.g. declining subject focus over time ( Steinmetz et al., 2019 )). For example, this Oculomotor dataset contains 4 behavioral conditions, which may benefit from the tendency to learn classifiers shown in Fig. 4C rather than a prior on neural dynamics. 4. Discussion Many fields are now pursuing large-scale deep learning as “a tide that lifts all boats” ( Abnar et al., 2021 ), hoping that improvements in effective pretraining will yield field-wide, downstream improvements. Such a unifying abstraction may be timely for neuroscience, given the increasing volume, diversity, and complexity of modern neural data. Joining other pretraining efforts on varied modalities of neural data (Section A), we trained NDT3 on 2000 hours of paired neural population activity from motor cortex and behavior, and then conducted a broad downstream decoding evaluation. Consistent with other foundation models, we found the best aggregate performance comes from increasing data scale and model size jointly ( Section 3.1 ). We release the 350M 2 khr NDT3 as a strong baseline foundation model for intracortical decoding from spiking activity, with the disclaimer that benefits from pretraining can vary greatly with the downstream dataset, with some datasets having minimal improvements from scale ( Section B.5 ). To move forward, we highlight input order sensitivity and output attractors as issues future foundation models should address. Impact Statement For data collection, the animal datasets used in this work were collected for other studies that were approved by Institutional Animal Care and Use Committees. Human datasets were also collected for other studies. These studies were performed under an approved Investigational Device Exemption from the FDA and were approved by the Institutional Review Board at the University of Pittsburgh. The clinical trial is registered at clinicaltrials.gov (ID: NCT01894802 ) and informed consent was obtained before any experimental procedures were conducted. Details on the implants and clinical trial are described in ( Collinger et al., 2013 ; Wodlinger et al., 2015 ). We discuss the potential benefit of NDT3 to reduce user burden for iBCI-based neuroprosthetics, though the dissemination of pretrained models on these data raise the privacy concern that the original human data may be recoverable from model weights. Since this seems technically challenging at this point, and since the source data are restricted to binned spiking activity to begin with, we deem the risk low enough to justify the potential scientific benefit of sharing our pretrained models. A. Related works and a proposed taxonomy Neural data is sufficiently diverse so as to support many distinct efforts to train large neural data models. The scale of pretraining is somewhat larger in the non-implanted modalities, where data is more abundant. The largest EEG models have reached a scale of 2.5K ( Jiang et al., 2024 ) to 40K hours of data ( Yuan et al., 2024 ), or higher volumes if also considering non-brain biosignals (EKG) ( Yang et al., 2023 ; Thapa et al., 2024 ). Current fMRI models operate in the 1K (Thomas et al., 2023) to 7K ( Caro et al., 2024 ) hour range. The largest models in these studies are in the 0.1B-1B parameter range. Intracranial modalities, including sEEG ( Wang et al., 2023a ; Chau et al., 2024 ), ECoG ( Talukder et al., 2022 ; Peterson et al., 2022 ), and spiking activity ( Wang et al., 2023b ), have thus far been studied at an order of magnitude smaller scales of data and model size (20-1000 hours, <0.1B parameters). Direct scaling on neural data modeling should be distinguished from NeuroAI efforts ( Doerig et al., 2022 ) to measure how models of the human sensorimotor experience (e.g. language, vision, audio models) predict neural data ( Antonello et al., 2024 ). However, as multimodal efforts begin to blur this distinction ( Benster et al., 2024 ; Xia et al., 2024 ), care will be required to distinguish advances in modeling neural data, embodied data, or their interaction. Comparing neural data models Current efforts to understand scaling in neural data Simeon et al. (2024) ; Sato et al. (2024) will have their reach limited by the specificity of every neural dataset. A meta-challenge for the field is understanding how different parameters (species, brain area, modality, task) impact scaling properties. This would be greatly aided by development of reporting practices for different neural data models. To facilitate comparison, we create a model card ( Mitchell et al., 2019 ) for NDT3 in Section D. In addition to the standard model card, we propose reporting an additional taxonomy to aid comparisons across neural data models, using two concepts. First: neural data models can be conceptualized as modeling slices of the plenneural function , inspired by the plenoptic function in vision (Adelson et al., 1991). The plenoptic function is a model of an idealized eye which parameterizes all possible images with 7 dimensions: 4D to describe the global spacetime of the view, 2D to describe viewing angle (spherical) or coordinate (Cartesian) of the image, and 1D for wavelength. Since neural data models are primarily interested in circumscribed systems rather than the physical world, a similar global coordinate system (e.g. 4D for all possible electric potentials) would be uninformative. We thus propose reporting more qualitative coordinates: 1. Identity: The network or individual being recorded. 2. Task: The behavior, stimuli, or other activity the network is reflecting. 3. Spacetime: Coordinates specified in a network-local coordinate frame (e.g. brain area). Second: The modeled extent of this plenneural function is conveniently discretized in three resolutions in a Transformer-like sequence modeling framework: the token, the sequence, and the full training data. The token is the most granular unit of data being modeled; NDT3 models neural populations 32 neurons at a time, in 20ms bins. At the sequence input level, NDT3 models inputs from single humans or monkeys, across 128-256 neurons in 2 second snippets, while performing effectively one “movement.” Finally, NDT3’s pretraining spans dozens of individuals, records motor and premotor areas over 2.5K hours, over a variety of arm and hand movements. B. Supplementary Results B.1 Further tests of held-out angle generalization To further support our single-dataset illustration of attractor structure in pretrained NDT3, we evaluate reach angle generalization across sessions in the isometric, force-based dataset (Monkey J) setting and a second, manipulandum-based (Monkey J) setting with monkey movement. To begin, we visualize the separability of these neural data with LDA ( Fig. 6A Neural Data). We next train decoders on every pair of angles separated by 90 degrees (one shown) and plot predictions on held-out trials from all angles. NDT3 and WFs, here directly fit to high-D data instead of after PCA-LDA, both fail to extrapolate to held-out angles, consistent with Rizzoglio et al. (2022) . We quantify prediction performance in Fig. 4D . These plots again show that held-out generalization is subtrivial, while being entirely consistent with pretraining’s overall narrative of improved performance in all conditions. Download figure Open in new tab Figure 6. A. Two monkey 2D center-out datasets with 8 angular conditions. LDA projections show monkey J’s data is distinctly more separable than monkey V’s. We then test generalization of behavioral decoding to held-out angles after training on 2 of 8 angles (boxed in red). All NDT3s and the WF produce predictions constrained between the held-out angles. B . We quantify performance for decoding on each angle with respect to distance from the central angle between the held-in angles. We average performance over all 8 central angles. Methods for PCA-LDA Our PCA-LDA preparation used in Fig. 4E-F adheres closely to our standard data preparation and is directly comparable to the inputs received by the deep networks. To begin, we smooth all spike counts with an exponential kernel, as in our Wiener Filter baseline ( Section C.3 ). We then fit PCA to the high-dimensional (96D) neural activity at each timestep and extract the top 10 PCs. Finally, we fit linear discriminant analysis (LDA) to reduce this 10D PC space to neural activity to 2D. The training data for PCA and LDA are both restricted to only the held-in angles. Note that LDA uses categorical labels to separate the 3 held-in reach directions but is applied without class labels after fitting. While this train-time labeling is technically not given to NDT3, this does not influence our argument that NDT3 pretraining should be capable of angular generalization, as NDT3 does not confuse the reach angle of held-in predictions. The final Wiener Filter is fit to the 2D data and uses 1 second of history. B.2 Ablations We ablate the major design decisions made to enable NDT3’s large scale pretraining. These ablations give us confidence that NDT3 overcomes the basic challenges we encountered in development, but compute restrictions prevent more exhaustive comparisons or exploration of model design space. We encourage further work exploring the influence of different hyperparameters. In these plots, we distinguish validation split performance and evaluation split performance, which is computed by batch-mode prediction (not the costly streaming evaluation used throughout main experiments). Covariate dropout We find the default next-step prediction objective fails for learning decoding of highly autocorrelated covariate timeseries, perhaps because simply relying on teacher-forced behavioral inputs provides a severe shortcut that prevents learning of a proper neural to behavior decoding map ( Bachmann and Nagarajan, 2024 ). Different time-series models have addressed this by adopting convolutional input-output layers ( Lea et al., 2016 ), tokenizing along temporal dimensions ( Das et al., 2024 ), or learning with contrastive objectives ( Chau et al., 2024 ; Kostas et al., 2021 ). We avoid introducing architectural modifications and instead adopt a simple dropout procedure that masks a portion of covariate inputs some fraction of the time. Specifically, on every training batch, two random numbers are drawn. The first, M ∼ U [0, 1], determines what fraction of covariate inputs should be masked. On 90% of batches, we also sample T ∼ U [0, 2] seconds, such that the mask is only applied after timestep T . That is, on 90% of batches, the model is provided a prefix-prompt. We do not block losses on this prefix as in prefix-LMs ( Wang et al., 2022 ). Pretraining metrics for validation and evaluation are always computed with a prefix and full masking of non-prefix timesteps. In Fig. 7 , we ablate covariate masking (which also removes the prefix logic), and tune on a 2D Cursor + Click task. The ablated model performs subtrivially with student-forced predictions provided as input at test time. Note that the ablated model performs trivially with masked inputs (not shown). Download figure Open in new tab Figure 7. Ablation of covariate masking on an open 2D Cursor + Click dataset. Covariate inputs are completely masked in inference for the default NDT3, and autoregressively generated in the ablation. BCI-phase and return conditioning NDT3’s pretraining includes several hundred hours of BCI control data, where the covariates were set by another decoder. We introduced phase and return conditioning tokens to differentiate the several types of BCI control data from recorded behavior. Specifically, in BCI data, NDT3 receives input tokens specifying what fraction of the behavior reflects neural input (BCI control is on) vs programmatic input (BCI control is off, as in open loop BCI calibration). Further, we provide inputs encoding reward (trial success) when trials change, and return (future reward over a 10 second horizon, which crosses data boundaries). This design is intended to evaluate the potential for a Decision-Transformer like offline learning strategy for improved online control, but we do not discuss this in this work. In Fig. 8A, B , we focus on whether these inputs improves pretraining loss and R 2 in validation splits, which has contains BCI data, and the held-out evaluation split containing only monkey behavior. The figures show that the ablation significantly decreases validation split performance, and causes a slightly earlier stopping point leading to worse evaluation performance. Note both models early before the full training budget of 400 epochs. Download figure Open in new tab Figure 8. Ablations evaluated based on upstream evaluation split. A ., B. Ablation of BCI control tokens C . Ablation of neural objective and covariate MSE objective in favor of classification over quantized covariates. Neural reconstruction objective All main NDT3 models used a neural reconstruction objective inherited from the self-supervised learning pretraining from NDT2. We ablate this choice post-hoc and see it may actually minorly harm pretraining (validation split), though the neural objective doesn’t harm evaluation split decoding ( Fig. 8C ). Note the scalar weighting of neural vs covariate objectives were set to be roughly balanced in pretraining. Section B.3 provides a downstream analysis on the standalone value of the neural reconstruction objective. MSE over classification In robotics and certain generalist models ( Schubert et al., 2023 ), continuous action spaces are sometimes better decoded and controlled when quantized ( Shafiullah et al., 2022 ). This is because MSE is an insufficient objective when the output distribution is multimodal (e.g. one of two possible paths in robotics). While it seems unlikely that the close relationship between movement behavior and motor cortex is multimodal, multimodal behavior may be appropriate when pretrained on heterogeneous data, i.e. when similar neural activity corresponds to different behavior in two datasets. We attempted such a quantization, including HL-Gauss smoothing (Fare-brother et al., 2024) which we found to help; but this does not recover the performance of the default MSE objective ( Fig. 8C ) on the evaluation split. We found this performance gap persisted under fine-tuning (not shown). This suggests that NDT3 is differentiates neural data inputs from different datasets. Patch size NDT2 and NDT3 both tokenize neural data by patching them into fixed size clusters. It is unclear whether transfer learning might occur for sub-token features, which motivates the use of smaller tokens in larger datasets that might afford it ( Caron et al., 2021 ). We change patch size to 16 and show this performs slightly worse in the 45M 200h model ( Fig. 8 )C. Smaller patches (and subsequent increased neural tokens) may be more beneficial in the larger scale models, but their benefit must be weighed against their increased compute burden. B.3 Isolated scaling in neural data Due to NDT3’s joint modeling of behavior and neural data, it is difficult to dissociate whether scaling gains in behavior come from improved behavioral or neural priors. To assess whether NDT3 can scale solely from neural data modeling, we pretrain a new set of 45M parameter models up to 200 hours with only causal neural data modeling objective. As before, we then tune to a downstream decoding task, in this case, a Critical Stability Task dataset (CST). From a representation probing perspective, improved downstream performance implies higher quality neural representations. We use the standard single-stream autoregressive modeling objective as in the rest of this work in the downstream setting, we find direct linear probing of neural representations perform worse. Fig. 9 compares the scaling on downstream neural and behavioral metrics after the standard fine-tuning procedure. Download figure Open in new tab Figure 9. Scaling of unsupervised pretraining After pretraining models up to 200 hours with only the neural reconstruction objective, we fine-tune models in a similar multiscale evaluation as in Section 3.1 , with a newly initialized behavioral readout. We use the CST task here. A. left shows neural loss scales with neural-only pretraining. The right panel plots the neural loss, also present in the standard evaluation, also scales with joint pretraining. B . left shows that with neural pretraining, downstream decoding performance saturates at a flat performance after 25 hours. This is compared against the nonsaturated scaling from joint pretraining. Colorbar is common for all plots, and Xs are from-scratch NDT3 models. Download figure Open in new tab Figure 10. Three regimes of NDT3 training for handwriting decoding. We show validation loss and character error rates for example runs of from-scratch and fine-tuned NDT3s. Fig. 9A shows that downstream neural reconstruction improves with increased pretraining data either when using only the neural objective or both neural and behavioral objectives (as in the standard setting). The joint pretraining achieves advances neural metrics in all settings, illustrating that decoding behavior is a complementary objective to neural data reconstruction even for representation learning. Fig. 9B contrasts decoding curves in the two pretraining settings, in that neural pretraining has saturated decoding after just 25 hours of pretraining. This is consistent with the interpretation that the behavioral readout reflects only one aspect of the neural data. Together with the neural metric plots, this analysis shows scaling over solely neural data is possible, but also that decoding behavior is a complementary pretraining objective for improving neural representation learning and decoding. B.4 Pretraining does not benefit FALCON H2 (Handwriting) We also evaluated NDT3 for decoding of letters in a humanopen loop handwriting task (FALCON H2). Although this is also a motor cortical decoding task, we excluded H2 from NDT3’s aggregate evaluation since it is a sequence-to-sequence as opposed to continuous task. To apply NDT3 to this task, we pool neural tokens at each timestep and add a linear projection and optimize with a CTC loss ( Graves et al., 2006 ). We maintain the default neural reconstruction loss and causal attention mask, and do not apply data augmentation. Note that RNNs are the current standard architecture for communication tasks like H2 ( Karpowicz et al., 2024 ; Willett et al., 2021 ). Training and tuning was less stable than for our continuous decoding tasks and required more extensive hyperparameter tuning, perhaps because the overall dataset size remains small (<1k samples), specific parameters are listed in the codebase. We observe three regimes in both training and fine-tuning. First, the model can fail to achieve an initial learning period. Second, the model can achieve reasonable nontrivial solutions, comparable to expected performance for unaugmented RNNs (though we do not quantify this). Third, some models will exhibit learning instabilities that resolve in significantly improved performance. We illustrate these regimes in example validation curves below. Overall, the third regime is rarely achieved. More relevant to the main narrative of this work, fine-tuning appears to degrade both final solution quality and reduces the range of nontrivial hyperparameters (not shown). Investigating a sequence to sequence objective over CTC loss would be valuable future work. B.5 Multiscale decoding on individual motor tasks Fig. 11A plots model performance for each of the 31 evaluation settings we study in the eight primary evaluation datasets we use. Studying any individual dataset will yield variable conclusions on whether pretraining structure is helpful, underscoring the need for proposed foundation models to be evaluated across many different datasets. Here specifically we see the most clear scaling with pretraining data (color gradient with red on top) in the Critical Stability Task and Bimanual Task. FALCON tasks and Self-paced Reach appear minimally affected by scaling pretraining data, in that either pretrained models are generally slightly above a from scratch model at all data scales with no particular best pretrained model. The 2D + Click and Grasp datasets uniquely show high variability in model performance and strong degradation of the 350M 2 khr model at low data scales. Grasp instability was so high that we trained 9 seeds instead of the standard 3 to better estimate model performance. We propose this degradation is due to the instability of full fine-tuning of large models at the extremely low data scales these datasets present (e.g. 2.5 minutes at the 25% scaling). Finally, we remind that the 2D + Click, FALCON H1, and 1D Grasp Force tasks are datasets from human participants that are included in the 2 khr pretraining. Surprisingly, we see no particular benefit to the 2 khr model. Download figure Open in new tab Figure 11. A. Fine-tuning evaluations for individual datasets. Performance on both held-out (left) and held-in (right) splits are shown side by side by FALCON datasets. We shade the standard deviation of 3 model seeds in fine-tuning. Different tasks show substantial variability in benefit from pretraining. B. We show example predictions of a pretrained (45M 200h) and from-scratch NDT3 for the 2D + Click Cursor task to give a sense of what different prediction performances mean in terms of open loop data prediction. Numbers in legend are the R 2 for that model’s predictions in the shown snippet. Download figure Open in new tab Figure 12. A replication of Fig. 4A/B , but showing results for both sequential and joint fine-tuning in each setting. As before, each model here tunes with some data from other settings (e.g. cross-subject data for the cross-subject panel), and a fixed amount of data on the test session. Sequential tuning first tunes on other-setting data, and then tunes on test session data. Joint tuning uses all data at once. In Fig. 4A/B , we only showed the better choice for each panel, i.e. we showed joint tuning for cross-session data, and sequential tuning for the other settings. In addition, we overlay how the cross-subject tuned models perform when applied to half-token shifted test data, confirming that subject and session data transfer similarly to shifted test data. These scaling plots also provide more precise context for baseline performance. NDT2 performs particularly poorly in the low data regime, while Wiener Filters perform poorly in the high data regimes. In Fig. 11B , we illustrate qualitative predictions on private datasets. These visualizations show a diversity in covariate timescales and structure. They also illustrate that the summary R 2 obscure several features of model predictions. For example, pretrained models in Cursor Y tend have false positive deflections in movement. R 2 also is not easily comparable in tasks with continuous dynamics (CST) vs. transient dynamics (Cursor G1). B.6 Sequential tuning is similar to joint tuning In Section 3.2 , we showed that channel shuffling and halftoken shifts were sufficient to reduce cross-session transfer to the extent of cross-subject transfer. Here we add a methodological subtlety on how the tuning is done. Given cross-context data and a test session, we can either jointly tune on all data (as we do in our primary evaluation), or sequentially tune on the cross-context data and test session. We find sequential tuning is particularly necessary for successful subject transfer of from-scratch NDT3 models, but that it slightly underperformed joint tuning on cross-session models ( Fig. 12A ). Seeing that sequential tuning is mainly advantageous for from-scratch models, we speculate that sequential tuning is particularly helpful for filtering learning signals in highly heterogeneous data. In Fig. 4A/B , for clarity, we reported jointly tuned results for cross-session data and sequentially tuned results otherwise. B.7 Aggregate performance on all NDT3 models with significance tests We additionally report the average performance of an NDT2 model pretrained with 100 hours of human data and two NDT3 models pretrained with 25 hours and 70 hours. These models are placed in context with the models from Fig. 3D , in Fig. 13A . Note that for NDT3 models each successively larger data scale uses a strict superset of data from smaller scales. We also provide the p-values computed for the significance of the difference between each pair of models in Fig. 13B . P-values are computed as FDR-corrected pair-wise t-tests. The 350M 2 khr model has p < 0.06 improvements over all but the 350M 200 hr model. Interestingly, all other pretrained models, except the 25 hr model, appear equivalent, at least statistically. We presume this is due to the fact that our evaluation of 31 task settings may be insufficiently large. Download figure Open in new tab Figure 13. A. A replication of Fig. 3D including an additional 25 hr and 70 hr model. The two additional models show the precise performance we measure may be noisily related to to pretraining data scale. B. Heatmap of differences between performances of pairs of models with significance tested with FDR-corrected pairwise t-tests. Note that coloring is used here to indicate differences, not significance. Positive numbers with significance indicate the row model outperforms the column model. NDT2 performs relatively poorly in our evaluation. This is true even when tuning from the public checkpoint trained on 100 hours of neural data from humans, though tuning does in general improve over the from-scratch NDT2 training. We believe pretrained NDT2’s performance gap with NDT3 is partially due to NDT2’s need to newly initialize decoding layers in each downstream task, which increases NDT2’s dependence on thorough hyperparameter tuning. This makes NDT2 a poor candidate for a foundation model. Section C.3 and Section C.6 describe a number of methodological innovations that likely each contribute to the remaining performance differences between NDT2 and NDT3. B.8 Neural vs Behavioral Objectives In this work, the neural objective is present mainly as an auxiliary objective to improve downstream decoding. We see that neural and behavioral objectives are complementary in Section B.3 . In Fig. 14 , we provide some additional context, showing that neural objectives also improve through pretraining, i.e. that we are not overfitting the neural objective and thus degrading decoding. Download figure Open in new tab Figure 14. Pretraining curves shown for 45M parameter NDT3s at 1.5 hour, 25 hour, and 70 hours, in addition to the curves for the 2 khr 350M parameter NDT3. We separately show metrics on neural and behavioral objectives through training. Since early stopping is used in model selection, we verify here that neither objective is overfits significantly, except for the 1.5 hour model’s neural objective. B.9 Downstream probe through pretraining Upstream and downstream performance are generally assumed to be correlated in pretraining studies. This assumption supports the use of a single evaluation at the end of pretraining, rather than throughout pretraining, particularly if pretraining is not overfit. It is possible, however, that the narrower tasks used in evaluation may be learned or even overfit earlier than the general pretraining task. To assess this, we conduct a small downstream probe of checkpoints every 20 epochs of pretraining for a 45M 25 hour NDT3. This probe measures the performance specifically at the 25% scaling of the bimanual task. In Fig. 15 , we show this progression and compare the variability of checkpoints in pretraining with the differences across different task scales and pretraining models. The downstream probe for this task shows quick benefit from pretraining, providing the full gain over from-scratch models by the first checkpoint we evaluate at epoch 20, and then plateaus. This contrasts with the pretraining plots in Fig. 14 . The mismatch between upstream and downstream progress here differs from correlated upstream-downstream progress in single-epoch language model studies ( Yang et al., 2024 ), which may be due to differences in domain or pretraining scale. Download figure Open in new tab Figure 15. Downstream evaluation conducted through pretraining of a 45M 25 hour NDT3, for the 25% scaling of the bimanual task, provided in context of the final evaluation achieved by the 10% and 50% bimanual task scale settings for the 45M 25 hour models, and the 25% scalings for the from-scratch NDT3 and best NDT3 (350M 2 khr). The benefits from pretraining are attained by epoch 20, and plateaus without overfitting for the rest of pretraining. B.10 Evaluation on the Neural Latents Benchmark The Neural Latents Benchmark ( Pei et al., 2021 ) is a bench-mark for evaluating latent variable modeling of neural activity. This evaluation differs from NDT3’s direct decoding evaluations in that all of NLB’s metrics are derived from acausally inferred neural firing rates, akin to a pixel-level objective in computer vision. Note specifically that the decoding metric officially reported in the NLB is derived from submitted firing rates on the evaluation server; report decoding performance on NLB datasets without modeling neural activity is not an expected use of the benchmark. Despite its distinct setting, the NLB provides two well-established datasets on which to evaluate models of motor cortical activity, providing context for NDT3’s performance outside of decoding. To apply NDT3 to the NLB, we tuned NDT3 in a new downstream task where insert new a token at each timestep, from which we linearly decode firing rates of held out neurons. We performed this tuning separately for each of the maze and random target tasks (RTT), reporting the resulting co-bps scores in Table 1 . NDT3 performs poorly. From-scratch training on the single-session benchmark datasets underperform NDT1 in all tasks. Tuning from pretrained models improved performance, sample efficiency, and robustness to hyperparameters (only performance is reported here), but did not dramatically change model competitiveness. Zhang et al. (2024) reported the value of more diverse neuron-level objectives for neural activity prediction, though their submission also dramatically underperforms NLB SoTA, warranting critical examination of whether pretraining benefits low-level modeling of neural activity. View this table: View inline View popup Download powerpoint Table 1. NDT1 vs NDT3 co-bps (higher is better) on NLB’s MC Maze and MC RTT datasets in the 20ms split. The NDT3 results were produced were the standard sweeps used in this work, e.g. three random learning rates and three random seeds. SoTA results come from LangevinFlow for RTT and Maze and MINT for the Maze scaling datasets. B.11 Neural objectives are needed in fine-tuning Our recommended fine-tuning for NDT3 is to match pretraining in most hyperparameters (except learning rate). This includes the use of the neural reconstruction objective, even though the downstream settings we used only evaluate behavior reconstruction. We show that including this neural objective is important in fine-tuning in Fig. 16 . Specifically, for pretrained models, ablating the neural objective can cause a substantial drop in performance. Interestingly, the drop is more significant for the larger scale 350M 2khr NDT3. This dependence of NDT3 on the neural objective is not desirable, but consistent with findings in other pretrained models that fine-tuning performs best when consistent with pretraining settings ( Goyal et al., 2022 ). For from-scratch models, the neural objective does not cause significant impact. Download figure Open in new tab Figure 16. We compare fine-tuning on bimanual and self-paced reach tasks (RTT), for variants with the neural objective and behavior objective to those with only the behavior objective. Curves from runs with the best validation R 2 of a standard 3 seed x 3 LR fine-tuning sweep are shown. C. Methods C.1 Metrics and Evaluation Throughout this work we evaluate offline decoding of continuous covariates timeseries. The metric we specifically use is the coefficient of determination, R 2 , as computed by scikit-learn’s r2_score function. R 2 is a useful metric over MSE as 1 represents perfect prediction and 0 is the score achieved by best-guess baseline, the mean of the data. In pretraining, R 2 is computed over the flat average of all covariate dimensions, since each datapoint has differing covariate dimensionalities. In evaluation, R 2 is computed as a variance-weighted average of R 2 s in each covariate dimension. Another difference between training and evaluation metrics is that training predictions are made over batched data, while evaluation predictions are mostly computed in a streaming fashion. Streaming requires continuous neural data across different behavioral epochs, and so cannot be performed for the Oculomotor and CST datasets. We also omit it for the motor cortex self-paced reach dataset, which has a very large evaluation split. Streaming allows timesteps at the beginning of each sequence to leverage neural context from the preceding sequence, which raises performance slightly, as shown in the continuous vs trialized analysis ( Section 3.3 ). We limit history in streaming evaluations to the max history seen in tuning (1 second). C.2 Training Pretraining hyperparameters were manually tuned in preliminary experiments at the 45M parameter models on small datasets. 350M models diverged at the chosen 4 e − 4 peak LR, so we lowered peak LR to 1 e − 4. For tuning, the explored LRs are 1 e − 4, 3 e − 4, 5 e − 4 for training from scratch and 3 e − 5, 1 e − 4, 4 e − 4 for fine-tuning. While this is far from an exhaustive search, we show in Fig. 17 that other regularization hyperparameters are set to reasonable defaults such that this sweep finds near optimal results for both a from scratch model and fine-tuning the 45M model. Fine-tuning, like pretraining, is early stopped with a patience of 100 epochs. Batch size is uniformly set to 16K in pretraining, and scaled to be roughly 10-20% of dataset size in fine-tuning. NDT3 from-scratch models were trained at the 11M parameter range. Exact model configurations for different experiments are documented in the codebase. Download figure Open in new tab Figure 17. For 3 monkeys datasets at 10% scale, we extend a HP sweep to 5 LRs and dropout in [0.0, 0.1, 0.3] (vs default 0.1). For fine-tuning, we also sweep weight decay in [0.0001, 0.01, 0.1] (vs default 0.1), while for from-scratch models we also sweep Transformer width ([256, 512, 1024]) vs default 512. This yields a 45-model sweep on 1 seed. We compare the range of scores achieved by this larger sweep against the standard 3 LR x 3 seed sweep. NDT3’s simple architectural design allows us to train on batches from different tasks and dimensionalities. To avoid excess padding in training, we concatenate pretraining data that is otherwise discontinuous (trialized) into 2 second data. We do not add any separator tokens, as this does not appear to have a performance impact for language models ( Geiping and Goldstein, 2022 ). With mixed-precision training, the 350M parameter NDT3 can fit the 4-8K tokens in each input context in the memory of 40G NVIDIA A100 GPUs. Thus we can restrict NDT3’s pretraining parallelism to data-parallelism. Using Kaplan et al. (2020 )’s equation for FLOP computation, C forward = 2 N + 2 n layer n ctx d attn , we compute the foot-print of the 350M 2kh model. We use about 0.9B FLOPs per token in the forward pass, and about 0.9T neural tokens processed over training, which yields a pretraining footprint of about 2.4e21 FLOPs. C.3 Baselines and Other Transformers Many models have been proposed for neural data decoding. While we believe the selected Wiener Filter and NDT2 base-lines are representative of standard approaches, it may seem insufficient relative to the number of available approaches. To this end, we want emphasize that this work’s primary aim is to evaluate the scaling of a base Transformer on neural data, rather than establish uniform superiority of a model over all others. Such claims can only be established in a field with many benchmarks and external evaluations, which BCI decoding currently lacks. Wiener Filter The Wiener Filter baseline was cross-validated over regularization strength. We also swept history of neural input up to the max length provided to NDT, and reported the R 2 of the best WF according to test data in primary evaluation (slightly advantaging the WF). Generalization plots in Section 3.3 report the performance of WF models at these different histories. For evaluating angular generalization, WFs were only swept up to 1s history due to memory limits; performance was not varying substantially with history so we do not expect this to have impacted conclusions. The WF was for simplicity directly fit on the concatenated trial data, which may have slightly negatively impacted its performance in trialized datasets (Oculomotor, CST, Generalization analyses). In the primary evaluations in Section 3.1 , we considered WFs fit either independently per session in a dataset or jointly on all sessions, which is helpful for sessions in very low data regimes. We report the better of the 2. In gener-alization analyses, for simplicity, we only report joint fits, which may cause a slight downward bias in performance. NDT2 NDT2 is a Transformer that has shown effective transfer learning across BCI datasets. It currently leads the FALCON BCI decoding benchmark and outperforms RNN decoders. NDT2 baselines were prepared with its public codebase. We trained NDT2 models both from-scratch and from the public checkpoint pretrained on 100 hours of human data. Max context length and patience were held constant across the models. This restriction to a patience of 100 epochs accounts for some difference with the reported FALCON benchmark results in Karpowicz et al. (2024) , as we note in Table 2 . Other choices were left to NDT2 defaults. For example, NDT2 uses z-score normalization, which we kept. In from-scratch training, for simplicity, we jointly trained NDT2 with its neural reconstruction loss (masking of 25%) and a supervised decoding loss. This is true for all eight evaluation tasks except CST. In the CST task, we used only the supervised decoding loss, as the token dropout used in reconstruction can dropout all neural input. View this table: View inline View popup Download powerpoint Table 2. NDT2 H1 and M2 results when trained with 100 epochs of patience (this work) in fine-tuning vs 250 as in Karpowicz et al. (2024) . We report mean and standard deviation of 3 model seeds on the FALCON evaluation (which is in turn a cross-session mean). For hyperparameter tuning, we matched NDT3’s tuning budget for the pretrained NDT2 checkpoint by only exploring 3 learning rates. Given mediocre NDT2 from-scratch performance, we swept NDT2 over 2 model sizes in addition to the standard 3 learning rates. We set the NDT2 from-scratch model sizes to 20M and 72M to be comparable with NDT3 45M, but note that the NDT2 pretrained checkpoint is only 6M parameters. NDT2 vs NDT3 NDT3 builds off of NDT2 but departs in several manners to enable more streamlined scaling and analysis over heterogeneous decoding tasks, which we overview in Fig. 18 . Lower level technical changes are described in Section C.6 . Both models relate neural data to behavior and train with both neural data and behavior prediction objectives. Both models use both these objectives in finetuning, but NDT2 only uses the neural objective in pretraining. NDT2’s neural data objective is based on MAE ( He et al., 2021 ), such that some fraction of input neural data tokens are masked and reconstructed in a decoder separate from the main backbone. However, this explicit masking was originally developed to study representation learning on images, not timeseries decoding. Causal domains like BCI control can also learn nontrivial representations simply through next-step prediction. NDT2 employed both explicit MAE masking and a causal attention mask in its backbone, which is redundant computationally and also reduces the context available to make predictions. NDT3 thus dispenses with the masking mechanism and uses next-step prediction alone. NDT2 also differs from NDT3 in its readout of behavior. Again, since NDT2 studied representation learning, it used additional cross-attention readout layers to “probe” behavior predictions at each timestep. NDT3 simplifies this two-part encoder-decoder design to a decoder-only design. In this flow, masked behavior tokens are provided at the input and filled in through the backbone, and varying the input tokens allows us to make predictions of the corresponding behavior dimensionality. Download figure Open in new tab Figure 18. NDT2 and NDT3 architectures differ mainly in the conversion of NDT2’s representation learning backbone to NDT3’s single multimodal stream. NDT3 directly intakes neural and behavioral tokens and predicts with a next-step objective. NDT2 employs explicit masking of input neural tokens and extracts neural and behavioral predictions at each timestep with cross-attention layers. NDT-MTM vs NDT Zhang et al. (2024) proposed a Multi-task Masking method (MtM) as a means of enabling improved scaling for spiking activity. MtM increases the so-phistication of the masks applied in the MAE strategy used to train NDT1 and NDT2, and finds improvements on varied neural data metrics. We view this as analogous to introducing more granular objectives to improve “pixel” level metrics, and believe the results are consistent with the original image MAE ( He et al., 2021 ) not achieving particularly good pixel metrics. However, decoding metrics, the focus of this work, are similar to those achieved by the baseline NDT models. Given that the associated model was also trained on mouse data rather than NHP/human reaching data, we did not attempt comparisons. POYO vs NDT POYO ( Azabou et al., 2024 ) is a Transformer that can pretrain on spiking activity, proposed at a similar time as NDT2. POYO uses a cross-attention encoder, which is a qualitatively large departures from the more basic Transformer formula used in NDT. Specifically, rather than directly operating on patched neural data, as in NDT, POYO first “tokenizes” individual spikes on all channels and performs cross-attention to reduce the large set of resulting tokens to a smaller number of latent tokens. In practice, this yields a pre-specified constant number of tokens per timestep, as opposed to NDT’s choice of scaling the number of tokens depending on input data dimensionality. Other POYO design elements, including more flexible timescales, dataset embeddings, and unit embeddings either are not applicable in the realtime BCI setting or have direct analogs in NDT3. The official POYO codebase does not appear supported as of writing this work, and neither were its pretrained weights available, so rather than attempt an exhaustive comparison, we sought a basic test of whether POYO’s cross-attention encoder would enable improved performance and thus scaling in NDT3. A priori, we deem this unlikely as the Perceiver-based cross-attention encoder has not been widely adopted in other domains. Our re-implemented cross-attention encoder, holding all other elements constant within NDT3, performs worse than direct patching tokenization Fig. 19 . While our reproduction may understate POYO’s overall performance, it does suggest that the main design choice that could potentially improve scaling does not outperform simple patching. POYO does outperform NDT2 in M2, suggesting common choices with NDT3 such as rotary positional embeddings, might account for its reported benefits. Download figure Open in new tab Figure 19. NDT3-CrossEnc (POYO reproduction) compared with NDT3 and NDT2 on FALCON movement datasets. We find that the cross-attention does not provide benefits over patch-wise tokenization in NDT3. For NDT3-CrossEnc, we report the best model from a 9x larger hyperparameter sweep (over model size and dropout) than the other models. C.4 Pretraining and Evaluation datasets Pretraining datasets were comprised of historical data from several labs, the rough composition of which is shown in Fig. 2B . The evaluation behavior used during pretraining was reaching in 2 monkeys. The first monkey dataset came from a public release ( Flint et al., 2012 ), and the second from a private dataset (Chase lab). The latter had center-out reach in standard conditions and under visual feedback perturbations. The monkey in the second dataset is also present in the 1khr monkey and 2kh and up model dataset sizes, though performing in a different set of experiments. Inherent to the process of large-scale scraping is a loss of detail on what precise tasks were used, so we only have a qualitative description of tasks we believe are well represented. NDT3 trains on a wide variety of reaching behaviors from relatively constrained (2D center-out reaching to fixed number of targets) to relatively unconstrained (self-paced, more targets, potentially 3D) and under experimental manipulations (delayed onset, multiple targets, different error thresholds requiring more precision). These reaching behaviors are described in both endpoint kinematics and as EMG. A smaller fraction of pretraining data are isometric and force related (force exerted against manipulandums) for wrist and arm motion. Human datasets contain a variety of iBCI tasks, with closed loop datasets reflecting both high and low quality control. These tasks include reach and grasp behavior from 1-10 degrees of freedom, as well as some individuated finger tasks for clicking. We detail evaluation datasets in Table 3 . Three datasets come from the FALCON benchmark ( Karpowicz et al., 2024 ), two are based on public datasets (( O’Doherty et al., 2017 ; Deo et al., 2024 )), and three are private. Note we avoid the Neural Latents Benchmark ( Pei et al., 2021 ) as it does not directly measure decoding performance. For each evaluation dataset, we specify a tuning split and an evaluation split. Only tuning split data is changed when varying data scale. Tuning and evaluation splits are block-contiguous, i.e. trials are not interleaved, for better down-stream applicability. View this table: View inline View popup Download powerpoint Table 3. Evaluation datasets used for multiscale decoding and generalization analyses. The references provide extended description of the behavioral task. Dashed line separates datasets for Section 3.1 and for analysis. Datasets use unsorted multi-unit activity and are processed in 1s chops unless otherwise mentioned. C.5 Generalization analyses and Further evaluations Intra-session generalization Posture, spring, and angular generalization evaluate OOD performance in the standard setup of comparing in-distribution and out-of-distribution performance directly (with changes in the underlying evaluation dataset) The intra-session temporal shift analysis is evaluated in an inverted, slightly more rigorous setting. Specifically, we trained two sets of models on the two different temporal blocks, and evaluated on an evaluation split in the later block, rather than only training on the early block and evaluating on both blocks. This way, the OOD shift is measured with respect to the same evaluation dataset. C.6 Architectural Details NDT3 adopts several architectural innovations used in recent Transformer models. These were compared against baselines in preliminary experiments, but formal ablations in the final experimental setting were not conducted. We defer full description of the Transformer dimensions to the public codebase. FlashAttention 2 ( Dao, 2023 ) is used to increase training and inference speeds. On the NERSC Perlmutter cluster, with FA2, 45M NDT3 trained at about 270M neural tokens per 40G A100 hour, 350M NDT3 trained at about 70M neural tokens per A100 hour. Note, FA2 also enables use of the 350M model for real-time (<20ms) inference latency. Positional Embeddings ( Su et al., 2023 ): Rotary embeddings are applied to indicate the real-world timestep of every input token. Additionally, 48 categorical learned embeddings are reserved to distinguish token modality and position within a timestep (10 for neural, 16 for covariates, 16 for covariate constraints, 1 for reward/return, 1 for dummy tokens, remainder unused). QK Normalization ( Dehghani et al., 2023 ; Wortsman et al., 2024 ): An additional layer norm is applied to the query and key embeddings, before the rotary embeddings, which helped stabilize training of the 350M parameter models. No context embeddings ( Ye et al., 2023 ): Differing from NDT2, no learned embeddings for disambiguating input datasets were prepended to each input. This was removed for simplicity. Per GATO ( Reed et al., 2022 ) and language modeling practices, we instead leave task / dataset disambiguation to the modeling process: In pretraining, the covariate maskout strategy allows for many tasks to be specified in-context (as later behavior can be inferred on the basis of earlier neural-behavioral token relationships). In fine-tuning, the tuning dataset already uniquely specifies the function to be learned. Cross entropy loss for spiking data prediction: We used the standard cross entropy loss to classify spike count over the Poisson loss common in many neural data architectures. Since the overall ablation of neural objective shows no large impact in this work, it is likely that this decision should be evaluated with neural data related tasks rather than decoding. We document the Transformer model shapes considered in our work in Table 4 . This shape is not systematically explored in our work, and is by historical artifact, slightly different than the shapes used in NLP/CV. Embedding parameters are negligible. One possible area of interest is that the feedforward expansion factor is 1 in our model, i.e. the MLP dimension is low. If MLPs do serve as memory stores in Transformers ( Geva et al., 2021 ), increasing this shape may yield more performant model size scaling, given the heterogeneity of our datasets. View this table: View inline View popup Download powerpoint Table 4. Transformer Model Shapes used in this work. D. NDT3 Model Card The card is currently only provided in the codebase. Acknowledgments JY is supported by the DOE CSGF (i.e. U.S. Department of Energy, Office of Science, Office of Advanced Scientific Computing Research, Department of Energy Computational Science Graduate Fellowship under Award Number DE-SC0023112). This research was supported in part by the University of Pittsburgh Center for Research Computing, RRID:SCR_022735, through the resources provided. Specifically, this work used the H2P cluster, which is supported by NSF award number OAC-2117681. This research also used resources of the NERSC, a Department of Energy Office of Science User Facility, granted as part of JY’s fellowship. Research reported in this publication was supported by the National Institute of Neurological Disorders and Stroke of the National Institutes of Health under Award Numbers R01NS121079 and UH3NS107714. The content is solely the responsibility of the authors and does not necessarily represent the official views of the National Institutes of Health. Footnotes ↵ 1 Photo courtesy of Nicho Hatsopoulos and The Chicago Tribune. References ↵ S. Abnar , M. Dehghani , B. Neyshabur , and H. Sedghi . Exploring the limits of large scale pre-training , 2021 . URL https://arxiv.org/abs/2110.02095 . E. H. Adelson , J. R. Bergen , et al. The plenoptic function and the elements of early vision , volume 2 . Vision and Modeling Group, Media Laboratory, Massachusetts Institute of … , 1991 . ↵ A. Aghajanyan , L. Yu , A. Conneau , W.-N. Hsu , K. Hambardzumyan , S. Zhang , S. Roller , N. Goyal , O. Levy , and L. Zettlemoyer . Scaling laws for generative mixed-modal language models . In International Conference on Machine Learning , pages 265 – 279 . PMLR , 2023 . ↵ R. Antonello , A. Vaidya , and A. G. Huth . Scaling laws for language encoding models in fmri , 2024 . URL https://arxiv.org/abs/2305.11863 . ↵ M. Azabou , V. Arora , V. Ganesh , X. Mao , S. Nachimuthu , M. Mendelson , B. Richards , M. Perich , G. Lajoie , and E. Dyer . A unified, scalable framework for neural population decoding . Advances in Neural Information Processing Systems , 36 , 2024 . ↵ G. Bachmann and V. Nagarajan . The pitfalls of next-token prediction , 2024 . URL https://arxiv.org/abs/2403.06963 . ↵ T. Benster , G. Wilson , R. Elisha , F. R. Willett , and S. Druckmann . A cross-modal approach to silent speech with llm-enhanced recognition . arXiv preprint arxiv: 2403.05583 , 2024 . ↵ R. Bommasani , D. A. Hudson , E. Adeli , R. Altman , S. Arora , S. von Arx , M. S. Bernstein , J. Bohg , A. Bosselut , E. Brunskill , E. Brynjolfsson , S. Buch , D. Card , R. Castellon , N. Chatterji , A. Chen , K. Creel , J. Q. Davis , D. Demszky , C. Donahue , M. Doumbouya , E. Durmus , S. Ermon , J. Etchemendy , K. Ethayarajh , L. Fei-Fei , C. Finn , T. Gale , L. Gillespie , K. Goel , N. Goodman , S. Grossman , N. Guha , T. Hashimoto , P. Henderson , J. Hewitt , D. E. Ho , J. Hong , K. Hsu , J. Huang , T. Icard , S. Jain , D. Jurafsky , P. Kalluri , S. Karamcheti , G. Keeling , F. Khani , O. Khattab , P. W. Koh , M. Krass , R. Krishna , R. Ku-ditipudi , A. Kumar , F. Ladhak , M. Lee , T. Lee , J. Leskovec , I. Levent , X. L. Li , X. Li , T. Ma , A. Malik , C. D. Manning , S. Mirchandani , E. Mitchell , Z. Munyikwa , S. Nair , A. Narayan , D. Narayanan , B. Newman , A. Nie , J. C. Niebles , H. Nilforoshan , J. Nyarko , G. Ogut , L. Orr , I. Papadimitriou , J. S. Park , C. Piech , E. Portelance , C. Potts , A. Raghunathan , R. Reich , H. Ren , F. Rong , Y. Roohani , C. Ruiz , J. Ryan , C. Ré, D. Sadigh , S. Sagawa , K. Santhanam , A. Shih , K. Srinivasan , A. Tamkin , R. Taori , A. W. Thomas , F. Tramèr , R. E. Wang , W. Wang , B. Wu , J. Wu , Y. Wu , S. M. Xie , M. Yasunaga , J. You , M. Zaharia , M. Zhang , T. Zhang , X. Zhang , Y. Zhang , L. Zheng , K. Zhou , and P. Liang . On the opportunities and risks of foundation models , 2022 . URL https://arxiv.org/abs/2108.07258 . M. P. Branco , L. M. De Boer , N. F. Ramsey , and M. J. Vansteensel . Encoding of kinetic and kinematic movement parameters in the sensorimotor cortex: A brain-computer interface perspective . European Journal of Neuroscience , 50 ( 5 ): 2755 – 2772 , Sept . 2019 . ISSN 0953-816X, 1460-9568 . doi: 10.1111/ejn.14342 . URL https://onlinelibrary.wiley.com/doi/10.1111/ejn.14342 . OpenUrl CrossRef PubMed ↵ J. O. Caro , A. H. de Oliveira Fonseca , S. A. Rizvi , M. Rosati , C. Averill , J. L. Cross , P. Mittal , E. Zappala , R. M. Dhodapkar , C. Abdallah , and D. van Dijk . BrainLM: A foundation model for brain activity recordings . In The Twelfth International Conference on Learning Representations , 2024 . URL https://openreview.net/forum?id=RwI7ZEfR27 . ↵ M. Caron , H. Touvron , I. Misra , H. Jégou , J. Mairal , P. Bojanowski , and A. Joulin . Emerging properties in self-supervised vision transformers , 2021 . URL https://arxiv.org/abs/2104.14294 . ↵ T. Chameleon . Chameleon: Mixed-modal early-fusion foundation models . arXiv preprint arxiv: 2405.09818 , 2024 . ↵ G. Chau , C. Wang , S. Talukder , V. Subramaniam , S. Soedarmadji , Y. Yue , B. Katz , and A. Barbu . Population transformer: Learning population-level representations of intracranial activity , 2024 . URL https://arxiv.org/abs/2406.03044 . ↵ L. Chen , K. Lu , A. Rajeswaran , K. Lee , A. Grover , M. Laskin , P. Abbeel , A. Srinivas , and I. Mordatch . Decision transformer: Reinforcement learning via sequence modeling , 2021 . URL https://arxiv.org/abs/2106.01345 . ↵ M. M. Churchland , J. P. Cunningham , M. T. Kaufman , J. D. Foster , P. Nuyujukian , S. I. Ryu , and K. V. Shenoy . Neural population dynamics during reaching . Nature , 487 ( 7405 ): 51 – 56 , 2012 . OpenUrl CrossRef PubMed Web of Science ↵ J. L. Collinger , B. Wodlinger , J. E. Downey , W. Wang , E. C. Tyler-Kabara , D. J. Weber , A. J. McMorland , M. Velliste , M. L. Boninger , and A. B. Schwartz . High-performance neuroprosthetic control by an individual with tetraplegia . The Lancet , 381 ( 9866 ): 557 – 564 , 2013 . OpenUrl CrossRef ↵ J. T. Costello , H. Temmar , L. H. Cubillos , M. J. Mender , D. M. Wallace , M. S. Willsey , P. G. Patil , and C. A. Chestek . Balancing memorization and generalization in rnns for high performance brain-machine interfaces . bioRxiv , pages 2023 – 05 , 2023 . ↵ T. Dao . Flashattention-2: Faster attention with better parallelism and work partitioning , 2023 . URL https://arxiv.org/abs/2307.08691 . ↵ A. Das , W. Kong , R. Sen , and Y. Zhou . A decoder-only foundation model for time-series forecasting , 2024 . URL https://arxiv.org/abs/2310.10688 . ↵ M. Dehghani , J. Djolonga , B. Mustafa , P. Padlewski , J. Heek , J. Gilmer , A. Steiner , M. Caron , R. Geirhos , I. Alabdulmohsin , R. Jenatton , L. Beyer , M. Tschannen , A. Arnab , X. Wang , C. Riquelme , M. Minderer , J. Puigcerver , U. Evci , M. Kumar , S. van Steenkiste , G. F. Elsayed , A. Mahendran , F. Yu , A. Oliver , F. Huot , J. Bastings , M. P. Collier , A. Gritsenko , V. Birodkar , C. Vasconcelos , Y. Tay , T. Mensink , A. Kolesnikov , F. Pavetić , D. Tran , T. Kipf , M. Lučić , X. Zhai , D. Keysers , J. Harmsen , and N. Houlsby . Scaling vision transformers to 22 billion parameters , 2023 . URL https://arxiv.org/abs/2302.05442 . ↵ D. R. Deo , F. R. Willett , D. T. Avansino , L. R. Hochberg , J. M. Henderson , and K. V. Shenoy . Brain control of bimanual movement enabled by recurrent neural networks . Scientific Reports , 14 ( 1 ): 1598 , 2024 . OpenUrl CrossRef PubMed ↵ A. Doerig , R. Sommers , K. Seeliger , B. Richards , J. Ismael , G. Lindsay , K. Kording , T. Konkle , M. A. J. V. Gerven , N. Kriegeskorte , and T. C. Kietzmann . The neuroconnectionist research programme , 2022 . URL https://arxiv.org/abs/2209.03718 . ↵ A. Dosovitskiy , L. Beyer , A. Kolesnikov , D. Weissenborn , X. Zhai , T. Unterthiner , M. Dehghani , M. Minderer , G. Heigold , S. Gelly , J. Uszkoreit , and N. Houlsby . An image is worth 16×16 words: Transformers for image recognition at scale . In International Conference on Learning Representations , 2021 . URL https://openreview.net/forum?id=YicbFdNTTy . ↵ R. Entezari , M. Wortsman , O. Saukh , M. M. Shariatnia , H. Sedghi , and L. Schmidt . The role of pre-training data in transfer learning . arXiv preprint arxiv: 2302.13602 , 2023 . C. Fan , N. Hahn , F. Kamdar , D. Avansino , G. H. Wilson , L. Hochberg , K. V. Shenoy , J. M. Henderson , and F. R. Willett . Plug-and-play stability for intracortical brain-computer interfaces: A one-year demonstration of seamless brain-to-text communication . In Thirty-seventh Conference on Neural Information Processing Systems , 2023 . URL https://openreview.net/forum?id=STqaMqhtDi . J. Farebrother , J. Orbay , Q. Vuong , A. A. Taïga , Y. Chebotar , T. Xiao , A. Irpan , S. Levine , P. S. Castro , A. Faust , A. Kumar , and R. Agarwal . Stop regressing: Training value functions via classification for scalable deep rl , 2024 . URL https://arxiv.org/abs/2403.03950 . ↵ R. D. Flint , E. W. Lindberg , L. R. Jordan , L. E. Miller , and M. W. Slutzky . Accurate decoding of reaching movements from field potentials in the absence of spikes . Journal of neural engineering , 9 ( 4 ): 046006 , 2012 . OpenUrl CrossRef PubMed ↵ P. Gao and S. Ganguli . On simplicity and complexity in the brave new world of large-scale neuroscience . Current opinion in neurobiology , 32 : 148 – 155 , 2015 . OpenUrl CrossRef PubMed ↵ J. Geiping and T. Goldstein . Cramming: Training a language model on a single gpu in one day , 2022 . URL https://arxiv.org/abs/2212.14034 . ↵ M. Geva , R. Schuster , J. Berant , and O. Levy . Transformer feedforward layers are key-value memories , 2021 . URL https://arxiv.org/abs/2012.14913 . ↵ S. Goyal , A. Kumar , S. Garg , Z. Kolter , and A. Raghunathan . Finetune like you pretrain: Improved finetuning of zero-shot vision models , 2022 . URL https://arxiv.org/abs/2212.00638 . ↵ A. Graves , S. Fernández , F. Gomez , and J. Schmidhuber . Connectionist temporal classification: labelling unsegmented sequence data with recurrent neural networks . In Proceedings of the 23rd international conference on Machine learning , pages 369 – 376 , 2006 . ↵ K. He , X. Chen , S. Xie , Y. Li , P. Dollár , and R. Girshick . Masked autoencoders are scalable vision learners , 2021 . URL https://arxiv.org/abs/2111.06377 . B. Jarosiewicz , A. A. Sarma , D. Bacher , N. Y. Masse , J. D. Simeral , B. Sorice , E. M. Oakley , C. Blabe , C. Pandarinath , V. Gilja , et al. Virtual typing by people with tetraplegia using a self-calibrating intracortical brain-computer interface . Science translational medicine , 7 ( 313 ): 313ra179 – 313ra179 , 2015 . OpenUrl Abstract / FREE Full Text ↵ W. Jiang , L. Zhao , and B. liang Lu . Large brain model for learning generic representations with tremendous EEG data in BCI . In The Twelfth International Conference on Learning Representations , 2024 . URL https://openreview.net/forum?id=QzTpTRVtrP . ↵ J. Kaplan , S. McCandlish , T. Henighan , T. B. Brown , B. Chess , R. Child , S. Gray , A. Radford , J. Wu , and D. Amodei . Scaling laws for neural language models , 2020 . ↵ B. M. Karpowicz , J. Ye , C. Fan , P. Tostado-Marcos , F. Rizzoglio , C. Washington , T. Scodeler , D. de Lucena , S. R. Nason-Tomaszewski , M. J. Mender , X. Ma , E. M. Arneodo , L. R. Hochberg , C. A. Chestek , J. M. Henderson , T. Q. Gentner , V. Gilja , L. E. Miller , A. G. Rouse , R. A. Gaunt , J. L. Collinger , and C. Pandarinath . Few-shot algorithms for consistent neural decoding (falcon) benchmark . bioRxiv , 2024 . doi: 10.1101/2024.09.15.613126 . URL https://www.biorxiv.org/content/early/2024/09/16/2024.09.15.613126 . OpenUrl Abstract / FREE Full Text ↵ A. Kolesnikov , L. Beyer , X. Zhai , J. Puigcerver , J. Yung , S. Gelly , and N. Houlsby . Big transfer (bit): General visual representation learning , 2020 . URL https://arxiv.org/abs/1912.11370 . ↵ D. Kostas , S. Aroca-Ouellette , and F. Rudzicz . BENDR: Using transformers and a contrastive self-supervised learning task to learn from massive amounts of EEG data . Frontiers in Human Neuroscience , 15 , 2021 . ISSN 1662-5161 . doi: 10.3389/fnhum.2021.653659 . URL https://www.frontiersin.org/articles/10.3389/fnhum.2021.653659 . OpenUrl CrossRef ↵ C. Lea , R. Vidal , A. Reiter , and G. D. Hager . Temporal convolutional networks: A unified approach to action segmentation , 2016 . URL https://arxiv.org/abs/1608.08242 . ↵ K.-H. Lee , O. Nachum , M. Yang , L. Lee , D. Freeman , W. Xu , S. Guadarrama , I. Fischer , E. Jang , H. Michalewski , and I. Mordatch . Multi-game decision transformers , 2022 . URL https://arxiv.org/abs/2205.15241 . X. Ma , F. Rizzoglio , E. J. Perreault , L. E. Miller , and A. Kennedy . Using adversarial networks to extend brain computer interface decoding accuracy over time . Aug 2022 . doi: 10.1101/2022.08.26.504777 . URL https://www.biorxiv.org/content/10.1101/2022.08.26.504777v1 . OpenUrl Abstract / FREE Full Text P. J. Marino , L. Bahureksa , C. Fernández Fisac , E. R. Oby , A. L. Smoulder , A. Motiwala , A. D. Degenhart , E. M. Grigsby , W. M. Joiner , S. M. Chase , et al. A posture subspace in primary motor cortex . bioRxiv , pages 2024 – 08 , 2024 . M. J. Mender , S. R. Nason-Tomaszewski , H. Temmar , J. T. Costello , D. M. Wallace , M. S. Willsey , N. Ganesh Kumar , T. A. Kung , P. Patil , and C. A. Chestek . The impact of task context on predicting finger movements in a brain-machine interface . eLife , 12 : e82598 , jun 2023 . ISSN 2050-084X . doi: 10.7554/eLife.82598 . URL https://doi.org/10.7554/eLife.82598. OpenUrl CrossRef PubMed ↵ J. Merel , D. Carlson , L. Paninski , and J. P. Cunningham . Neuroprosthetic decoder training as imitation learning . PLoS computational biology , 12 ( 5 ): e1004948 , 2016 . OpenUrl CrossRef ↵ M. Mitchell , S. Wu , A. Zaldivar , P. Barnes , L. Vasserman , B. Hutchinson , E. Spitzer , I. D. Raji , and T. Gebru . Model cards for model reporting . In Proceedings of the Conference on Fairness, Accountability, and Transparency, FAT* ‘19. ACM , Jan . 2019 . doi: 10.1145/3287560.3287596 . URL http://dx.doi.org/10.1145/3287560.3287596 . OpenUrl CrossRef ↵ B. Neyshabur , H. Sedghi , and C. Zhang . What is being transferred in transfer learning? Advances in neural information processing systems , 33 : 512 – 523 , 2020 . OpenUrl K. K. Noneman and J. Patrick Mayo . Decoding continuous tracking eye movements from cortical spiking activity . International Journal of Neural Systems, page S0129065724500709 , Oct . 2024 . ISSN 0129-0657, 1793-6462 . doi: 10.1142/S0129065724500709 . URL https://www.worldscientific.com/doi/10.1142/S0129065724500709 . OpenUrl CrossRef ↵ J. E. O’Doherty , M. M. B. Cardoso , J. G. Makin , and P. N. Sabes . Nonhuman primate reaching with multichannel sensorimotor cortex electrophysiology , May 2017 . URL doi: 10.5281/zenodo.788569 . OpenUrl CrossRef ↵ C. Pandarinath and S. J. Bensmaia . The science and engineering behind sensitized brain-controlled bionic hands . Physiological Reviews , 102 ( 2 ): 551 – 604 , 2022 . OpenUrl CrossRef PubMed C. Pandarinath , P. Nuyujukian , C. H. Blabe , B. L. Sorice , J. Saab , F. R. Willett , L. R. Hochberg , K. V. Shenoy , and J. M. Henderson . High performance communication by people with paralysis using an intracortical brain-computer interface . elife , 6 : e18554 , 2017 . OpenUrl CrossRef PubMed ↵ F. C. Pei , J. Ye , D. M. Zoltowski , A. Wu , R. H. Chowdhury , H. Sohn , J. E. O’Doherty , K. V. Shenoy , M. Kaufman , M. M. Churchland , M. Jazayeri , L. E. Miller , J. W. Pillow , I. M. Park , E. L. Dyer , and C. Pandarinath . Neural latents benchmark ‘21: Evaluating latent variable models of neural population activity . In Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 2) , 2021 . URL https://openreview.net/forum?id=KVMS3fl4Rsv . ↵ S. M. Peterson , S. H. Singh , B. Dichter , K. Tan , C. DiBartolomeo , D. Theogarajan , P. Fisher , and J. Parvizi . Ajile12: Long-term naturalistic human intracranial neural recordings and pose . Scientific Data , 9 ( 1 ): 184 , 2022 . ISSN 2052-4463 . doi: 10.1038/s41597-022-01280-y . URL https://doi.org/10.1038/s41597-022-01280-y. OpenUrl CrossRef PubMed K. M. Quick , J. L. Mischel , P. J. Loughlin , and A. P. Batista . The critical stability task: quantifying sensory-motor control during ongoing movement in nonhuman primates . Journal of Neurophysiology , 120 ( 5 ): 2164 – 2181 , 2018 . OpenUrl CrossRef PubMed ↵ S. Reed , K. Zolna , E. Parisotto , S. G. Colmenarejo , A. Novikov , G. Barth-Maron , M. Gimenez , Y. Sulsky , J. Kay , J. T. Springenberg , T. Eccles , J. Bruce , A. Razavi , A. Edwards , N. Heess , Y. Chen , R. Hadsell , O. Vinyals , M. Bordbar , and N. de Freitas . A generalist agent , 2022 . URL https://arxiv.org/abs/2205.06175 . ↵ F. Rizzoglio , E. Altan , X. Ma , K. L. Bodkin , B. M. Dekleva , S. A. Solla , A. Kennedy , and L. E. Miller . Monkey-to-human transfer of brain-computer interface decoders . bioRxiv , 2022 . doi: 10.1101/2022.11.12.515040 . URL https://www.biorxiv.org/content/early/2022/11/13/2022.11.12.515040 . OpenUrl Abstract / FREE Full Text ↵ M. Sato , K. Tomeoka , I. Horiguchi , K. Arulkumaran , R. Kanai , and S. Sasai . Scaling law in neural data: Non-invasive speech decoding with 175 hours of eeg data , 2024 . URL https://arxiv.org/abs/2407.07595 . ↵ S. Schneider , J. H. Lee , and M. W. Mathis . Learnable latent embeddings for joint behavioural and neural analysis . Nature , May 2023 . ISSN 1476-4687 . doi: 10.1038/s41586-023-06031-6 . URL https://doi.org/10.1038/s41586-023-06031-6. OpenUrl CrossRef PubMed ↵ I. Schubert , J. Zhang , J. Bruce , S. Bechtle , E. Parisotto , M. Riedmiller , J. T. Springenberg , A. Byravan , L. Hasenclever , and N. Heess . A generalist dynamics model for control , 2023 . URL https://arxiv.org/abs/2305.10912 . ↵ N. M. M. Shafiullah , Z. J. Cui , A. Altanzaya , and L. Pinto . Behavior transformers: Cloning k modes with one stone , 2022 . URL https://arxiv.org/abs/2206.11251 . ↵ Q. Simeon , L. Venâncio , M. A. Skuhersky , A. Nayebi , E. S. Boyden , and G. R. Yang . Scaling properties for artificial neural network models of a small nervous system . In SoutheastCon 2024 , pages 516 – 524 . IEEE, 2024 . ↵ N. A. Steinmetz , P. Zatka-Haas , M. Carandini , and K. D. Harris . Distributed coding of choice, action and engagement across the mouse brain . Nature , 576 ( 7786 ): 266 – 273 , 2019 . OpenUrl CrossRef PubMed ↵ I. H. Stevenson . Tracking advances in neural recording . Statistical Neuroscience Lab, University of Connecticut , 2023 . URL https://stevenson.lab.uconn.edu/scaling/ . Accessed September 6, 2024 . ↵ J. Su , Y. Lu , S. Pan , A. Murtadha , B. Wen , and Y. Liu . Roformer: Enhanced transformer with rotary position embedding , 2023 . URL https://arxiv.org/abs/2104.09864 . ↵ S. J. Talukder , J. J. Sun , M. K. Leonard , B. W. Brunton , and Y. Yue . Deep neural imputation: A framework for recovering incomplete brain recordings . In NeurIPS 2022 Workshop on Learning from Time Series for Health , 2022 . URL https://openreview.net/forum?id=c9qFg8UrIcn . ↵ R. Thapa , B. He , M. R. Kjaer , H. Moore , G. Ganjoo , E. Mignot , and J. Zou . Sleepfm: Multi-modal representation learning for sleep across brain activity, ecg and respiratory signals , 2024 . URL https://arxiv.org/abs/2405.17766 . A. W. Thomas , C. Ré, and R. A. Poldrack . Self-supervised learning of brain dynamics from broad neuroimaging data , 2023 . ↵ A. E. Urai , B. Doiron , A. M. Leifer , and A. K. Churchland . Largescale neural recordings call for new insights to link brain and behavior . Nature Neuroscience , 25 : 11 – 19 , 2022 . doi: 10.1038/s41593-021-00980-9 . OpenUrl CrossRef PubMed ↵ A. Wang , A. Singh , J. Michael , F. Hill , O. Levy , and S. R. Bowman . Glue: A multi-task benchmark and analysis platform for natural language understanding , 2019 . URL https://arxiv.org/abs/1804.07461 . ↵ C. Wang , V. Subramaniam , A. U. Yaari , G. Kreiman , B. Katz , I. Cases , and A. Barbu . BrainBERT: Self-supervised representation learning for intracranial recordings . In The Eleventh International Conference on Learning Representations , 2023a . URL https://openreview.net/forum?id=xmcYx_reUn6 . ↵ E. Y. Wang , P. G. Fahey , K. Ponder , Z. Ding , A. Chang , T. Muhammad , S. Patel , Z. Ding , D. Tran , J. Fu , et al. Towards a foundation model of the mouse visual cortex . bioRxiv , 2023b . ↵ H. Wang , T. Fu , Y. Du , W. Gao , K. Huang , Z. Liu , P. Chandak , S. Liu , P. Van Katwyk , A. Deac , et al. Scientific discovery in the age of artificial intelligence . Nature , 620 ( 7972 ): 47 – 60 , 2023c . OpenUrl CrossRef PubMed ↵ T. Wang , A. Roberts , D. Hesslow , T. L. Scao , H. W. Chung , I. Beltagy , J. Launay , and C. Raffel . What language model architecture and pretraining objective work best for zero-shot generalization? , 2022 . URL https://arxiv.org/abs/2204.05832 . ↵ F. R. Willett , D. T. Avansino , L. R. Hochberg , J. M. Henderson , and K. V. Shenoy . High-performance brain-to-text communication via handwriting . Nature , 593 ( 7858 ): 249 – 254 , May 2021 . ISSN 1476-4687 . doi: 10.1038/s41586-021-03506-2 . URL https://www.nature.com/articles/s41586-021-03506-2 . OpenUrl CrossRef PubMed ↵ B. Wodlinger , J. E. Downey , E. C. Tyler-Kabara , A. B. Schwartz , M. L. Boninger , and J. L. Collinger . Ten-dimensional anthropomorphic arm control in a human brain-machine interface: difficulties, solutions, and limitations . Journal of Neural Engineering , 12 ( 1 ): 016011 , Feb 2015 . ISSN 1741-2560, 1741-2552 . doi: 10.1088/1741-2560/12/1/016011 . URL https://iopscience.iop.org/article/10.1088/1741-2560/12/1/016011 . OpenUrl CrossRef PubMed J. R. Wolpaw , N. Birbaumer , D. J. McFarland , G. Pfurtscheller , and T. M. Vaughan . Brain–computer interfaces for communication and control . Clinical neurophysiology , 113 ( 6 ): 767 – 791 , 2002 . OpenUrl CrossRef PubMed Web of Science ↵ M. Wortsman , P. J. Liu , L. Xiao , K. E. Everett , A. A. Alemi , B. Adlam , J. D. Co-Reyes , I. Gur , A. Kumar , R. Novak , J. Pennington , J. Sohl-Dickstein , K. Xu , J. Lee , J. Gilmer , and S. Kornblith . Small-scale proxies for large-scale transformer training instabilities . In The Twelfth International Conference on Learning Representations , 2024 . URL https://openreview.net/forum?id=d8w0pmvXbZ . ↵ W. Xia , R. de Charette , C. Öztireli , and J.-H. Xue . Umbrae: Unified multimodal brain decoding . In European Conference on Computer Vision (ECCV) , 2024 . ↵ C. Yang , M. B. Westover , and J. Sun . Biot: Cross-data biosignal learning in the wild , 2023 . URL https://arxiv.org/abs/2305.10351 . ↵ C. Yang , J. Li , X. Niu , X. Du , S. Gao , H. Zhang , Z. Chen , X. Qu , R. Yuan , Y. Li , J. Liu , S. W. Huang , S. Yue , and G. Zhang . The fine line: Navigating large language model pretraining with down-streaming capability analysis , 2024 . URL https://arxiv.org/abs/2404.01204 . ↵ J. Ye , J. L. Collinger , L. Wehbe , and R. Gaunt . Neural data transformer 2: Multi-context pretraining for neural spiking activity . In Thirty-seventh Conference on Neural Information Processing Systems , 2023 . URL https://openreview.net/forum?id=CBBtMnlTGq . ↵ Z. Yuan , F. Shen , M. Li , Y. Yu , C. Tan , and Y. Yang . Brainwave: A brain signal foundation model for clinical applications , 2024 . URL https://arxiv.org/abs/2402.10251 . ↵ Y. Zhang , Y. Wang , D. Jimenez-Beneto , Z. Wang , M. Azabou , B. Richards , O. Winter , T. I. B. Laboratory , E. Dyer , L. Paninski , et al. Towards a” universal translator” for neural dynamics at single-cell, single-spike resolution . arXiv preprint arxiv: 2407.14668 , 2024 . View the discussion thread. Back to top Previous Next Posted February 06, 2025. Download PDF Email Thank you for your interest in spreading the word about bioRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following A Generalist Intracortical Motor Decoder Message Subject (Your Name) has forwarded a page to you from bioRxiv Message Body (Your Name) thought you would like to see this page from the bioRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share A Generalist Intracortical Motor Decoder Joel Ye , Fabio Rizzoglio , Adam Smoulder , Hongwei Mao , Xuan Ma , Patrick Marino , Raeed Chowdhury , Dalton Moore , Gary Blumenthal , William Hockeimer , Nicolas G. Kunigk , J. Patrick Mayo , Aaron Batista , Steven Chase , Adam Rouse , Michael L. Boninger , Charles Greenspon , Andrew B. Schwartz , Nicholas G. Hatsopoulos , Lee E. Miller , Kristofer E. Bouchard , Jennifer L. Collinger , Leila Wehbe , Robert Gaunt bioRxiv 2025.02.02.634313; doi: https://doi.org/10.1101/2025.02.02.634313 Share This Article: Copy Citation Tools A Generalist Intracortical Motor Decoder Joel Ye , Fabio Rizzoglio , Adam Smoulder , Hongwei Mao , Xuan Ma , Patrick Marino , Raeed Chowdhury , Dalton Moore , Gary Blumenthal , William Hockeimer , Nicolas G. Kunigk , J. Patrick Mayo , Aaron Batista , Steven Chase , Adam Rouse , Michael L. Boninger , Charles Greenspon , Andrew B. Schwartz , Nicholas G. Hatsopoulos , Lee E. Miller , Kristofer E. Bouchard , Jennifer L. Collinger , Leila Wehbe , Robert Gaunt bioRxiv 2025.02.02.634313; doi: https://doi.org/10.1101/2025.02.02.634313 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Neuroscience Subject Areas All Articles Animal Behavior and Cognition (7622) Biochemistry (17648) Bioengineering (13871) Bioinformatics (41880) Biophysics (21423) Cancer Biology (18558) Cell Biology (25460) Clinical Trials (138) Developmental Biology (13364) Ecology (19866) Epidemiology (2067) Evolutionary Biology (24290) Genetics (15589) Genomics (22475) Immunology (17711) Microbiology (40327) Molecular Biology (17145) Neuroscience (88473) Paleontology (666) Pathology (2827) Pharmacology and Toxicology (4816) Physiology (7635) Plant Biology (15114) Scientific Communication and Education (2044) Synthetic Biology (4286) Systems Biology (9815) Zoology (2268)
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.