Search arXiv⌕ Search

arXiv · 2611.24767

Inferring Neural Activity Changes under Recording Uncertainty with Transformers and Variational Inference

Abstract

A difference in recorded firing rate across days may reflect a change in neuronal activity, missed spikes or recording a different neuron. We present a statistical approach that combines neuron tracking with Bayesian estimates of stationary mean recorded firing rates. Bounds under assumed differences in spike detection connect recorded rates to biological rate changes. We assess recording loss and uncertainty in rate changes in simulations, and count-model fit in recordings. We also compare two transformer estimators with Gaussian and flow variational inference under a shared temporal negative-binomial model. Flow variational inference agrees most closely with reference posteriors, while predictive performance varies across mice. Rate-change intervals contain true simulated changes less often than intended. In UnitMatch recordings from five mice, some inferred changes remain supported when spike detection is allowed to differ between days; others depend on equal detection. These interpretations require a correct neuron match. The approach identifies which inferred rate changes remain supported under specified recording assumptions and where uncertainty limits interpretation.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Nilson Chapagain, Pooja Chapagain. 2026-11-18. Inferring Neural Activity Changes under Recording Uncertainty with Transformers and Variational Inference. https://searcharxiv.org/abs/2611.24767

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Sensorimotor behavior from an untrained brain-and-nerve-cord connectome

Connectomes map the neurons and synapses of an adult fly's brain and nerve cord, but how much of behavior follows from the wiring is unknown. Here we turn one such connectome into a spiking network of 172,433 neurons with a published brain model's untuned parameters, and run it alone and inside a simulated body. Two fixed rules connect them: odors and looming objects set the firing of the sensory neurons, and the firing of the leg motor neurons moves the legs. Outside the body, a pathway of known function conducts when it supplies a few percent or more of its target's input. In the body, the fly navigates around obstacles to nearly every odor source. A rewiring that keeps each neuron's connection counts and signs reaches far fewer, and the fly's leg commands replayed with the senses off reach almost none. Navigation needs the measured wiring and sensory feedback. Dopamine-gated weakening of the mushroom body's output synapses turns approach to an odor into avoidance, and the learning is associative once one class of olfactory synapse is scaled. An untrained connectome supports a behavior and its learned reversal. The pathways it cannot drive show what the wiring diagram leaves out.

q-bio.NC↗

Hierarchical Control of Antiphase Synchronization in Biomorphic Spiking Neural Architectures for Locomotor Control

Central pattern generators (CPGs) provide a biologically inspired foundation for adaptive locomotor control, yet systematically characterizing their dynamic regimes in spiking neural networks remains challenging. This study introduces a framework for identifying and stabilizing antiphase synchronization in a biomorphic spiking CPG model embedded in a closed neuromuscular loop. A composite synchronization metric is developed, integrating phase coherence, amplitude balance, and temporal stability. Its performance is evaluated across systematically varied stimulation waveforms and synaptic configurations. Statistical analysis reveals that stimulation type dominates regime determination, with tonic drive yielding the most robust antiphase synchronization. Periodic inputs induce nonlinear saturation and context-dependent network routing. Although synaptic weights alone show limited discriminative power, they significantly modulate robustness within a given stimulation context, with reciprocal Ia interneuron connections emerging as key stabilizers. The proposed composite metric achieves robust antiphase detection, outperforming traditional phase-only measures while preserving biophysical interpretability. These findings establish a statistically validated, hierarchical modeling approach in which external drive defines the operating regime and targeted synaptic configurations fine-tune dynamic stability, providing actionable guidelines for closed-loop neuromechanical controllers and adaptive neuroprosthetic interfaces.

q-bio.NC↗

Regime-dependent reconstruction of structural connectivity: an in silico study of spatially constrained modular neuronal networks

Inferring structural connectivity from neuronal activity is a major challenge in neuroscience, yet the conditions under which inferred interactions faithfully reflect anatomical connections remain unclear. Here, we investigate in silico how spatial constraints in a neuronal network and its dynamical regime jointly shape structural recoverability. We construct modular networks with varying average axonal lengths and simulate spontaneous activity using the Izhikevich model with synaptic depression across a broad range of excitatory strengths and background noise levels. Using Generalized Transfer Entropy, we infer effective connectivity and compare it with the underlying structural ground-truth at the levels of individual connections and global topology. We observe that the richness in the repertoire of activity patterns is highest in an intermediate regime between globally synchronized and noise-dominated activity, reflecting a balance between global excitation and stochasticity. Optimal structural reconstruction generally occurs under these same conditions, although this correspondence depends on network architecture and is weaker in highly modular networks. Together, these results show that structural recoverability depends jointly on network organization and dynamical regime. More broadly, our findings highlight the risks of treating inferred effective connectivity as a direct surrogate for structural connectivity.

q-bio.NC↗