OSCR

Trainable movement control using spikes and muscle-twitch dynamics.

Code ↔ Paper

1 match between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 1 match
  1. [1] § Methods › Environment: Pong ↔ NeuromorphicPongControl/Visualization/visualize_gaussian_encoding.py, lines 1–11 · score 0.55 · Gaussian encoding, spiking signals, height, sensor, Weight

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 · 49 lines · 1.5 KB · MIT · 1 match

  1. '''Visualizes encoding from sensor values to spiking signal probability through Gaussian encoding'''
  2. import numpy as np
  3. import matplotlib.pyplot as plt
  4. import math
  5. import matplotlib.patches as patch
  6. plt.rcParams.update({'font.size': 15})
  7. plt.rcParams['font.weight'] = 'bold'
  8. plt.rcParams['axes.labelweight'] = 'bold'
  9. width = 2000
  10. height = 1601
  11. # Set your initial values here, nsensorneurons is the number of sensor neurons,
  12. # exponent is the width of the gaussian,
  13. # Sensorcenters is the location of the means.
  14. nsensorneurons = 10
  15. exponent = -25
  16. sensorcenters = np.linspace(-500, height+500, nsensorneurons)/height
  17. # Relative hit height of the ball (between 0 and 1)
  18. hitheight = 0.2
  19. fig, ax = plt.subplots(1)
  20. # Resolution
  21. points = np.arange(-1000, height + 500 + 500)/height
  22. for i, s in enumerate(sensorcenters):
  23. # Encoding avlues
  24. c1 = plt.Circle((hitheight, math.exp(exponent * (s - hitheight) ** 2)), radius=0.02, color="orange")
  25. ax.add_patch(c1)
  26. # Plot Gaussians
  27. sensoroutputs = []
  28. for p in points:
  29. sensoroutputs.append(math.exp(exponent * (s - p) ** 2))
  30. if i % 2 == 0:
  31. plt.plot(points, sensoroutputs, color="royalblue")
  32. else:
  33. plt.plot(points, sensoroutputs, color="green")
  34. # Plot environment width and ball height indicator
  35. plt.vlines([0, 1], 0, 1, color="black", linewidth=3, ls=":")
  36. plt.vlines([hitheight], 0, 1 , color="red", linewidth=2)
  37. plt.xlabel("Relative environment height")
  38. plt.ylabel("Sensor value")
  39. plt.tight_layout()
  40. plt.show()

visualize_gaussian_encoding.py at commit 2fd61c8, under MIT · at the source

Overview

  1. Department of Artificial Intelligence, Bernoulli Institute for Mathematics, Computer Science and Artificial Intelligence, University of Groningen, Groningen, Netherlands
  2. Groningen Cognitive Systems and Materials Center (CogniGron), University of Groningen, Groningen, Netherlands
Institutions: University of Groningen (Netherlands)
Journal: Frontiers in neurorobotics, volume 20, article 1761767
Dates: received 5 December 2025; accepted 10 March 2026; published online 13 April 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.3389/fnbot.2026.1761767 · PMID 42051242 · PMCID PMC13111196 · OpenAlex W7154134978
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: computational (subfield)
Methods: Complexity
Keywords: ballistic control, direct feedback alignment, global error, neuromorphic, neuromuscular inspiration, Pong, spiking neural networks, twitch
Topic: Advanced Memory and Neural Computing (Electrical and Electronic Engineering, Engineering), according to OpenAlex
Citations: not cited yet (Europe PMC); 53 references in the paper

Abstract

The biological sensorimotor system is a source of inspiration for the design of neuromorphic ballistic control systems. A large portion of sensorimotor-inspired research focuses on the sensory encoding and information processing stages of the system. However, research on broader task-performance systems, involving actuator control on the output side remains scarce. In this work, we develop and train a neuromuscular-inspired model to perform ballistic control. In the model, a spiking neural network's output spikes are used to generate twitch-like signals. These twitches are the basis for generating a continuous fluctuating output signal that is used to operate an actuator. We refer to the the used model as the Twitch Neural Network (TwNN). As a test case, the model is trained to control the paddle of an adapted version of the game of Pong. An adapted version of the Direct Feedback Alignment learning rule, specifically for integrate-and-fire neurons, is introduced. The new rule avoids the update-locking problem of backpropagation, allowing network weight updates in parallel. The model output consists of one group of agonist-innervating motor neurons, and one group of antagonist-innervating motor neurons. We find that it is possible to teach a neuromuscular-inspired system to control the paddle in the game of Pong with the adapted Direct Feedback Alignment learning rule. The best-performing baseline model achieved a hit rate of 96%. By applying logarithmic scaling to the output activity, a hit rate of 98% could be achieved. Finally, by replacing the neuromorphically unrealistic exact summation steps with leaky integrators in training, the range of good learning parameters became more narrow and clear. The best-performing model reaches a hit rate of 99%. Threshold analysis during training has shown that learning is robust to a variety of neuron thresholds. Noise analysis has shown that the system is robust to membrane potential noise during inference for uniform noise up to values in the order of around 0.1-1% of the neuron threshold value per time step.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repositories

Its files are read in the Code ↔ Paper reader above, with 1 match between paragraphs and lines of code.

JordiTi/NeuromorphicPongControl

License: MIT
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Commit: 2fd61c8bc5286adf6d5fff491be3bc605652d835, 13 March 2026
Languages: Python (19)
Size: 30 files, 19 scripts
Software Heritage: not archived
Found in: the text, “Contributions”
Holds: README, license file, environment (requirements.txt)
Not found: CITATION.cff, tests, continuous integration, documentation
Tools: NumPy (19 files), Matplotlib (14 files), imageio (2 files), pandas (2 files), SciPy (2 files), seaborn (1 file)
Availability: 1 check, the latest on 29 September 2026: the link answers
  • 29 September 2026: the link answers
