Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2026 May 1.
Published in final edited form as: J Multivar Anal. 2025 Feb 24;207:105428. doi: 10.1016/j.jmva.2025.105428

Graph-constrained Analysis for Multivariate Functional Data

Debangan Dey a, Sudipto Banerjee b, Martin A Lindquist c, Abhirup Datta c
PMCID: PMC11928149  NIHMSID: NIHMS2063576  PMID: 40123972

Abstract

The manuscript considers multivariate functional data analysis with a known graphical model among the functional variables representing their conditional relationships (e.g., brain region-level fMRI data with a prespecified connectivity graph among brain regions). Functional Gaussian graphical models (GGM) used for analyzing multivariate functional data customarily estimate an unknown graphical model, and cannot preserve knowledge of a given graph. We propose a method for multivariate functional analysis that exactly conforms to a given inter-variable graph. We first show the equivalence between partially separable functional GGM and graphical Gaussian processes (GP), proposed recently for constructing optimal multivariate covariance functions that retain a given graphical model. The theoretical connection helps to design a new algorithm that leverages Dempster’s covariance selection for obtaining the maximum likelihood estimate of the covariance function for multivariate functional data under graphical constraints. We also show that the finite term truncation of functional GGM basis expansion used in practice is equivalent to a low-rank graphical GP, which is known to oversmooth marginal distributions. To remedy this, we extend our algorithm to better preserve marginal distributions while respecting the graph and retaining computational scalability. The benefits of the proposed algorithms are illustrated using empirical experiments and a neuroimaging application.

Keywords: Conditional independence, Functional data analysis, Gaussian processes, Graphical models, Multivariate analysis, Spatial data

1. Introduction

Gaussian graphical models (GGM) are extensively used to represent sparsity structures emerging from conditional independence relations among a collection of Gaussian random variables. The graph specifies the zeroes in the precision Conducting multivariate analysis under a known graph constraint, i.e., when the variables conform to a given graph, is of key interest. Covariance selection [11] offers a seminal result to answer this specific question. When the graph is unknown, classical approaches such as the graphical Lasso estimate the graph (from the sparse precision matrix) using L-1 regularization [17, 26]. Bayesian alternatives employ Markov chain Monte Carlo (MCMC) algorithms exploiting a conjugate hyper-inverse Wishart prior for estimating the graph and the precision matrix [7, 13, 32].

Graphical Gaussian models are customarily applied to multivariate data sets, where the variables represented by the nodes of the graph are scalar- or vector-valued. Here we consider a collection of functions that conceptually exist in a continuum over a domain (e.g., over space or time) and are associated among themselves via a posited conditional independence graph. We consider analysis of partial realizations of these multiple functions or processes, which is always the case in practice. Examples of such multivariate functional data include physical activity or heart rate continuously measured from actigraph monitors (wearables), EEG/fMRI signals from different brain regions (neuroimaging), multiple-gene expressions from cells distributed over a tissue (spatial transcriptomics), population counts of multiple biological species over a region (ecology) and multiple pollutants measured from environmental monitoring stations (environmental sciences).

Multivariate functional data are often modeled using a latent multivariate stochastic process, such as a multivariate Gaussian process (GP) [3, 8, 31, 36]. Hence, it is natural to seek extensions of graphical models to settings where each node represents an entire function or stochastic process. Two recent approaches have extended the GGM to represent conditional dependencies among multivariate stochastic processes on continuous domains: (i) functional GGM (FGGM); and (ii) graphical Gaussian Process (GGP). The former relies on a multivariate Kosambi-Karhounen-Loève basis expansion and estimates the sparsity (graphical model) of the precision matrices of the Gaussian coefficient vectors via penalized estimation [41, 42]. Functional GGMs have been primarily used for functional data analysis, where basis function representations are customarily used but have also been applied to spatial data [21]. These methods estimate the unknown graph through the aforementioned regularization techniques.

Graphical GP (GGP) [12], originally proposed for multivariate spatial analysis, offers a multivariate covariance function that exactly conforms to a specified graph among the variables. Given this undirected graph and a multivariate covariance function, a GGP is the derived optimal covariance function that satisfies the prespecified graphical constraint. This means that the processes comprising a GGP exactly satisfy process-level conditional independence specified by the graph. At the same time, GGP retains marginal process distributions from the original multivariate covariance function it is derived from, thereby facilitating the interpretation of the attributes of each individual process via inference on the respective parameters, which is often the primary inferential objective in spatial analysis. GGP is implemented via an algorithm called stitching that scales effectively for likelihood-based analysis of highly multivariate spatial data involving a large number of outcome variables by leveraging the sparsity of the graph.

We focus on multivariate functional data analysis when the inter-variable graph is known (e.g., existing brain-region networks, phylogenetic trees etc.), and needs to be preserved in the statistical model. This problem is an extension of Dempster’s covariance selection from finite-dimensional covariance matrices to infinite-dimensional covariance operators. In other words, the goal is to find the best estimate of the multivariate covariance function under a graphical constraint on the variables. While having the knowledge of a graph may appear simpler than requiring the estimation of an unknown graph, current FGGM approaches that estimate the graph simultaneously with other parameters cannot preserve a given graphical constraint. Thus, akin to the typical challenges of parameter estimation under a known but complicated constraint, existing FGGM algorithms are not typically conformable to a known graphical constraint. This motivates our current developments.

Our contributions are summarized as follows. We first draw theoretical connections between functional GGM and graphical GP. These are apparently complementary methods for introducing graphical models in multivariate GP. The former relies on basis function expansions and is typically used for analyzing functional data. Graphical GP focuses on spatial data and directly uses parametric covariance functions. We bridge these two seemingly disconnected paradigms. We formally establish in Theorem 1 that the class of partially separable functional GGM with the graphical model for each of the coefficient covariance matrices is equivalent to a graphical GP. Furthermore, using Nyström’s method, we relate the stitching algorithm for constructing a graphical GP to a finite-term truncation of basis functions used in functional GGM. Specifically, we show that truncation corresponds to use of a low-rank GP in stitching that is known to oversmooth.

The theoretical connections we offer in this manuscript carry important implications for practice in multivariate functional analysis. We first leverage the equivalence between functional GGM and graphical GP to design an algorithm for analyzing multivariate functional data that exactly preserves the given functional conditional independence relationships. In particular, we provide a solution to Dempster’s covariance selection for multivariate functional data by deriving the maximum likelihood estimates for a multivariate covariance function under the graphical constraint (Theorem 2). We subsequently show that the finite-term truncation of the basis function leads to over-smoothing as it corresponds to stitching using a low-rank GP. We use ideas from constructing full-rank graphical GP via stitching to offer an improved algorithm that mitigates the effects of over-smoothing by better preserving marginal distributions while retaining the graphical constraint. We show the utility of our method through numerous experiments on synthetic data. We demonstrate the application of the method for the analysis of brain region-level functional Magnetic Resonance Imaging (fMRI) data using a connectivity graph among brain regions. The data is from a study of effects of thermal pain on the brain. This application is particularly well-suited for the proposed method as it is known apriori that there are a number of brain regions that are consistently involved with pain processing whose connections together are predictive of physical pain [25, 27].

2. The two paradigms of graphical functional modeling

We offer a brief review of functional Gaussian graphical models and graphical Gaussian Processes and how they differ in terms of the model forms and their applications.

2.1. Functional Gaussian graphical models

We first review the definition of conditional independence for Gaussian processes (GP) on continuous domains. For a set 𝒱={1,…,q}, let w(⋅)=w1(⋅),…,wq(⋅)⊤ be a q×1 GP over a continuous domain 𝒟 with node j representing the univariate process wj(⋅). Two univariate GPs wi(⋅) and wj(⋅) are conditionally independent, given the remaining processes wk(⋅)∣k∈V∖{i,j} if CovϵiB(s),ϵjBs′=0 for all s,s′∈𝒟 and B=𝒱∖{i,j}, where ϵkB(s)=wk(s)-Ewk(s)∣σwjs′:j∈B,s′∈𝒟 [12] and σ(⋅) is the σ-algebra generated by its argument. Functional GGM (FGGM) introduces this process-level conditional independence through the precision matrices of coefficient vectors in its basis expansion. Letting ϕjℓ be the orthonormal basis functions in the domain 𝒟, the process is represented as wj(s)=∑ℓ=1∞θjℓϕjℓ(s). [42] show that modeling the coefficients θjℓ to be Gaussian and assuming a sparsity structure between the discrete multivariate GP θ(j)=θjℓ:ℓ∈{1,2,…} imposes the corresponding process-level conditional independence among the component processes of w(⋅). In practice, they truncate the expansion of w(j)(⋅) to mj terms and fit a GGM on the M=∑j=1qmj dimensional vector of coefficients. The approach involves inverting an M×M matrix, thereby requiring OM3 floating point operations (FLOPs) or Oq3m3 FLOPs when mj=m for all j. The computational expense being cubic in the number of basis functions m prohibits large values for m, which, in turn, restricts the richness of the function class.

