bioRxiv Science⌕ Search

Biology subjects

Mishne, G.

Publications and source records attributed to Mishne, G..

11 recordsLinked to original sources

Probabilistic Co-Control in Brain-Computer Interfaces: Uncertainty as a Control Signal in Brain-to-Text Decoding

Neural decoders serve as probabilistic interfaces in co-control brain-to-text BCIs, where predicted uncertainty shapes hypothesis generation and language model integration, enabling decisions to be made safely under uncertainty. However, it remains unclear whether these decoders produce reliable and informative uncertainty, or how training objectives shape these properties. This work characterizes and improves uncertainty representations in brain-to-text decoding. We extend two metrics, calibration error (ECE) and resolution (RES), to evaluate sequential probabilistic predictions from frame-level phoneme estimates to word-level hypotheses, quantifying the reliability and informativeness of model uncertainty. Using this framework, we analyze neural decoders trained with connectionist temporal classification (CTC). To isolate the causal role of uncertainty independent of accuracy, we manipulate predicted probability distributions while holding predicted sequences fixed. Motivated by the observed failures, we further examine the role of the training objective and propose a two-stage cross-entropy (CE) formulation that decouples alignment inference from classification. We show that widely used CTC-trained neural decoders in brain-to-text BCIs produce systematically over-confident predictions, with high confidence persisting even when predictions are incorrect. Controlled manipulations of the prediction reveal that improved ECE and RES enhance hypothesis generation and language-model integration by promoting diverse alternatives and more effective re-ranking of hypotheses aligned with user intent. Mechanistically, CTC relies on over-confident predictions to resolve alignment ambiguity. Replacing CTC with CE loss yields significantly more reliable and informative probabilistic predictions without degrading decoding accuracy. Uncertainty emerges as a system-level design variable in brain-to-text interfaces. Calibrated uncertainty from neural decoders enables effective integration with independently trained language models and reliable error detection. This work reframes uncertainty from a passive output into an active control signal, identifies key components and evaluation criteria for probabilistic co-control, and outlines a pathway toward next-generation BCIs that supports increasingly complex interactions with the world.

bioengineering↗

Compositional decoding of neural activity enhances generalization in handwriting BCIs

Recent brain-computer interfaces (BCIs) have achieved state-of-the-art performance in decoding behavior from neural activity. These models are typically trained on a con-strained set of behaviors, which limits their ability to generalize to real-world settings where behavior is variable, complex, and context-dependent. However, many complex behaviors can be decomposed into a set of reusable behavioral motifs, indicating a compositional organization. Here, we analyze human intracortical neural activity underlying attempted handwriting and find signatures of neural compositionality at a finer resolution than individual letters. We further introduce a compositional temporal decoding model, MOtif-based Temporal Inference Framework (MOTIF), that jointly predicts the fine-scale behavioral motifs (e.g., strokes, phonemes) and the longer-timescale behavior class (e.g., characters, words). We show that the compositional structure leveraged by MOTIF enables improved generalization in few-shot learning. Our results demonstrate that explicitly incorporating compositionality into neural decoders can enhance generalization and sample efficiency, while providing a principled approach to designing more scalable, robust, and interpretable BCIs.

neuroscience↗

Complementary cortical and thalamic contributions to cell-type-specific striatal activity dynamics during movement

Coordinated motor behavior emerges from information flow across brain regions. How long-range inputs drive cell-type-specific activity within motor circuits remains unclear. The dorsolateral striatum (DLS) contains direct- and indirect-pathway medium spiny neurons (dMSNs and iMSNs) with distinct roles in movement control. In mice performing skilled locomotion, we recorded from dMSNs, iMSNs, and their cortical and thalamic inputs identified by monosynaptic rabies tracing. An RNN classifier and clustering analysis revealed functionally heterogeneous subpopulations in each population, with dMSNs preferentially activated at movement onset and offset, and iMSNs during execution. Cortical and thalamic inputs were preferentially activated during onset/offset and execution, respectively, though dMSN- and iMSN-projecting neurons in each region showed similar patterns. Locomotion phase-specific rhythmic activity was found in a subset of thalamic dMSN-projecting neurons and dMSNs. Cortex or thalamus inactivation reduced MSN activity. These findings suggest that corticostriatal and thalamostriatal inputs convey complementary motor signals via shared and cell-type-specific pathways.