21 files

Zenodo 17832222

License: MIT
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: “Data availability statement”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: NumPy (22 files), Matplotlib (16 files), imageio (3 files), pandas (2 files), SciPy (2 files), seaborn (1 file)
Availability: 1 check, the latest on 29 September 2026: the link answers (HTTP 200)
  • 29 September 2026: the link answers (HTTP 200)
24 files

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:

  • 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 41 scripts, each with its path and the digest of its content;
  • 1 match 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

Data availability statement

The data generated to create the plots can be found in the Zenodo repository https://doi.org/10.5281/zenodo.17832288. The software written for this study can be found in the Zenodo repository https://doi.org/10.5281/zenodo.17832222.

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, 29 September 2026: the first record

Recorded: type, language, journal, volume, pages, dates, 2 authors, 8 keywords, 46 references.

Cite

This paper

Timmermans, J., & Schomaker, L. (2026). Trainable movement control using spikes and muscle-twitch dynamics. Frontiers in neurorobotics, 20, 1761767. https://doi.org/10.3389/fnbot.2026.1761767

BibTeX

@article{timmermans2026trainable,
author = {Timmermans, Jordi and Schomaker, Lambert},
title = {{Trainable movement control using spikes and muscle-twitch dynamics}},
journal = {Frontiers in neurorobotics},
year = {2026},
month = apr,
volume = {20},
pages = {1761767},
publisher = {Frontiers Media SA},
issn = {1662-5218},
doi = {10.3389/fnbot.2026.1761767},
url = {https://doi.org/10.3389/fnbot.2026.1761767},
pmid = {42051242},
pmcid = {PMC13111196}
}

RIS

TY - JOUR
AU - Timmermans, Jordi
AU - Schomaker, Lambert
TI - Trainable movement control using spikes and muscle-twitch dynamics
T2 - Frontiers in neurorobotics
J2 - Front Neurorobot
PY - 2026
DA - 2026/04/13
VL - 20
SP - 1761767
SN - 1662-5218
PB - Frontiers Media SA
DO - 10.3389/fnbot.2026.1761767
UR - https://doi.org/10.3389/fnbot.2026.1761767
LA - en
ER -

CSL-JSON

{
"id": "10.3389/fnbot.2026.1761767",
"type": "article-journal",
"title": "Trainable movement control using spikes and muscle-twitch dynamics",
"container-title": "Frontiers in neurorobotics",
"author": [
{
"family": "Timmermans",
"given": "Jordi"
},
{
"family": "Schomaker",
"given": "Lambert"
}
],
"container-title-short": "Front Neurorobot",
"volume": "20",
"page": "1761767",
"DOI": "10.3389/fnbot.2026.1761767",
"PMID": "42051242",
"PMCID": "PMC13111196",
"ISSN": "1662-5218",
"publisher": "Frontiers Media SA",
"URL": "https://doi.org/10.3389/fnbot.2026.1761767",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
13
]
]
}
}

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.1038/s41467-026-74460-8 [code]
Spike-based alignment learning solves the weight transport problem.
Journal: Nature communications
In common: seaborn, pandas, SciPy, 2 other tools, 3 references
[2] doi:10.1371/journal.pcbi.1014325 [code]
Assessing the importance of sex and disease-specific anatomy in electrophysiology and mechanical simulations with a newly developed public virtual cohort of four-chamber heart models.
Journal: PLoS computational biology
In common: imageio, seaborn, pandas, 3 other tools, computational
[3] doi:10.1038/s41467-026-74243-1 [code]
Spiking neural network decoders of finger forces from high-density intramuscular microelectrode arrays.
Journal: Nature communications
In common: seaborn, pandas, SciPy, 2 other tools, computational, 1 reference
[4] doi: [code]
Self-Rectifying Integrate-and-Fire Neuron and Collaborative Trim Training Framework for SNN-Based EEG Motor Imagery Classification
Journal: Brain sciences
In common: SciPy, Matplotlib, NumPy, computational, 2 references
[5] doi: [code]
Going deeper with morphologically detailed neural networks by simulation-based gradient propagation
Journal: Frontiers in computational neuroscience
In common: SciPy, Matplotlib, NumPy, computational, 2 references
[6] doi: [code]
Real-time closed-loop feedback system for mouse mesoscale cortical signal and movement control
Journal: eLife
In common: imageio, seaborn, pandas, 3 other tools
[7] doi:10.1002/cns.71147 [code]
Unveiling the Distinctive Brain Functional Dynamics Between Parkinson's Disease and Progressive Supranuclear Palsy.
Journal: CNS neuroscience & therapeutics
In common: imageio, seaborn, pandas, 3 other tools
[8] doi:10.1038/s41467-026-76267-z [code]
Modulation of habenula axon terminals supports action-outcome associations in larval zebrafish.
Journal: Nature communications
In common: imageio, seaborn, pandas, 3 other tools
[9] doi:10.1038/s41593-026-02388-9 [code]
Hippocampal CA3 connectomics reveals a gradient of mossy fiber inputs and selective feedforward inhibition onto pyramidal cells.
Journal: Nature neuroscience
In common: imageio, seaborn, pandas, 3 other tools
[10] doi:10.1093/bioinformatics/btag540 [code]
Deciphering spatial heterogeneity by multimodal spatial transcriptomics modelling with SpatialModal.
Journal: Bioinformatics (Oxford, England)
In common: imageio, seaborn, pandas, 3 other tools

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.

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.