This is an uncorrected proof.
Figures
Abstract
Understanding how neuronal populations interact to encode and transform sensory information is a fundamental challenge in computational neuroscience. Most existing studies, however, study neural encoding, behavioral readout, and functional connectivity as disjoint problems. Two-photon calcium imaging enables simultaneous recording of large neuronal ensembles in vivo, driven by diverse stimuli and eliciting distinct behaviors. However, extracting directional functional connectivity metrics as well as encoding and readout properties of neurons from such data remains difficult due to indirect and noisy observations of spiking activity, slow temporal dynamics, and the latent interplay between external stimuli and endogenous neural processes. Here, we introduce a unified conceptual and operational modeling and inference framework for directly extracting functional Granger causal (GC) effects between neurons, from external stimuli to neurons, and from neurons to behavior, from two-photon imaging data, in the sense of Granger’s temporal predictability. Inspired by the intersection information framework, we also identify neurons that encode features of sensory stimuli that inform behavioral readout. The resulting GC networks together with the taxonomy of functional sensori-behavioral relevance, which we call G-taxonomy, provides a powerful statistical analysis framework, enabled by the integration of several techniques including state-space modeling and inference, variational inference, and point processes. We applied the proposed framework to simulated and experimentally-recorded two-photon imaging from the mouse auditory cortex (A1) during both passive listening and active tone discrimination. Our simulation studies reveal significant improvement of our proposed methodology over existing techniques. Analysis of experimental data from the mouse A1 identifies distinct groups of cells with diverse sensori-behavioral relevance, as well as changes in functional connectivity associated with correct vs. incorrect behavior. In summary, this work provides a principled and data-driven methodology for uncovering directional interactions among the neurons, sensory stimuli, and behavior, all within the same statistical framework, offering new insights into how distributed cortical populations transform sensory inputs into behaviorally relevant representations.
Author summary
The brain processes sensory inputs through the coordinated activity of large networks of neurons and produces readouts that elicit behavior. Understanding how information flows and is processed through these networks is a central goal of neuroscience. In this study, we present a new computational framework that identifies directional interactions among neurons in an ensemble as well as from sensory stimuli to neurons and from neurons to behavior. Utilizing the Granger formalism to identify directional effects, as opposed to common correlational measures, our framework extracts said effects directly from two-photon calcium imaging data. We tested our proposed method on both simulated data and recordings from the auditory cortex of mice during passive listening and active tone discrimination tasks. Our method revealed diverse groups of neurons in the auditory cortex with distinct functional roles and relevance to sensori-behavioral integration. Our framework provides a new way to study the flow of information in the brain and can be broadly applied to uncover neural computations across sensory and cognitive systems.
Citation: Khosravi S, Francis NA, Kanold PO, Babadi B (2026) Granger sensori-behavioral functional taxonomy of neuronal ensemble activity from two-photon calcium imaging data. PLoS Comput Biol 22(9): e1014820. https://doi.org/10.1371/journal.pcbi.1014820
Editor: Alain Nogaret, University of Bath, UNITED KINGDOM OF GREAT BRITAIN AND NORTHERN IRELAND
Received: March 4, 2026; Accepted: September 16, 2026; Published: September 30, 2026
Copyright: © 2026 Khosravi et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: Data and software implementations in MATLAB v2024b of the algorithms discussed are publicly available at: https://doi.org/10.13016/i9ar-ymsc.
Funding: This work has been supported in part by the National Science Foundation Awards No. ECCS2032649 and OISE2020624 (to BB) and tyhe National Institutes of Health Awards No. RO1DC017785 (to POK) and U19NS107464 (to BB and POK). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: The authors have declared that no competing interests exist.
Introduction
It is widely accepted that the brain extracts features of sensory stimuli by generating distinct patterns of activity known as neural representations [1–5]. The process by which the sensory information is mapped to neural representations is often referred to as neural encoding. These neural representations are also read out by downstream cortical areas that mediate behavioral outcomes. This process is often referred to as behavioral readout or neural decoding [6–13]. Most existing studies of brain function consider neural encoding and behavioral readout as independent problems: they either focus on understanding how the brain encodes sensory information (e.g., receptive fields), or aim at predicting the behavior given the neural representations (e.g., choice probability models). As such, the interaction between the brain and behavior is obscured, which significantly limits our understanding of brain function. In order to tap into higher-level functional processes such as learning and attention, it is crucial to develop models designed to simultaneously account for both.
In recent work, a new framework known as Intersection Information (II) has been proposed, which aims at extracting the information in the neural representation that intersects with that relevant to behavior [14–16]. This framework uses partial information decomposition [17–21] to capture the mutual information between the behavioral choice and the pair of stimulus and neural activity, while subtracting the portion that is common between the neural activity and behavior independent of the stimulus. This framework has shown great promise in shedding light into the mechanisms by which neural encoding and behavioral readout intersect [22–26].
Despite the promising nature of this approach, it has so far been limited to small populations of neurons due to challenges in nonparametric estimation. In addition, the behavioral space has so far been limited to simple binary decision-making tasks [14]. Extending this framework to study sophisticated sensori-behavioral interactions in a scalable fashion requires addressing several challenges. First, inferring II from ensemble neural data requires nonparametric estimation of partial information measures and their bias correction, which scales poorly with the network size due to its combinatorial nature. Second, each neuron is considered in isolation, which undermines the network-level effects relevant to behavior. Third, the relevant features of neural activity are required to be fixed a priori (e.g., average spiking rate).
Apart from the foregoing challenges, in application to data modalities that indirectly measure neuronal spiking, such as two-photon calcium imaging, the spike trains are not readily available for computing information measures. In the case of two-photon imaging, the fluorescence observations are noisy and temporally blurred surrogates of spiking activity. Existing approaches carry out the inference of information measures in a two-stage fashion: first, infer spikes using a deconvolution technique, and then compute firing rates and evaluate information measures [22–24]. These two-stage estimates are highly sensitive to the accuracy of spike deconvolution, and require high temporal resolution and signal-to-noise ratios [27,28]. Furthermore, these deconvolution techniques are biased toward obtaining accurate first-order statistics (i.e., spike timings) via spatiotemporal priors, which may be detrimental to recovering higher-order statistics that are crucial for computing information measures.
We propose to cast this problem within the so-called Granger formalism [29–31], in order to address these shortcomings. Our approach is first and foremost inspired by the elegant machinery of II and partial information decomposition [14–16], by the known equivalences between Granger causality (GC) and directed information inference in certain statistical models [30,32–34], and finally by the fact that the parametric nature of GC inference allows its integration with multivariate point process models [35,36]. The essence of GC can be understood by considering two processes, and
, and asking whether knowledge of process
significantly enhances our ability to predict
. If it does, a GC link from X to Y is established. This notion of directed connectivity has been widely used in the analysis of neuroimaging data as well as spiking neuronal ensembles [29,35–38].
Utilizing several recent theoretical and algorithmic advances for GC inference [36,37,39] as well as direct network estimation from two-photon imaging data [40,41], we propose a Granger Sensori-Behavioral Taxonomy, namely G-taxonomy, to characterize the relevance of neuronal activity to stimulus, behavior, and their intersection. The key idea is to include the stimulus and behavior within the network of N neurons and consider an augmented network of size N + 2. Then, the notion of GC link between two neurons can be extended to GC links from stimulus to neurons (i.e., stimulus encoding), from the neurons to behavior (i.e., behavior decoding), and the interaction of stimulus and behavior conditioned on neuronal activity (i.e., intersection). As such, we will label the neurons in an ensemble as Granger Stimulus encoding (GS), Granger Behavior decoding (GB), Granger Intersection (GI), or none of the above.
The key technical challenge in establishing the G-taxonomy is devising a precise statistical framework, with controlled false discovery rate, that takes noisy and blurred two-photon recordings from a limited number of trials and outputs the aforementioned labeling. To achieve this, we propose a dynamic Bayesian network model that integrates point processes [35,42] with multivariate autoregressive models [31] to jointly capture the effect of stimuli on neuronal activity as well as behavioral responses, directly from two-photon fluorescence data without requiring intermediate spike deconvolution. Model inference is efficiently carried out through an integration of Pólya-Gamma augmentation, Iteratively Reweighted Least Squares (IRLS), Fixed Interval Smoothing, Kalman Filtering, and Expectation- Maximization [40,43–48]. Finally, a hypothesis testing framework using the deviance difference statistics is used to quantify each detected effect via the Youden’s J-statistic [36,49], followed by the Benjamini-Yekutielli procedure [50] to control the false discovery rate in ascribing the foregoing G-taxonomy to a neuronal ensemble.
We demonstrate the utility of our proposed G-taxonomy using simulated datasets as well as experimentally-recorded two-photon imaging data from the mouse auditory cortex during passive stimulus presentation and tone discrimination tasks. Our simulation results corroborate the robustness of the proposed statistical testing framework in revealing the GC links between neurons, arising from non-stimulus driven activity, as well as identifying GS, GB, and GI neurons. Application to experimental data reveals the utility of the proposed G-taxonomy in identifying neurons with distinct contributions to correct vs. incorrect behavioral outcomes, in terms of sensory encoding, behavioral readout, their intersection, or none. While consistent with existing results, this new taxonomy provides a unified, scalable, and statistically principled framework for bridging sensory encoding and behavioral readout and for probing how directed neuronal interactions support task performance.
In summary, the main contributions of our work include: 1) leveraging the Granger formalism to assess the sensori-behavioral relevance of neurons within a network, as opposed to doing so in isolation, thanks to advances in scalable GC inference; 2) learning the relevant features of spiking activity in a data-driven fashion via efficient parameter estimation, as opposed to restricting them a priori; and 3) precise characterization of the statistical confidence in ascribing the GS, GB, and GI labels via J-statistics.
Results
In this section, we demonstrate the utility of our proposed estimation framework through both simulation and experimental studies of neuronal activity in the mouse auditory cortex. We begin with a controlled simulation to validate recovery of directed links and neuron classes under known network structure. We then apply the framework to two experimental datasets from mouse auditory cortex: one recorded during spontaneous and stimulus-driven activity, and one during active tone discrimination behavior. Together these analyses test the framework’s ability to detect stimulus and choice-related interactions under increasingly realistic conditions.
Overview of the proposed granger sensori-behavioral functional taxonomy
Consider a canonical experimental setting in which an external stimuli, denoted by , is chosen at trial l and presented independently for a total of L trials, while the spiking activity of a population of N neurons are indirectly measured using two-photon calcium fluorescence imaging. Fig 1 (forward arrow) shows the generative model that is used to quantify this procedure. The fluorescence observation in the lth trial from the ith neuron at time frame t, denoted by
, is a noisy surrogate of the intracellular calcium concentrations. The calcium concentrations in turn are temporally blurred surrogates of the underlying spiking activity
, as shown in Fig 1.
Top: In the proposed model for estimating GC links directly from two-photon calcium fluorescence observations, observed variables (black), latent endogenous processes (red), and an exogenous stimulus (blue) relevant to the ith and jth neurons are shown. The spiking activity of networked neurons is influenced by latent endogenous processes (red traces) and an exogenous stimulus (blue traces), with black arrows indicating GC connectivity between neurons. The blue and green arrows, respectively, show the effects of the stimulus on neurons and neurons on behavior, in the sense of Granger’s temporal predictability. Bottom: our proposed inverse solution and G-taxonomy; following network parameter estimation, statistical testing, and false discovery rate control, we define three categories of neurons, namely Granger Stimulus, Granger Intersection, and Granger Behavior.
In modeling the spiking activity, we consider two main contributions: (1) the common known stimulus affects the activity of the ith neuron via an unknown kernel
, akin to the receptive field. We refer to this effect as the latent exogenous component; (2) the trial-to-trial variability and other intrinsic/extrinsic neural covariates that are not time-locked to the stimulus
are captured by a trial-dependent latent process
. We refer to this effect as the latent endogenous component. Then, we use a Generalized Linear Model to link these underlying neural covariates to spiking activity [51].
To model the temporal coupling between the neurons, we assume that the N-dimensional latent endogenous process is governed by a vector autoregressive (VAR) model of order P with unknown parameters and process noise covariance. The binary behavioral outcome
at trial l is also modeled using a GLM, in which the neuronal activity within a “readout window” during or following stimulus presentation forms the set of relevant covariates.
Given this generative model, the objective of the inverse problem in Fig 1 (backward arrow) is two-fold: using the observed data and
, we seek to simultaneously (1) estimate the functional connectivity between the neurons in the sense of Granger’s temporal predictability, often referred to as Granger causality (GC), and (2) attribute a G-taxonomy to all the N neurons, in the sense of Granger’s temporal predictability, to quantify their role in the network function. The advantage of solving these two inverse problems simultaneously is also two-fold: (1) in detecting the GC links between neurons, the effect of external stimuli as a confound would be controlled. For instance, if neurons i and j are being driven by the stimulus with different latencies, by explicitly modeling the receptive fields
and
and quantifying the stimulus effect, the detected GC links would only be resulting from the VAR coupling of the endogenous latent process; (2) in attributing the G-taxonomy to each neuron, the network effects arising from endogenous interactions between the neurons as a confound would be ruled out. For instance, we can rule out if heightened activity of neuron j corresponding to
behavioral category is due to having a relevant effect to behavior, or is just due to receiving an endogenous coupling from a neuron i that directly contributes to behavior.
The proposed G-taxonomy is inspired by elegant machinery of intersection information and partial information decomposition [14–16], but is here carried out in the sense of Granger’s temporal predictability: an effect between two nodes in the network (including sensory stimulus and behavior), namely source and target, is quantified by assessing whether temporal forecasting of the target variable can be significantly improved by including the source variable and its time lags as covariates. Whereas in the partial information decomposition, an effect between two nodes is quantified by assessing whether the mutual information between their activity is significantly above chance level or not.
Using the Granger formalism, we perform network parameter estimation, followed by statistical testing and false discovery rate control to quantify the foregoing effects. Each effect or “link” is then statistically quantified by the Youden’s J-statistic, a popular summary statistic that includes both type-I and type-II error rates [36,37]. That is, a J-statistic of 0 indicates a non-significant effect, and a J-statistic close to 1 implies a significant effect with small type-I and type-II error probabilities. As such, we can define three categories of neurons (Fig 1, bottom panel):
- Granger Stimulus (GS) Neuron: as shown in the leftmost panel, neuron j is labeled as a GS neuron if there is a significant effect from the stimulus node to neuron i, i.e.,
is non-zero.
- Granger Bevahior (GB) Neuron: as shown in the rightmost panel, neuron j is labeled as a GB neuron if is exhibits a significant effect to the behavior, i.e.,
is non-zero.
- Granger Intersection (GI) Neuron: as shown in the middle panel, neuron j is labeled as a GI neuron if it is both GS and GB, and in addition in regressing the stimulus to the activity of neuron j during readout, including the behavior as an additional regressor does not significantly improve the regression accuracy, i.e.,
is non-zero.
Note that by virtue of the last definition, a neuron that is both GS and GB is not necessarily a GI neuron, as it may encode parts of the sensory information that are not informing the behavior, yet its activity could contribute to behavior. This is in fact the main rationale for defining intersection information [15]: the shared information between the behavior and the pair of {stimulus, neuronal activity} may contain a portion that pertains to features of the stimulus that are encoded in neuronal activity but do not inform behavior. Through a refinement of the partial information decomposition framework, this irrelevant portion is removed from the shared information to form II [15].
Here, we control for this irrelevant portion through quantifying : if a neuron is encoding features of the stimulus that inform behavior, then regressing the stimulus to the neuronal activity during the readout window would not benefit from including the behavior as an additional covariate. Conversely, if a neuron is encoding features of the the stimulus that do not inform behavior, yet its activity during the readout window affects behavior, then its activity during the readout window is only a poor regressor of the stimulus, and including the behavior as an additional covariate is expected to improve the regression accuracy.
Through a combination of ,
, and
, we will account for both type-I and type-II errors in attributing a GI label to a neuron. Finally, a neuron that fails to fall into any of these categories will remain unlabeled. The resulting G-taxonomy forms a novel labeling of the neurons in the network, as shown in Fig 1 (top left network schematic).
An illustrative simulation study
To highlight the advantages and performance of the proposed G-taxonomy, we consider an illustrative simulation setting as shown in Fig 2A corresponding to a detection task. The network consists of N = 10 neurons observed over T = 10 s, with frame interval of 25 ms. The activity of the network is simulated for a total of L = 50 repeated trials, driven by a combination of exogenous stimuli and an endogenous VAR process of order P = 2, which is assumed to vary slower than the frame rate and hence piecewise-constant over W = 20 frames.
A) Example of a simulated 10-neuron network. The time courses of the primary and secondary stimuli, as well as the behavioral readout window are shown as inset plots. The receptive fields of neurons 1, 7, and 10, which are influenced by the stimuli, are shown as 2-by-2 matrices. B) Sample simulated trials with the primary stimulus on (left) and off (right). Rows (top to bottom) show the latent AR process (red), spiking activity (black), and resulting two-photon calcium traces (black). The shaded area show the primary stimulus interval. Red circles overlaid on the calcium traces in the bottom panel indicate spikes from the middle panel. C) The ground truth Granger sensori-behavioral functional taxonomy of the network in panel A. D) Sample trial showing estimated and ground-truth signals for a sample neuron (left). Rows top to bottom show estimated vs. true latent AR process, spiking activity, and calcium observations, respectively.
In each trial, the primary stimulus, s1, was randomly and uniformly turned “on” or “off”. In the “on” condition, the primary stimulus was a 100 ms pulse of magnitude 1. A background zero-mean white noise with variance was added to the primary stimulus. In order to model a possible confounding effect, a secondary stimulus, s2, was also considered, which was in the form of a short pulse (quarter of the primary stimulus duration) occurring during the second-half of the primary stimulus interval, with the same magnitude and background noise variance (See the schematic time courses of s1 and s2 in Fig 2A). While the primary stimulus is chosen by the experimenter (e.g., intended visual or auditory stimulus), the secondary stimulus is a sensory stimulus that is not accounted for by the experimenter (e.g., unintended visual or auditory distractors). Nevertheless, both can be encoded by the neuronal network and affect the behavioral outcome [15].
Fig 2B shows two sample trials with the primary stimulus on (left) and off (right) for a sample neuron. Note that even when the primary stimulus is off, there could be significant spiking activity due to the fluctuations of the latent endogenous process (red trace in the first row). The binary behavior corresponding to the primary stimulus detection task was generated via a GLM model with covariates from from the average activity of a subset of stimulus-driven neurons (i.e., green arrows outgoing from neurons 1, 4 and 7 in Fig 2) during the readout interval, defined as the second half of the primary stimulus interval (see the readout interval highlighted in Fig 2A). In the schematic network of Fig 2A, only neurons 1, 7, and 10 have a non-zero receptive field (i.e., blue arrows incoming from the stimuli). The receptive fields of neurons 1 and 10 are the same, and account for a sliding window average of the primary stimulus (i.e., both lags positive), whereas they are not responsive to the secondary stimulus. Neuron 7, however, has the same receptive fields for both stimuli, which model an onset/offset detector (i.e., the two lags have different polarities). These receptive fields are schematically shown as 2-by-2 tables in Fig 2A.
By design, the network setting of Fig 2A attributes a ground truth sensori-behavioral role to each neuron, which is shown in Fig 2C: neurons 1, 7, and 10 are Granger sensory neurons (i.e., non-zero receptive fields), and neurons 1, 4 and 7 are Granger behavior neurons (i.e., affecting behavior). Neuron 1 encodes a moving average version of the primary stimulus, which is then read out during the readout interval and contributes to the behavior. As such, neuron 1 encodes stimulus information that informs behavior and is thus a Granger intersection neuron. Neuron 7, however, encodes the onset/offset of the primary stimulus s1, which does not significantly contribute to its activity during the readout window. Hence, it is encoding features of the primary stimulus that do not inform behavioral readout. As such, neuron 7 is both Granger sensory and behavior, but not intersection. We expect the inferred G-taxonomy, obtained from the observed neuronal activity and behavioral outcomes only, to closely match the ground truth labels, which are determined by design.
In order to assess the performance of the proposed G-taxonomy, we first generate various random instances of such networks shown in Fig 2A: we constructed randomly generated networks by choosing three of the ten neurons at random to receive input from the primary stimulus, where one of them at random also received input from the secondary stimulus. The VAR coupling coefficients were kept the same across network realizations. Finally, in addition to the neuron receiving input from both stimuli, another stimulus-encoding neuron and a non-stimulus encoding neuron (chosen at random) were considered to form covariates for generating the behavioral outcome.
Fig 2D shows an instance of the estimated endogenous latent process, spiking activity, and reconstructed observations for a sample neuron from a sample network. The estimated variables (dashed traces and gray bars) closely match the ground truth (solid traces and black bars). To assess the performance of the proposed G-taxonomy on this simulated setting, we consider two benchmark methods: 1) Two-stage PSTH: in which the spikes are deconvolved first, using the FCSS procedure [45] to form the peristimulus time histogram (PSTH) of each neuron, followed by fitting a VAR model on said PSTH signals to obtain the network parameters and identify the taxonomy; 2) 2P Data: in which the 2P data are considered to be governed by a VAR process, from which the network parameters and taxonomy are identified [22] (See Methods for more details on these benchmark approaches).
Fig 3A shows the ROC performance plots for the proposed G-taxonomy over 10 random network realizations, as well as those corresponding to the foregoing benchmark methods. The proposed framework achieves perfect detection for the three categories as well as GC links between neurons. The false alarms were negligible for GS, GB, and GI categories, while they were slightly higher for the GC category. This is consistent with the difficulty of identifying the parameters of a GLM model with many parameters from a limited number of trials [36]. The two-stage PSTH and 2P Data methods, however, exhibit poor hit rates, primarily for identifying the GC links and GS neurons. The details of statistical testing and FDR correction are given in the Methods.
A) The baseline ROC performances of detecting the GC links between the neurons and the proposed G-taxonomy are shown for the 2P Data (left), Two-Stage PSTH (middle), and the proposed (right) methods. Each panel is the result of 10 random network realizations and error bars indicate 95% confidence intervals. B) ROC performances for stimulus SNR = 10 dB. C) ROC performances for stimulus SNR = 5 dB. D) ROC performances with spiking model mismatch, where the data is generated by a Poisson point process, but inferred using a Bernoulli model. B) ROC performances for network sub-sampling (10 neurons randomly chosen out of a network of 50 neurons). ROC analysis in panel A shows high sensitivity and specificity for all categories (FDR controlled) for our proposed method, whereas the 2p Data and Two-Stage PSTH suffer from poor hit rate and high false alarm rate (see the dashed ellipsoids for a visual guideline). While the performance of all methods degrades in panels B-E compared to the baseline, our proposed method exhibits more robustness, especially in detecting the GC and GS neurons.
The ROC performance evaluation shown in Fig 3A serves as a baseline comparison. To further assess the robustness of these methods to more realistic experimental conditions, we consider three additional perturbation analyses:
- 1) Signal-to-noise ratio (SNR) of the Primary Stimulus: Recall that in our generative model, we added a background zero-mean white noise with variance
to the primary stimulus, to account for mismatch in stimulus representation, whereas the estimator in the inverse model is not aware of such mismatch. This amounts to an SNR of 20 dB in the baseline comparison. To further assess the effect of this mismatch, we increased the noise and repeated the comparison for SNR levels of 10 and 5 dB, which are shown in Fig 3B and 3C, respectively. While the performance of the 2P and two-stage PSTH methods degrades severely as SNR decrease, especially in terms of detecting Granger stimulus neurons, and thereby Granger intersection neurons, our proposed method exhibits more noise resilience and operates reliably for SNRs as low as 5 dB.
- 2) Spiking Model Mismatch: In our baseline model, we assumed a Bernoulli spiking model in both the generative and inverse models. In practice, however, these two spiking models could be different. We thus generated the data using a Poisson spiking model, but used a Bernoulli spiking model for the inverse model, thus inducing a spiking model mismatch. The ROC comparisons are shown in Fig 3D. While our method is able to produce high hit rates and moderate false alarm rates under this scenario, the two benchmark methods are not capable of recovering any of the Granger stimulus and intersection neurons.
- 3) Network Sub-sampling: The baseline comparison corresponds the simulated activity of N = 10 neurons, which is a modest number compared to the typical number of neurons observed using two-photon imaging. In practice, the number of neurons used for network analysis is usually a small fraction of the observed neurons, due to the computational requirements of such analysis. This network sub-sampling procedure could thus confound the analysis results, as many of the key underlying processes remain latent. To assess the robustness of our proposed method to this condition, we simulated a network of N = 50 neurons, with a VAR model ensuring at most 8 source neurons are connected to each target neuron. Then, we assigned 10 Granger sensory, 10 Granger behavior, and 5 Granger intersection neurons in a similar fashion as in the case of 10 neurons in our baseline model. Finally, we randomly sub-sampled 10 networks of size N = 10 neurons out of 50, and performed the ROC evaluation shown in Fig 3E. As expected, the GC detection performance of all methods degrades, due to the confounding effect of network sub-sampling [36]. Remarkably, our method is able to recover both Granger sensory and intersection neurons at a high hit rate and low false alarm rate, whereas the other two benchmarks detect none.
In summary, our simulation study highlights how the proposed G-taxonomy can reveal distinct roles of neurons within a network: while specific neurons act as sensory encoding or behavioral readout neurons, there are some integrative nodes in the network that both encode sensory input and drive task-related behavior. These GI neurons bridge the encoding and decoding domains, that are often studied separately, and take the role of functional intermediaries in sensory–behavioral transformation. In addition, our perturbational analyses suggest that while more realistic experimental conditions would affect the performance of our proposed G-taxonomy, it exhibits a higher degree of robustness to said perturbations compared to the existing benchmarks.
Identifying granger sensory neurons in mouse A1 during passive listening
We next apply our proposed network inference and G-taxonomy to experimentally- recorded two-photon calcium imaging data from layer 2/3 of the mouse primary auditory cortex (A1). The dataset, originally reported by [40], consists of trials in which short broad-band noise stimuli are presented to the animal (referred to as Stim. On trials), which are randomly interleaved with silent trials of equal duration (referred to as Stim. Off trials). The stimuli were 75 dB SPL 100 ms broadband noise ( kHz). Each trial was 5.1 s long (1 s pre-stimulus silence + 0.1 s stimulus + 3 s post-stimulus silence), and the inter-trial duration was 3 s. The recordings therefore contained both stimulus-driven and spontaneous neural activity, providing an opportunity to examine both GC links between neurons as well as their stimulus encoding properties.
We analyzed a subset of N = 9 neurons selected at random, with L = 50 stimulus presentation trials per neuron and T = 135 frames (5.1 s) per trial. The fluorescence traces () of each neuron were normalized based on the average peak amplitude of prominent transients, ensuring consistent scaling across cells. The observation noise covariance matrix was estimated from the first 30 frames of each trial, corresponding to pre-stimulus baseline activity.
To capture the temporal receptive field structure of each neuron, we considered 10 lags of the stimulus, representing responses over a 330 ms window. The effective integration window for the latent AR process was set to W = 10 frames, assuming that neural activity within this window was driven by the same latent cortical process. The target FDR was chosen as 0.01.
The estimated network is shown in Fig 4A, with the detected GS neurons labeled. While some of the GS neurons also participate in the GC network as sources, e.g., neurons 5 and 9, others are not (e.g., neurons 1 and 7). To further validate the detected GS labels, Fig 4A shows the trial averaged responses of all neurons for Stim. Off (gray traces) and Stim. On (blue traces) trials. As it can be visually confirmed, the responses of the GS neurons in Stim. Off and On trials are quite distinct, where are they are widely overlapping for the non-GS neurons. The J-statistics are also reported in the insets, which are consistent with these visual observations: the J-statistics for neurons 2, 3, 7, and 9 with visibly distinct response profiles under both trial conditions are 0.99, which shows high confidence in labeling them as GS. Neuron 5, however, is detected as GS with a J-statistic of 0.82, which is consistent with the response profiles being more similar.
A) Estimated GC network and GS labels in mouse A1 during passive listening to randomly interleaved trials of silence and white-noise stimuli. B) The trial averaged responses of the neurons in panel A for Stim. Off (gray) and Stim. On (blue) trials. The stimulus interval is shown as a gray vertical hull. The J-statistics of the GS neurons are shown as insets in each sub-panel. The colored hulls show 95% confidence intervals.
Our analysis reveals two key advantage of the proposed G-taxonomy: first, the GS labels are detected conditioned on the entire network activity, which can thereby rule out potential network effects that could be otherwise attributed to stimulus. For instance, the response profiles of neuron 4 under Stim. Off and On trials are dissimilar later throughout the trial, and a statistical test performed on their difference may conclude that this neuron is responsive to the stimulus. However, based on our proposed analysis, this observed difference is likely due to the GC link from another GS neuron, i.e., neuron 9, which exhibits similar response profiles later throughout trial, while being highly responsive to the stimulus onset.
Second, the parametric nature of the underlying statistical tests in detecting GC links as well as the G-taxonomy are likely to have higher statistical power than commonly-used non-parametric tests applied to response differences shown in Fig 4B. This is particularly important when the number of trials and the trial duration are limited. For instance, while neuron 5 is detected as a GC neuron, a simple non-parametric statistical test applied to the response differences would not register as significant. This situation becomes even more stringent after correcting for multiple comparisons across neurons. However, our method tests for the improvement in response prediction variance by including the stimulus as a covariate on a trial to trial basis, and thereby labels neuron 5 as a GS neuron with a J-statistic of 0.82. This implies that while the type I error (i.e., p-value) is less than 0.01 due to the choice of the FDR rate, the test power is at least 0.82.
In summary, our analysis shows that the proposed network inference and G-taxonomy can be used as an alternative to existing approaches in detecting significantly responsive neurons under passive listening to randomly interleaved silent and stimulus-driven trials, with the advantage of ruling out possible network effects as well as increasing the test power compared to commonly-used non-parametric tests for responsiveness.
Granger sensori-behavioral functional taxonomy of neurons in mouse A1 L2/3 during tone discrimination
To test how our framework works in behaving animals, we analyzed two-photon calcium imaging data from the mouse A1 L2/3 during a pure-tone discrimination task [22]. Head-fixed mice performed a go/no-go task while A1 L2/3 activity was recorded. Low-frequency tones (7 or 9.9 kHz) were targets (go) and high-frequency tones (14 or 19.8 kHz) were non-targets (no-go); all four frequencies were randomly interleaved. The animals were trained to wait 0.5 s after the stimulus onset before making a decision (lick or no lick). Trials were labeled as hit (H), miss (M), correct rejection (C) or false alarm (F) based on the first lick [22]. We analyzed both passive blocks, where tones were presented while the mouse was quiescent, and behavior blocks with active task performance with the same tones. Detailed experimental procedures (animal training, imaging, and behavioral definitions) are provided in [22].
Unless otherwise noted, our analyses used a subset of 10 experiments from the data in [22]. The 10 experiments contained 1798 total neurons in the field of views, 225 of which exhibited significant activity in response to tones. Within each selected experiment, we randomly sampled N = 10 neurons and used all L = 50 available trials with T = 135 imaging frames per trial. For each neuron, traces were normalized by the average amplitude of visually identified peak transients to place cells on a comparable scale. The observation noise covariance was estimated from the first 30 frames of each trial (pre-stimulus baseline) and pooled across trials to form a per-neuron variance estimate. Stimuli were represented as binary pulse trains (tone onsets) and we modeled the receptive fields with with two temporal lags. The effective integration window for the latent AR process was set to W = 10 frames (330 ms), assuming that neural activity within this window was driven by the same latent cortical process.
Fig 5A summarizes the distribution of detected links across passive and behavior blocks (top) as well as the pooled trial averaged response of all neurons in correct (H & C) vs. incorrect (F & M) trials (bottom). The number of detected links during the passive blocks are significantly larger than that during incorrect trials. In addition, the number of links during incorrect trials is significantly smaller than that for both behavior categories pooled together. These findings are consistent with the results of [22] (Figs 4 and S3 therein) using short integration windows (233 ms) to analyze the connectivity changes during passive and behavior conditions. Compatible with our finding, it is shown in [22] that while the number of GC links for C and F categories are comparable, the number of H links are significantly larger than the M links. The average responses in correct (black) and incorrect (red) trials shown in the bottom panel exhibit intervals of significant difference both during the peri-stimulus and post-stimulus intervals. The time points of significant difference are marked by small vertical bars below the graph, with a family-wise error rate of less than 5% (See Methods for details).
A) number of GC links between neurons across multiple experiments, during passive and behavior conditions (top, ;
;
). Average activity of all neurons during correct vs. incorrect behavior are shown at the bottom (N = 100 neurons). B) Average activity of different neuron categories from the proposed G-taxonomy during correct vs. incorrect behavior. GI neurons show notable divergence between correct vs. incorrect conditions that is sustained throughout the post-stimulus interval, whereas the GS and GB neurons exhibit more transient differences. Shaded hulls represent 95% bootstrapped confidence intervals, and black bars below each trace indicate groups of time points that show significant difference between correct vs. incorrect trials (at a 95% confidence level).
To further tease apart the response differences shown in Fig 5A, we leverage our proposed G-taxonomy and refine the trial averages based on the Granger sensori-behavioral relevance of the neurons. Fig 5B shows the aforementioned refinement. The leftmost column in Fig 5B shows the trial averaged responses of Granger sensory (top) and behavior (bottom) neurons. The Granger sensory neurons show significant differences in correct vs. incorrect trials both during the peri-stimulus and post-stimulus intervals, whereas the Granger behavior neurons show different responses later during the trial. Given that some Granger sensory neurons may also be Granger behavior and vice versa, we further inspect the average responses of neurons that are Granger sensory and not behavior (i.e., exclusively GS, top) and those that are Granger behavior and not sensory (i.e., exclusively GB, bottom) in the middle column. Interestingly, the exclusively GS neurons show significant differences between correct vs. incorrect trials early during the stimulus presentation, which does not extend beyond the stimulus off-set and through the rest of the trial. The exclusively GB neurons, however, exhibit response differences mainly during the pre- and peri-stimulus intervals. These two results, not previously reported to the best of our knowledge, suggest that exclusively GS neurons show differences that are specific to the stimulus presentation window and do not persist throughout the trial, and exclusively GB neurons show differences early on and prior to stimulus presentation, which could relate to the behavioral bias of the animals independent of the stimulus category.
In the third column of Fig 5B, we inspect the responses of Granger intersection neurons (top), as well as Granger sensory & behavior neurons that are not Granger intersection (bottom). The Granger intersection neurons exhibit significant response differences between the correct and incorrect trials, which persists throughout the entire post-stimulus interval. This is consistent with [22] (Fig 2 therein), showing the reverberation of intersection information during the trial by inspecting the information ratio between intersection and sensory/choice categories. The Granger sensory & behavior neurons which are not intersection, however, show transient response differences mainly in the pre-stimulus interval, in stark contrasts to the differences exhibited by the Granger intersection neurons. This result suggests that being Granger sensory & behavior is not sufficient for the neuron to carry sensori-behaviorally relevant information, whereas Granger intersection neurons carry information from both the sensory stimulus and behavior that persists throughout the trial.
Finally, we probed the response differences in incorrect vs. correct trials refined by the behavioral outcomes of lick or no-lick in Fig 6. The top row shows the responses of Granger sensory (left), behavior (middle), and intersection (right) neurons during the lick trials, in which correct and incorrect outcomes correspond to H and F, respectively. The Granger sensory neurons show response differences shortly after the stimulus off-set, whereas the Granger behavior and intersection neurons exhibit response differences that persist throughout the trial, more prominently for the hit trials. The bottom row similarly shows the responses during no-lick trials, in which correct and incorrect outcomes correspond to C and M, respectively. In contrast to the top panel, for the no-lick trials there are no notable differences between the responses of either category of neurons in C vs. M trials. This result, not previously reported to the best of our knowledge, suggests that the differences observed across the behavioral categories, indeed depend on the animals’ actual response, and not just on the correct vs. incorrect categorization; while the H and F categories show significant response differences that are distinct for Granger sensory, behavior, and intersection neurons, the neuronal responses in M and C categories seem to be similar and not dependent on their functional type.
Average activity of different neuron categories from the proposed G-taxonomy during correct vs. incorrect behavior for lick (top) and no-lick (bottom) trials. Consistent with Fig 5, GI neurons exhibit sustained difference between correct and incorrect trials, but only for lick trials. During no-lick behavior, no significant difference in the activity of neurons across correct and incorrect trials is registered. Shaded hulls represent 95% bootstrapped confidence intervals, and black bars below each trace indicate groups of time points that show significant difference between correct vs. incorrect trials (at a 95% confidence level).
Discussion
We introduced a unified statistical framework for joint estimation of GC influences among neurons in an ensemble as well as a functional taxonomy, namely G-taxonomy, that quantifies the sensori-behavioral relevance of each neuron, all directly from two-photon calcium imaging data. Our proposed G-taxonomy labels a neuron as: (1) Granger Stimulus (GS), implying that the stimulus is a significant predictor of its activity, (2) Granger Behavior (GB), implying that the neuron’s activity is a significant predictor of the behavior, and (3) Granger Intersection (GI), implying that the neuron encodes sensory information that is relevant to behavior. The GC links among neurons as well as the foregoing functonal G-taxonomy are established using rigorous statistical tests. Using both simulated and experimental recordings from mouse auditory cortex, we demonstrated the utility of the proposed framework in identifying the GC links between the neurons as well as establishing their sensori-behavioral relevance.
Our proposed approach is inspired by the Intersection Information (II) framework [15,16,22,24,52], in which the partial information decomposition (PID) machinery is used to quantify how much information, in the sense of Shannon’s mutual information, a neuron carries about the sensory stimulus, the behavioral readout, or both. While the II framework has successfully been applied to a wide variety of neural data and has resulted in novel insights regarding the interaction of sensory encoding and behavior, it comes with a number of challenges: First, due to the exponential complexity of the PID framework in the number of neurons, the II framework has mainly been restricted to a pair or triplets of neurons or variables; Second, the II framework assumes that the spiking activity is directly observed or its reliable estimates from indirect measurements are available; Third, the II framework represents the stimulus by simple features chosen a priori, often constant and univariate, in favor of the ease of solving the optimization problems involved in PID. As such, application of the II framework to larger networks of neurons, presented with potentially complex and time-varying stimuli, and measured indirectly via modalities such as two-photon imaging.
Our approach addresses these shortcomings through several mechanisms: First, by adopting the Granger machinery, as opposed to PID, we use a hierarchical parametric generative model that admits efficient estimation and scales favorably with network size. This is in contrast to the common applications of II that use nonparametric and model-free estimates of mutual information between pairs or triplets of neurons. Leveraging the milder dependence of estimation accuracy to the sample size in parametric models, we form a series of rigorous statistical tests that allow family-wise error correction and thus preserve statistical power. In the II framework, however, nonparametric tests are often used, which are known to have less statistical power than parametric ones, especially when the number of trials and their duration are limited.
Second, the parametric nature of our hierarchical models allows us to represent the stimuli as a multivariate time-varying signal, whose effects are parameterized by high-dimensional receptive fields. As such, no a priori assumptions are made on which features of the stimuli are relevant, and instead these features are captured in a data-driven fashion through the estimated receptive fields.
Finally, while most existing methods perform network inference in a two-stage fashion, by first estimating spikes and then forming network measures from said spike estimates, our modeling and estimation framework integrates several techniques such as dynamic Bayesian network models, state-space inference, Pólya-Gamma augmentation, and variational inference to avoid two-stage processing and thereby minimize estimation biases. It is worth noting that while our proposed method intergates the two stages of analysis into one, it requires a priori knowledge of cell locations. However, some of the existing two-stage methods simultaneously detect cell locations, calcium traces, and spiking activities [53] in the first stage and are thus less dependent on pre-processing.
Another key advantage of our proposed framework is to simultaneously estimate the functional connectivity between the neurons in the sense of Granger’s temporal predictability, and to attribute a sensori-behavioral functional taxonomy to all the neurons, also in the sense of Granger’s temporal predictability, to quantify their role in the network function. Most existing methods solve these two inverse problems independently and disjointly: they either focus on capturing the encoding or readout properties of the neurons, regardless of their connectivity, or just aim at estimating functional connectivity by ignoring the effects of the stimulus.
The advantage of solving these two problems simultaneously is two-fold: First, in detecting the GC links between neurons, the effect of external stimuli as a confound would be ruled out. For instance, if two neurons are being driven by the same stimulus with different latencies, by explicitly modeling the receptive fields and quantifying the stimulus effect, the detected GC links would only be resulting from the coupling of the endogenous latent process governing the neuron’s stimulus-independent activity; Second, in attributing the sensori-behavioral relevance to each neuron, the network effects arising from endogenous interactions between the neurons as a confound would be ruled out. For instance, we can rule out if heightened activity of a neuron corresponding to a particular behavioral category is due to its relevance to behavior, or is just due to receiving an endogenous input from another neuron that contributes to behavior. It must be noted that our forward/inverse models that form the basis of the G-taxonomy are not aimed at establishing a physical circuit model, but serve as a statistical model that captures the functional dependencies among neurons in terms of their networked activity. As such, the links that are found between neurons may not be interpreted as direct synaptic connections. Our proposed G-taxonomy can also be thought of as a clustering methodology, which explicitly uses the functional sensori-behavioral relevance of the neurons’ activity to categorize them, akin to methods such as demixed PCA [54].
We presented a comprehensive simulation study that showcases the intricacies involved in attributing sensori-behavioral relevance to neurons in a network and demonstrated that our proposed framework reliably achieves this task, while existing two-stage approaches suffer from poor hit rate and high false alarms.
We also applied our proposed framework to two datasets of two-photon recordings from mouse A1 layer 2/3. The first dataset corresponded to a network of mouse A1 neurons during passive listening in a sequence of trials in which either a broad-band white noise auditory stimulus is on or off in a randomly interleaved fashion [40]. Our proposed method labeled a set of neurons as GS neurons, which upon further inspection of their trial averaged activity, exhibited highly distinct responses in stimulus on vs. off trials. Interestingly, while some neurons exhibited distinct responses in these two conditions, they were not labeled as GS; indeed, the difference in their activity was much later throughout the trial in the late post-stimulus period. It is worth noting that this dataset did not include any behavioral measurements, such as pupillometry or whisking activity. If principle, if non-task-relevant behavioral measures exist, one can identify GB neurons and use them to obtain a more accurate baseline of neural activity, e.g., accounting for compulsive non-task-relevant behavior [55].
The second dataset was collected during a tone discrimination task [22], in which the mice were trained to lick a spout after the onset of low frequency target tones and avoid licking when high frequency non-target tones are presented. Summarizing the GC network and G-taxonomy statistics across several animals resulted in several key findings: First, comparing the GC networks between the passive and behavioral conditions of correct vs. incorrect showed that the incorrect GC networks are sparser than the passive condition, consistent with the results of [22] (Figs 4 and S3 therein). Second, neurons labeled as GI showed persistent differences in their responses between correct vs. incorrect trials throughout the post-stimulus period, also consistent with the reported reverberation of information in II neurons [22] (Fig 2 therein).
Third, neurons that were exclusively labeled as GS only showed transient response differences between correct vs. incorrect trials in early peri-stimulus period, and those labeled as exclusively GB, showed transient response differences predominantly in the pre-stimulus period. This result suggest that these neurons may not play a key role in linking sensory stimulus to behavioral outcome as their activity profile does not correlate with the animal’s behavioral category in a persistent fashion. Finally, neurons that were labeled as GI showed a striking difference in their activity profile, persistently during the post-stimulus period. Interestingly, the activity of neurons labeled as GS and GB, but not GI, as starkly contrasting to those labeled as GI. This result is consistent with the rationale of the II framework, implying that neurons that encode sensory stimulus and are predictive of behavior, may not necessarily encode features of the stimuli that are relevant to behavior.
While our proposed framework successfully recovers GC links and sensori-behavioral relevance directly from two-photon imaging data, several limitations remain. The current model assumes linear vector autoregressive dynamics and fixed time lags between neural influences, which may not fully capture nonlinear or time-varying dependencies present in real cortical circuits. In particular, in light of the representational drift phenomenon in the cortex [56], our results are only valid over a time interval during which the cortical representation is stationary, e.g., within a few trials. Averaging across trials within an experimental session would only capture an average-sense taxonomy which could be confounded with representational drift. Future work could incorporate kernelized or hierarchical time-varying extensions [57] to better represent complex neuronal response properties.
Another caveat of the Granger formalism is the so-called “predictive separability” requirement: the source of a GC effect must have a separate predictive contribution on the target than the target’s past activity. As such, when two sources are being driven by a synchronized latent process, no GC effect would be attributed between them, as the past of each is a strong predictor of their future, even though one source could be indeed driving the other one. This issue is addressed in the Convergent Cross Mapping (CCM) approach [58,59]: if the manifold of the past activity of a target contains information about the source, then the source’s activity can be reconstructed using a cross-mapping from the manifold of the past activity of the target. As such, a common latent process driving both source and target would not necessarily embed the source in the target’s activity manifold [60]. In light of the presence of brain-wide oscillatory activity in some two-photon imaging experiments [61], such latent common input could violate the predictive separability required by the Granger formalism. In practice, GC is more robust to noise and requires smaller sample complexity for reliable inference. Given that we did not observe any brain-wide oscillatory activity in the datasets used in this work (possibly due to using slower calcium indicators than used in [61]), we have no evidence supporting that our results are confounded by the violation of predictive separability.
Additionally, analyses were performed on relatively small neuronal subsets due to computational constraints. Extending this framework to full-field datasets with hundreds of neurons will require optimized inference and regularization strategies. Finally, although GC reflects predictive influence, it does not imply direct synaptic connectivity. Combining this approach with anatomical tracing or targeted optogenetic perturbations will be essential for establishing causal validation.
In summary, this study presents a unified and statistically grounded framework for uncovering directed functional interactions and sensori-behavioral relevance of network activity, in the sense of Granger’s temporal predictability, from two-photon data. By jointly modeling stimuli, neural activity, and behavioral responses, it captures how sensory information can dynamically reorganizes network connectivity across behavioral states. Beyond auditory processing, the same principles can be extended to other sensory systems and experimental paradigms, offering a powerful tool for studying how distributed neural populations transform sensory input into behaviorally relevant computation.
Methods
We first describe the generative model in detail, followed by the inverse problem and the proposed solution. The proposed inverse solution consists of three main parts: 1) efficient network parameter estimation, 2) full and reduced models used in the Granger formalism, and 3) statistcal testing of GC links and GS, GB, and GI attributes.
Generative model formulation
Consider a standard experimental setting where we have the fluorescence traces of N neurons within a trial of length T frames for a total of L independent trials. We define ,
, and
as the vectors representing the noisy observations, intracellular calcium concentrations, and ensemble spiking activities, respectively, at trial l and frame t. We aim to capture the temporal patterns within
using the following state-space model [40,42,62]:
where represents a diagonal scaling matrix capturing the cross-neuron intensity variations,
is zero-mean i.i.d. Gaussian noise with covariance
, and
is the state transition parameter capturing the calcium decay dynamics via first-order autoregression. Note that our chosen state-space model exhibits non-Gaussian characteristics due to the binary nature of the spiking activity, that is,
.
To model the spiking data, we employ two covariates within a point process or Generalized Linear Model framework with Bernoulli statistics. The first covariate, designated as the latent endogenous process , accounts for spontaneous and stimulus-independent neural activity. The second component models the responses driven by external stimuli
, where J denotes the flattened length of a multi-variate stimulus and its previous lags effective at time t. The latter component is denoted by the exogenous component. We hereafter assume that the latent endogenous process evolve over a comparatively slower time scale relative to the imaging frame rate, i.e., observations within a window of length
are driven by the same instances of the latent process [40]:
where ,
is the baseline rate parameter of neuron j in trial l, and
is the flattened receptive field of neuron j encoding the effect of stimulus
. The non-linear mapping relating the different covariates to
is referred to as the logistic link, which is the canonical link for a Bernoulli process within the Generalized Linear Model framework [63,64].
To account for the endogenous and directed coupling of the neurons, we employ a vector autoregressive (VAR) process to model the dynamics of . Letting
, the VAR model can be expressed as follows [65]:
where represents the AR coefficients associated with the
time lag, and the noise covariance
is a diagonal matrix with the
diagonal entry given by
.
Finally, we use a categorical probabilistic model to account for observed behavior. Letting be the readout interval (e.g., the second half of the stimulus interval), the binary behavior
(e.g., lick/no-lick) in trial l is modeled as
where
is the average activity of neuron j in trial l during the readout interval ,
is the behavior bias parameter, and
capture the contribution of the different neurons to the behavior. Fig 1 illustrates the key elements of the foregoing generative model.
The overall inverse problem can be stated as follows: given the observed fluorescence traces from N neurons over L independent trials of duration T each, , extract the Granger Causality (GC) links among the neurons as well as the proposed G-taxonomy of GS, GB, and GI for all the N neurons in the population.
The objective of the inverse problem hinges on accurately estimating the network parameters , the receptive fields
, and behavior parameters
. Then, to test whether a neuron i has a GC influence on neuron j, we first estimate the network parameters without imposing any restrictions, namely the full model. Then, we set the coupling VAR parameters from neuron i to neuron j in the and re-estimate all the other network parameters, resulting in the reduced model. If including
in the prediction of
results in significantly higher likelihood, the full model is preferred over the reduced model, indicating the existence of a GC link from neuron i to j [36]. A similar procedure can be applied to the inference of G-taxonomy, albeit with more technical care in defining the respective full and reduced models.
In the subsequent sections, we first give a detailed account of the network parameter estimation procedure, followed by defining the full and reduced models for G-taxonomy and the associated statistical tests.
Inverse solution (1): Efficient network parameter estimation.
Let be the set of network parameters to be estimated. To this end, we use the EM framework, which offers an iterative procedure for obtaining a sequence of parameter estimates
such that:
The overall architecture of the EM procedure used for parameter estimation in our work is shown in Fig 7. We illustrate this procedure for the full model first. The joint log-likelihood of the observations, latent processes and parameters can be expressed as:
where C stands for terms that are not functions of ,
, or
. Hereafter, we use shortened notations
,
, and
for convenience.
The E-step includes two nested iterative procedures, namely variational inference via Pólya-Gamma augmentation (VI/PG) and Iteratively Re-weighted Least Squares/Fixed Interval Smoothing (IRLS/FIS). The first and second moments of the latent endogenous process are then computed and fed to the M-step to compute the network parameters.
The E-step.
We need to compute the so-called Q-function given by:
where is the parameter estimates at iteration r. Utilizing the state augmentation technique, we express the VAR model as:
with
and where
complete log-likelihood of Eq. (7) can be more concisely expressed as:
Upon inspecting Eq. (11), the complexity of the E-step becomes evident: the joint log-likelihood function involves interactions that are not purely quadratic, hence the expectations can not be expressed using the first and second moments, as in the Gaussian case. To address this, we use an instance of Variational Inference (VI) [66–68], a powerful technique from Bayesian statistics. VI approximates complex posterior distributions by transforming the inference problem into an optimization problem. This method reduces computational complexity compared to traditional approaches based on sampling, providing an efficient and scalable solution for parameter estimation.
To proceed with the VI framework, we assume that the constants ,
and
are either predetermined or can be reliably estimated from pilot trials. For instance, we treat
as a diagonal matrix, estimating its diagonal entries from the intensity of spiking events. Moreover,
can be estimated based on the decay rate of observed spikes, as it relates to the calcium indicator and imaging technique. Finally,
can be estimated using the background fluorescence in intervals without spiking activity.
Variational inference: Decoupling via Pólya-gamma augmentation.
When confronted with problems encompassing both discrete and continuous random variables, the straightforward utilization of VI frequently results in the generation of intractable probability density functions. In our specific model, deriving an appropriate variational distribution for using standard distributions becomes intractable due to the interrelationships between Bernoulli and Gaussian random variables in the posterior. To address this challenge, we utilize the Pólya-Gamma (PG) latent variable augmentation technique [43,69,70]. By examining Eq. (7), we observe that the posterior density,
, admits conditional independence in k and l, through expressing:
This latter density possess the desired characteristics for the PG augmentation scheme which relies on the following identity [40,43]:
where represents the PG density. Comparing the first term in Eq. (11) with the left-hand side of Eq. (13), we can identify
and
. We then introduce a set of i.i.d. auxiliary latent random variables
for
and
. Letting
, we have:
By taking and
as parameters and assuming their estimates are available, we next assume a mean-field variational density family and adopt the Coordinate Ascent Variational Inference (CAVI) procedure to derive the optimal variational densities [40]. The procedures for updating the parameters
and
will be detailed in the subsequent section.
The augmented log-likelihood in Eq. (14) exhibits a quadraticdependence on and
. Consequently, the conditional distribution
, given an estimate
, can be identified as Gaussian. This property enables us to leverage fixed interval smoothing [44] and covariance smoothing [48] for efficient computation of the conditional expectation for
,
, and
given
, to fully characterize the expectations in the E-step.
The augmented log-likelihood in Eq. (14) also implies the conditional distribution , with
, where
. Therefore, we estimate the PG variables as
. To improve the accuracy of the latent PG variable estimation, we alternate between estimating the first and second moments of
and
, before proceeding to the M-step.
VI parameter updates.
Recall that we treat and
as an unknown parameters, instead of unknown random variables whose densities would require variational parametrization. This choice is due to the temporal dependencies induced by the interaction of
and
in Eq. (7), which complicate quantifying the mean-field variational densities.
Note that the variable is a Bernoulli random variable, posing a set of constraints
, for
,
, and
. The combinatorial nature these constraint renders the estimation of
intractable. Following the relaxation procedure of [40,45], we instead use the modified log-likelihood:
where with
denoting a hyper-parameter. In our analysis, we set the value of
inversely proportional to the variance of the observed fluorescence signal as
. To maximize the modified log-likelihood in Eq. (15) with respect to
, we utilize the Iteratively Re-weighted Least Squares (IRLS) procedure [46]. At iteration i given a current estimate
, the log-likelihood can be identified as that of the state-space model:
In this equation, and
where
is a diagonal matrix with
, for some small constant
. Thus, the next iterate
can be efficiently computed using using FIS [44]. Note that this method for estimating the calcium concentrations
functions as a soft spike deconvolution, seamlessly integrated within the variational inference framework. This differs significantly from traditional two-stage estimators, which rely on hard spike deconvolution.
With the updated estimates of , the kernel parameters
can be estimated by maximizing the log-likelihood in Eq. 14 with respect to
:
Finally, yhe VI procedure iterates between updating the variational densities and the parameters.
The M-step.
In the M-step the parameters and
are updated to maximize the Q-function. The update rules for the jth row of
and
are given by:
The EM algorithm proceeds until a standard stopping criterion is met [40].
Inverse solution (2): Full and reduced models in the granger formalism
Given the foregoing efficient procedure to estimate the network parameters, we next need to define the nested full and reduced models for the GC links as well as the G-taxonomy to be able to extract relevant statistics for hypothesis testing.
Full and reduced models for GC links between neurons.
In the reduced model for assessing a GC link from neuron i to neuron m, we remove the influence of the source neuron on the target neuron in Eq. (3) by setting the corresponding VAR coefficients to zero. The update rule of Eq. (18) for all remains the same. For j = m, however, we utilize a reduced vector
, derived by removing the elements of
that correspond to neuron i. The update for
is then given by:
The coefficients corresponding to neuron i are then explicitly set to zero. Similarly, Eq. (19) is modified by replacing and
with
and
, respectively.
Full and reduced models for GS and GB neurons.
In the reduced model for assessing the effect of the stimulus on neuron m, we set and estimate all the other network parameters. In other words, Eq. (2) for all
remains the same, and we have:
The reduced model for assessing the effect of the activity of neuron m to behavior, corresponds to setting , i.e.:
The parameters ,
can be estimated by maximizing the joint log-likelihood of
using the Newton–Raphson algorithm.
Full and reduced models for GI neurons.
Recall that a neuron m being both GS and GB does not imply that it encodes stimulus information which is subsequently utilized for task-related behavior, i.e., a GI neuron. Mirroring the rationale of II theory based on mutual information, here we need to see if estimating the stimulus from the average activity of neuron m during the readout window would be significantly improved if the behavior is included as a covariate or not. Noting that the behavior is typically a categorical variable and the average activity of neuron m during the readout window is constant, using them to estimate the time-course of the multi-dimensional stimulus does not constitute a rich enough model to test the aforementioned effect, since both the full and any possible reduced model are likely to be equally and drastically poor. We thus suppress the temporal dimension of the stimulus , and consider a categorical representation for
. For instance, if the stimulus corresponds to a modulated presentation of different pure tones, the
categories correspond to the number of tones to generate the stimulus set.
To this end, we use a multinomial logistic model as the full model:
where the parameters are estimated by maximizing the multinomial joint log-likelihood of
using the Newton–Raphson algorithm.
The reduced model can then be formulated by constraining , thereby removing the direct influence of the behavior on the predicted stimulus category. As such, the reduced model isolates the contribution of the activity of neuron m during the readout interval to stimulus prediction, independent of the behavior. The rest of the parameters
are re-estimated under the constraint
using the same optimization procedure.
Inverse solution (3): Statistical testing of GC links and GS, GB, and GI attributes.
The test statistic to be used to compare the full and reduced models is the deviance difference [36,37]:
where and
denote the log-likelihood of the observations corresponding to the full and reduced models, respectively. Given that the latent endogenous process is unobserved, computing the log-likelihood of the observed fluorescence traces is not straightforward, as it involves intractable integrations over the range of the latent process. We thus adopt the procedure of [71] that uses a specific sample path of the latent endogenous process that significantly simplifies the computation of the log-likelihood. The key idea is to factorize the likelihood of the observations as:
where and
can be taken as any possible choice of the latent endogenous process and calcium concentrations. The numerator of Eq. (25) can be expressed in closed-form using our generative model. However, the denominator lacks such simplicity, primarily due to the intricate interplay between
and the observation model. To address this complexity, we employ the Laplace approximation by making the assumption
, where
and
satisfy [71,72]:
where
with and
being the estimated AR coefficients and the first and second moments of
being available following the parameter estimation procedure. Initializing with
, for
, we proceed in a backward fashion by setting
in Eq. (26) to obtain a sample path
. Evaluating the denominator of Eq. (25) at this sample path yields
. Finally, we evaluate the likelihood at the estimated
from the parameter estimation procedure. The simplified log-likelihood of the observations can be express as:
Note that in the absence of observation noise , we have
, and therefore
. Assuming that the observation noise is small, and the prior
induced by the VAR process
is smooth around
, the posterior
is approximately Gaussian with mean
and covariance
and is therefore negligibly dependent on the network parameters. Following this approximation,
takes similar values in the full and reduced models. Therefore,
cancels out in computing
. In fact, in order to speed up the computation of the estimation framework, one can use the regularization parameters
independent of the network parameters, so that
can be computed once for the full model only and used in the reduced model. This way,
in the full and reduced model is evaluated at the same estimate
.
The foregoing expression of the log-likelihood of the observations can be used to compute as well as
, denoting the deviance differences of the effect of neuron i to j and the stimulus to neuron j, respectively. The log-likelihood of the full and reduced models for the behavior can be computed using the closed-form expression of the log-likelihood of Bernoulli variables, resulting in the deviance difference
. Same goes for the log-likelihood of the stimulus categories in the full and reduced models corresponding to GI neurons, which provides
.
Asymmptotic analysis of the deviance difference involves the properties of the central and non-central chi-squared distributions [36,37,73–75]. Let M be the number of parameters that are removed in the reduced model. Then, in the absence of a GC effect,
asymptotically (in the observation length) follows a chi-squared distribution with M degrees of freedom
, and in the presence of a GC effect, it follows a non-central chi-squared distribution,
with the same degree of freedom M and non-centrality parameter
. The non-centrality parameter
can be estimated as
[36]. The degree of freedom M for assessing the different effects in our framework are given as:
The p-value of the test comparing the full and reduced model based on is therefore computed as
, where
is the CDF of
. For a target significance level of
, if we detect a GC link using the thresholding rule
, we can control the false discovery rate (FDR) across all estimated GC link by applying the Benjamini–Yekutielli (BY) procedure [50], at an average FDR of
, where
is the number of simultaneous tests.
To summarize each test, we utilize the J-statistic associated with the link , defined as
with denoting the CDF of and
. Values of
indicate small evidence to reject the null hypothesis, whereas
denote strong support for the alternative hypothesis. Thus, the J-statistic, bounded within [0,1], serves as an interpretable index of the strength associated with each inferred GC effect. Similarly, we can assign the following J-statistics to the detected GS and GB neurons:
where and
denote the target significance levels for the GS and GB categories, respectively, and are determined given a target FDR level and the number of simultaneous tests.
For a GI neuron j, we define , where
is the target significant level for the GI category. Given that three difference statistical tests are required to identify GI neurons, by the union bound, the sum of type-I and type-II error probabilities of attributing a GI label are bounded by
where . Subtracting this expression from unity yields the following lower bound on the J-statistic for a GI neuron:
and can be used as measure of statistical confidence in labeling a neuron as GI.
Computational and sample complexity of G-taxonomy
The key computational bottleneck of the proposed G-taxonomy is in the E-step, where the FIS algorithm needs to be repeatedly computed over the trial duration. Recall the for N neurons whose latent processes are modeled as VAR(P), the state-space dimension is NP. The complexity of the FIS per iteration is thus
[76]. Letting
be the product of the iteration numbers in the three loops of the over EM algorithm (See Fig 7), the total computational complexity of testing
possible GC links would be
. Testing for the GS, GC, and GI categories would not change the order of the overall complexity, as it requires an additional
increase in complexity. Finally, the sample complexity for reliable VAR parameter estimation requires
trials [77].
As a benchmark for comparison, we consider the computational complexity of partial information decomposition (PID) that is the basis of the II methodology [15,20]. For N time-series of length K, the total number of information atoms to be computed (e.g., redundancy and synergy for N = 2) is given by the Dedekind number of order N [20,78], which scales super-exponentially as , for some constant c1. Then, considering a quantization of the time-series at
levels, which is required for non-parametric estimation of information atoms, each atom requires solving an iterative optimization problem over coupled q-dimensional probability mass functions, which requires
, for some constant c2 per iteration [20,21]. Considering a total number of
iterations, the overall complexity of PID would be
, which is super-exponential in N and exponential in NK. In addition, the sample complexity for reliable non-parametric estimation of the information atoms requires
trials, which is exponential in NK.
The prohibitive computational complexity of PID limits its applications to typically N = 2 or 3 [15,79]. Under the assumption that the N time-series are jointly Gaussian, the computational complexity can be reduced to with a sample complexity of
trials, which mitigates the scaling with K [80], but is still super-exponential in N.
Benchmark methods
In our simulation studies, we have used two main benchmark methods, namely, Two-stage PSTH and 2P Data. For completeness, we give a more detailed description of each method here.
Benchmark 1: Two-stage PSTH.
This method can be thought of as an ablation of our proposed method, in which the latent signal is replaced by an estimate of the spikes
obtained by the spike deconvolution method FCSS [45], thereby bypassing the entire variational inference pipeline. Other choices of spike deconvolution are possible and used in existing work [81–85]. Then, the kernel parameters
, VAR parameters
and covariance
are estimated using Eqs. (17)-(19) by replacing
with
. The terminology PSTH refers to the it is quite common in neuroscience to take the trial average spiking responses, i.e., the PSTH, to estimate the encoding parameter
.
Statistical testing of trial average differences
In Figs 5 and 6, for each sub-panel we computed the average difference between the correct and incorrect trials and obtained the point-wise 95% confidence intervals using bootstrapping. Then, we first identified individual time points with significant positive difference at a level of 5% (bootstrap test, one-sided). Among these individually significant points, starting from the most significant peak level, we iteratively lowered the level and included all the sub-level points as a group and recomputed the group-level p-value via Monte Carlo resampling (10,000 surrogates), until the significance level crossed 5%. The final such group indicated the time points that show simultaneously significant positive differences. In the case of finding more than one peak at the same level, we performed Bonferroni correction for multiple groups to maintain the overall significance level at 5%. This procedure is adapted from [41,87], which we refer the reader to for more details.
Data pre-processing
The data from mouse A1 during passive listening and tone discrimination are adopted from [40] and [22], respectively, which we refer to for all experimental details. As for the pre-processing steps required for our proposed method, first a circular ROI was manually drawn over each cell body to extract raw fluorescence traces from individual cells. Neuropil contamination subtraction was performed on the raw fluorescence traces of each cell [86,88,89] according to , where
was set to 0.7 [86]. Then, the baseline fluorescence
for each cell was calculated by averaging
during the silent baseline period. Finally, the baseline corrected and normalized traces were obtained as
. The two-photon observations used in our analyses are the output of this pre-processing pipeline. It is worth noting that more advanced neuropil contamination subtraction methods [90] could further improve the accuracy of our method.
References
- 1. Ding N, Simon JZ. Emergence of neural encoding of auditory objects while listening to competing speakers. Proc Natl Acad Sci U S A. 2012;109(29):11854–9. pmid:22753470
- 2. Fritz JB, David SV, Radtke-Schuller S, Yin P, Shamma SA. Adaptive, behaviorally gated, persistent encoding of task-relevant auditory information in ferret frontal cortex. Nat Neurosci. 2010;13(8):1011–9. pmid:20622871
- 3. Laurent G, Davidowitz H. Encoding of olfactory information with oscillating neural assemblies. Science. 1994;265(5180):1872–5. pmid:17797226
- 4. Mesgarani N, Cheung C, Johnson K, Chang EF. Phonetic feature encoding in human superior temporal gyrus. Science. 2014;343(6174):1006–10. pmid:24482117
- 5. Simoncelli EP, Olshausen BA. Natural image statistics and neural representation. Annu Rev Neurosci. 2001;24:1193–216. pmid:11520932
- 6. Brown EN, Frank LM, Tang D, Quirk MC, Wilson MA. A statistical paradigm for neural spike train decoding applied to position prediction from ensemble firing patterns of rat hippocampal place cells. J Neurosci. 1998;18(18):7411–25. pmid:9736661
- 7. Eden UT, Frank LM, Barbieri R, Solo V, Brown EN. Dynamic analysis of neural encoding by point process adaptive filtering. Neural Comput. 2004;16(5):971–98. pmid:15070506
- 8. Graf ABA, Kohn A, Jazayeri M, Movshon JA. Decoding the activity of neuronal populations in macaque primary visual cortex. Nat Neurosci. 2011;14(2):239–45. pmid:21217762
- 9. Huang Y, Brandon MP, Griffin AL, Hasselmo ME, Eden UT. Decoding movement trajectories through a T-maze using point process filters applied to place field data from rat hippocampal region CA1. Neural Comput. 2009;21(12):3305–34. pmid:19764871
- 10. Kamitani Y, Tong F. Decoding the visual and subjective contents of the human brain. Nat Neurosci. 2005;8(5):679–85. pmid:15852014
- 11. Naselaris T, Kay KN, Nishimoto S, Gallant JL. Encoding and decoding in fMRI. Neuroimage. 2011;56(2):400–10. pmid:20691790
- 12. Paninski L, Pillow J, Lewi J. Statistical models for neural encoding, decoding, and optimal stimulus design. Prog Brain Res. 2007;165:493–507. pmid:17925266
- 13. Pillow JW, Ahmadian Y, Paninski L. Model-based decoding, information estimation, and change-point detection techniques for multineuron spike trains. Neural Comput. 2011;23(1):1–45. pmid:20964538
- 14. Panzeri S, Harvey CD, Piasini E, Latham PE, Fellin T. Cracking the Neural Code for Sensory Perception by Combining Statistics, Intervention, and Behavior. Neuron. 2017;93(3):491–507. pmid:28182905
- 15.
Pica G, Piasini E, Safaai H, Runyan C, Harvey C, Diamond M, et al. Quantifying how much sensory information in a neural code is relevant for behavior. In: Advances in Neural Information Processing Systems. 2017. p. 3686–96.
- 16. Pica G, Soltanipour M, Panzeri S. Using intersection information to map stimulus information transfer within neural networks. Biosystems. 2019;185:104028. pmid:31550563
- 17. Chicharro D, Panzeri S. Synergy and Redundancy in Dual Decompositions of Mutual Information Gain and Information Loss. Entropy. 2017;19(2):71.
- 18. Latham PE, Nirenberg S. Synergy, redundancy, and independence in population codes, revisited. J Neurosci. 2005;25(21):5195–206.
- 19. Schneidman E, Bialek W, Berry MJ 2nd. Synergy, redundancy, and independence in population codes. J Neurosci. 2003;23(37):11539–53. pmid:14684857
- 20.
Williams PL, Beer RD. Nonnegative decomposition of multivariate information. arXiv preprint arXiv:10042515. 2010.
- 21. Gutknecht AJ, Wibral M, Makkeh A. Bits and pieces: understanding information decomposition from part-whole relationships and formal logic. Proc Math Phys Eng Sci. 2021;477(2251):20210110. pmid:35197799
- 22. Francis NA, Mukherjee S, Koçillari L, Panzeri S, Babadi B, Kanold PO. Sequential transmission of task-relevant information in cortical neuronal networks. Cell Rep. 2022;39(9):110878. pmid:35649366
- 23. Koçillari L, Celotto M, Francis NA, Mukherjee S, Babadi B, Kanold PO, et al. Behavioural relevance of redundant and synergistic stimulus information between functionally connected neurons in mouse auditory cortex. Brain Inform. 2023;10(1):34. pmid:38052917
- 24.
Koçillari L, Celotto M, Francis NA, Mukherjee S, Babadi B, Kanold PO, et al. Measuring stimulus-related redundant and synergistic functional connectivity with single cell resolution in auditory cortex. In: International Conference on Brain Informatics. Springer; 2023. p. 45–56.
- 25.
Park H, Arazi A, Talluri BC, Celotto M, Panzeri S, Stocker AA, et al. Confirmation Bias through Selective Readout of Information Encoded in Human Parietal Cortex. bioRxiv. 2025;:2024–06.
- 26. Runyan CA, Piasini E, Panzeri S, Harvey CD. Distinct timescales of population coding across cortex. Nature. 2017;548(7665):92–6. pmid:28723889
- 27. Lütcke H, Gerhard F, Zenke F, Gerstner W, Helmchen F. Inference of neuronal network spike dynamics and topology from calcium imaging data. Front Neural Circuits. 2013;7:201. pmid:24399936
- 28. Pachitariu M, Stringer C, Harris KD. Robustness of Spike Deconvolution for Neuronal Calcium Imaging. J Neurosci. 2018;38(37):7976–85. pmid:30082416
- 29. Seth AK, Barrett AB, Barnett L. Granger causality analysis in neuroscience and neuroimaging. J Neurosci. 2015;35(8):3293–7.
- 30. Barnett L, Barrett AB, Seth AK. Granger causality and transfer entropy are equivalent for Gaussian variables. Phys Rev Lett. 2009;103(23):238701. pmid:20366183
- 31. Parra LC, Silvan A, Nentwich M, Madsen J, Parra VE, Babadi B. VARX Granger analysis: Models for neuroscience, physiology, sociology and econometrics. PLoS One. 2025;20(1):e0313875. pmid:39787085
- 32. Amblard P-O, Michel OJJ. On directed information theory and Granger causality graphs. J Comput Neurosci. 2011;30(1):7–16. pmid:20333542
- 33. Amblard P-O, Michel O. The Relation between Granger Causality and Directed Information Theory: A Review. Entropy. 2013;15(1):113–43.
- 34. Quinn CJ, Kiyavash N, Coleman TP. Directed Information Graphs. IEEE Trans Inform Theory. 2015;61(12):6887–909.
- 35. Kim S, Putrino D, Ghosh S, Brown EN. A Granger causality measure for point process models of ensemble neural spiking activity. PLoS Comput Biol. 2011;7(3):e1001110. pmid:21455283
- 36. Sheikhattar A, Miran S, Liu J, Fritz JB, Shamma SA, Kanold PO, et al. Extracting neuronal functional network dynamics via adaptive Granger causality analysis. Proc Natl Acad Sci U S A. 2018;115(17):E3869–78. pmid:29632213
- 37. Soleimani B, Das P, Dushyanthi Karunathilake IM, Kuchinsky SE, Simon JZ, Babadi B. NLGC: Network localized Granger causality with application to MEG directional functional connectivity analysis. Neuroimage. 2022;260:119496. pmid:35870697
- 38. Manomaisaowapak P, Nartkulpat A, Songsiri J. Granger Causality Inference in EEG Source Connectivity Analysis: A State-Space Approach. IEEE Trans Neural Netw Learn Syst. 2022;33(7):3146–56. pmid:34310324
- 39. Das P, Babadi B. Non-Asymptotic Guarantees for Reliable Identification of Granger Causality via the LASSO. IEEE Trans Inf Theory. 2023;69(11):7439–60. pmid:38646067
- 40. Rupasinghe A. Direct extraction of signal and noise corrections from two-photon calcium imaging of ensemble neuronal activity. eLife. 2021;10:e69812.
- 41. Jendrichovsky P, Khosravi S, Rupasinghe A, Maximov K, Guo P, Babadi B, et al. Patchy harmonic functional connectivity of the mouse auditory cortex. Proc Natl Acad Sci U S A. 2025;122(27):e2510012122. pmid:40587804
- 42. Smith AC, Brown EN. Estimating a state-space model from point process observations. Neural Comput. 2003;15(5):965–91. pmid:12803953
- 43. Polson NG, Scott JG, Windle J. Bayesian inference for logistic models using Pólya–Gamma latent variables. J Am Stat Assoc. 2013;108(504):1339–49.
- 44. Rauch HE, Striebel CT, Tung F. Maximum likelihood estimates of linear dynamic systems. AIAA J. 1973;3(8):1445–50.
- 45. Kazemipour A, Liu J, Solarana K, Nagode DA, Kanold PO, Wu M, et al. Fast and Stable Signal Deconvolution via Compressible State-Space Models. IEEE Trans Biomed Eng. 2018;65(1):74–86. pmid:28422648
- 46. Ba D, Babadi B, Purdon PL, Brown EN. Convergence and Stability of Iteratively Re-weighted Least Squares Algorithms. IEEE Trans Signal Process. 2014;62(1):183–95.
- 47. Shumway RH, Stoffer DS. An approach to time series smoothing and forecasting using the EM algorithm. J Time Ser Anal. 1982;3(4):253–64.
- 48. P J, M JM. Covariances for smoothed estimates in state space models. Biometrika. 75(3):601–2.
- 49. Youden WJ. Index for rating diagnostic tests. Cancer. 1950;3(1):32–5. pmid:15405679
- 50. Benjamini Y, Yekutieli D. The control of the false discovery rate in multiple testing under dependency. Ann Statist. 2001;29(4).
- 51. Truccolo W, Eden UT, Fellows MR, Donoghue JP, Brown EN. A point process framework for relating neural spiking activity to spiking history, neural ensemble, and extrinsic covariate effects. J Neurophysiol. 2005;93(2):1074–89.
- 52.
Panzeri S, Harvey CD, Piasini E, Latham PE, Fellin T. Cracking the neural code for sensory perception by combining statistics, intervention, and behavior.
- 53. Pnevmatikakis EA, Soudry D, Gao Y, Machado TA, Merel J, Pfau D, et al. Simultaneous Denoising, Deconvolution, and Demixing of Calcium Imaging Data. Neuron. 2016;89(2):285–99. pmid:26774160
- 54. Kobak D, Brendel W, Constantinidis C, Feierstein CE, Kepecs A, Mainen ZF, et al. Demixed principal component analysis of neural population data. Elife. 2016;5:e10989. pmid:27067378
- 55. Musall S, Kaufman MT, Juavinett AL, Gluf S, Churchland AK. Single-trial neural dynamics are dominated by richly varied movements. Nat Neurosci. 2019;22(10):1677–86. pmid:31551604
- 56. Schoonover CE, Ohashi SN, Axel R, Fink AJP. Representational drift in primary olfactory cortex. Nature. 2021;594(7864):541–6. pmid:34108681
- 57.
Rupasinghe A, Mukherjee S, Babadi B. Adaptive Frequency-domain Granger Causal Inference from Neuronal Ensemble Data. In: 2020 54th Asilomar Conference on Signals, Systems, and Computers. IEEE; 2020. p. 101–5.
- 58. Sugihara G, May R, Ye H, Hsieh C, Deyle E, Fogarty M, et al. Detecting causality in complex ecosystems. Science. 2012;338(6106):496–500. pmid:22997134
- 59. Ye H, Deyle ER, Gilarranz LJ, Sugihara G. Distinguishing time-delayed causal interactions using convergent cross mapping. Sci Rep. 2015;5:14750. pmid:26435402
- 60.
Takens F. Detecting strange attractors in turbulence. In: Rand DA, Young LS, editors. Dynamical systems and turbulence, Warwick 1980. vol. 898 of Lecture Notes in Mathematics. Berlin, Heidelberg: Springer; 1981. p. 366–81.
- 61. Tort-Colet N, Resta F, Montagni E, Pavone F, Allegra Mascaro AL, Destexhe A. Assessing brain state and anesthesia level with two-photon calcium signals. Sci Rep. 2023;13(1):3183. pmid:36823228
- 62. Paninski L, Ahmadian Y, Ferreira DG, Koyama S, Rahnama Rad K, Vidne M, et al. A new look at state-space models for neural data. J Comput Neurosci. 2010;29(1–2):107–26. pmid:19649698
- 63.
McCullagh P, Nelder JA. Generalized Linear Models. 2nd ed. London: Chapman and Hall/CRC.
- 64.
Bishop CM. Pattern Recognition and Machine Learning. New York: Springer.
- 65. Dhamala M, Rangarajan G, Ding M. Estimating Granger causality from fourier and wavelet transforms of time series data. Phys Rev Lett. 2008;100(1):018701. pmid:18232831
- 66. Jordan MI, Ghahramani Z, Jaakkola TS, Saul LK. An introduction to variational methods for graphical models. Mach Learn. 2000;37:183–233.
- 67. Blei DM, Kucukelbir A, McAuliffe JD. Variational inference: A review for statisticians. J Am Stat Assoc. 2017;112(518):859–77.
- 68.
Beal MJ. Variational algorithms for approximate Bayesian inference. London: University College London; 2003.
- 69.
Pillow JW, Scott J. Fully Bayesian inference for neural models with negative-binomial spiking. In: Pereir F, Burges CJC, Bottou L, Weinberger KQ, editors. Advances in Neural Information Processing Systems. vol. 25. Curran Associates Inc; 2012. p. 1898–906.
- 70.
Linderman S, Adams RP, Pillow JW. Bayesian latent structure discovery from multi-neuron recordings. In: Advances in Neural Information Processing Systems. p. 2002–10.
- 71.
Frühwirth-Schnatter S. Data augmentation and dynamic linear models. Department of Statistics and Mathematics; Available from: https://epub.wu.ac.at/392/
- 72.
Soleimani B, Das P, Kulasingham J, Simon JZ, Babadi B. Granger Causal Inference from Indirect Low-Dimensional Measurements with Application to MEG Functional Connectivity Analysis. In: 2020 54th Annual Conference on Information Sciences and Systems (CISS). IEEE; 2020. p. 1–5.
- 73. Davidson RR, Lever WE. The limiting distribution of the likelihood ratio statistic under a class of local alternatives. Sankhā A. 1970;32(2):209–24.
- 74. Wald A. Tests of statistical hypotheses concerning several parameters when the number of observations is large. Trans Amer Math Soc. 1943;54(3):426–82.
- 75. Wilks SS. The Large-Sample Distribution of the Likelihood Ratio for Testing Composite Hypotheses. Ann Math Statist. 1938;9(1):60–2.
- 76.
Haykin SS. Adaptive Filter Theory. 4th edition. Upper Saddle River, NJ: Prentice Hall; 2002.
- 77.
Vershynin R. High-dimensional probability: an introduction with applications in data science. Cambridge University Press; 2018.
- 78. Bertschinger N, Rauh J, Olbrich E, Jost J, Ay N. Quantifying Unique Information. Entropy. 2014;16(4):2161–83.
- 79. Celotto M, Bím J, Tlaie A, De Feo V, Toso A, Lemke S, et al. An information-theoretic quantification of the content of communication between brain regions. Adv Neural Inform Process Syst. 2023;36:64213–65.
- 80. Barrett AB. Exploration of synergistic and redundant information sharing in static and dynamical Gaussian systems. Phys Rev E Stat Nonlin Soft Matter Phys. 2015;91(5):052802. pmid:26066207
- 81. Najafi F, Elsayed GF, Cao R, Pnevmatikakis E, Latham PE, Cunningham JP. Excitatory and inhibitory subnetworks are equally selective during decision-making and emerge simultaneously during learning. Neuron. 2020;105(1):165–79.
- 82. Soudry D, Keshri S, Stinson P, Oh M-H, Iyengar G, Paninski L. Efficient “Shotgun” Inference of Neural Connectivity from Highly Sub-sampled Activity Data. PLoS Comput Biol. 2015;11(10):e1004464. pmid:26465147
- 83. Yatsenko D, Josić K, Ecker AS, Froudarakis E, Cotton RJ, Tolias AS. Improved estimation and interpretation of correlations in neural circuits. PLoS Comput Biol. 2015;11(3):e1004083. pmid:25826696
- 84. Ramesh RN, Burgess CR, Sugden AU, Gyetvan M, Andermann ML. Intermingled ensembles in visual association cortex encode stimulus identity or predicted outcome. Neuron. 2018;100(4):900–15.
- 85. Kerlin A, Mohar B, Flickinger D, MacLennan BJ, Dean MB, Davis C. Functional clustering of dendritic activity during decision-making. eLife. 2019;8:e46966.
- 86. Francis NA, Winkowski DE, Sheikhattar A, Armengol K, Babadi B, Kanold PO. Small Networks Encode Decision-Making in Primary Auditory Cortex. Neuron. 2018;97(4):885-897.e6. pmid:29398362
- 87.
Khosravi S, Jendrichovsky P, Maximov K, Kanold PO, Babadi B. Extracting two-dimensional signal correlation maps via Gaussian process regression with Zernike means. In: Proceedings of the 2025 Asilomar Conference on Signals, Systems, and Computers. IEEE.
- 88. Liu J, Whiteway MR, Sheikhattar A, Butts DA, Babadi B, Kanold PO. Parallel Processing of Sound Dynamics across Mouse Auditory Cortex via Spatially Patterned Thalamic Inputs and Distinct Areal Intracortical Circuits. Cell Rep. 2019;27(3):872–85. pmid:30995483
- 89. Bowen Z, Winkowski DE, Kanold PO. Functional organization of mouse primary auditory cortex in adult C57BL/6 and F1 (CBAxC57) mice. Sci Rep. 2020;10(1):10905. pmid:32616766
- 90. Keemink SW, Lowe SC, Pakan JMP, Dylda E, van Rossum MCW, Rochefort NL. FISSA: A neuropil decontamination toolbox for calcium imaging signals. Sci Rep. 2018;8(1):3493. pmid:29472547