neuroscience↗

Fast and accessible morphology-free functional fluorescence imaging analysis

Optical calcium imaging is a powerful tool for recording neural activity across a wide range of spatial scales, from dendrites and spines to whole-brain imaging through two-photon and widefield microscopy. Traditional methods for analyzing functional calcium imaging data rely heavily on spatial features, such as the compact shapes of somas, to extract regions of interest and their associated temporal traces. This spatial dependency can introduce biases in time trace estimation and limit the applicability of these methods across different neuronal morphologies and imaging scales. To address these limitations, the Graph Filtered Temporal Dictionary Learning (GraFT) uses a graph-based approach to identify neural components based on shared temporal activity rather than spatial proximity, enhancing generalizability across diverse datasets. Here we present significant advancements to the GraFT algorithm, including the integration of a more efficient solver for the L1 least absolute shrinkage and selection operator (LASSO) problem and the application of compressive sensing techniques to reduce computational complexity. By employing random projections to reduce data dimensionality, we achieve substantial speedups while maintaining analytical accuracy. These advancements significantly accelerate the GraFT algorithm, making it more scalable for larger and more complex datasets. Moreover, to increase accessibility, we developed a graphical user interface to facilitate running and analyzing the outputs of GraFT. Finally, we demonstrate the utility of GraFT to imaging data beyond meso-scale imaging, including vascular and axonal imaging.

bioinformatics↗

RATS: Unsupervised manifold learning using low-distortion alignment of tangent spaces

With the ubiquity of high-dimensional datasets in various biological fields, identifying low-dimensional topological manifolds within such datasets may reveal principles connecting latent variables to measurable instances in the world. The reliable discovery of such manifold structure in high-dimensional datasets can prove challenging, however, largely due to the introduction of distortion by leading manifold learning methods. The problem is further exacerbated by the lack of consensus on how to evaluate the quality of the recovered manifolds. Here, we present a novel measure of distortion to evaluate low-dimensional representations obtained using different techniques. We additionally develop a novel bottom-up manifold learning technique called Riemannian Alignment of Tangent Spaces (RATS) that aims to recover low-distortion embeddings of data, including the ability to embed closed manifolds into their intrinsic dimension using a unique tearing process. Compared to previous methods, we show that RATS provides low-distortion embeddings that excel in the visualization and deciphering of latent variables across a range of idealized, biological, and surrogate datasets that mimic real-world data. One-sentence summaryWe introduce a novel dimensionality reduction technique that generates low-dimensional embeddings while preserving the global structure within the data for a variety of biological and non-biological datasets.

neuroscience↗

Neurovascular Impulse Response Function (IRF) during spontaneous activity differentially reflects intrinsic neuromodulation across cortical regions