The functional GGM in [21, 41] introduces two further assumptions: (a) a common orthonormal basis function, i.e., ϕjℓ=ϕℓ for all j∈{1,…,q}; and (b) the coefficients corresponding to different basis functions are independent, i.e, θj and θk are independent, where θj=θ1j,…,θqj⊤. Due to the separability in the joint covariance structure of basis coefficients, they are formally termed as partial separable processes. The basis function expansion is truncated to m terms in practical implementation. This partial separable model only needs m inversions of q×q matrices Covθj,j∈{1,…,m} and considerably reduces computational complexity to Omq3, thereby allowing m to be larger. The algorithm maximizes a penalized likelihood with a graphical Lasso penalty on the estimated covariance of the coefficient vectors to induce sparsity. This results in the estimation of an unknown graphical model corresponding to the common sparsity among the precision matrices for each of the coefficients. Recently, [23, 24] proposed a class of non-parametric graphical models for functional data that performs better than FGGMs when the relation between variables is non-linear or heteroskedastic in nature.

2.2. Graphical Gaussian Processes

Spatial data is often modeled using GPs with parametric covariance functions. The Matérn family of covariances [34] are popular in spatial analysis because their parameters are interpreted as the variance, spatial smoothness, and range of the process. For multiple dependent outcomes w(⋅)=w1(⋅),…,wq(⋅)⊤, a common GP specification is w(⋅)~GP(0,C(⋅,⋅)) where C=Cij is the q×q multivariate covariance function. The multivariate Matérn is a popular choice for C, ensuring that the derived covariance and cross-covariance functions are also Matérn [1, 18], allowing us to interpret each component process. However, the model struggles to scale up to highly multivariate (large q) settings.

In [12], the graphical Gaussian process (GGP) was introduced for analyzing highly multivariate spatial data. These are specified through multivariate covariance functions that exactly encode an inter-variable graphical model. Theorem 1 in [12] asserts that given any non-graphical stationary multivariate GP and any inter-variable graph, there is a unique and optimal GP approximating the original GP (in terms of integrated spectral Kullback-Leibler divergence) while respecting process-level conditional independence relationships as specified by the graph. This optimal graphical GP was shown to retain the univariate marginal distributions from the original GP exactly. For any pair of variables (i,j) included in the edge set of the graph, the cross-covariance is also retained from the original GP. We denote this optimal graphical GP derived from the original covariance function C and a graph 𝒢 as GGP(C,𝒢).

Definition 2.1 (Graphical GP). w(⋅)~GGP(C,𝒢) is a q×1 graphical GP on 𝒟 given a valid q×q cross-covariance function C=Cij on 𝒟⊆Rd and a graph 𝒢=(𝒱,E), such that

  1. Retains univariate marginal distributions: wj(⋅)~GP0,Cjj for all 1≤j≤q,

  2. Retains edge-specific cross-covariances: Covwi(s),wj(t)=Cij(s,t),(i,j)∈E and s,t∈𝒟,

  3. Encodes process-level graphical model as in Definition 2.1: wi(⋅)⊥wj(⋅)∣w-ij(⋅),(i,j)∉E.

Construction of the graphical GP used an algorithm called “stitching”. The stitching algorithm in [12] combines two algorithms, which we refer to as “stitching” and “stretching” in the current manuscript. The step of stitching is applying Dempster’s covariance selection using 𝒢 on the covariance matrix arising from C when considering a finite set of locations ℒ=s1,…,sp. This defines a graphical GP on the finite set ℒ that adheres to the conditional independences specified via the graphical model 𝒢. The stretching step extends the finite-dimensional process to the continuous infinite domain by adding a residual error process, while preserving the graphical model.

2.2.1. Stitching

To perform the stitching, we need to define covariance selection for positive definite (p.d.) matrices.

Definition 2.2 (Covariance Selection, [11, 33]). Given a graph 𝒢=(𝒱,E) and a positive definite matrix A with row and column blocks indexed by 𝒱,CovSel(A,𝒢) is the unique p.d. matrix B from Dempster’s covariance selection on A using 𝒢, i.e., Bij=Aij for i=j or (i,j)∈E, and B-1ij=O for (i,j)∉E.

Given C,𝒢, and ℒ, stitching first defines a graphical Gaussian model (GGM) on ℒ⊂𝒟.

wstitch(ℒ)~N(0,C˜(ℒ,ℒ))whereC˜(ℒ,ℒ)=CovSel(C(ℒ,ℒ),𝒢). (1)

Here, C(ℒ,ℒ) denotes the covariance matrix obtained from evaluating the covariance function C on the reference set ℒ.

2.2.2. Stretching

As part of the stretching, the covariance matrix on a finite set is then extended to a covariance function on the infinite domain. In other words, the finite-dimensional GGM (1) is extended in [12] to an infinite-dimensional GGP on 𝒟 as

wstretch,j(s)=wstitch,jpp(s)+zj(s),wherewstitch,jpp(s)=Cjj(s,ℒ)Cjj(ℒ,ℒ)-1wstitch,j(ℒ). (2)

Here, Cjj(s,ℒ)=Cjjs,s1,…,Cjjs,sp and wstitchpp is the (fixed-) or low-rank predictive process based on the finite-dimensional distribution wstitch(ℒ) defined on the set of knots ℒ [4]. The processes zj(⋅)~indjGP0,Cjj,res are the residual GP with Cjj,res(s,t)=Cjj(s,t)-Cjj(s,ℒ)Cjj(ℒ,ℒ)-1Cjj(ℒ,t). Decomposing a univariate GP into a predictive process and an orthogonal residual process is well known [4]. The stitching and stretching process introduced two innovations to this decomposition. First, the process on ℒ is endowed with the covariance C˜(ℒ,ℒ) instead of C(ℒ,ℒ). This ensures that the graph 𝒢 is encoded while preserving marginals on ℒ. Orthogonality of zj(⋅) and wstitch,jpp(⋅) then implies that the marginals are preserved over entire 𝒟 if the residual processes, zj(⋅)’s, are added to the low-rank Gaussian process wstitch,jpp(s), i.e., wstretch,j(⋅)~GP0,Cjj for all j on the entire domain 𝒟. Second, the zj(⋅)’s are chosen to be independent component-wise (across j’s), ensuring that the GGM encoded over ℒ is extended to process-level conditional independence relations over 𝒟 yielding the GGP, i.e., for all (i,j)∉E, we have wstretch,i(⋅)⊥wstretch,j(⋅)∣wstretch,-ij(⋅). For a decomposable sparse graph, a GGP likelihood from this process involves considerably less parameters and FLOPs than a full GP with covariance C.

3. Theoretical connections between functional GGM and graphical GP

The GGP in [12] is constructed from a parametric multivariate covariance function C such as the multivariate Matérn. In analyzing functional data, covariance functions are often represented more generally using basis functions. Here, we demonstrate how a graphical GP can be derived from any multivariate GP that admits a partially separable basis function expansion. The resulting GGP is a FGGM that will exactly conform to a given graph, and we show, in Section 4, how this is leveraged to conduct graph-constrained analysis of multivariate functional data.

3.1. Covariance selection on partially separable Gaussian processes

Consider a q×1 partially-separable multivariate GP on a continuous domain 𝒟,

w0(s)=∑ℓ=1∞θℓϕℓ(s),whereθℓ=θ1ℓ,…,θqℓ~Nq0,∑ℓ. (3)

Theorem 1 proves that the graphical GP derived from w0(⋅) is a partially separable functional GGM that exactly preserves a given graphical model.

Theorem 1. Let C be the cross-covariance function of a stationary partially separable process w0(⋅) in (3). Consider a new partially separable process w(s)=∑ℓ=1∞θℓ*ϕℓ(s) where θℓ*=θ1ℓ*,…,θqℓ*~Nq0,∑ℓ*. Then for any fixed graph 𝒢=(𝒱,E), w(⋅)~GGP(C,𝒢) as in Definition 2.1 if and only if ∑ℓ*=CovSel∑ℓ,𝒢 for all ℓ.

The result shows that starting with a partially separable GP, the optimal graphical GP can be obtained by applying Dempster’s covariance selection on each covariance matrix ∑ℓ of the basis coefficients, and this graphical GP is a partially separable functional GGM. All proofs are provided in the Appendix.

3.2. Stitching and truncation

In practice, we cannot work with infinite basis expansions and construct a process using only a finite set of orthogonal functions extracted from the graphical GP w(⋅) in Theorem 1. The following result is an immediate consequence of Theorem 1. The proof is outlined in Appendix A.

Corollary 1. Let w0m(s) be constructed using m basis functions of a graphical GP as

w0m(s)=∑ℓ=1mθℓϕℓ(s),θℓ=θ1ℓ,…,θqℓ⊤~Nq0,∑ℓ (4)

and Cm is the covariance function of w0m(s). Then wm(⋅)~GGPCm,𝒢 is given by wm(s)=∑ℓ=1mθℓ*ϕℓ(s) where Covθℓ*=CovSel∑ℓ,𝒢 for ℓ∈{1,…,m}.

