Bayesian functional graphical models with change-point detection

Chunshan Liu, Daniel R. Kowal, James Doss-Gollin, Marina Vannucci

TL;DR

This paper introduces a new Bayesian framework for modeling how multiple time series (represented as continuous functions) interact within a network that evolves over time. By combining a novel block-structured sparsity prior with automated changepoint detection, the model can identify exactly when and how the underlying connectivity of a complex system—like the Earth's climate—shifts between different states.

What Problem Does This Paper Address?

In many fields, from neuroscience to climatology, we observe multiple related time series. Functional Data Analysis (FDA) treats these series as continuous functions rather than just sequences of numbers. A Functional Graphical Model (FGM) aims to map the "conditional dependencies" between these functions—essentially building a map of which variables directly influence each other.

However, most existing FGMs assume the network structure is static. In reality, systems are dynamic; the way sea surface temperatures in one part of the ocean affect another might change completely between summer and winter. Previous attempts to create "dynamic" graphs often struggled with two things:

  1. Interpretability: They often estimated a different graph for every single millisecond, making it hard to see the "big picture" regimes.
  2. Uncertainty: Many frequentist methods provide a single "best guess" without telling you how confident the model is in a specific connection or changepoint.

Methods

The authors propose the Dynamic Bayesian Functional Graphical Model (DB-FGM). The workflow consists of three main pillars:

  • Basis Expansion: Each continuous function is represented using a finite set of basis functions (like B-splines). This turns an infinite-dimensional problem into a manageable set of coefficients.
  • Block-Structured Sparsity Prior: This is the core innovation. To determine if an edge exists between two functions, the model looks at a "block" of coefficients. They use a "spike-and-slab" prior—a mixture of a very narrow distribution (the spike, representing zero/no edge) and a wide one (the slab, representing a real connection). This forces the model to make a binary choice: either the two functions are connected across their entire domain, or they aren't.
  • Joint Changepoint Learning: Unlike models where you have to tell the computer when a season starts, this model treats the changepoint ($\tau$) as an unknown variable. It uses Gibbs sampling (an MCMC algorithm) to simultaneously estimate the graph structure, the model parameters, and the timing of the structural shifts.

Datasets

The paper evaluates the model using two primary sources:

  1. Synthetic Data: Simulations with 15 random functions and 50 replicates, where a ground-truth changepoint and graph structure were known. This allowed for direct comparison against state-of-the-art methods like PS-FGM and Bayesian functional graphical lassos.
  2. ERA5 Reanalysis Data: A real-world climate dataset consisting of daily Sea Surface Temperatures (SSTs) in the Pacific Ocean from 1979 to 2022. The authors focused on 16 specific grid locations to map "climate networks."

Key Insights and Ideas

  • Localization in Time: By using changepoints, the model "localizes" the graphs. A connection in the "Spring" graph is determined only by data near that window, preventing data from distant time points from muddying the interpretation.
  • Parsimony over Complexity: The dynamic model often yields sparser (simpler) graphs than static models. A static model might show a "permanent" connection that is actually just a strong seasonal effect, whereas the DB-FGM correctly identifies it as a temporary link.
  • Information Sharing: The hierarchical Beta prior allows the model to "learn" the overall level of sparsity from the data itself, rather than requiring the researcher to manually tune a "penalty" parameter.

Key Results

  • Superior Accuracy: In simulations, the DB-FGM significantly outperformed competitors. For example, in one scenario, it achieved a True Positive Rate (TPR) of 0.87, while the next best competitor trailed at 0.24.
  • Precise Timing: The model identified the climate changepoint in the Pacific SST data as August 29th.
  • Climate Discovery: The results revealed a shift in ocean connectivity. From March to August (Spring/Summer), connections were mostly zonal (East-West). However, during the Fall and Winter, the network became more meridional (North-South) and showed more "teleconnections"—long-distance links between the Northwestern and Southeastern Pacific.

Limitations and Future Work

  • Computational Scaling: The precision matrices grow at a rate of $(pK) \times (pK)$, where $p$ is the number of variables and $K$ is the number of basis functions. For very high-dimensional data (e.g., hundreds of locations), the MCMC algorithm may become prohibitively slow.
  • Gaussian Assumption: The current model assumes the data follows a Gaussian distribution. The authors suggest that using Copula graphical models could extend this to non-Gaussian data in the future.
  • Regime Switching: The current model assumes a sequence of changepoints. A promising future direction is a "Hidden Markov Model" (HMM) approach where the system can flip back and forth between a set of recurring states.

Summary updated

BibTeX
@article{liu2025bayesian,
  author = {Chunshan Liu and Daniel R. Kowal and James Doss-Gollin and Marina Vannucci},
  title = {{Bayesian functional graphical models with change-point detection}},
  journal = {Comput. Stat. Data Anal},
  year = {2025},
  doi = {10.1016/j.csda.2024.108122},
}
Figure