Ascending neuromodulatory projections from deep brain nuclei generate internal brain states that differentially engage specific neuronal cell types. Because neurovascular coupling is cell-type specific and neuromodulatory transmitters have vasoactive properties, we hypothesized that the impulse response function (IRF) linking spontaneous neuronal activity with hemodynamics would depend on neuromodulation. To test this hypothesis, we used optical imaging to measure (1) release of neuromodulatory transmitters norepinephrine (NE) or acetylcholine (ACh), (2) Ca2+ activity of local cortical neurons, and (3) changes in hemoglobin concentration and oxygenation across the dorsal surface of cerebral cortex during spontaneous neuronal activity in awake mice. A canonical convolution model with a global, stationary IRF (i.e., the convolution kernel) describing evolution of total hemoglobin (HbT, reflective of dilation dynamics) with respect to Ca2+, resulted in a poor fit to the data. However, the HbT time-course was well predicted, pixel-by-pixel, by a weighted sum of Ca2+ and NE time-courses. Consistent with this result, modeling HbT as a weighted sum of stationary Ca2+ - and NE-specific IRFs (IRFCa2+ and IRFNE) convolved with the respective time-courses dramatically improved the fit compared to the global IRF. IRFCa2+ and IRFNE, estimated from the data, were positive and negative, respectively. In contrast to NE, ACh was largely redundant with Ca2+ and therefore did not improve HbT estimation. Because NE covaried with arousal, we observed instances of the diminished hemodynamic coherence between cortical regions during high arousal despite coherent behavior of the underlying neuronal Ca2+ activity. We conclude that while neurovascular coupling with respect to neuronal Ca2+ is a dynamic and seemingly complex phenomenon, hemodynamic fluctuations can be captured by a simple linear model with stationary IRFs with respect to the underlying dilatory and constrictive forces. In the current study, these forces were captured by the positive IRFCa2+ (dilation) and negative IRFNE (constriction). Without accounting for NE neuromodulation and the associated vasoconstriction, diminished hemodynamic coherence, commonly referred to as "functional (dys)connectivity" in BOLD fMRI studies, can be falsely interpreted as neuronal desynchronizations.

neuroscience↗

Rapid fluctuations in functional connectivity of cortical networks encode spontaneous behavior

Experimental work across a variety of species has demonstrated that spontaneously generated behaviors are robustly coupled to variation in neural activity within the cerebral cortex. Indeed, functional magnetic resonance imaging (fMRI) data suggest that functional connectivity in cortical networks varies across distinct behavioral states, providing for the dynamic reorganization of patterned activity. However, these studies generally lack the temporal resolution to establish links between cortical signals and the continuously varying fluctuations in spontaneous behavior typically observed in awake animals. Here, we took advantage of recent developments in wide-field, mesoscopic calcium imaging to monitor neural activity across the neocortex of awake mice. We develop a novel "graph of graphs" approach to quantify rapidly time-varying functional connectivity and show that spontaneous behaviors are represented by fast changes in both the activity and correlational structure of cortical network activity. Combining mesoscopic imaging with simultaneous cellular resolution 2-photon microscopy also demonstrated that the correlations among neighboring neurons and between local and large-scale networks also encodes behavior. Finally, the dynamic functional connectivity of mesoscale signals revealed subnetworks that are not predicted by traditional anatomical atlas-based parcellation of the cortex. These results provide new insight into how behavioral information is represented across the mammalian neocortex and demonstrate an analytical framework for investigating time-varying functional connectivity in neural networks.

neuroscience↗

GraFT: Graph Filtered Temporal Dictionary Learning for Functional Neural Imaging

Optical imaging of calcium signals in the brain has enabled researchers to observe the activity of hundreds-to-thousands of individual neurons simultaneously. Current methods predominantly focus on matrix factorization and aim at detecting neurons in the imaged field-of-view, and then inferring the corresponding time-traces. The explicit locality constraints on the cell shapes additionally limits the applicability to optical imaging at different scales (i.e., dendritic or widefield data). Here we present a new method that frames the problem of isolating independent fluorescing components as a dictionary learning problem. Specifically, we focus on the time-traces, which are the main quantity used in scientific discovery, and learn the dictionary of time traces with the spatial maps acting as the presence coefficients encoding which pixels the time traces are active in. Furthermore, we present a novel graph filtering model which redefines connectivity between pixels in terms of their shared temporal activity, rather than spatial proximity. This model greatly eases the ability of our method to handle data with complex non-local spatial structure, such as dendritic imaging. We demonstrate important properties of our method, such as robustness to initialization, implicitly inferring number of neurons and simultaneously detecting different neuronal types, on both synthetic data and real data examples. Specifically, we demonstrate applications of our method to calcium imaging both at the dendritic, somatic, and widefield scales.

neuroscience↗

Non-linear manifold learning in fMRI uncovers a low-dimensional space of brain dynamics

