Modeling Dynamic Functional Connectivity with Latent Factor Gaussian Processes

Lingge Li, Dustin S. Pluta, Babak Shahbaba, Norbert Fortin, Hernando Ombao, Pierre Baldi

Introduction

The brain is never static; the way different regions communicate—known as Dynamic Functional Connectivity (DFC)—constantly shifts during tasks like learning or remembering. However, capturing these shifts is notoriously difficult. Neuroimaging data, such as functional Magnetic Resonance Imaging (fMRI) or Local Field Potentials (LFP), is high-dimensional and extremely noisy.

Existing methods often fall short in capturing these dynamics. "Sliding window" approaches tend to be noisy and lack statistical rigor, while Hidden Markov Models (HMMs) assume the brain jumps between discrete states, failing to capture the smooth, continuous transitions that likely occur during cognitive processes. To address this, researchers have developed a new probabilistic model called Latent Factor Gaussian Processes (LFGP). By combining the flexibility of Gaussian Processes with a "Log-Euclidean" trick to handle complex covariance matrices, the model successfully identifies distinct neural patterns associated with different cognitive states.

The LFGP Model: Methods and Architecture

The authors introduce the LFGP model to provide a parsimonious, flexible, and fully probabilistic approach to DFC, allowing for proper uncertainty quantification. The workflow consists of three core steps:

  1. The Log-Euclidean Trick: Covariance matrices must be "symmetric positive-definite" (SPD), making them hard to model directly in standard Euclidean space. The authors apply a matrix logarithm to map these matrices into a vector space where they can be treated as unconstrained multivariate time series.
  2. Dimensionality Reduction via Latent Factors: Instead of modeling every possible connection between brain sites, the model assumes the "log-covariance" is driven by a small number of underlying latent factors.
  3. Gaussian Process (GP) Priors: Each latent factor is modeled as a Gaussian Process. This allows the model to incorporate scientific prior knowledge—for example, by setting the GP's "length scale" to target specific brain rhythms, like the 4–12 Hz theta waves associated with memory.

To prevent overfitting, the model employs a Horseshoe Prior, which automatically "shrinks" unnecessary latent factors to zero. This helps the model organically determine how many factors are actually needed to explain the data.

Loading shrinkage demonstrating the Horseshoe Prior

Experimental Validation

The model was rigorously evaluated on two fronts:

  • Simulated Data: Three scenarios (square waves, piece-wise linear, and smooth splines) were used to test how well the model reconstructs known dynamics compared to benchmarks.
  • Rat Hippocampus LFP: Local Field Potential data was recorded from rats performing a non-spatial memory task where they had to identify sequences of odors (A, B, C, D, E). The study specifically looked at trials involving odors B and C to see if the model could distinguish between the neural signatures of different memories.

Key Insights and Results

Smoothness over Discreteness

Unlike HMMs, which force the data into rigid "states," LFGP captures the continuous evolution of connectivity. This proved more accurate for biological signals that naturally exhibit smooth transitions rather than jagged jumps.

Continuous evolution of latent factors over time

Targeted Frequency Analysis and Visualization

By choosing specific kernels for the Gaussian Processes, researchers can "tune" the model to look at specific biological frequencies (like theta oscillations) relevant to the task. Furthermore, the model allows researchers to plot the trajectories of brain states in a low-dimensional space. In the rat study, these trajectories started in the same place but diverged significantly around 250ms after the odor was presented—exactly when the rats began to identify the stimulus.

Superior Reconstruction and Discrimination

In simulations, LFGP achieved lower median reconstruction loss across all scenarios compared to standard methods like SW-PCA, HMM, and Latent Factor Stochastic Volatility (LFSV).

Crucially, in the rat LFP data, the model successfully differentiated between odors B and C. Using a simple classifier on the latent factors, they achieved up to 87% accuracy in identifying the odor based solely on the estimated connectivity dynamics. The model provided strong statistical evidence that DFC is a real, measurable phenomenon in the hippocampus during memory tasks, rather than just noise.

Limitations and Future Work

The primary limitation of the LFGP model is scalability. As the number of observed signals (electrodes or brain regions) increases, the computational cost of the model grows significantly. Currently, researchers must pre-select a subset of relevant signals.

Future work aims to address this by developing ways to reduce the dimensionality of the raw signals and the covariance process simultaneously. Additionally, researchers hope to extend the framework to pool data across multiple subjects, finding more generalized patterns of brain connectivity while properly accounting for individual variability.

Summary updated

BibTeX
@inproceedings{li2019modeling,
  author = {Lingge Li and Dustin S. Pluta and Babak Shahbaba and Norbert Fortin and Hernando Ombao and Pierre Baldi},
  title = {{Modeling Dynamic Functional Connectivity with Latent Factor Gaussian Processes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=c4PYFNNt4lmM},
}
Figure