We discuss in Section 4 how this connection facilitates a practical estimation strategy for finite-term functional GGM that exactly conforms to a given graph. However, a finite-term truncation can come at the expense of reduced accuracy in estimating the covariance function. To explicitly demonstrate the impact of truncation, we now relate this truncated functional GGM wm(⋅) of Corollary 1 to a low-rank stitched graphical GP (recall Section 2.2) through an approximate result using Nÿstrom approximation for kernel matrices [14]. Let w0(⋅) be the partially separable GP in (3) with cross-covariance function C=Cij,w(⋅) be the partially separable GGP(C,𝒢) derived from w0(⋅) using Theorem 1 and wm(⋅) be the finite-term truncation of w(⋅) in Corollary 1. We show in Appendix A that wm(⋅) is approximately equal to wstitchpp(⋅), where wstitchpp=(wstitch,1pp(⋅),…,wstitch,qpp(⋅) is the low-rank predictive process defined in (2) created as part of the stitching and stretching constructions.

Theorem 1 proves the equivalence between the theoretical constructions of functional GGM and the graphical GP. Similarly, the above approximate result establishes an analogy between the practical procedures of truncation and stitching for the two approaches. This result also highlights that truncation ignores the equivalence of the stretching step employed earlier in graphical GP (Section 2.2.2). The stitched and stretched graphical GP wstretch(s), as specified in (2), is the sum of the stitched low-rank predictive process wstitchpp(s) and the independent residual processes z(⋅), i.e., wstretch(s)=wstitchpp(s)+z(s), where z(s)=z1(s),…,zq(s). The truncated functional GGM wm(s) is only equivalent to the first component wstitchpp(s) and ignores the residual component z(s). This difference has important practical implications. The marginal distributions of the process wstitchpp(⋅) has the same distribution as Cjj(⋅,ℒ)Cjj(ℒ,ℒ)-1w0,j(ℒ)—the univariate predictive processes of [4] derived from the original process w0(s). These low-rank predictive processes have been shown, theoretically and empirically, to underestimate the marginal variances of the original process w0(⋅), resulting in oversmoothing and inferior performance [9, 35]. As wm(⋅) is equivalent to wstitchpp(⋅), the truncated process wm(⋅) also will not preserve the marginals of the original distribution w0(⋅). Rather wm(⋅) has the same marginal distributions as the predictive process, and will be expected to oversmooth the marginal spatial patterns. In contrast, the process wstretch(⋅), on account of adding the residual processes z(⋅), preserves the marginals of the original process w0(⋅) and would not oversmooth. Thus, we see a potential drawback of the truncation. We demonstrate the oversmoothing in our empirical results and in Section 4 we offer a solution to the issue.

4. Estimation

In scientific applications, we either know the graph apriori or have to estimate it. Functional GGM is widely deployed in the latter setting [21, 41]. However, if the graph is known (e.g., a known phylogenetic tree as a graph to model multiple species distributions over a region, a known auto-regressive time-dependence structure to model spatiotemporal pollutant data, connectivity graph between brain regions estimated from a secondary dataset), current functional GGM approaches cannot explicitly encode this information and preserve the graphical model in the analysis.

In this Section, we leverage the theoretical connections developed in Section 3 to present algorithms for graph-constrained analysis of multivariate functional data.

4.1. Graph-constrained MLE for multivariate functional data

Theorem 1 and Corollary 1 establish that the optimal approximation of a partially separable process under a graphical constraint is also a partially separable process with Dempster’s covariance selection applied to covariance matrices for each of the basis function coefficients. We now provide the data-driven analog of the result that is practically applicable when analyzing multivariate functional data occurring as partial realizations of these multivariate processes. In particular, the following theorem provides the maximum likelihood estimate (MLE) for a partially separable multivariate covariance function under a graphical constraint. The result is viewed as an extension of Dempster’s covariance selection, i.e., graph-constrained MLE of covariances, from the setting of vector-valued data with covariance matrices to functional data with covariance operators.

Theorem 2. Let X1,…,XN denote iid realizations of q-variate functional data on p locations s1,…,sp, generated from a mean-zero truncated partial separable GP0,Cm as in Corollary (1) with known orthonormal basis functions ϕℓ. Then, for a given functional graphical model 𝒢, the graph-constrained MLE of the covariance function Cm is given by

Cm^=∑ℓ=1mCovSelIq⊗ϕℓ⊤SIq⊗ϕℓ,𝒢⊗ϕℓϕℓ⊤ (5)

where S=(1/N)∑i=1NXiXi⊤ is the sample covariance matrix, ϕℓ⊤=ϕℓs1,…,ϕℓsp is the basis function evaluated at p locations, and CovSel is covariance selection (see Definition 2.2).

Lemma 1. Under the setting of Theorem 2, the graph-constrained MLE C^m in (5) is an asymptotically consistent estimator of the covariance operator Cm.

Theorem 2 provides a direct approach to obtaining the MLE of a multivariate covariance function under a given graphical constraint and Lemma 1 shows the consistency of the estimator. All the proofs are shown in Appendix. In practice, the basis functions are often chosen in a data-driven manner instead of being fixed apriori. These estimates ϕˆℓ can be obtained from a functional principal components analysis. Plugging these (or any other estimate of ϕℓ), we can use Theorem 2 to calculate the profile maximum likelihood estimate (PMLE) of ∑ℓ as Sˆℓ=Iq⊗ϕˆℓ⊤SIq⊗ϕˆℓ. Subsequently the graph-constrained PMLE for Cm can be obtained as

Cm~=∑ℓ=1mCovSelSˆℓ,𝒢⊗ϕˆℓϕˆℓ⊤. (6)

The number of basis functions m is usually chosen so that the first m eigenfunctions ϕˆℓ’s explain a given percentage v of the total variance. We formally lay out the above steps in Algorithm 1 below and term our approach as FGGM-CovSel.

4.2. Improved estimation of marginal distributions using stretching

In Algorithm 1, using a larger v improves the retention of marginal covariance functions but requires a larger number of basis functions m. This is prohibitive computationally, as the iterative proportional scaling (IPS) algorithm [33] for covariance selection on the Sℓ’s has a total computational complexity of Omq3 floating point operations or FLOPs for the m terms. For large q, this mandates choosing a smaller m to reduce computations. This tradeoff leads to a worse approximation of the marginal covariances and oversmoothing as the finite-term truncated process is equivalent to a low-rank GP approximation at m locations (see the discussion in Section 3.2).

Algorithm 1:

FGGM-CovSel: Graph-constrained multivariate functional data analysis

Step 1. Fix a proportion of variance explained threshold, ν, say, v=0.95;
Step 2. Perform pooled functional principal component analysis ([38, 39]) to get m common eigenfunction estimates ϕ^ℓ, ℓ∈1,…,m that explain v proportion of total variance.;
Step 3. Use the eigenfunctions ϕ^ℓ to get first m functional principal component scores θ^iℓ=Iq⊗ϕ^ℓ⊤Xi and calculate the corresponding covariance matrix S^ℓ=CovNθ^iℓ=Iq⊗ϕ^ℓ⊤SIq⊗ϕ^ℓ for ℓ∈1,…,m where S=1NXiXi⊤.;
Step 4. Using Iterative Proportional Scaling (IPS) algorithm [33] for covariance selection to obtain CovSelS^ℓ,𝒢 for ℓ∈1,…,m.;
Step 5. Produce the estimate of the covariance operator Cm˜ from (6).

We now offer an extension of Algorithm 1 using the principles of stretching that remains computationally feasible while offering significantly better retention of the marginal distributions and, thereby, less oversmoothing. In Section 3.2, we have established that wstretch(⋅)≈wm(⋅)+z(⋅). The graphical GP wstretch(⋅) exactly preserves the marginals of the original process w0(⋅), while the truncated process wm(⋅) is equivalent to a low-rank predictive process and can oversmooth. For a univariate predictive process, the oversmoothing is mitigated by adding the residual process [16]. Stretching proceeds similarly in a multivariate graphical model by introducing the residual process z(⋅) (defined in (2)) to exactly preserve the marginals while still conforming to the graphical constraint.

We leverage this connection between truncation and stitching to remedy the oversmoothing by the process wm(⋅) truncated at some computationally feasible value of m. We modify Algorithm 1 to emulate the full rank stitching and stretching procedure of [12] by adding component-specific residual processes. This essentially adds a block-diagonal function to the estimate of the covariance function that mitigates the bias in the marginal distributions due to truncation. To achieve this, we first run FGGM-CovSel for a small or moderate m as afforded by the computing resources. Then, we calculate the residuals and perform functional principal component analysis of the component-specific residuals, and add the diagonal matrix of the estimated residual variances to our covariance estimate Cm^ from Algorithm 1. This yields significant improvements in retaining the univariate distributions. The Algorithm is referred to as FGGM-Stretch and is formally laid out in Algorithm 2 below.

Algorithm 2:

FGGM-Stretch

Step 1. Fix a smaller proportion of variance explained threshold, v, say, v=0.75.;
Step 2. Run Algorithm 1 to get estimates θ^iℓ, ϕ^ℓ, ℓ∈1,…,m and C^.;
Step 3. Calculate residuals: Zi=Xi−∑ℓ=1mθ^iℓϕ^ℓ for i∈1,…N;
Step 4. Perform functional principal component analysis of the residuals of Z(j)=Z1j,…,ZNj for j∈1,…,q independently for a larger proportion of variance explained, v′, say, v′=0.95;
Step 5. Obtain the eigenvalues as λ^ℓj, ℓ∈1,…,m′, j∈1,…,q;
Step 6. Find the new stitched covariance operator Cm^(2)=Cm^+∑ℓ=1m′diagλ^ℓ1,…,λ^ℓq.

5. Empirical results

We perform a series of simulation experiments to gauge the performance accuracy of three algorithms for graph-constrained analysis of multivariate functional data — functional Gaussian graphical model (FGGM) of [41], and our two proposed algorithms FGGM-CovSel and FGGM-Stretch. The first one cannot use the knowledge of the graph and estimate the graph, treating it as unknown while simultaneously estimating the covariance function. The latter two exactly preserve the graph in the analysis.

For the data generation, we consider q=10-variate GPs adhering to the conditional independence structure from the graph in Fig. 1. We consider two choices of covariance functions generating the data – (a) correctly specified case: partial-separable (PS) covariance, and (b) misspecified case: graphical Mateŕn (GM) covariance of [12] that is not partially separable. We fix the total number of basis functions at L=101 for data generation. We take them to be the Fourier basis functions and evaluate them at 200 equally spaced points between (0, 1). Now to generate the basis-specific coefficients, we generate the covariance matrices as ∑ℓ=aℓΩℓ-1 for ℓ∈{1,…,101}, where the precision matrices Ωℓ are generated using the algorithm of [30] to have the exact sparsity as specified by the graph 𝒢 (Fig. 1). The decaying constants aℓ=3l-1.8 ensure that tr∑ℓ is monotonically decreasing in ℓ. The covariance function for the misspecified case was obtained by stitching using multivariate Matérn model [1] and the graph 𝒢 (Fig. 1). For every (i,j) pair of variables, the isotropic multivariate Matérn cross-covariance function on a d-dimensional domain is defined as Cijs,s′=σijHij‖s-s′‖, where Hij(⋅)=H⋅∣vij,ϕij,H being the Matérn correlation function [1]. σij,ϕij,vij are interpreted as the cross-covariance, cross-scale, and cross-smoothness parameters. To ensure positive-definiteness of cross-covariance matrix, we parametrize as σij=bijΓ12vii+vjj+dΓvij/ϕij2ΔA+vii+vjjΓvij+d2,, where bij=σiiσjj0.5ϕiiviiϕjjvjjrij/Γvij, and R=rij≻0, is correlation matrix. For this simulation, we take vij=vii=vjj=0.5, and ΔA=0 and ϕij2=ϕii2+ϕjj2/2. The marginal range parameters ϕii and variance parameters σii were permutations of equispaced numbers in (1, 5), while the R=rij’s were chosen as a random correlation matrix. For data generation locations, we take 250 points on the real line equispaced between (0, 1).

Fig. 1:

Fig. 1:

The 10-variable graph used to generate q=10-variate GPs adhering to the conditional independence structure from the graph.

We compare the estimated marginal and edge-specific cross-covariance surfaces qualitatively using some heatmaps and quantitatively using the distance between true and estimated covariance sub-matrices in terms of Kullback-Leibler (KL) divergence. The KL divergence between two matrices A and B is defined as -KL(BA=0.5trA-1B-lnBA). In case (a), which is the truly specified case, we present the results comparing FGGM-CovSel and FGGM-Stretch with the FGGM algorithm of [41] (implemented using the R package FGM [28]). We report the graph estimated through FGGM and how it compares with the true graph in Fig. 7 in the Appendix. The figure shows that FGGM estimates the graph better in a correctly specified setting (set (a)) than in a misspecified setting (set (b)).

We first compare the true and estimated marginal covariance functions under the correctly specified setting. In Fig. 2, we plot the true marginal covariance for variable 1 and the estimated covariance from each of the three methods. We see that FGGM-Stretch has a significantly improved estimate of the marginal covariance compared to both FGGM and FGGM-CovSel. The FGGM and FGGM-CovSel rely on a low-rank truncation, which evidently leads to oversmoothing, while FGGM-Stretch mitigates this issue to a great extent. This aligns with our theoretical insights from Section 3.2. The result holds for the marginal covariance of all the variables as demonstrated in Fig. 6 in Appendix.

Fig. 2:

Fig. 2:

Marginal covariance surfaces for variable 1: True, FGGM, FGGM-CovSel, FGGM-Stretch (from left to right). The KL-divergence from the true covariance matrix is noted at the top of the respective panels for that method. We see that FGGM-Stretch has a significantly improved estimate of the marginal covariance compared to both FGGM and FGGM-CovSel.

We then look at the estimates of the cross-covariance surfaces in Fig. 3. These will be the same for the proposed algorithms FGGM-CovSel and FGGM-Stretch, which differ only on the marginal covariances. We see that, for the correctly specified case, this estimate from our proposed algorithms performs better than the FGGM estimate (Fig. 3a) and estimates the true cross-covariance surface with high accuracy. This behavior is expected since the model is correctly specified for our algorithms, and the FGGM algorithms do not utilize knowledge of the graph but estimate it. Fig. 3b presents the cross-covariances for the mis-specified scenario. We see that FGGM-CovSel estimates the true covariance function less accurately than in the correctly specified case but does capture the broad features like the banding (decay of the Mateín cross-covariance away from the diagonal). This decrease in estimation accuracy is expected since we’re trying to fit a misspecified partial separable cross-covariance to a non-partially separable GP. However, even in the misspecified case, FGGM-CovSel still significantly outperforms FGGM.

Fig. 3:

Fig. 3:

Comparison of (1, 2) variable pair cross-covariance surface heatmaps under set (a) (correctly specified) and set (b) (misspecified) scenario. The KL-divergence for each method is noted at the top of the respective panel.

Overall, across all edges and in both the correctly specified and misspecified scenarios (across 25 different seeds), FGGM-CovSel reports uniformly lower KL divergence between true and estimated covariance matrices than FGGM (Table 1). Each row in Table 1 corresponds to the KL divergence mean (sd) across 25 replicates between edge-specific true and estimated covariance sub-matrices. We observe that FGGM-CovSel performs according to our expectations in the correctly specified example, thus validating the theoretical basis of our approach. Moreover, in the correctly specified setting, we perform additional simulation experiments with increasing sample size (N varies from 50 to 5000) to demonstrate the asymptotical consistency of FGGM-CovSel estimator. In Fig. 8 in Appendix, we see decrease in the Frobenius norm between true and estimated covariance with both increasing number of basis functions and number of samples (N). The better performance of FGGM-CovSel in the misspecified example (set (b)) gives us confidence in our approach even when the partial separability assumption does not hold. This is in addition to the benefit demonstrated in Fig. 2 of using FGGM-Stretch to better capture the marginal distributions.

Table 1:

The table presents the KL divergence, reported as mean (sd) across 25 replicates, which quantifies the difference between the true and estimated cross-covariance matrices for all edges in the graph. The results compare the performance of the FGGM and FGGM-CovSel methods under simulation scenarios: (a) and (b).

Set (a) Set (b)
Edges FGGM FGGM-CovSel FGGM FGGM-CovSel
(1, 2) 787.67 (23.03) 778.05 (22.35) 1863.79 (36.12) 1846.51 (35.38)
(1, 3) 766.83 (12.59) 756.66 (11.19) 1832.1 (30.07) 1806.42 (32.86)
(2, 3) 796.32 (18.35) 784.23 (22.14) 1799.54 (31.76) 1785.05 (34.07)
(2, 4) 730.71 (31.39) 722.14 (30.57) 1840.36 (41.73) 1833.68 (40.06)
(3, 4) 730.91 (31.67) 722.5 (30.02) 1764.23 (35.58) 1736.83 (38.57)
(4, 5) 719.63 (22.99) 704.54 (20.41) 1974.63 (34.74) 1949.14 (32.47)
(4, 6) 738.21 (31.77) 721.55 (33.27) 1789.22 (36.9) 1776.31 (36.65)
(5, 6) 752.9 (32.11) 742.87 (28.27) 1793.26 (29.31) 1781.21 (29.65)
(6, 7) 781.46 (14.92) 759.19 (20.57) 1293.24 (32.4) 1283.55 (31.91)
(6, 8) 778.68 (19.86) 747.99 (23.62) 1409.48 (31.34) 1394.82 (30.09)
(7, 8) 786.81 (21.97) 751.28 (22.99) 1910.51 (28.87) 1880.7 (30.58)
(8, 9) 771.1 (26.52) 751.06 (32.81) 2004.36 (24.73) 1982.75 (29.94)
(9, 10) 771.71 (23.98) 749.55 (24.65) 1548.35 (36.78) 1541.75 (36.25)

6. Analysis of functional neuroimaging data

We illustrate the utility of the approach on multivariate functional Magnetic Resonance Imaging (fMRI) data from a study of thermal pain. The data is at the brain-region level (each variable corresponds to a region), and a graph between the variables represents the connectivity between different brain regions. In this study, the left forearm of 33 healthy right-handed participants was exposed to various levels (temperatures) of noxious heat stimuli. Participants gave their informed consent, and the Columbia University Institutional Review Board approved the study. Each participant completed seven runs within a session, consisting of 58–75 trials. During each trial, thermal stimuli were applied to the inner surface of the left forearm. Each stimulus lasted 12.5 seconds, including a three-second ramp-up, two-second ramp-down, and 7.5 seconds at the target temperature.

We collected a total of 1845 functional images (TR=2000ms) from each participant using a 3T Philips Achieva TX scanner at Columbia University. Structural images were obtained using high-resolution T1 spoiled gradient recall (SPGR) imaging, while functional echo planar images (EPIs) were acquired with specific parameters; see [37] for details. The structural images were aligned with the mean functional image using an iterative mutual information-based algorithm in SPM8 and then normalized to Montreal Neurological Institute (MNI) space using SPM8’s generative segment-and-normalize algorithm. Before preprocessing the functional images, the first four volumes were discarded to ensure image intensity stabilization. Outliers were identified using the Mahalanobis distance, and slice-timing differences were corrected. Motion correction was performed using SPM8, and images were transformed to SPM’s normative atlas using warping parameters estimated from the aligned structural images. Finally, the functional images were smoothed with an 8 mm full width at half maximum (FWHM) Gaussian kernel and subjected to a high-pass filter with a cutoff of 180s. For a more comprehensive description of the data acquisition and preprocessing methods, please refer to the work by [37].

We used a variant of the Yeo atlas [40] to first subdivide the brain into 286 separate non-overlapping brain regions, and thereafter organized these regions into 18 functional networks (17 cortical and one subcortical). These were further arranged into Visual (VIS), Motor (MOT), Dorsal Attention (DAN), Ventral Attention (VAN), Frontoparietal (FP), Limbic (LIM), Default Mode (DMN), and Subcortical (SC) networks. Our framework models this dataset as a 286-dimensional functional data (corresponding to the q=286 brain regions) for n=33 subjects. For computational efficiency, we reduce the number of time points from 1845 to 184 by binning observation within a 10 time unit interval.

Our goal is to use this dataset for a proof-of-concept analysis to judge the covariance estimation performance of our method FGGM-CovSel, which uses the knowledge of a preestimated connectivity graph among the 286 regions, compared to the FGGM method, which will re-estimate the graph while estimating the covariance function. In previous fMRI studies, partial separability has been both assumed and confirmed [41]. In a real-world application, one can assess this assumption by verifying whether the correlations among basis coefficients at different levels for different processes are close to zero. Given that our analysis serves only as a proof-of-concept, that there is past evidence supporting partial separability in fMRI data, and that our simulations demonstrated robustness of our approach to violation of the partial separability assumption, we opt not to scrutinize this assumption in this paper to maintain brevity in the discussion. We use a random subset of the data to estimate the connectivity graph. We randomly split the group of subjects into two sets of roughly equal size - (i) train (17 subjects) and (ii) test (16 subjects). On the training set, we use FGGM of [41] to learn the graph between brain regions and estimate the covariance function. Then on the test set, we use both FGGM and FGGM-CovSel to estimate covariance. The FGGM reestimates a (possibly) different graph on the test set, while FGGM-CovSel conducts graph-constrained analysis using the graph estimated from the training set. We then compare the covariance estimate of FGGM and FGGM-CovSel in the test set with the FGGM estimate obtained in the train set. We perform this random split 10 times to obtain cross-validated results.

Fig. 4 visualizes the network between brain regions from the most probable graph across 10 splits. We average the adjacency matrix across the different data splits and keep the edges in the final graph, as the pairs which have an average edge probability bigger than 0.5. Pain is known to engage multiple brain networks. In our estimated brain network, we found connections among regions within VIS, DAN, VAN, FP, LIM, and DMN. For example, the DAN may become engaged when individuals are asked to direct attention to pain-related stimuli or when they are actively engaged in pain processing tasks, and the FP network processes subjective and emotional aspects of pain and pain perception [29], the DMN modulates pain perception [2], and the limbic network mediates self-regulation of pain [37]. In addition, subcortical regions regulate pain perception and processing through autonomic responses [6] and the somatomotor network is involved in the perception and processing of pain-related sensory input [22]. In addition, connections were found between DMN, FP, LIM, DAN, and VAN, with some engagement with MOT. Particularly, we see connections between the DMN, DAN, and the FP network. In the context of pain tasks, both these relationships depend on factors such as task demands, attentional focus, and individual differences in pain processing and coping strategies. In general, these networks and connections are consistently activated by experimental pain, illustrating the method’s efficacy.

Fig. 4:

Fig. 4:

The final adjacency matrix, consisting of the pairs with an average edge probability larger than 0.5. The brain is subdivided into 286 regions using a variant of the Yeo atlas [40]. These regions are organized into 18 networks. These can be further arranged into Visual (VIS), Motor (MOT), Dorsal Attention (DAN), Ventral Attention (VAN), Frontoparietal (FP), Limbic (LIM), Default Mode (DMN), and Subcortical (SC) networks. The legend to the right illustrates the colors associated with each subnetwork.

We then assess how our graph-constrained analysis (FGGM-CovSel) using this graph compares with FGGM in terms of estimating the covariance function. Let C^train denote the estimated covariance matrix on the training dataset, and C^train(i,j) denote the sub-matrix corresponding to the nodes i and j. Similarly, we denote by C^test,m the estimated covariance matrix on the test set by method m,m∈{FGGM,FGGM-CovSel} and define C^(i,j)test,m accordingly. We then consider the KL distance dKLC^(i,j)train,C^(i,j)test,m for all edges (i,j) in the graph. A lower KL distance implies a better estimation of the covariance. Fig. 5 plots a heatmap of the difference

dKLCˆ(i,j)train,Cˆ(i,j)test,FGGM-CovSel-dKLCˆ(i,j)train,Cˆ(i,j)test,FGGM.

The result is aggregated across the replicates in which a specific pair has been detected as an edge by FGGM (train). We observe in Fig. 5 that all the values of this difference are negative, implying that the covariance estimate from FGGM-CovSel (test) has a lower KL distance with FGGM (train) than FGGM (test) has with FGGM (train). This is true across all edge-pairs that were included in the connectivity graph. Across 10 different seeds, the KL distance between FGGM-CovSel (test set) and FGGM (train) is 36.8(35, 39.9) units lower than the distance between FGGM (test) and FGGM (train) when averaged across all edge pairs. These findings show us that estimating the covariance function benefits from the knowledge of the graph and demonstrates the utility of a graph-constrained multivariate functional analysis.

Fig. 5:

Fig. 5:

The difference in KL-distances between edge-specific covariances for FGGM-CovSel (test) & FGGM (train) and FGGM (test) & FGGM (test). The difference is aggregated across 10 replicates whenever that specific edge-pair is detected. Grey cells indicate pairs that didn’t appear in any edge in 10 replicates.

7. Discussion

The current manuscript has developed graph-constrained modeling and analysis for multivariate functional data. We build upon recent developments in graphical Gaussian processes (GGP) in the context of highly multivariate spatial data analysis and draw some insightful connections of such frameworks with functional Gaussian graphical models. Our key result is an optimal partially separable functional Gaussian graphical model that is derived using the graphical Gaussian process and preserves the conditional dependencies, or lack thereof, posited by a given undirected graph. Our methodological developments are accompanied by novel theoretical insights connecting the two seemingly disparate paradigms of functional Gaussian graphical models and Graphical Gaussian processes. These theoretical developments enable us to construct a new algorithm to evaluate the maximum likelihood estimate for a partially separable graphical Gaussian model while preserving the conditional dependence constraints imposed by the given graph. This algorithm constitutes the generalization of Dempster’s covariance selection from vector-valued data to functional data. Beyond the population level theoretical connections used to derive the methodology, we also prove the consistency of the covariance operator estimator obtained from the resulting algorithm. We acknowledge that this consistency result is only established in a simplistic setting with the curves (functional data) observed at a fixed set of points and the basis functions defined on this discrete domain. Future work needs to refine the theoretical results by filling the remaining gaps between the current theory and the practice. These would need to consider basis functions on a continuous domain and the curves being sampled at a finite set of points in this domain in an increasingly dense manner, i.e., in-fill asymptotics. The use of data-driven basis functions from a functional PCA must also be accommodated. Besides consistency, asymptotic normality results would also be needed to conduct inference on the estimated covariance functions.

We note that while the manuscript focuses on the estimation of the multivariate covariance function under graphical constraints, assuming the mean of the functional processes to be zero, a non-zero mean can be easily accommodated in the framework. This will be suitable in applications where other covariates are observed in addition to the functional responses, and a mean, specified as a linear or non-linear function of these covariates, can be easily estimated as part of the algorithm. Also, our paper focuses on the analysis of multivariate functional data when the within-variable graph is known with certainty. In examples, where the graph is known with some degree of uncertainty, a Bayesian approach would be more suitable, incorporating information about graph uncertainty as a prior for the graphical model. We would then need to adapt our approach to Bayesian reversible jump MCMC algorithms [5, 19] similar to what has been done in Section 4.3 of [12]. This will be an important future direction.

Our data analysis was conducted under the assumption of partial separability, which necessitates a discussion regarding the practical validity of this assumption. This assumption was motivated by the analysis of similar fMRI data in [41]. However, due to our limited sample size, we cannot explicitly test this assumption in our dataset, as [41] performed in their paper. Hence, we have undertaken an empirical assessment to evaluate the robustness of our methodology under potential violations of the partial separability assumption (Simulation set (b)). This assessment is of utmost importance as it clearly explains our approach’s performance in adverse scenarios. While performance indeed declines in scenarios where the assumption is not met, our approach still outperforms the FGGM methods, which also rely on partial separability. It is important to note that when the partial separability assumption is severely violated, FGGM methods such as those proposed by [42] may be employed. However, these methods require joint estimation of the entire precision matrix of all regression coefficients, which can lead to significant computational challenges.

Given the continued interest in high-dimensional statistical inference for multivariate functional data, this work is expected to spur further research in scaling up the proposed models here to massive numbers of functional inputs. Specific examples include settings where spatial data are measured on a very large number of dependent outcomes over massive numbers of locations. In this regard, it will be possible to embed Gaussian processes, e.g., for hierarchical Nearest Neighbor Gaussian process models, [9, 10, 15] within the nodes of the graph to scale up to the massive numbers of locations.

While the conceptual idea of building scalable multivariate models with stochastic processes as nodes of a graph follows from graphical Gaussian processes [12] or from approaches for versatile classes of multivariate Markov random fields [20], substantial developments on precise model specifications and, perhaps even more importantly, algorithmic developments are still warranted. In this regard, we expect our current developments to generate future research pursuits that will culminate in a versatile, computationally efficient framework for graph-constrained analysis of high-dimensional dependent functional or spatial data. Applications of such a framework will span biomedical and health sciences, broader environmental sciences, social sciences, and economics.

Acknowledgement

AD was partially supported by the National Science Foundation (NSF) Division of Mathematical Sciences grant DMS-1915803. AD and ML were partially supported by National Institute of Biomedical Imaging and Bioengineering award 2R01EB026549-05. SB was supported by the NSF awards DMS-1916349 and DMS-2113778 and by the National Institute of General Medical Sciences (NIH-NIGMS) awards R01GM148761-01. DD undertook this project during his PhD at Johns Hopkins Bloomberg School of Public Health and was supported by a fellowship through a Joint Graduate Training Program, established in collaboration between the Department of Biostatistics at the Johns Hopkins Bloomberg School of Public Health and the Intramural Research Program of the National Institute of Mental Health. The authors thank Dr. Brian Caffo for helpful discussions.

Appendix A. Proofs

Proof of Theorem 1: Denote ∑ℓ=σℓij,∑ℓ*=σℓij*, and ∑ℓ*-1=Ωℓ=ωℓij*. The cross-covariance function of w(⋅) is denoted by C*=Cij* and the conditional cross-covariance function is K*=Kij*. By Theorem 3 of [41],

Kij*s,t=∑ℓ=1∞-ωℓij*ωℓii*ωℓjj*-ωℓij*2ϕℓsϕℓt. (A.1)

(If part:) Suppose ∑ℓ*=CovSel∑ℓ,𝒢 for all ℓ. To prove w(⋅)~GGP(C,𝒢) we first show it is a graphical GP. For any (i,j)∉E, by the property of covariance selection on each ∑ℓ, we have ωℓij*=0 for all ℓ. Hence, from (A.1) Kij*(s,t)=0 for all s,t∈𝒟,(i,j)∉E and w(⋅) is a graphical GP with respect to the graph 𝒢. Next we show w(⋅) retains the marginals and edge-specific cross-covariances from C. This is immediate as once again for all (i,j)∋i=j or (i,j)∈E, we have by the property of covariance selection σℓij*=σℓij and consequently Cij*(s,t)=∑ℓ=1∞σℓij*ϕℓ(s)ϕℓ(t)=∑ℓ=1∞σℓijϕℓ(s)ϕℓ(t)=Cij(s,t).

(Only if part:) Let w(s)=∑ℓ=1∞θℓ*ϕℓ(s)~GGP(C,𝒢). Since it is a graphical GP, then Kij*(s,t)=0 for all s,t∈𝒟 and (i,j)∉E. By orthogonality of ϕℓ’s,

0=∫Kij*(s,t)ϕℓ(s)ds=-ωℓij*ωℓii*ωℓjj*-ωℓij*2ϕℓ(t).

This holds for all t∈𝒟 implying ωℓij*=0 for all ℓ. By definition (2.1), w(⋅) retains the marginal and edge-specific cross-covariances. Hence, for i=j or (i,j)∈E,Cij*=Cij implying

σℓijϕℓt=∫Cijs,tϕℓsds=∫Cij*s,tϕℓsds=σℓij*ϕℓt.

This holds for all t implying σℓij=σℓij* for all ℓ,i=j or (i,j)∈E. Hence, ∑ℓ* satisfies all the conditions of covariance selection (Definition 2.2) and is the unique matrix CovSel∑ℓ,𝒢. □

Proof of Corollary 1: We apply Theorem 3 of [41] to the process wm(s) and write the conditional cross-covariance function in terms of the elements of ∑ℓ*-1=Ωℓ=ωℓij* and the basis functions as

Kijm(s,t)=Covwim(s),wjm(t)∣w-(i,j)m=Cov∑ℓ=1mθℓi*ϕℓ(s),∑ℓ′=1mθℓ′j*ϕℓ′(t)|w-(i,j)m=∑ℓ,ℓ′=1mCovθℓi*,θℓ′j*∣w-(i,j)mϕℓ(s)ϕℓ′(t)=∑ℓ=1mCovθℓi*,θℓj*∣θℓ,-(i,j)*ϕℓ(s)ϕℓ(t)=∑ℓ=1m-ωℓij*ωℓii*ωℓjj*-ωℓij*2ϕℓ(s)ϕℓ(t),

where w-(i,j)m is the full (uncountable) realization of all the component processes in w(m)(s) except i and j. The third equality follows from the fact that the coefficients θℓ and the process w(m)(s) uniquely identify each other given the m basis functions. The proof now follows that of Theorem 1. □

Here we show the approximate equivalence of stitching and low-rank truncation. We observe that wstitchpp(s)=D(s)wstitch(ℒ) where D(s)=diagC11(s,ℒ)C11(ℒ,ℒ)-1,…,Cqq(s,ℒ)Cqq(ℒ,ℒ)-1 and wstitch(ℒ) is a random variable whose distribution is specified in (1). Next, as w(⋅)~GGP(C,𝒢), the component processes wj(⋅)~GP0,Cjj retain the marginals. When the reference set ℒ is chosen to have m locations, the truncated process wjm(⋅) is related to the untruncated process wj(⋅) via the following approximation (see, p. 389–390 in [3] for a derivation)

wjm(s)≈Cjj(s,ℒ)Cjj(ℒ,ℒ)-1wj(ℒ)foralls∈𝒟,j∈𝒱. (A.2)

The approximate equivalence in (A.2) is related to the Nÿstrom approximation for kernel matrices [14]. Rewriting (A.2) as wm(s)≈D(s)w(ℒ) and since wstitchpp(s)=D(s)wstitch(ℒ), to show wm(⋅)≈wstitchpp(⋅), we now only need w(ℒ) and wstitch(ℒ) to approximately have the same distribution. As w(⋅)~GGP(C,𝒢), for i=j or (i,j)∈E, we have Covwi(ℒ),wj(ℒ)=Cij(ℒ,ℒ)=Covwstitch,i(ℒ),wstitch,j(ℒ) by definition of covariance selection. Finally, we show that for (i,j)∉E,Covwi(ℒ),wj(ℒ)∣w-(ij)(ℒ)≈O=Covwstitch,i(ℒ),wstitch,j(ℒ)∣wstitch,-ij(ℒ) as follows:

Covwi(ℒ),wj(ℒ)∣w-(ij)(ℒ)=CovCii(ℒ,ℒ)Cii(ℒ,ℒ)-1wi(ℒ),Cjj(ℒ,ℒ)Cjj(ℒ,ℒ)-1wj(ℒ)∣Ckk(ℒ,ℒ)Ckk(ℒ,ℒ)-1wk(ℒ),k∈𝒱∖{i,j}≈Covwim(ℒ),wjm(ℒ)∣w-ij(ℒ)by(A.2)=Covwim(ℒ),wjm(ℒ)∣Ckk(s,ℒ)Ckk(ℒ,ℒ)-1wk(ℒ),s∈𝒟,k≠i,j≈Covwim(ℒ),wjm(ℒ)∣w-ijm(⋅)againby(A.2)=Ofor(i,j)∉E.

The middle equality follows from the fact that for any s∈ℒ and any k, we have Ckk(s,ℒ)Ckk(ℒ,ℒ)-1wk(ℒ)=wk(s). Hence, the σ-algebras σw-ij(ℒ) and σCkk(s,ℒ)Ckk(ℒ,ℒ)-1wk(ℒ),s∈𝒟,k≠i,j becomes the same since the latter is generated by the former and contains the former. Corollary 1 ensures the last equality since wm(⋅) is a graphical GP conforming to 𝒢.

We have now shown that the covariances of w(ℒ) and wstitch(ℒ) agree exactly on the entries corresponding to i=j or (i,j)∈E, and the inverse-covariances agree approximately on the entries corresponding to (i,j)∉E. By uniqueness of Dempster’s covariance selection for positive definite matrices, w(ℒ) and wstitch(ℒ) have approximately the same distribution. This establishes the equivalence of the m-truncated partially separable FGGM wm(s)=D(s)w(ℒ) with a stitched predictive process wstitchpp(s)=D(s)wstitch(ℒ) on m reference locations.

Proof of Theorem 2. We have Xi~iidNpq0,Cm for i∈{1,…,N}, where Cm=∑ℓ=1m∑ℓ⊗ϕℓϕℓ⊤ is the true multivariate covariance function of the partially separable process. We use Xij to denote the p-variate vector observed for i-th replicate and j-th variable. Then, the sample covariance matrix S(pq×pq) can be calculated as S=1N∑i=1NXi1⊤,…,Xiq⊤⊤Xi1⊤,…,Xiq⊤=1N∑i=1NXiXi⊤. Under the constraint of a given graphical model 𝒢, we want to find the maximum likelihood estimate (MLE) of the parameters ∑ℓ’s of the partially separable process.

First we will derive the MLE of a multivariate partially separable covariance function without the graphical constraint. Under partial separability, we can write Xi=∑ℓ=1mθiℓ⊗ϕℓ, where θiℓ~N0,∑ℓ. Using orthonormality of the basis functions, we can transform the data as follows Iq⊗ϕℓ⊤Xi=θiℓ. Here, the Xi’s (jointly over i) and the θii’s (jointly over i,ℓ) are a 1–1 and invertible linear transformation of each other.

It’s easy to check that θiℓ’s are iid across i’s and independent across ℓ’s. For i≠j,Covθiℓ,θjℓ=EIq⊗ϕℓ⊤XiXj⊤Iq⊗ϕℓ=0, since EXiXj⊤=0. Now, for ℓ≠k,Covθiℓ,θik=EIq⊗ϕℓ⊤XiXi⊤Iq⊗ϕk=Iq⊗ϕℓ⊤CmIq⊗ϕk=Iq⊗ϕℓ⊤∑k⊗ϕk=0. Similarly, for i≠j,ℓ≠k,Covθiℓ,θjk=0.

The derivation above can help us rewrite the likelihood in following way

fX1,…,XN∣∑ℓ;ℓ∈{1,…,m}∝fθiℓ;i∈{1…,N},ℓ∈{1,…,m}∣∑ℓ;ℓ∈{1,…,m}∝∏ℓ=1m∏i=1Nfθiℓ∣∑ℓ. (A.3)

This result (A.3) is due to the fact that the Jacobian transformation in the likelihood going from the Xi’s to the θi’s will only depend on known ϕℓ’s. So, finding the maximum likelihood estimate (MLE) of ∑ℓ boils down to maximizing the transformed data-likelihood of iid multivariate normal variables θiℓ,i∈{1,…,N}. Hence, we get the MLE of the parameters as ∑˜ℓ=Sℓ=1n∑i=1Nθiℓθiℓ′. Rewriting θiℓ in terms of Xi, we have the MLE as ∑˜ℓ=Iq⊗ϕℓ⊤1N∑i=1NXiXi⊤Iq⊗ϕℓ=Iq⊗ϕℓ⊤SIq⊗ϕℓ. Thus the MLE of a multi-variate partially separable covariance function without any graphical constraint is given by

Cm^unconstrained=∑ℓ=1mIq⊗ϕℓ⊤SIq⊗ϕℓ⊗ϕℓϕℓ⊤ (A.4)

We now derive the MLE under the graphical constraint. Based on the results of Theorem 1 and Corollary 1, a natural guess would be that the MLE under the graphical constraint can be obtained by applying covariance selection on each of the estimates ∑˜ℓ=Sℓ=Iq⊗ϕℓ⊤SIq⊗ϕℓ in (A.4). We prove this formally below.

If we assume the variables are conforming to a graph 𝒢=(V,E), i.e., ∑ℓ∈M+(𝒢)=S∈Rq×q:Sij=0∀(i,j)∉E} for all ℓ∈{1,…,m}, then by [11], we get graph-constrained MLE by maximizing the likelihood in (A.3) under the constraint ∑1,…,∑m:∑ℓ≻0,∑ℓ∈M+(𝒢)∀ℓ∈{1,…,m}. Due to the product-form (across ℓ’s) in (A.3), this becomes equivalent to finding the MLE for each of ∑ℓ’s separately under the graphical constraint. In other words, the MLE is given by