Large-scale brain dynamics are believed to lie in a latent, low-dimensional space. Typically, the embeddings of brain scans are derived independently from different cognitive tasks or resting-state data, ignoring a potentially large--and shared--portion of this space. Here, we establish that a shared, robust, and interpretable low-dimensional space of brain dynamics can be recovered from a rich repertoire of task based fMRI data. This occurs when relying on non-linear approaches as opposed to traditional linear methods. The embedding maintains proper temporal progression of the tasks, revealing brain states and the dynamics of network integration. We demonstrate that resting-state data embeds fully onto the same task embedding, indicating similar brain states are present in both task and resting-state data. Our findings suggest analysis of fMRI data from multiple cognitive tasks in a low-dimensional space is possible and desirable, and our proposed framework can thus provide an interpretable framework to investigate brain dynamics in the low-dimensional space.

neuroscience↗

Low coverage whole genome sequencing enables accurate assessment of common variants and calculation of genome-wide polygenic scores

BackgroundThe inherited susceptibility of common, complex diseases may be caused by rare, monogenic pathogenic variants or by the cumulative effect of numerous common, polygenic variants. As such, comprehensive genome interpretation could involve two distinct genetic testing technologies -- high coverage next generation sequencing for known genes to detect pathogenic variants and a genome-wide genotyping array followed by imputation to calculate genome-wide polygenic scores (GPSs). Here we assessed the feasibility and accuracy of using low coverage whole genome sequencing (lcWGS) as an alternative to genotyping arrays to calculate GPSs.\n\nMethodsFirst, we performed downsampling and imputation of WGS data from ten individuals to assess concordance with known genotypes. Second, we assessed the correlation between GPSs for three common diseases -- coronary artery disease (CAD), breast cancer (BC), and atrial fibrillation (AF) -- calculated using lcWGS and genotyping array in 184 samples. Third, we assessed concordance of lcWGS-based genotype calls and GPS calculation in 120 individuals with known genotypes, selected to reflect diverse ancestral backgrounds. Fourth, we assessed the relationship between GPSs calculated using lcWGS and disease phenotypes in 11,502 European individuals seeking genetic testing.\n\nResultsWe found imputation accuracy r2 values of greater than 0.90 for all ten samples -- including those of African and Ashkenazi Jewish ancestry -- with lcWGS data at 0.5X. GPSs calculated using both lcWGS and genotyping array followed by imputation in 184 individuals were highly correlated for each of the three common diseases (r2 = 0.93 - 0.97) with similar score distributions. Using lcWGS data from 120 individuals of diverse ancestral backgrounds, including South Asian, East Asian, and Hispanic individuals, we found similar results with respect to imputation accuracy and GPS correlations. Finally, we calculated GPSs for CAD, BC, and AF using lcWGS in 11,502 European individuals, confirming odds ratios per standard deviation increment in GPSs ranging 1.28 to 1.59, consistent with previous studies.\n\nConclusionsHere we show that lcWGS is an alternative approach to genotyping arrays for common genetic variant assessment and GPS calculation. lcWGS provides comparable imputation accuracy while also overcoming the ascertainment bias inherent to variant selection in genotyping array design.

genomics↗

Automated cellular structure extraction in biological images with applications to calcium imaging data

Recent advances in experimental methods in neuroscience enable measuring in-vivo activity of large populations of neurons at cellular level resolution. To leverage the full potential of these complex datasets and analyze the dynamics of individual neurons, it is essential to extract high-resolution regions of interest, while addressing demixing of overlapping spatial components and denoising of the temporal signal of each neuron. In this paper, we propose a data-driven solution to these challenges, by representing the spatiotemporal volume as a graph in the image plane. Based on the spectral embedding of this graph calculated across trials, we propose a new clustering method, Local Selective Spectral Clustering, capable of handling overlapping clusters and disregarding clutter. We also present a new nonlinear mapping which recovers the structural map of the neurons and dendrites, and global video denoising. We demonstrate our approach on in-vivo calcium imaging of neurons and apical dendrites, automatically extracting complex structures in the image domain, and denoising and demixing their time-traces.

neuroscience↗