SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.19708 · ICML · 2024

A Differentiable Approach to Multi-scale Brain Modeling

Si Wu, Chaoming Wang, Tianqiu Zhang, Sichao He, Muyang Lyu

arXiv · PDF · Open in the Atlas

Code that ran

8 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 1 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2406.19708.json · badge: /api/ran/2406.19708.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
brainpy/BrainPy canonical (classifier label)
classifier basis: census
7 ran · 1 no recorded run
chaoming0625/differentiable-brain-modeling-workflow canonical (classifier label)
classifier basis: census
1 ran · 0 no recorded run
FunctionStatusWhere it lives
check_shape_except_batch Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
brainpy/BrainPy/brainpy/check.py
pointer only (licence: GPL-3.0) · get_code("a5e9f12389f4bad3")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, brainpy/BrainPy, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

deprecated Ran
ran; our contract draft was wrong, not the code
brainpy/BrainPy/brainpy/deprecations.py
pointer only (licence: GPL-3.0) · get_code("24682edde32d3895")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, brainpy/BrainPy, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

deprecation_getattr Ran
ran; our contract draft was wrong, not the code
brainpy/BrainPy/brainpy/deprecations.py
pointer only (licence: GPL-3.0) · get_code("228fd3eb744f1bb1")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, brainpy/BrainPy, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

deprecation_getattr2 Ran
ran; our contract draft was wrong, not the code
brainpy/BrainPy/brainpy/deprecations.py
pointer only (licence: GPL-3.0) · get_code("47b40688d6d506f9")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, brainpy/BrainPy, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

gamma_factor Ran
ran, honoured the contract we drafted
chaoming0625/differentiable-brain-modeling-workflow/_utils.py
pointer only (licence: NONE) · get_code("4912447078112174")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chaoming0625/differentiable-brain-modeling-workflow when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

index_combinations Ran
ran; our contract draft was wrong, not the code
brainpy/BrainPy/brainpy/algorithms/utils.py
pointer only (licence: GPL-3.0) · get_code("a3dfb251c3864eaa")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, brainpy/BrainPy, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

is_shape_broadcastable Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
brainpy/BrainPy/brainpy/check.py
pointer only (licence: GPL-3.0) · get_code("0a77aab769e0bba7")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, brainpy/BrainPy, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

is_shape_consistency Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
brainpy/BrainPy/brainpy/check.py
pointer only (licence: GPL-3.0) · get_code("cc6bf80961bb8f03")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, brainpy/BrainPy, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get Not yet run
unverified (harvested, no recorded run)
brainpy/BrainPy/brainpy/algorithms/online.py
pointer only (licence: GPL-3.0) · get_code("f4bef671e4a4f580")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, brainpy/BrainPy, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 9 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We present a multi-scale differentiable brain modeling workflow utilizing BrainPy [1], [2], a unique differentiable brain simulator that combines accurate brain simulation with powerful gradientbased optimization. We leverage this capability of BrainPy across different brain scales. At the single-neuron level, we implement differentiable neuron models and employ gradient methods to optimize their fit to electrophysiological data. On the network level, we incorporate connectomic data to construct biologically constrained network models. Finally, to replicate animal behavior, we train these models on cognitive tasks using gradient-based learning rules. Experiments demonstrate that our approach achieves superior performance and speed in fitting generalized leaky integrate-and-fire and Hodgkin-Huxley single neuron models. Additionally, training a biologically-informed network of excitatory and inhibitory spiking neurons on working memory tasks successfully replicates observed neural activity and synaptic weight distributions. Overall, our differentiable multi-scale simulation approach offers a promising tool to bridge neuroscience data across electrophysiological, anatomical, and behavioral scales.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2406.19708")
get_code_for_paper("2406.19708")
have("2406.19708")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2406.19708.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2406.19708.svg)](https://syntology.ai/paper/2406.19708)

Connect an agent — have() is free.