argmax∑ℓ≻0,∑ℓ∈M+(𝒢)∏i=1Nfθiℓ∣∑ℓ=argmin∑ℓ≻0,∑ℓ∈M+(𝒢)tr∑ℓ-1Sℓ+ln∑ℓ.

Thus the problem has exactly reduced to Dempster’s covariance selection problem, i.e., given iid multivariate realizations θiℓ finding the MLE for the covariance matrices ∑ℓ under the graphical constraint. The solution is given by ∑ˆℓ=CovSelSℓ,𝒢 which yields the MLE for Cm as given in (5). □

Proof of Lemma 1: Let’s denote, for N samples, the sample covariance matrix as SN and the basis-level covariance matrix estimate for ∑ℓ as ∑˜ℓN=SℓN=Iq⊗ϕℓ⊤SNIq⊗ϕℓ and the corresponding covariance selection estimator as ∑ˆℓN=CovSel∑˜ℓN,𝒢. Let’s define I-divergence between two matrices A and B as ℐ(B‖A)=0.5trA-1B-I-lnA-1B=KL(B‖A)-q2, where A and B are q×q positive-definite matrices.

Since, the Xi’s are iid, the sample covariance SN is an asymptotically consistent estimator for population covariance Cm,. Then ∑˜ℓN=Iq⊗ϕℓ⊤SNIq⊗ϕℓ converges to Iq⊗ϕℓ⊤CmIq⊗ϕℓ=∑ℓ in probability as N→∞. Now we will show that, ∑ˆℓN=CovSel∑˜ℓN,𝒢 converges to ∑ℓ in probability as well.

