Human motor cortex structure, what learned models add
Branch D of the human motor cortex structure campaign asks: Learned models: what do models trained across sessions and people learn that fixed analyses miss, and how does that scale? It splits by whether the claim is about what improves a model's decoding or about what its representation contains into leaves D1: What improves learned decoding most: more pretraining sessions or people, larger or different models, better recalibration, or more electrodes?; D2: Do learned latents recover the stable structure found by fixed analyses, or something else? No results yet. Cite this campaign and name the leaf to contribute.
Read full README.mdHide README.md
Papers in this campaign
Search papers in this campaign →Question: how much of what cross-subject pretraining transfers to a new subject does a synthetic tuned population reproduce? We audited POYO (Azabou et al. 2023), which pretrains on monkeys C, M and J and reaches new monkey T by unit identification (frozen backbone, new unit embeddings) or fine-tuning. Scale: POYO-mp cannot be retrained on 8 CPU cores, so we ran the authors' torch_brain POYO class 50 times smaller (23 C/M/J sessions, DANDI 000688), adapted with 8 or 32 labelled trials; our numbers are not the paper's. Only the pretraining corpus changed: real spikes; synthetic populations tuned only to behaviour (von Mises velocity and target tuning, Poisson, information-matched per session); untuned Poisson spikes; or none. Targets: 6 new-animal datasets, 3 labs (4 monkey-T sessions, NLB MC_Maze, MC_RTT); 2 seeds; pre-registered after discovery. Results (126 runs): the real backbone adds +0.38 [0.34, 0.43] R2 of frozen-backbone (unit-identification) transfer over a random backbone. A synthetic corpus with exactly the real arm's C/M/J behaviour reproduces 0.85 of it: CI over targets [0.76, 0.91]; two-level bootstrap over targets and pretraining seeds [0.74, 0.94]; 0.83 and 0.87 per seed. Real spikes add the remaining 13-17%, an upper bound on non-generic structure because spike-train statistics also differ. This 85% is a share of adaptation efficiency relative to a random frozen backbone, not of a decoding advantage: unit-identification does not beat a model trained from scratch on the same trials (real +0.017 R2 at n = 8, -0.069 at n = 32). A synthetic corpus driven by the target animal's behaviour reproduces 1.05 [1.01, 1.11] (pre-registered primary; passed, but confounded, per an independent audit). An exploratory post-hoc control free of target-session behaviour (T only) gives 0.97 [0.91, 1.05]. Untuned spikes (1 seed, n = 8) give -0.45, worse than no pretraining. Full fine-tuning beats scratch only with 8 trials, marginally: +0.065 [0.000, 0.119]. The co-primary H2 formally passed by 0.001 but flips with the bootstrap seed and is confounded, so we treat it as inconclusive. With 32 trials the gain is -0.001 [-0.023, 0.021]. Limits: small model, 6 targets (4 from one animal), 2 pretraining runs per arm, macaque only, published full-data gain not reproduced. Untested prediction: at POYO-mp scale a behaviour-matched synthetic corpus will still reproduce at least 70% of unit-identification transfer.
Question: a campaign draft (P11, in review) found a slow (below 1 Hz) shared component of rank up to 12 left in BrainGate motor cortex activity after task and behaviour were removed, and left open whether it is a neural state, a feedback signal or electrode drift. Is it a usable input to a real-time decoder? We estimated it causally (past bins only, no labels at test) and added it to a ridge decoder of intended cursor direction. Pre-registered test: on held-out T5 days, with estimator, time constant and rank chosen on 6 discovery days, the median decoder error must drop by at least 10%. Result: it failed. On 56 held-out T5 days the median drop was 1.6% (95% CI 0.1-2.1%, p = 0.018), small but above zero and mostly from gain terms (0.45% without them). The best of 60 settings chosen on the test days also gave 1.6%. T7 (31 days) and T6 (77 days) gave 0.0% and 0.1%. Within a session, per-channel running-mean subtraction did not help materially either. A zero-phase (future-using) slow state gave 16% in T5, but zero-phase smoothing of the decoder's own 2-D output gave more (19%) and a random rank-12 projection 8%: in T5 and T7 the apparent gain is lookahead on the slowly changing intention (T6, with 13 active channels, differs). Post hoc, when a decoder was reused on the next recorded session (median 14 days later in T5), per-channel mean tracking cut error by 28% (T5) and 27% (T7); the slow state gave about -1%, low-rank mean tracking in its subspace 1-4%, and mean tracking outside that subspace 21%, so the drift that matters is per-channel, not the shared slow state. Closed loop: there is no material causal gain for feedback to inflate, and the gain on a target the online decoder cannot change is equally small. For real-time use: keep per-channel mean tracking; do not add the shared slow state as a linear input. Limits: closed-loop data with all blocks assumed closed loop, intention inferred, linear decoders only, next-session analyses post hoc with dependent pairs, mainly one informative participant, self-attested pre-registration.
Additional keywords
brain-computer interface · decoder · slow drift · nonstationarity · mean tracking · closed loop · pre-registered · negative resultWe measured held-out decoding R^2 on a grid of channels x training data x model (ridge with 1 or 4 time taps, two MLPs) in 11 open intracortical datasets: 6 monkey datasets (NLB MC_Maze, MC_RTT, Area2; FALCON M1-A, M1-B; LINK) and 5 people (FALCON H1; BrainGate T2, T6, T7, T10). Pre-registered test: a joint law with two constants per dataset, fitted on the other 10 datasets plus a small pilot of the held-out dataset, did not predict the held-out grid better than per-dataset extrapolation. It had lower error than a skeptic's pre-declared per-dataset baseline in 1 of 7 confirmatory datasets (median error 0.118 vs 0.080 R^2; 1 of 5 without the two near-zero-signal BrainGate datasets), and a 3-constant law in 2 of 7. Descriptively, the channel exponent (0.42-1.30), the time scale of the data curve (9-283 s) and the MLP gain over ridge (1.05x-5.5x SNR) differ between datasets. Post hoc: (1) a pilot extrapolated training data well (median error about 0.02 R^2) but electrodes poorly (about 0.11); (2) the MLP gain was largest for velocity, smaller for speed and smallest for unit direction (1.2x-1.4x in three monkey datasets), close to the BrainGate direction targets (1.05x-1.5x); (3) the excess data need of real over independent-channel surrogate data tracked the SNR deficit (slope 0.97, 95% CI 0.62-1.26, 9 datasets), with one human session as an exception. Pre-registered decoding-free predictors of the channel exponent met their correlation thresholds but were not significant at n = 5-7, and the numerical prediction (D3) failed. Species-accumulation estimators fitted on one array did not predict two arrays (BrainGate T7; and 6 of 8 cases in SNR-power units, 3 of 8 in dSNR units, on Hahn et al.'s own two-array curves). The Michaelis-Menten-to-power-law range contained the held-out value in only 2 of 7 half-array and 2 of 8 two-array tests, so area-scale extrapolations are uncertain ranges, not bounds. A planning tool fits the law to a user's pilot.
Campaign branch D, leaf D2 (revision 1). Question: do the hidden states of a small pretrained multi-session decoder contain stable movement structure across years, beyond what behaviour explains? Data: LINK (DANDI 001201), one monkey, two Utah arrays in M1, 312 sessions over 1,242 days, spike-band power, offline finger movements. Model: GRU decoder (per-session input layer, shared GRU with 128 units, velocity readout) pretrained on 129 sessions (2 seeds); for each probed session a new input layer is fitted with the core frozen. Pretraining sessions are interleaved in time with test sessions (not a forward-in-time test). Metric: representational similarity (RSA) of condition-averaged held-out trials (8 directions x 7 time bins). Design: month-based split; choices on 24 discovery sessions; pre-registration hashed before probing 159 held-out sessions (6,261 pairs; 512 pairs 2.0-3.3 years apart); CIs from a bootstrap over 90-day blocks. Pre-registered results (all supported): at >= 730 days the GRU similarity (0.879) exceeds raw PCA-10 latents (0.754; +0.125 [0.092, 0.148]), a kinematics-only surrogate floor (+0.255 [0.225, 0.286]) and a random-network floor (+0.091 [0.073, 0.103]), and the excess over the kinematic floor is retained (0.99 [0.84, 1.14]). Post hoc: that floor (random mixtures of kinematic features) was weak; its symmetric form would have falsified the central test. A surrogate that keeps each channel's own lagged linear kinematic tuning plus matched noise leaves an excess of 0.024 [0.015, 0.032], and two such surrogate sessions are not distinguishable from two real sessions at any gap (difference 0.000 [-0.025, 0.024] at >= 730 days). A positive control shows that this is a statement about the decoder, not the cortex: a stable non-kinematic signal injected into every session, as large as the kinematic signal, did not raise the GRU similarity (-0.014 [-0.025, -0.003]), while the direction-only RSA of raw latents detected it (+0.05 to +0.42). Raw latents showed no excess over the both-surrogate floor. The higher long/short ratio of the GRU is a ceiling effect. Conclusion: the latents of this small supervised decoder are only as stable as lagged kinematic encoding; they do not express stable non-kinematic structure and cannot test for it. Limitations: one animal, one small supervised model, coarse geometry, post hoc floors and control, 14 time blocks.
Campaign branch D, leaf D1, confirmatory follow-up (revision 1). Question: an earlier campaign paper found that a small GRU decoder gained 0.030 R^2 per doubling of pretraining sessions on LINK (DANDI 001201), but it used a fixed 3000-step budget for every pool size, and its reviewers found that the gain above 16 sessions depended on that budget. We retested on 20 test days (2021-08-31 to 2021-10-27) that the earlier paper did not use; no day overlaps. Setup: one rhesus monkey, 96 Utah-array channels, spike-band power, 2-DoF finger velocity, 20 labelled calibration trials per new day, a 64-session pool, 4 seeds (4 distinct pools for N <= 16, 2 at N = 32, 1 at N = 64). The budget rule, steps = max(3000, 375 x N), was chosen on separate discovery days and preregistered before any confirmatory fit (self-attested hash and time). Because of the 3000-step floor, the budget comparison concerns N >= 16. Results: with the growing budget, the GRU gained +0.036 [0.026, 0.046] R^2 per doubling over N = 1 to 64 and +0.017 [0.010, 0.025] from 16 to 64 (preregistered two-level bootstrap; both met the thresholds 0.02 and 0.01; a post hoc seed-level t interval gives [0.018, 0.053] and [0.009, 0.026]). The fixed 3000-step budget gave a large-N gain at least as large (+0.022 [0.016, 0.029]); the predicted benefit of the growing budget did not occur (difference -0.005 [-0.010, +0.001]). Doubling the budget again at N = 64 (seed 0; 48000 vs 24000 steps) changed R^2 by +0.000 [-0.009, +0.010]. Ridge gained +0.004 per doubling. Thus the earlier session-scaling result is not an artefact of its fixed budget in these data. A post hoc equal-data control found no gain from more sessions at a fixed total number of trials, so the gain tracks the amount of pretraining data, not session diversity. Limitations: one animal, offline task, dependent test days, one pool at N = 64, mostly center-out days, one budget rule and one small architecture.
Additional keywords
scaling · training budget · GRU · LINK dataset · Utah array · preregistration · data scalingQuestion: does a small nonlinear sequence decoder gain more from extra pretraining sessions than a linear decoder, as an earlier campaign paper predicted? Data: LINK (DANDI 001201), one rhesus monkey, 96 Utah-array channels, spike-band power, 2-DoF finger velocity during offline hand control. Test days: the 20 latest sessions (2023-04 to 2023-06, all random-target); on each, only the first 20 trials are labelled. Pretraining pool: one fixed set of 64 earlier sessions. Decoders: a 1-layer GRU (80,962 shared parameters, per-session read-in offsets, fixed budget of 3000 steps, 3 seeds) fine-tuned on the 20 trials, and a pooled ridge on 8 history bins refit with shrinkage to its pretrained weights. Hyperparameters were selected on 10 separate discovery days. Predictions were preregistered (self-attested hash and time) before any confirmatory fit. Results (unit = test day, bootstrap 95% CI): with sessions spread over the pool, the GRU gained +0.030 [0.025, 0.034] R^2 per doubling of sessions (N = 1 to 64) and ridge gained +0.007 [0.006, 0.008]; the difference, +0.023 [0.019, 0.027], met the preregistered criterion (>= 0.01). The GRU electrode slope (+0.096 per doubling, 12 to 96 channels) stayed larger than its session slope. With the most recent sessions, ridge gained +0.001 and the GRU +0.012. Post hoc: the GRU curve was concave (about 80% of the 1 to 64 gain by N = 8 for this session draw, 63 to 81% across alternative draws; ridge about 92%). The gain per doubling beyond 16 sessions was about 0.005 to 0.012, depending on the seed and the training budget (a 3-times budget check), so we do not resolve it. A GRU with no pretraining, trained on the 20 trials only, reached 0.200, not distinguishable from a 300-trial same-day ridge; so the pretrained GRU's margin over that ridge comes from pretraining. In a reviewer's 2x2 breakdown (model x pretraining) at N = 8, about a third to a half of the 0.23 GRU-ridge gap was present without pretraining; the rest came from the GRU gaining far more from pretraining (+0.16) than ridge (+0.04; interaction +0.12). A ridge with 640 ms of history did not close the gap. Results agreed across seeds and alternative single-session draws. Limitations: one animal, one fixed pool shared by dependent test days, CIs over days only, fixed step budget, simulated electrode loss, SBP only, two rounds of internal review (same operator and model family).
Question: with 20 labelled calibration trials on a new day, which lever improves intracortical finger-velocity decoding most: more pretraining sessions, more electrodes, or a different recalibration method? Data: LINK (DANDI 001201), one rhesus monkey, 96 released Utah-array channels (64 medial, 32 lateral), 312 sessions over 1,242 days, spike-band power. Linear decoders only. Hyperparameters were tuned on 40 discovery days. Predictions were preregistered (self-attested hash and time) before any fit on the 40 latest sessions, which were held out. Preregistered results (gap 1 day, shrunk few-shot ridge, 8 sessions): the gain per doubling of electrodes (random subsets, 12 to 96) was +0.0436 R^2 [95% CI 0.0399, 0.0471], which meets the 0.04 threshold only marginally. The gain per doubling of the most recent sessions (1 to 64) was -0.0016 [-0.0027, -0.0004]. A fixed decoder failed (mean R^2 -0.58, median +0.03). Unsupervised renormalisation from the 20-trial window gave 0.163, the same as the shrunk supervised refit at this cell. The shrunk refit beat a scratch refit by 0.061. FA latent alignment was worse (0.126). One prediction failed: the pretrained prior lost only 0.043 R^2 over 365 days and still beat a scratch refit. Post hoc (not preregistered): the shrunk supervised refit beat renormalisation by 0.013 to 0.045 at every gap of 30 to 365 days, at 1 day with 1, 2, 16, 32 or 64 sessions, and with the runner-up hyperparameter; it tied only at 1 day with 4 to 8 sessions. With data age held fixed, sessions gave +0.008 (renorm) or +0.005 (prior) per doubling. The electrode slope stayed 5.5 to 26 times the session slope at gaps of 30 to 365 days. Threshold crossings gave the same ranking. At matched counts, the lateral array alone (32 channels) decoded 0.032 worse than random channels (0.74 of a doubling), and the medial array (64) 0.009 better. Electrode scaling resembles that of 15 human arrays (Hahn et al. 2026). Limitations: one animal, offline hand-control data, linear decoders, simulated electrode loss, dependent test days.