Trainable movement control using spikes and muscle-twitch dynamics.
One block of code here has a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.
The 1 match
- [1] § Methods › Environment: Pong ↔ NeuromorphicPongControl/Visualization/visualize_gaussian_encoding.py, lines 1 to 11 · score 0.55 · Gaussian encoding, spiking signals, height, sensor, Weight · block
oscr:b:N6P285NGD5QD3-L· Report a mismatch
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: 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
- '''Visualizes encoding from sensor values to spiking signal probability through Gaussian encoding'''
- import numpy as np
- import matplotlib.pyplot as plt
- import math
- import matplotlib.patches as patch
- plt.rcParams.update({'font.size': 15})
- plt.rcParams['font.weight'] = 'bold'
- plt.rcParams['axes.labelweight'] = 'bold'
- width = 2000
- height = 1601
- # Set your initial values here, nsensorneurons is the number of sensor neurons,
- # exponent is the width of the gaussian,
- # Sensorcenters is the location of the means.
- nsensorneurons = 10
- exponent = -25
- sensorcenters = np.linspace(-500, height+500, nsensorneurons)/height
- # Relative hit height of the ball (between 0 and 1)
- hitheight = 0.2
- fig, ax = plt.subplots(1)
- # Resolution
- points = np.arange(-1000, height + 500 + 500)/height
- for i, s in enumerate(sensorcenters):
- # Encoding avlues
- c1 = plt.Circle((hitheight, math.exp(exponent * (s - hitheight) ** 2)), radius=0.02, color="orange")
- ax.add_patch(c1)
- # Plot Gaussians
- sensoroutputs = []
- for p in points:
- sensoroutputs.append(math.exp(exponent * (s - p) ** 2))
- if i % 2 == 0:
- plt.plot(points, sensoroutputs, color="royalblue")
- else:
- plt.plot(points, sensoroutputs, color="green")
- # Plot environment width and ball height indicator
- plt.vlines([0, 1], 0, 1, color="black", linewidth=3, ls=":")
- plt.vlines([hitheight], 0, 1 , color="red", linewidth=2)
- plt.xlabel("Relative environment height")
- plt.ylabel("Sensor value")
- plt.tight_layout()
- plt.show()
visualize_gaussian_encoding.py at commit 2fd61c8, under MIT · at the source
Overview
- Department of Artificial Intelligence, Bernoulli Institute for Mathematics, Computer Science and Artificial Intelligence, University of Groningen, Groningen, Netherlands
- Groningen Cognitive Systems and Materials Center (CogniGron), University of Groningen, Groningen, Netherlands
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
2fd61c8bc5286adf6d5fff491be3bc605652d835, 13 March 2026Availability: 1 check, the latest on 29 September 2026: the link answers
- 29 September 2026: the link answers
21 files
- NeuromorphicPongControl/
Visualization/ , Python, 274 linesvisualize_actuator.py - NeuromorphicPongControl/
Visualization/ , Python, 277 linesvisualize_game.py - NeuromorphicPongControl/
Visualization/ , Python, 49 lines, 1 matchvisualize_gaussian_encod ing.py - NeuromorphicPongControl/
plotting/ , Python, 245 linesPositionalcodingUncertai ntyTool.py - NeuromorphicPongControl/
plotting/ , Python, 67 linesboxplot.py - NeuromorphicPongControl/
plotting/ , Python, 31 linesplotPerformanceHistogram .py - NeuromorphicPongControl/
plotting/ , Python, 118 linesplotanglesweep.py - NeuromorphicPongControl/
plotting/ , Python, 123 linesplotcombinationmatrix_ci rcle.py - NeuromorphicPongControl/
plotting/ , Python, 134 linesplothitrate.py - NeuromorphicPongControl/
plotting/ , Python, 110 linesplothitrate_SIF-DFA.py - NeuromorphicPongControl/
plotting/ , Python, 132 linesplothitrate_SIF-EFA.py - NeuromorphicPongControl/
plotting/ , Python, 110 linesplothitrate_SIF-LFA.py - NeuromorphicPongControl/
plotting/ , Python, 21 linesplotnoiseanalysis.py - NeuromorphicPongControl/
plotting/ , Python, 73 linessurfaceplot.py - NeuromorphicPongControl/
train/ , Python, 246 linestrain.py - NeuromorphicPongControl/
train/ , Python, 225 linestrain_thresholdsweep.py - NeuromorphicPongControl/
utils/ , Python, 71 linesContinuousEnvironment.py - NeuromorphicPongControl/
utils/ , Python, 205 linesContinuousObjects.py - NeuromorphicPongControl/
utils/ , Python, 34 linestools.py - LICENSE, License, 21 lines
- README.md, Text, 68 lines
Zenodo 17832222
Availability: 1 check, the latest on 29 September 2026: the link answers (HTTP 200)
- 29 September 2026: the link answers (HTTP 200)
24 files
- NeuromorphicPongControl/
Visualization/ , Python, 74 linesactuator_fromraw.py - NeuromorphicPongControl/
Visualization/ , Python, 284 linesvisualize_actuator.py - NeuromorphicPongControl/
Visualization/ , Python, 277 linesvisualize_game.py - NeuromorphicPongControl/
Visualization/ , Python, 49 linesvisualize_gaussian_encod ing.py - NeuromorphicPongControl/
plotting/ , Python, 245 linesPositionalcodingUncertai ntyTool.py - NeuromorphicPongControl/
plotting/ , Python, 67 linesboxplot.py - NeuromorphicPongControl/
plotting/ , Python, 31 linesplotPerformanceHistogram .py - NeuromorphicPongControl/
plotting/ , Python, 118 linesplotanglesweep.py - NeuromorphicPongControl/
plotting/ , Python, 123 linesplotcombinationmatrix_ci rcle.py - NeuromorphicPongControl/
plotting/ , Python, 134 linesplothitrate.py - NeuromorphicPongControl/
plotting/ , Python, 110 linesplothitrate_SIF-DFA.py - NeuromorphicPongControl/
plotting/ , Python, 132 linesplothitrate_SIF-EFA.py - NeuromorphicPongControl/
plotting/ , Python, 110 linesplothitrate_SIF-LFA.py - NeuromorphicPongControl/
plotting/ , Python, 21 linesplotnoiseanalysis.py - NeuromorphicPongControl/
plotting/ , Python, 73 linessurfaceplot.py - NeuromorphicPongControl/
test/ , Python, 220 linesContinuousObjects.py - NeuromorphicPongControl/
test/ , Python, 208 linesnoisetest.py - NeuromorphicPongControl/
train/ , Python, 246 linestrain.py - NeuromorphicPongControl/
train/ , Python, 225 linestrain_thresholdsweep.py - NeuromorphicPongControl/
utils/ , Python, 71 linesContinuousEnvironment.py - NeuromorphicPongControl/
utils/ , Python, 205 linesContinuousObjects.py - NeuromorphicPongControl/
utils/ , Python, 34 linestools.py - LICENSE, License, 21 lines
- README.md, Text, 68 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:
- 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
- zenodo:17832288, at Zenodo; found in “Data availability statement”
Data availability statement
The data generated to create the plots can be found in the Zenodo repository 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, 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://
BibTeX
@article{timmermans2026t
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/
url = {https://
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/
VL - 20
SP - 1761767
SN - 1662-5218
PB - Frontiers Media SA
DO - 10.3389/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.3389/
"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":
"volume": "20",
"page": "1761767",
"DOI": "10.3389/
"PMID": "42051242",
"PMCID": "PMC13111196",
"ISSN": "1662-5218",
"publisher": "Frontiers Media SA",
"URL": "https://
"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.1016/j.patter.2023.100789 [code]
- BrainCog: A spiking neural network based, brain-inspired cognitive intelligence engine for brain-inspired AI and brain simulation.Journal: Patterns (New York, N.Y.)In common: imageio, seaborn, pandas, 3 other tools, computational, 5 references
- [2] doi:10.3390/brainsci13010068 [code]
- Precise Spiking Motifs in Neurobiological and Neuromorphic Data.Journal: Brain sciencesIn common: seaborn, pandas, SciPy, 2 other tools, computational, 4 references
- [3] doi:10.7554/elife.89674 [code]
- A neuronal least-action principle for real-time learning in cortical circuits.Journal: eLifeIn common: seaborn, SciPy, Matplotlib, 1 other tool, 4 references
- [4] doi:10.3389/fnbot.2022.1075647 [code]
- Toward robust and scalable deep spiking reinforcement learning.Journal: Frontiers in neuroroboticsIn common: Matplotlib, NumPy, computational, 4 references
- [5] doi:10.3389/fnins.2022.945037 [code]
- MAP-SNN: Mapping spike activities with multiplicity, adaptability, and plasticity into bio-plausible spiking neural networks.Journal: Frontiers in neuroscienceIn common: SciPy, Matplotlib, NumPy, 4 references
- [6] doi:10.1038/s41467-026-74460-8 [code]
- Spike-based alignment learning solves the weight transport problem.Journal: Nature communicationsIn common: seaborn, pandas, SciPy, 2 other tools, 3 references
- [7] doi:10.7554/elife.108237 [code]
- Adjoint propagation of error signal through modular recurrent neural networks for biologically plausible learning.Journal: eLifeIn common: seaborn, Matplotlib, NumPy, computational, 3 references
- [8] doi:10.1038/s41598-023-43488-x [code]
- Adaptive structure evolution and biologically plausible synaptic plasticity for recurrent spiking neural networks.Journal: Scientific reportsIn common: imageio, seaborn, pandas, 3 other tools, 1 reference
- [9] doi:10.3389/fnins.2024.1387339 [code]
- Bi-sigmoid spike-timing dependent plasticity learning rule for magnetic tunnel junction-based SNN.Journal: Frontiers in neuroscienceIn common: pandas, SciPy, Matplotlib, 1 other tool, 3 references
- [10] doi:10.3389/fnins.2023.1303564 [code]
- Efficient and generalizable cross-patient epileptic seizure detection through a spiking neural network.Journal: Frontiers in neuroscienceIn common: pandas, SciPy, Matplotlib, 1 other tool, 3 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: 2 repositories of the authors' code, each at its verified commit and with its license, 41 scripts, and 1 match 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:b9dd466c7ff2614a…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.3389/fnbot.2026.1761767)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.3389/fnbot.2026.1761767.svg
:target: https://openscicode.org/badge/doi/10.3389/fnbot.2026.1761767
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.3389/fnbot.2026.1761767"><img src="https://openscicode.org/badge/doi/10.3389/fnbot.2026.1761767.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge 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: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