By Lemma 1 of [33], ∑ˆℓN=argminA:A≻0,A∈M+(𝒢)ℐA‖∣∑˜ℓN. Since, ∑ℓ≻0,∑ℓ∈M+(𝒢), we have ℐ∑ˆℓN‖∑˜ℓN≤I∑ℓ‖∑˜ℓN. Using the fact that, ∑˜ℓN converges to ∑ℓ in probability, we get ∑˜ℓN-1∑ℓ→Iq in probability and I∑ℓ‖∑˜ℓN→0. Hence, ℐ∑ˆℓN∣∑˜ℓN→0. Using Lemma 1, part (iii) of [33], we get, ∑ˆℓN-∑˜ℓN→0 in probability. Using Slutsky’s theorem, we get ∑ˆℓN=CovSel∑˜ℓN,𝒢=CovSelSℓN,𝒢 converges to ∑ℓ in probability.

Using Slutsky’s theorem again, we get Cm^=∑ℓ=1m∑ˆℓN⊗ϕℓϕℓ⊤ converges to ∑ℓ=1m∑ℓ⊗ϕℓϕℓ⊤=Cm in probability. □

Appendix B. Supplementary Figures

Fig. 6:

Fig. 6:

Marginal covariance surfaces for variables 2 – 10 in Set (a): True, FGGM, FGGM-CovSel, FGGM-Stretch (from left to right). We see that FGGM-Stretch has a significantly improved estimate of the marginal covariance compared to both FGGM and FGGM-CovSel for variables 2 – 10.

Fig. 7:

Fig. 7:

Most probable graphs estimated through FGGM in set (a) (correctly specified) and set (b) (misspecified). Edge widths and opacity are proportional to edge selection probability (averaged over seeds). Edges in the true graph are colored red, otherwise the edges are colored blue. The figure shows that FGGM estimates the graph better in a correctly specified setting (set (a)) than in a misspecified setting (set (b)).

Fig. 8:

Fig. 8:

The difference (in Frobenius norm) between true and FGGM-CovSel estimated covariance matrix (2000 * 2000) with increasing sample size and number of basis functions. We see a decrease in the Frobenius norm between true and estimated covariance with both increasing number of basis functions and number of samples (N).

Footnotes

Publisher's Disclaimer: This is a PDF file of an unedited manuscript that has been accepted for publication. As a service to our customers we are providing this early version of the manuscript. The manuscript will undergo copyediting, typesetting, and review of the resulting proof before it is published in its final form. Please note that during the production process errors may be discovered which could affect the content, and all legal disclaimers that apply to the journal pertain.

CRediT author statement

Debangan Dey: Methodology, Software; Formal analysis; Writing- Original draft preparation.

Sudipto Banerjee: Methodology, Writing - Review & Editing.

Martin Lindquist: Writing - Review & Editing; Formal analysis.

