Papers › Trial matching: capturing variability with data-constrained spiking neural networks

Trial matching: capturing variability with data-constrained spiking neural networks

6 Jun 2023NeurIPS 2023 11arXiv:2306.03603archive 2025-07-28

Christos Sourmpis, Carl Petersen, Wulfram Gerstner, Guillaume Bellec

Simultaneous behavioral and electrophysiological recordings call for new methods to reveal the interactions between neural activity and behavior. A milestone would be an interpretable model of the co-variability of spiking activity and behavior across trials. Here, we model a mouse cortical sensory-motor pathway in a tactile detection task reported by licking with a large recurrent spiking neural network (RSNN), fitted to the recordings via gradient-based optimization. We focus specifically on the difficulty to match the trial-to-trial variability in the data. Our solution relies on optimal transport to define a distance between the distributions of generated and recorded trials. The technique is applied to artificial data and neural recordings covering six cortical areas. We find that the resulting RSNN can generate realistic cortical activity and predict jaw movements across the main modes of trial-to-trial variability. Our analysis also identifies an unexpected mode of variability in the data corresponding to task-irrelevant movements of the mouse.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2306.03603")

Code

Syntology Ran 0 of 16 code samples harvested from 1 repository linked to this paper; 16 have no recorded run.

By repository: official repository: 16 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

epfl-lcn/pub-sourmpis2023-neurips officialmentioned in paperpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 0 ran; 0 honoured the contract we drafted; 16 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

16unverified

Licence: 0 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from epfl-lcn/pub-sourmpis2023-neurips. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

balance_trial_type epfl-lcn/pub-sourmpis2023-neurips/datasets/dataloader.py official repository unverified MIT (permissive) · 11674efba59f4974 · report
divide_max_eig epfl-lcn/pub-sourmpis2023-neurips/models/rec_weight_matrix.py official repository unverified MIT (permissive) · 7870c872a518ef56 · report
firing_rate_loss epfl-lcn/pub-sourmpis2023-neurips/infopath/losses.py official repository unverified MIT (permissive) · 1c3cf82188837b05 · report
firing_rates epfl-lcn/pub-sourmpis2023-neurips/datasets/pseudodata.py official repository unverified MIT (permissive) · 8056c8ec51b1015a · report
forward_backward_split epfl-lcn/pub-sourmpis2023-neurips/infopath/loss_splitter.py official repository unverified MIT (permissive) · ff57b8451376888d · report
keep_trial_types_behaviour epfl-lcn/pub-sourmpis2023-neurips/datasets/dataloader.py official repository unverified MIT (permissive) · 8e8d4e11a5c554cf · report
load_opt_old epfl-lcn/pub-sourmpis2023-neurips/infopath/config.py official repository unverified MIT (permissive) · bb0bda1c2df02d4a · report
load_training_opt epfl-lcn/pub-sourmpis2023-neurips/infopath/config.py official repository unverified MIT (permissive) · bd02845f0343ce95 · report
make_kernels epfl-lcn/pub-sourmpis2023-neurips/datasets/pseudodata.py official repository unverified MIT (permissive) · f74304bd98138a07 · report
make_onset_timeseries epfl-lcn/pub-sourmpis2023-neurips/datasets/pseudodata.py official repository unverified MIT (permissive) · d21ee6be74d717ad · report
norm_squared epfl-lcn/pub-sourmpis2023-neurips/infopath/loss_splitter.py official repository unverified MIT (permissive) · 18eb4144ecf9f5a0 · report
num_areas epfl-lcn/pub-sourmpis2023-neurips/infopath/model_loader.py official repository unverified MIT (permissive) · 7139dbc0132df4af · report
post_synaptic_weight epfl-lcn/pub-sourmpis2023-neurips/models/rec_weight_matrix.py official repository unverified MIT (permissive) · 91545f885a44942c · report
restricted_inter_inh_thetas_init epfl-lcn/pub-sourmpis2023-neurips/models/rec_weight_matrix.py official repository unverified MIT (permissive) · f73b206cea5b28f7 · report
scale_function epfl-lcn/pub-sourmpis2023-neurips/infopath/config.py official repository unverified MIT (permissive) · 4eff8fc364ab552d · report
truncated_proj_a_on_b epfl-lcn/pub-sourmpis2023-neurips/infopath/loss_splitter.py official repository unverified MIT (permissive) · 8a89f77bfb5bb95c · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Focus

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections