Pretraining of Embodied Recurrent Networks Bridges the Gap Between Artificial and Cortical Neural Activities.
The 8 matches · 3 of them tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
- [1] § 3. Results › 3.2. The SR Model Shows Enhanced Alignment with Biological Neural Geometry and Dynamics ↔ analysis/run_model_comparison.py, the whole file · a weak match · score 0.77 · Kruskal Wallis, SR Dense, model comparison, DR Multi, CO Single, Friedman
- [2] § 3. Results › 3.2. The SR Model Shows Enhanced Alignment with Biological Neural Geometry and Dynamics ↔ analysis/run_stats_dsa.py, the whole file · a weak match · score 0.63 · SR Dense, DR Multi, CO Single, pairwise, Moderate, ranking
- [3] § 3. Results › 3.2. The SR Model Shows Enhanced Alignment with Biological Neural Geometry and Dynamics ↔ figures/fig7.py, lines 148–187 · score 0.60 · CO Multi model, SR model, CO Single, dense, CC, AUC
- [4] § 2. Materials and Methods › 2.1. Model Architecture › 2.1.2. Musculoskeletal Arm Model ↔ training/train_dr.py, lines 177–252 · score 0.60 · RigidTendonHillMuscle, RigidTendonArm26, nn, proprioceptive, class, effector
- [5] § 2. Materials and Methods › 2.2. Task Representations and Training Procedure › 2.2.4. Training Procedure ↔ tasks/grid_reach.py, lines 75–161 · score 0.59 · 100–300 ms, catch trial, uniformly, GO, 100 ms, joint
- [6] § 3. Results › 3.1. Behavioral Performance and Neural Activity of the Single-Reach Model ↔ analysis/eval_BasicModel.py, lines 20–54 · score 0.59 · 0.05–0.35, reaching distance, joint space, Cartesian, workspace, intervals
- [7] § 2. Materials and Methods › 2.1. Model Architecture › 2.1.2. Musculoskeletal Arm Model ↔ scripts/pre_data.py, the whole file · a weak match · score 0.58 · RigidTendonHillMuscle, RigidTendonArm26, pre, angles, class, effector
- [8] § 3. Results › 3.1. Behavioral Performance and Neural Activity of the Single-Reach Model ↔ model/build.py, lines 83–132 · score 0.57 · angle intervals, reaching distance, joint space, Cartesian, workspace, model
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Python · 40 lines · 1.5 KB · no license · 1 match
- import numpy as np
- from itertools import combinations
- from scipy.stats import friedmanchisquare, wilcoxon, kruskal
- models = ["SR_Dense", "SR_Moderate", "SR_Sparse",
- "CO_Single", "CO_Multi", "DR_Single", "DR_Multi"]
- model_idx = {label: i for i, label in enumerate(
- ["MC_agg", "MM_agg", "SR_Dense", "SR_Moderate", "SR_Sparse",
- "CO_Single", "CO_Multi", "DR_Single", "DR_Multi"])}
- file_name = "Data/CO/"
- for fname, monkey in [("DSA_C.npy", "Monkey C"), ("DSA_M.npy", "Monkey M")]:
- arr = np.load(file_name+fname)
- print(f"\n{monkey}")
- data = np.array([arr[model_idx[m]] for m in models])
- stat, p = friedmanchisquare(*data)
- print(f"Friedman: chi2={stat:.3f}, p={p:.6f}")
- pairs = []
- for a, b in combinations(range(7), 2):
- w, p_w = wilcoxon(data[a], data[b])
- pairs.append({"m1": models[a], "m2": models[b],
- "diff": float(np.mean(data[a] - data[b])), "p": p_w})
- pairs.sort(key=lambda x: x["p"])
- for r, pr in enumerate(pairs):
- pr["adj"] = 0.05 / (len(pairs) - r)
- pr["reject"] = pr["p"] < pr["adj"]
- sig = [p for p in pairs if p["reject"]]
- print(f" Sig: {len(sig)}/{len(pairs)}")
- for pr in sig:
- print(f" {pr['m1']:15s} vs {pr['m2']:15s} diff={pr['diff']:+8.6f} p={pr['p']:.6f}")
- sr = data[[0, 1, 2]].ravel()
- co = data[[3, 4]].ravel()
- dr = data[[5, 6]].ravel()
- h, p_k = kruskal(sr, co, dr)
- print(f" Kruskal-Wallis (SR vs CO vs DR): H={h:.3f}, p={p_k:.6f}")
run_model_comparison.py at commit 7a85393, no license · at the source
Overview
- School of Biomedical Engineering, Shanghai Jiao Tong University, Shanghai 200240, China; (X.B.); (H.J.)
- Graduate School of Biomedical Engineering, University of New South Wales, Sydney, NSW 2052, Australia
- Department of Physical Education, Shanghai Jiao Tong University, Shanghai 200240, China
Abstract
Task-driven recurrent neural networks (RNNs) have been widely employed as tools for investigating neural dynamics in neural motor control research by modeling the motor cortex. RNNs are often implicitly assumed to learn the underlying computational mechanisms in accordance with biological neural circuits. However, the brain network has a highly structured and specific network connectivity and during individual development the motor cortex has acquired a rich repertoire of behavioral primitives via continuous learning of body control. Considering that the task-driven RNNs are often initialized randomly and trained directly on the specific task, how much these models can truly reveal about the motor cortex is still a crucial question awaiting further research. In this study, we propose a method for modeling the motor cortex pretrained on single reaching skills. Specifically, we use an RNN, receiving sensory feedback and task inputs, as the controller to produce motor commands that drive a musculoskeletal arm model. This model can perform reaching movements along a mini-jerk trajectory between arbitrary points in the workspace, prior to training on specific tasks. The model pretrained on single-reach task has more similarity with real neural data both on a neural geometry and neural dynamics level in center-out (CO) and random target touch (RTT) tasks than models directly trained on these tasks. Surprisingly, we observed the opposite pattern in a double-reach (DR) task, in which two targets appeared simultaneously, rather than presenting the next target after the completion of the prior movement as in the RTT task. This suggests that sequential movements are planned as an integrated unit, and this capability may be implemented at the level of motor cortical circuits. In summary, our results suggest that endowing the network with capabilities beyond the immediate task demands—through more systematic training or other methods—can help better understand the dynamics of biological neural circuits.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 8 matches between paragraphs and lines of code.
RevuBu/Pretrained_RNN
7a853932e22cc30a1f38185ec562f5f2058d0a49, 31 July 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
35 files
- analysis/
Compute_CO_DSA.py , Python, 38 lines - analysis/
Compute_rtt_DSA.py , Python, 82 lines - analysis/
Melting.py , Python, 129 lines - analysis/
__init__.py , Python, 2 lines - analysis/
eval_BasicModel.py , Python, 182 lines, 1 match - analysis/
run_model_comparison.py , Python, 40 lines, 1 match - analysis/
run_stats_auc.py , Python, 184 lines - analysis/
run_stats_dsa.py , Python, 71 lines, 1 match - analysis/
run_stats_rtt.py , Python, 55 lines - figures/
__init__.py , Python, 1 line - figures/
fig3.py , Python, 435 lines - figures/
fig4.py , Python, 249 lines - figures/
fig5.py , Python, 231 lines - figures/
fig6.py , Python, 155 lines - figures/
fig7.py , Python, 199 lines, 1 match - model/
__init__.py , Python, 2 lines - model/
build.py , Python, 132 lines, 1 match - model/
rnn.py , Python, 201 lines - scripts/
__init__.py , Python, 1 line - scripts/
pre_CO_data.py , Python, 89 lines - scripts/
pre_DR_data.py , Python, 145 lines - scripts/
pre_data.py , Python, 62 lines, 1 match - setup.py, Python, 22 lines
- tasks/
__init__.py , Python, 3 lines - tasks/
grid_reach.py , Python, 459 lines, 1 match - tasks/
kinematics.py , Python, 72 lines - tasks/
sequential_reach.py , Python, 653 lines - training/
__init__.py , Python, 2 lines - training/
params.py , Python, 58 lines - training/
pretrain_grid.py , Python, 157 lines - training/
train_co.py , Python, 160 lines - training/
train_dr.py , Python, 252 lines, 1 match - training/
train_rtt.py , Python, 186 lines - training/
utils.py , Python, 175 lines - README.md, Text, 74 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 34 scripts, each with its path and the digest of its content;
- 8 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
Datasets cited
- crcns.org/
data-sets/ , at CRCNS; found in the referencesmotor-cortex
Data Availability Statement
The original contributions presented in this study are included in the article. The custom code used for this study will be made publicly available on GitHub (https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 5 authors, 5 keywords, 3 funders, 92 references.
Cite
This paper
Bu, X., Jiang, H., Guo, T., Li, H., & Chen, Y. (2026). Pretraining of Embodied Recurrent Networks Bridges the Gap Between Artificial and Cortical Neural Activities. Biomimetics (Basel, Switzerland), 11(8), 569. https://
BibTeX
@article{bu2026pretraini
author = {Bu, Xiangdong and Jiang, Hongru and Guo, Tianruo and Li, Heng and Chen, Yao},
title = {{Pretraining of Embodied Recurrent Networks Bridges the Gap Between Artificial and Cortical Neural Activities}},
journal = {Biomimetics (Basel, Switzerland)},
year = {2026},
month = aug,
volume = {11},
number = {8},
pages = {569},
publisher = {Multidisciplinary Digital Publishing Institute (MDPI)},
issn = {2313-7673},
doi = {10.3390/
url = {https://
pmid = {42645286},
pmcid = {PMC13510150}
}
RIS
TY - JOUR
AU - Bu, Xiangdong
AU - Jiang, Hongru
AU - Guo, Tianruo
AU - Li, Heng
AU - Chen, Yao
TI - Pretraining of Embodied Recurrent Networks Bridges the Gap Between Artificial and Cortical Neural Activities
T2 - Biomimetics (Basel, Switzerland)
J2 - Biomimetics (Basel)
PY - 2026
DA - 2026/
VL - 11
IS - 8
SP - 569
SN - 2313-7673
PB - Multidisciplinary Digital Publishing Institute (MDPI)
DO - 10.3390/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.3390/
"type": "article-journal",
"title": "Pretraining of Embodied Recurrent Networks Bridges the Gap Between Artificial and Cortical Neural Activities",
"container-title": "Biomimetics (Basel, Switzerland)",
"author": [
{
"family": "Bu",
"given": "Xiangdong"
},
{
"family": "Jiang",
"given": "Hongru"
},
{
"family": "Guo",
"given": "Tianruo"
},
{
"family": "Li",
"given": "Heng"
},
{
"family": "Chen",
"given": "Yao"
}
],
"container-title-short":
"volume": "11",
"issue": "8",
"page": "569",
"DOI": "10.3390/
"PMID": "42645286",
"PMCID": "PMC13510150",
"ISSN": "2313-7673",
"publisher": "Multidisciplinary Digital Publishing Institute (MDPI)",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
9
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1016/j.neuron.2026.07.016 [code]
- Inferring brain-wide interactions using data-constrained recurrent neural network models.Journal: NeuronIn common: Matplotlib, NumPy, systems, 10 references
- [2] doi:10.1038/s41467-026-75924-7 [code]
- Data-driven reduced modeling of neural dynamics.Journal: Nature communicationsIn common: scikit-learn, SciPy, Matplotlib, 1 other tool, 9 references
- [3] doi:10.1371/journal.pcbi.1014162 [code]
- Exploring neural manifolds across a wide range of intrinsic dimensions.Journal: PLoS computational biologyIn common: scikit-learn, SciPy, Matplotlib, 1 other tool, 8 references
- [4] doi:10.7554/elife.107423 [code]
- A context-free model of savings in motor learning.Journal: eLifeIn common: PyTorch, scikit-learn, SciPy, 2 other tools, 6 references
- [5] doi:10.7554/elife.111876 [code]
- Distinct sensorimotor encoding in tuft dendrites and somata associated with action, correction, and learning.Journal: eLifeIn common: PyTorch, scikit-learn, SciPy, 2 other tools, 5 references
- [6] doi:10.1371/journal.pbio.3003831 [code]
- Disinhibitory signaling enables flexible coding of top-down information in cortical networks.Journal: PLoS biologyIn common: PyTorch, scikit-learn, SciPy, 2 other tools, systems, 5 references
- [7] doi:10.1038/s41467-026-75455-1 [code]
- Shared latent representations of speech production for cross-patient speech decoding.Journal: Nature communicationsIn common: PyTorch, scikit-learn, SciPy, 2 other tools, 5 references
- [8] doi:10.1371/journal.pcbi.1014585 [code]
- Decoding behavior with minimal and interpretable agent models.Journal: PLoS computational biologyIn common: PyTorch, SciPy, Matplotlib, 1 other tool, 5 references
- [9] doi:10.1038/s41586-026-10528-1 [code]
- A critical initialization for biological neural networks.Journal: NatureIn common: PyTorch, scikit-learn, SciPy, 2 other tools, 4 references
- [10] doi:10.1016/j.isci.2026.117492 [code]
- Neural subspace reorganization reflects value-based decision-making.Journal: iScienceIn common: scikit-learn, SciPy, Matplotlib, 1 other tool, 5 references
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 34 scripts, and 8 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:ee3a2a03fcdf9cd0…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