Abhirup Datta: Conceptualization, Methodology, Writing- Original draft preparation; Funding acquisition; Supervision.

References

  • [1].Apanasovich TV, Genton MG, Sun Y, A valid matérn class of cross-covariance functions for multivariate random fields with any number of components, Journal of the American Statistical Association 107 (2012) 180–193. [Google Scholar]
  • [2].Baliki MN, Mansour AR, Baria AT, Apkarian AV, Functional reorganization of the default mode network across chronic pain conditions, PloS one 9 (2014) e106133. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [3].Banerjee S, Carlin BP, Gelfand AE, Hierarchical Modeling and Analysis for Spatial data, Chapman and Hall/CRC, London, 2014. [Google Scholar]
  • [4].Banerjee S, Gelfand AE, Finley AO, Sang H, Gaussian predictive process models for large spatial data sets, Journal of the Royal Statistical Society: Series B 70 (2008) 825–848. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [5].Barker RJ, Link WA, Bayesian multimodel inference by RJMCMC: A Gibbs sampling approach, The American Statistician 67 (2013) 150–156. [Google Scholar]
  • [6].Bingel U, Quante M, Knab R, Bromm B, Weiller C, Büchel C, Subcortical structures involved in pain processing: evidence from single-trial fmri, Pain 99 (2002) 313–321. [DOI] [PubMed] [Google Scholar]
  • [7].Carvalho CM, Massam H, West M, Simulation of hyper-inverse Wishart distributions in graphical models, Biometrika 94 (2007) 647–659. [Google Scholar]
  • [8].Cressie NAC, Wikle CK, Statistics for Spatio-Temporal data, Wiley Series in Probability and Statistics, Wiley, Hoboken, NJ, 2011. [Google Scholar]
  • [9].Datta A, Banerjee S, Finley AO, Gelfand AE, Hierarchical nearest-neighbor Gaussian process models for large geostatistical datasets, Journal of the American Statistical Association 111 (2016) 800–812. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [10].Datta A, Banerjee S, Finley AO, Gelfand AE, On nearest-neighbor Gaussian process models for massive spatial data, Wiley Interdisciplinary Reviews Computational Statistics, New York 8 (2016) 162–171. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [11].Dempster AP, Covariance selection, Biometrics 28 (1972) 157–175. [Google Scholar]
  • [12].Dey D, Datta A, Banerjee S, Graphical Gaussian process models for highly multivariate spatial data, Biometrika 109 (2022) 993–1014. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [13].Dobra A, Lenkoski A, Rodriguez A, Bayesian inference for general Gaussian graphical models with application to multivariate lattice data, Journal of the American Statistical Association 106 (2011) 1418–1433. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [14].Drineas P, Mahoney MW, Cristianini N, On the Nyström method for approximating a gram matrix for improved kernel-based learning., Journal of Machine Learning Research 6 (2005). [Google Scholar]
  • [15].Finley AO, Datta A, Cook BD, Morton DC, Andersen HE, Banerjee S, Efficient algorithms for Bayesian nearest neighbor Gaussian processes, Journal of Computational and Graphical Statistics 28 (2019) 401–414. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [16].Finley AO, Sang H, Banerjee S, Gelfand AE, Improving the performance of predictive process modeling for large datasets, Computational Statistics & Data Analysis 53 (2009) 2873–2884. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [17].Friedman J, Hastie T, Tibshirani R, Sparse inverse covariance estimation with the graphical lasso, Biostatistics 9 (2008) 432–441. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [18].Gneiting T, Kleiber W, Schlather M, Matérn cross-covariance functions for multivariate random fields, Journal of the American Statistical Association 105 (2010) 1167–1177. [Google Scholar]
  • [19].Green PJ, Thomas A, Sampling decomposable graphs using a markov chain on junction trees, Biometrika 100 (2013) 91–110. [Google Scholar]
  • [20].Jin X, Banerjee S, Carlin BP, Order-free co-regionalized areal data models with application to multiple-disease mapping, Journal of the Royal Statistical Society: Series B 69 (2007) 817–838. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [21].Krock ML, Kleiber W, Hammerling D, Becker S, Modeling massive highly multivariate nonstationary spatial data with the basis graphical lasso, Journal of Computational and Graphical Statistics 0 (2023) 1–16. [Google Scholar]
  • [22].Kropf E, Syan SK, Minuzzi L, Frey BN, From anatomy to function: the role of the somatosensory cortex in emotional regulation, Brazilian Journal of Psychiatry 41 (2018) 261–269. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [23].Lee K-Y, Li L, Li B, Zhao H, Nonparametric functional graphical modeling through functional additive regression operator, Journal of the American Statistical Association (2022) 1–15.35757777 [Google Scholar]
  • [24].Li B, Solea E, A nonparametric graphical model for functional data with application to brain networks based on fmri, Journal of the American Statistical Association 113 (2018) 1637–1655. [Google Scholar]
  • [25].Lindquist MA, Krishnan A, López-Solà M, Jepma M, Woo C-W, Koban L, Roy M, Atlas LY, Schmidt L, Chang LJ, et al. , Group-regularized individual prediction: theory and application to pain, Neuroimage 145 (2017) 274–287. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [26].Meinshausen N, Bühlmann P, High-dimensional graphs and variable selection with the lasso, The Annals of Statistics 34 (2006) 1436–1462. [Google Scholar]
  • [27].Nath T, Caffo B, Wager T, Lindquist MA, A machine learning based approach towards high-dimensional mediation analysis, NeuroImage 268 (2023) Article no. 119843 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [28].Oh S-Y, Petersen A, FGM: Partial Separability and Functional Gaussian Graphical Models, 2019. R package version 1.0.
  • [29].Ong W-Y, Stohler CS, Herr DR, Role of the prefrontal cortex in pain processing, Molecular neurobiology 56 (2019) 1137–1166. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [30].Peng J, Wang P, Zhou N, Zhu J, Partial correlation estimation by joint sparse regression models, Journal of the American Statistical Association 104 (2009) 735–746. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [31].Qiao X, Guo S, James GM, Functional graphical models, Journal of the American Statistical Association 114 (2019) 211–222. [Google Scholar]
  • [32].Roverato A, Hyper inverse Wishart distribution for non-decomposable graphs and its application to Bayesian inference for Gaussian graphical models, Scandinavian Journal of Statistics 29 (2002) 391–411. [Google Scholar]
  • [33].Speed TP, Kiiveri HT, et al. , Gaussian markov distributions over finite graphs, The Annals of Statistics 14 (1986) 138–150 [Google Scholar]
  • [34].Stein ML, Interpolation of Spatial Data: Some Theory for Kriging, Springer Science & Business Media, New York, 2012. [Google Scholar]
  • [35].Stein ML, Limitations on low rank approximations for covariance matrices of spatial data, Spatial Statistics 8 (2014) 1–19. [Google Scholar]
  • [36].Wackernagel H, Multivariate Geostatistics: An Introduction with Applications, Springer Science & Business Media, New York, 2013. [Google Scholar]
  • [37].Woo C-W, Roy M, Buhle JT, Wager TD, Distinct brain systems mediate the effects of nociceptive input and self-regulation on pain, PLoS biology 13 (2015) e1002036. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [38].Yang W, Müller H-G, Stadtmüller U, Functional singular component analysis, Journal of the Royal Statistical Society: Series B 73 (2011) 303–324. [Google Scholar]
  • [39].Yao F, Müller H-G, Wang J-L, Functional data analysis for sparse longitudinal data, Journal of the American Statistical Association 100 (2005) 577–590. [Google Scholar]
  • [40].Yeo BT, Krienen FM, Sepulcre J, Sabuncu MR, Lashkari D, Hollinshead M, Roffman JL, Smoller JW, Zöllei L, Polimeni JR, et al. , The organization of the human cerebral cortex estimated by intrinsic functional connectivity, Journal of Neurophysiology (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [41].Zapata J, Oh S-Y, Petersen A, Partial separability and functional graphical models for multivariate gaussian processes, Biometrika 109 (2022) 665–681. [Google Scholar]
  • [42].Zhu H, Strawn N, Dunson DB, Bayesian graphical models for multivariate functional data, Journal of Machine Learning Research 17 (2016) 1–27. [Google Scholar]

RESOURCES