Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2026 May 13.
Published in final edited form as: Stat Comput. 2025 Jul 2;35(5):140. doi: 10.1007/s11222-025-10681-z

Subgroup Analysis of Differential Networks with Latent Variables

Linxi Li 1, Shuangge Ma 2, Qingzhao Zhang 1,3
PMCID: PMC13166169  NIHMSID: NIHMS2172201  PMID: 42130826

Abstract

Differential network analysis serves as a crucial tool in capturing variations in network rewiring patterns across different biological conditions. Real-world observational data often contain subgroup structures with differing statistical properties, potentially leading to heterogeneity among differential networks. However, existing graphical model-based heterogeneity analysis methods are designed for subgroup networks rather than differential networks. Moreover, these methods require sparsity within each network, which is ineffective for dense networks, especially when observed variables are confounded by latent (unobserved) variables. In this article, we focus on estimating differential networks between an unlabeled heterogeneous group and a baseline group, and develop subgroup analysis from the perspective of differential networks. By imposing a sparse plus low-rank structure on the baseline network and sparsity on differential networks, which characterize and balance the influence of latent variables, the proposed method allows for effective estimation of sparse differential networks and non-sparse subgroup networks. We develop an efficient computational algorithm for this purpose. Simulation studies demonstrate the competitive performance of the proposed approach over closely related alternatives. An application to a set of data on Non-Small Cell Lung Cancer (NSCLC) further confirms the utility of the methodology.

Keywords: Differential network analysis, Latent variables, Unsupervised heterogeneity analysis, Non-sparse network

1. Introduction

Network analysis provides key insights into the interactions among components of complex systems, which has become particularly popular in biological studies. Accumulated evidence suggests that interactions among components of biological systems can vastly change over (evolutionary) time, when the system responds to external stimuli, or in disease conditions (Shojaie 2021). For example, variations in gene regulatory network have been observed in cancer research. As a disease primarily driven by genetic alterations, cancer exhibits distinct gene regulatory patterns in different state or microenvironment of cancerous tissues (Tian et al. 2016; Bhuva et al. 2019; Galindez et al. 2024). This rewiring provides crucial insights into the underlying biological mechanisms. While traditional differential expression analysis remains valuable for identifying individual molecular components, differential network analysis provides complementary advantages in characterizing system-level rewiring across biological conditions(Ideker and Krogan 2012; Yuan et al. 2017; Zhang et al. 2024). There is increasing interest in inferring true differential networks to elucidate the complex mechanisms within specific biological contexts.

A fundamental idea to infer the differential network is to separately estimate individual network followed by computation of their topological differences. In the biological context, numerous well-established methodologies exist for constructing gene networks, including matrix decomposition-based models (Kim and Tidor 2003), information theory-based models (Margolin et al. 2006), Gaussian graphical models (GGMs) (Shutta et al. 2022), and more. We focus on the Gaussian graphical models, which are popular due to their ability to capture conditional dependencies among observed variables. The GGM is encoded by the sparsity pattern of the precision matrix, where the non-zero elements of the precision matrix correspond to the edges of the graph. Naturally, the differential network is defined as the differences between the corresponding precision matrices. Many successful regularization techniques are developed for separately estimating single GGMs (Meinshausen and Bühlmann 2006; Yuan and Lin 2007; Friedman et al. 2008; Mohan et al. 2012; Colombi et al. 2024). Compared to separate estimation, joint estimation takes advantage of certain similarities inherent in multiple GGMs to improve the network estimation in each GGM and then better delineate their differences (Guo et al. 2011; Danaher et al. 2014). However, such methods usually shrink both the precision matrices and the differences, their performance is therefore limited if the precision matrices are not sparse. As an alternative, direct estimation of the difference between two GGMs is proposed (Zhao et al. 2014; Yuan et al. 2017). It only assumes that the difference of the precision matrices is sparse, rather than each of the precision matrices. As a natural extension, several works further consider scenarios with joint estimation of multiple differential networks and encouraged common structure in differential networks (Zhang et al. 2017; Ou-Yang et al. 2019). We refer the readers to Shojaie (2021) and Tsai et al. (2022) for nice overviews on differential network estimation. Although the above approaches are useful in particular contexts, they are limited to estimating a single differential network of two homogeneous groups or multiple differential networks with pre-specified subgroups. There is a lack of methods to estimate differential networks from unlabeled heterogeneous population. One of the important application scenarios addressed in this paper is the analysis of cancer populations, which can be further subdivided into different molecular subgroup (referred to as heterogeneity). Our goal is to identify subgroup structures from the perspective of differential networks and simultaneously obtain specific differential networks for each subgroup. In contrast to focusing on the specific networks of each subgroup(referred to as subgroup networks), we aim to reveal the differential networks between subgroups and a specified baseline group(referred to as differential networks), characterizing the potential heterogeneity within the target population from the perspective of differential networks.

Our motivating example is the joint analysis of RNA-sequencing (RNA-seq) data from The Cancer Genome Atlas (TCGA) cancer patients and Genotype Tissue Expression project (GTEx) healthy samples. Such resources provide a great opportunity to gain better insight into complex human diseases (Wang et al. 2018), especially in exploring differences among genetics of cancer patients and healthy samples. The gene interactions in a biological network are overall stable in a particular type of normal human tissue but widely variant in diseased tissues (Chen et al. 2021). This is related to the strong heterogeneity of cancer (Pang et al. 2022), which prompts us to explore multiple differential networks corresponding to different subgroups and the baseline group. It is worth emphasizing that prior knowledge of the subgroup membership may not always be available, the patterns of differential network connections can be predictive of subgroup identification. This provides another reason for simultaneously revealing the topological representation of potential biological mechanisms and capturing the molecular heterogeneity of human cancers without prior knowledge.

Some literature conducts subgroup analysis based on finite Gaussian mixture graphical models (Gao et al. 2016; Hao et al. 2018; Ren et al. 2022). However, these methods are designed for subgroup networks themselves rather than differential networks, which are different from our purpose but provide valuable insights. Moreover, these methods require sparsity within each subgroup network, which is ineffective for dense networks. In many applications, it is clear that relationships between the observed variables are confounded by unobserved, latent factors. For example, for gene network estimation, besides observed genes, there also exist some unobserved molecules or factors (e.g., MicroRNA) in the cell that participate in the process of gene regulation (Beal et al. 2005). Another source of confounding that motivates us is the pre-selection of genes in data analysis, which can lead to the loss of information, thereby limiting a comprehensive understanding of the overall data structure. Due to confounding, the marginal precision matrix is not sparse, whereas the traditional approaches of estimating sparse Gaussian graphical models are of limited effect. To address this problem, latent variable Gaussian graphical models (LVGGMs) are proposed by Chandrasekaran et al. (2012), which exploits the observation that the marginal graph of the observed variables can be decomposed into a superposition of a sparse matrix and a low-rank matrix. This decomposition can be particularly useful when the data is corrupted by latent confounders, and some achievements have been made in the past decade (Xu et al. 2017; Na et al. 2021; Li et al. 2023; Wang et al. 2023).

Based on the above discussions, we propose a regularized graph learning approach to reconstruct differential networks between an unlabeled heterogeneous group and a baseline group, which simultaneously incorporates the non-sparsity confounded by latent variables. A diagram illustration of the proposed model is shown in Figure 1. The observations obtained consist of data from the baseline group and the unlabeled heterogeneous group. The differential network is constructed by the edge-wise subtraction of the strengths between the subgroup networks and baseline network. Due to the confounding effect of latent variables, both differential networks and subgroup networks may be non-sparse, while their differences exhibit sparsity. Borrowing from recent developments in finite mixture of Gaussian graphical models, we develop a subgroup analysis method of differential networks with latent variables under the framework of penalized likelihood. For feasibility reasons, we take a novel strategy that imposes a sparse plus low-rank structure on the baseline network, and sparsity on differential networks, which characterize and balance the influence of latent variables. This study may advance existing research in effective estimation of differential networks with unsupervised (unlabeled) heterogeneity and non-sparse subgroup networks. Although initially inspired by gene expression data analysis, the methodology demonstrates broad applicability across diverse omics modalities, including transcriptomics (RNA-seq, microarray), proteomics, and metabolomics. The framework is well-suited for comparative heterogeneous network analysis among diseases and normal states, or between control groups and target heterogeneous cohorts. Hence, it can also be employed to other system-level investigations. For example, in neuroscience, it can identify connectivity differences between task-state and resting-state functional brain networks.

Fig. 1.

Fig. 1

Illustration of the proposed method. Due to the influence of unobservable latent variables(dashed edges), the marginal graph (solid red and blue edges) may be dense, while their differences exhibit sparsity

This article extends the differential network analysis to unlabeled heterogeneous situation and allows for effective estimation of sparse differential networks and non-sparse subgroup networks. The rest of this article is organized as follows. In Section 2, the proposed subgroup analysis method is described. Section 3 presents an elaborate simulation study, where the performance of the proposed method compared to the state-of-the-art models is evaluated. An application of the new method to joint analysis of TCGA and GTEx data is given in Section 4. Finally, we conclude in Section 5 with a discussion. Additional algorithm details and numerical experiments are provided in Appendix A and Appendix B.

2. Methodology

2.1. Notation and Model Framework

Denote n as the number of independent observations xi,yi,i=1,…,n, where yi∈{0,1} indicates whether samples i belongs to heterogeneous group, i.e., yi=1 if the i-th sample is from heterogeneous group, otherwise yi=0. For all observations, p-dimensional measurement xi is available, such as the expression levels of p genes. Let n0 and n1=n-n0 denote the number of samples in the baseline and heterogeneous groups, respectively. We assume that the baseline group follows a single Gaussian distribution, while the heterogeneous group follows a mixture of K* Gaussian distributions, where K* may be unknown. Specifically, n0 samples of baseline group follow a Gaussian distribution with marginal covariance matrix 𝚺0*:

f0x;μ0*,𝚺0*=(2π)-p/2𝚺0*-1/2exp-12x-μ0*⊤𝚺0*-1x-μ0*.

The corresponding precision matrix is denoted as 𝚯0*=𝚺0*-1. To characterize the effect of latent variables, we impose LVGGM to model the network of baseline group, which leads to much milder assumption because 𝚯0* may be non-sparse. Under the framework of LVGGM, the precision matrix 𝚯0* can be represented as the sum of a sparse matrix S0* and a low-rank matrix L0*, i.e., 𝚯0*=L0*+S0*, and rankL0*=r.

Considering the unknown subgroup structures of unlabeled heterogeneous group, we further assume that the n1 samples can be divided into K* subgroups. Samples in the k-th subgroup come from the following Gaussian distribution:

fkx;μk*,𝚺k*=(2π)-p/2𝚺k*-1/2exp-12x-μk*⊤𝚺k*-1x-μk*.

Let the mixture proportions of the K* subgroups be π*=π1*,…,πK**, satisfying ∑k=1K*πk*=1. The structural information of the heterogeneous group can be characterized by the following mixture distribution:

f(x)=∑k=1K*πk*fkx;μk*,𝚺k*.

The precision matrix is denoted as 𝚯k*=Σk*-1,k=1,…,K*. The differential networks are constructed by the edge-wise subtraction of the strengths between the subgroup networks and baseline network, defined as 𝚫k*=𝚯k*-𝚯0*,k=1,…,K*. Inspired by the research of Yuan et al. (2017), we assume that the differential networks 𝚫k* are sparse, which allows for non-sparsity of subgroup networks. In our context, it helps to balance the influence of latent variables and yield interpretable differential networks.

2.2. Proposed Method

Denote μ=μ1,…,μK,𝚯=𝚯1,…,𝚯K,π=π1,…,πK, and the set of differential networks 𝚫=𝚫1,…,𝚫K. Based on the previous analysis, we have 𝚯k=S0+L0+𝚫k. To reconstruct differential networks and incorporates the non-sparsity confounded by latent variables, we propose to minimize the following penalized negative log-likelihood function for the observed data from two groups:

ℒS0,L0,μ,𝚫,π∣X≔-12logdetL0+S0+12tr𝚺^0L0+S0-1n1∑i:yi=1log(∑k=1Kπk×fkxi;μk,L0+S0+𝚫k-1)+𝒫S0,μ,𝚫, (1)

where X denotes the collection of all observed data and 𝚺^0=1n0∑i:yi=0xixi⊤ is sample covariance matrix for baseline group. The non-penalized part of the objective function comprises the negative log-likelihood (up to a constant) of samples from the baseline group and heterogeneous group. Regarding the form of penalty function, to reduce computational complexity and induce low-rank structure of L0, we adopt the reparameterization strategy L0=-U0U0⊤,U0∈Rp×r via matrix factorization techniques (Xu et al. 2017). Then -L0 is guaranteed to be a positive semidefinite matrix with rankL0≤r. To enforce other constraints on networks, we take the penalty function has the following form:

𝒫S0,μ,𝚫=∑i≠jpS0ij;λ1+∑k=1K∑i,jp𝚫kij;λ2+∑k<k′pμk-μk′22+𝚫k-𝚫k′F21/2;λ3, (2)

where ‖⋅‖F represents the Frobenius norm, p(⋅;λ) is a non-convex penalty function with tuning parameter λ>0, and K is a given constant satisfying K>K*. In numerical studies, we employ the minimax concave penalty (MCP) proposed by Zhang (2010), and other penalties such as smoothly clipped absolute deviation (SCAD) (Fan and Li 2001) may also be applicable. Denote the minimizer of (1) as (S^0,L^0,μ^,𝚫^,π^). Let (Υ^1,…,Υ^K^) represent the unique values of (𝛀^1,…,𝛀^K) with 𝛀^k=μ^k,𝚫^k. These unique values induce a partition of {1,…,K} with k:𝛀^k≡Υ^l,k=1,…,Kl=1,…,K^. Consequently, this partition results in K^ distinct subgroups. The mixture probabilities associated with these subgroups can be derived by aggregating the corresponding entries of the estimated probability vector π^.

The proposed method integrates three strategically designed penalties to achieve comprehensive regularization. The first two penalty terms in (2) correspond to the conditional sparsity of LVGGM (Chandrasekaran et al. 2012) and differential sparsity of differential networks, respectively. The third term introduces a fusion penalty strategy effectively compressing the initial value of K through data-driven identification of subgroup numbers. Different from the fusion strategy of Ren et al. (2022), we conduct subgroup analysis from the perspective of differential networks, rather than the network itself. Compared with the work of Na et al. (2021), we impose low-rank plus sparse decomposition for the baseline network and sparsity for each differential network, rather than imposing low-rank plus sparse decomposition for each differential network. In addition, our differential network analysis is designed for unsupervised heterogeneity. The proposed method can be interpreted as a joint estimation framework that combines matrix factorization to jointly estimate baseline group networks and multi-group differential networks. By leveraging cross-group information sharing, the joint estimation strategy improves parameter estimation.

2.3. Model Estimation

To solve the optimization problem (1), we develop a block coordinate descent algorithm for optimizing the reparameterized objective function as Algorithm 1 described, which involves updating the estimation of (U0,S0) and (μ,𝚫,π) iteratively while holding the others fixed until convergence. Convergence is reached when the difference of loss function between two consecutive estimates falls below a pre-defined threshold (taken as 0.01 in our numerical study). We adopt the same initialization strategy of Xu et al. (2017). Given U0(t-1),S0(t-1) and L0(t-1)=-U0(t-1)U0(t-1)⊤, the update for μ(t),𝚫(t),π(t) can be written as minimizing

ℓ1(μ,𝚫,π∣X)≔-1n1∑i:yi=1log∑k=1Kπk×fkxi;μk,L0(t-1)+S0(t-1)+𝚫k-1+∑k=1K∑i,jp𝚫kij;λ2+∑k<k′pμk-μk′22+𝚫k-𝚫k′F21/2;λ3. (3)

We apply the Expectation-Maximum(EM) and Alternating Direction Method of Multipliers (ADMM) algorithm for optimizing (3). Given fixed U0(t-1),S0(t-1), the process of solving 𝚯k or 𝚫k is equivalent, because the difference between them is fixed as 𝚯0(t-1). For simplicity of notation, we rewrite the sub-objective function to solve 𝚯k instead of 𝚫k, and compute 𝚫k by 𝚫k=𝚯k-𝚯0(t-1) as the final result. Then (3) is equivalent to

ℓ~1(μ,𝚯,π∣X)≔-1n1∑i:yi=1log∑k=1Kπk×fkxi;μk,𝚯k-1+𝒫(μ,𝚯),

where

𝒫(μ,𝚯)=∑k=1K∑i,jp𝚯kij-𝚯0ij(t-1);λ2+∑k<k′pμk-μk′22+𝚯k-𝚯k′F21/2;λ3.

In the m–step of the EM algorithm, the following penalized log-likelihood function for the complete data needs to be minimized:

Eγ∣X,μ,𝚯ℓ~1(μ,𝚯,π∣X,γ)=-1n1∑i:yi=1∑k=1Kγik(m)logπk+logfkxi;μk,𝚯k-1+𝒫μ,𝚯, (4)

where γik(m) can be computed based on πk(m-1),μk(m-1), and 𝚯k(m-1) obtained in the previous iteration, that is,

γik(m)=πk(m-1)fkxi;μk(m-1),𝚯k(m-1)-1∑k=1Kπk(m-1)fkxi;μk(m-1),𝚯k(m-1)-1. (5)

Given γik(m), the maximization step minimizing (4) with respect to (μ,𝚯,π), which yields the update of parameters. More calculation details can be found in the Appendix B.

Given μ(t),𝚫(t),π(t), the update for U0(t),S0(t) is the minimizer of

ℓ2U0,S0∣X≔-12logdet-U0U0⊤+S0+12tr𝚺^0-U0U0⊤+S0-1n1∑i:yi=1log∑k=1Kπk(t)fkxi;μk(t),-U0U0⊤+S0+𝚫k(t)-1+∑i≠jpS0ij;λ1. (6)

The sub-objective function (6) can be solved by alternating proximal gradient descent algorithm, which performs one-step gradient descent for U0 and S0 alternately as described in Algorithm 1. Denote 𝚯0(s-1)=-U0(s-1)U0⊤(s-1)+S0(s-1), the gradient for S0,U0 is

∇S0=-12𝚯0(s-1)-1+12𝚺^0-1n1∑i:yi=1∑k=1Kγik𝚯0(s-1)+Cik(t),∇U0=∇S0×-2U0(s-1),Cik(t)=𝚫k(t)-xi-μk(t)xi-μk(t)⊤.

For convenience, the step sizes α and α′ are taken as 0.01 in our numerical study. ℋλ1(⋅) is the proximal operator for MCP penalty with tuning parameter λ1, defined as

ℋλ1(c)=STλ1(c)(1-1/a)if|c|⩽aλ1,cif|c|>aλ1.

where STλ1(⋅) is the soft thresholding operator, a is taken as 3 which controls the concavity of the MCP penalty function.

Algorithm 1.

Initialize U0(0),S0(0)
Repeat for t=1,2,3,…
1. Given U0(t-1),S0(t-1), update μ(t),𝚫(t),π(t) as the minimizer of (3).
 Repeat for m=1,2,3,… as follows:
(1) E-step: Update the subpopulation assignment γik(m) using (5)
(2) M-step: Update μ(m),𝚫(m),π(m) (details are provided in Appendix B).
2. Given μ(t),𝚫(t),π(t), update U0(t),S0(t) as the minimizer of (6).
 Repeat for s=1,2,3,… as follows:
(1) Update S0(s):
S0(s)=ℋλ1S0(s-1)-α∇S0ℓ2U0(s-1),S0(s-1).
(2) Update U0(s):
U0(s)=U0(s-1)-α′∇U0ℓ2U0(s-1),S0(s-1).
3. Repeat Step 1 and 2 until convergence.

2.4. Selection of Tuning Parameters

The proposed approach involves three tuning parameters Λ≔λ1,λ2,λ3. In the high-dimensional scenario, it becomes imperative to consider computational efficiency when exploring a grid of λ1×λ2×λ3 penalty parameter combinations. Unless employing a coarse grid structure for these parameters or dedicating considerable time to pinpointing the optimal set, it is advisable to opt for information criteria over computationally intensive techniques like cross-validation. To mitigate computational burdens, we follow a line search approach for tuning parameter selection, as suggested in Hao et al. (2018). In detail, we fix λ2 and λ3 at their median value of the given range and conduct a grid search over λ1. Then with tuned λ1 and median value of λ3, we conduct a grid search over λ2. The line search for λ3 is the same. In our framework, the tuning parameters are selected through the following AIC-type selection criterion:

AIC(Λ)=-logdet-U^0U^0⊤+S^0+tr𝚺^0-U^0U^0⊤+S^0-2n1∑i:yi=1log∑k=1K^πk×fxi;μ^k,-U^0U^0⊤+S^0+𝚫^k-1+2n0pr+s0+∑k=1K^2n1s1k+s2k, (7)

where s0 is the number of non-zero elements in S^0,s1k,s2k is the number of non-zero elements in μ^k and 𝚫^k respectively.

3. Simulation

The proposed methods are tested on several synthetic data in various situations. In our simulation settings, the true number of subgroups is set to K*=3, the number of variables is set as p=100. We fix the sample size for the heterogeneous group at n1=1500. The observations are generated as follows:

  • For samples of baseline group: Firstly, generate a randomly sparse symmetric positive definite matrix 𝚯~∈R(p+r)×(p+r) with sparsity s, which means that the number of connections in the network is approximately s×(p+r)2. Specifically, generate an upper triangular matrix A0, where the upper triangular elements are non-zero with a probability of s/2. The non-zero values are generated from a uniform distribution in the range [−1, 1]. Let the lower triangular elements of this matrix be equal to the upper triangular elements, resulting in the symmetric matrix A~0. To further obtain a positive definite matrix, set 𝚯~=A~0+(0.1+λminA~0Ip+r, where λmin(⋅) denotes the minimum eigenvalue of the matrix. Ip+r is the (p+r)×(p+r) identity matrix. Based on the conclusions from the LVGGM, we calculate its sparse component S0*≔𝚯~1:p;1:p. The low-rank component L0*≔-𝚯~1:p;(p+1):(p+r)×𝚯~(p+1):(p+r);(p+1):(p+r)-1×𝚯~(p+1):(p+r);1:p. Consequently, we generate n0 samples from 𝒩0,𝚯0*-1, where 𝚯0*=S0*+L0* is the true precision matrix corresponding to the observed samples of baseline group.

  • For samples of heterogeneous group: Initially generate K* random sparse symmetric matrices Dk∈Rp×p (consistent with the generation method for the basaline network), with sparsity level s. We obtain 𝚯k=Dk+𝚯0*. To ensure the positive definiteness of the true precision matrix 𝚯k*, we set 𝚯k*=𝚯k+(0.1+λmin𝚯kIp. Consequently, we have 𝚫k*=𝚯k*-𝚯0*. The first 8 components of the mean vector μk* are set to μ14⊤,-μ14⊤⊤Iηi=1+μ18Iηi=2+(-μ)18Iηi=3, where 14 is a vector of length 4 with all components equal to 1. The remaining p-8 components are set to zero. Set the mixture probabilities π*=π1*,π2*,π3*, the subgroup labels ηi are randomly sampled from {1, 2, 3} according to mixture probabilities. Subsequently, based on the value of ηi, generate samples from the corresponding subgroup distribution: xi~𝒩μηi*,Θηi*-1.

We comprehensively observe and evaluate the performance of the proposed method under different scenarios, including different values for r,s,n0,μ* and π*. With the proposed approach, we set the rank of the low-rank matrix to the true value r. Informal exploration of various values of K>3 yield consistent results, prompting the decision in this study to set a fixed K=6. To comprehensively evaluate our method, we consider the following competing methods:

  • Separate: When updating the mixture distribution parameters of the heterogeneous part, the precision matrix information of the baseline group is not considered. This is similar to the approach by Ren et al. (2022), which is based on the sparse assumption of precision matrix. To obtain the differential networks, we directly subtract the baseline network estimated by Xu et al. (2017).

  • SCAN: We apply the simultaneous clustering and estimation of heterogeneous graphical models (SCAN) (Hao et al. 2018) method to estimate the networks of the heterogeneous group, which requires the subgroup number is equal to the true value. We consider both cases of K=6 and K=3 in the comparison, representing scenarios of incorrectly and correctly specified subgroup number, respectively. The differential networks are estimated similar to Separate method, which subtracts the baseline network from the heterogeneous networks directly.

  • K-means+JGL: The Joint Graphical Lasso (Danaher et al. 2014) method also considers the presence of similar structures among multiple correlated graphs but requires known subgroup labels. We first use the K-means algorithm to obtain sample subgroup labels and then apply the Joint Graphical Lasso method to estimate precision matrices. This methodology is implemented using the R packages NbClust and JGL. Similarly, we consider cases of K=6 and K=3. We apply K-means+JGL to estimate the network structure of the heterogeneous group. The calculation of the differential networks follows the same procedure as described for the Separate and SCAN method.

  • K-means+D-trace: The method of Yuan et al. (2017) is based on the D-trace loss and directly estimates the differential network by applying a sparse penalty to the differential precision matrix without estimating the precision matrix itself. Unlike Separate, SCAN, and K-means+JGL, this method does not require estimating the precision matrices. Given the problem setting in this paper, we first obtain sample subgroup labels through the K-means algorithm and then train differential networks. Similarly, we consider both K=6 and K=3 scenarios.

Among the competing methods, Separate involves three hyperparameters, SCAN and JGL operates with two regularization parameters (with SCAN’s mean penalty removed for fairness of comparison) and D-trace requires only a single tuning parameter. We systematically employ the AIC criterion for tuning parameters selection across all competing methods, and conduct a line search to determine the optimal parameters configurations (except for D-race, which involves only one tuning parameter). Figure 2 presents a simple example with ten nodes to illustrate the effectiveness of proposed method compared to other alternative methods. In this toy example, both the Proposed method and the Separate method accurately identify the true number of subgroups (K*=3) with an initial value K=6. Intuitively, the method pro-posed performs better in achieving effective estimation of both sparse differential networks and non-sparse subgroup networks. To numerically gauge performance of the proposed and alternative approaches, we consider the following measures:

  • Estimate errors of low-rank and sparse components and precision matrices of the baseline group in terms of Frobenius norm. Denote as S^0-S0*F,L^0-L0*F and 𝚯^0-𝚯0*F, where L^0=-U^0U^0⊤.

  • Proportion of K^=K* (denoted as Per).

  • Mean and standard deviation of K^.

  • Clustering error of subgroup division, defined as
    CE(φ^,φ)≔n2-1×∣(i,j):Iφ^xi=φ^xj≠Iφxi=φxj;i<j∣,

    where φ^ and φ are the estimated and true subgroup divisions.

  • Root Mean Squared Error (RMSE) of μ and 𝚫. When K^=K*, RMSE is defined as ∑k=1K*μ^k-μk*2/K*,∑k=1K*𝚫^k-𝚫k*F/K*. When K^≠K*, RMSE is defined as
    RMSE(μ)=1K^∑k=1K^∑l′=1K*μ^k-μl′*2×Il′=argminlμ^k-μl*22+𝚫^k-𝚫l*F2,RMSE(𝚫)=1K^∑k=1K^∑l′=1K*𝚫^k-𝚫l′*F×Il′=argminlμ^k-μl*22+𝚫^k-𝚫l*F2.
  • True/False Positive Rates (TPR/FPR) for the identification of non-zero elements in the off-diagonal of the differential precision matrix. When K^=K*, defined as
    TPR=∑k=1K*∑i<jI𝚫kij≠0,𝚫^kij≠0∑k=1K*∑i<jI𝚫kij≠0,FPR=∑k=1K*∑i<jI𝚫kij=0,𝚫^kij≠0∑k=1K*∑i<jI𝚫kij=0.

    When K^≠K*, the definitions are modified accordingly, similar to the RMSE definition.

Fig. 2.

Fig. 2

An example illustrating network reconstruction results of the proposed method and other alternative methods. Red and blue edges represent correctly inferred interactions of differential networks and subgroup networks, while gray edges indicate incorrectly inferred interactions

With 100 replicates, summary results of Simulation 1 under the setting of r=2,s=0.02,μ=1.5 with balanced and imbalanced designs are shown in Table 1. Results for other combinations of r=5,s=0.05,μ=2 are shown in tables of the AppendixA. Observations made under different settings are similar. For the result of Simulation 1, the proposed method correctly identifies the number of subgroups at a high rate, outperforming the subgroup identification rate under separate estimation. For example, in a fully balanced setting with n0=1500 and π*=(1/3,1/3,1/3), the proposed method correctly identifies the number of subgroups with a rate of 93%, while the separate estimation achieves a correct identification rate of 27%. Compared to the separate estimation method, the proposed method improves the ability to estimate the baseline group network. This improvement is reflected in a smaller 𝚯^0-𝚯0*F. With an increase in the number of baseline samples, there is a improvement in the estimation of the baseline group network, leading to enhanced subgroup identification, clustering, and collaborative enhancement of network estimation for the heterogeneous group. In situations where the heterogeneous group exhibits an imbalanced mixture ratio, there is a certain degree of decline in the performance of evaluation measures. This is due to the challenges posed by the imbalanced characteristics to the parameter identification and estimation of the heterogeneous group, thereby affecting the estimation of the baseline group and causing simultaneous deterioration in both estimates. When the correct number of subgroups is assumed, SCAN and K-means methods demonstrate satisfactory advantages in clustering performance, reflected in lower CE. With an increase in the number of samples in baseline group, the advantages of these methods gradually diminish. Meanwhile, their clustering result does not exhibit ideal performance when the number of subgroups is incorrect.

Table 1.

Simulation 1 (r=2,s=0.02,μ=1.5) results under balanced and unbalanced settings: mean (standard deviation)

Setting Method Baseline group Heterogeneous group
S^0-S0*F L^0-L0*F 𝚯^0-𝚯0*F Per K^ CE RMSE({μ}) RMSE({𝚫}) TPR({𝚫}) FPR({𝚫})
n0=1500,π*=(1/3,1/3,1/3) Proposed 1.650 (0.220) 0.965 (0.181) 1.661 (0.218) 0.930 (0.256) 2.940 (0.397) 0.025 (0.118) 0.525 (0.602) 4.540 (0.731) 0.720 (0.142) 0.015 (0.009)
Separate 1.772 (0.354) 0.920 (0.190) 1.769 (0.330) 0.270 (0.446) 3.410 (0.753) 0.035 (0.080) 1.372 (0.822) 10.498 (1.896) 0.673 (0.111) 0.216 (0.049)
SCAN(K=6) – – – 0.000 (0.000) 6.000 (0.000) 0.166 (0.001) 2.502 (0.078) 5.993 (0.423) 0.746 (0.043) 0.194 (0.046)
SCAN(K=3) – – – 1.000 (0.000) 3.000 (0.000) 0.000 (0.000) 0.377 (0.037) 4.708 (0.371) 0.834 (0.037) 0.205 (0.046)
K-means(K=6)+JGL – – – 0.000 (0.000) 6.000 (0.000) 0.167 (0.001) 2.571 (0.075) 5.945 (0.410) 0.751 (0.042) 0.194 (0.046)
K-means(K=3)+JGL – – – 1.000 (0.000) 3.000 (0.000) 0.003 (0.012) 0.385 (0.074) 4.752 (0.399) 0.834 (0.036) 0.205 (0.046)
K-means(K=6)+D-trace – – – 0.000 (0.000) 6.000 (0.000) 0.167 (0.001) 2.690 (0.399) 5.687 (0.983) 0.682 (0.092) 0.020 (0.015)
K-means(K=3)+D-trace – – – 1.000 (0.000) 3.000 (0.000) 0.003 (0.012) 0.385 (0.074) 6.275 (1.103) 0.531 (0.136) 0.002 (0.003)
n0=1500,π*=(1/6,1/3,1/2) Proposed 1.653 (0.229) 0.954 (0.174) 1.660 (0.221) 0.900 (0.302) 3.000 (0.471) 0.023 (0.106) 0.617 (0.662) 4.670 (0.752) 0.677 (0.137) 0.015 (0.010)
Separate 1.772 (0.354) 0.920 (0.190) 1.769 (0.330) 0.290 (0.456) 2.690 (0.787) 0.057 (0.056) 1.171 (0.709) 8.900 (1.466) 0.726 (0.088) 0.225 (0.049)
SCAN(K=6) – – – 0.000 (0.000) 6.000 (0.000) 0.201 (0.013) 2.494 (0.104) 6.247 (0.453) 0.724 (0.047) 0.195 (0.046)
SCAN(K=3) – – – 1.000 (0.000) 3.000 (0.000) 0.000 (0.000) 0.421 (0.075) 4.957 (0.384) 0.817 (0.042) 0.208 (0.045)
K-means(K=6)+JGL – – – 0.000 (0.000) 6.000 (0.000) 0.202 (0.013) 2.560 (0.096) 6.195 (0.471) 0.731 (0.046) 0.196 (0.046)
K-means(K=3)+JGL – – – 1.000 (0.000) 3.000 (0.000) 0.013 (0.044) 0.507 (0.370) 5.046 (0.444) 0.813 (0.043) 0.208 (0.045)
K-means(K=6)+D-trace – – – 0.000 (0.000) 6.000 (0.000) 0.202 (0.014) 2.666 (0.384) 5.770 (0.959) 0.670 (0.089) 0.024 (0.018)
K-means(K=3)+D-trace – – – 1.000 (0.000) 3.000 (0.000) 0.018 (0.054) 0.556 (0.482) 4.563 (0.500) 0.799 (0.043) 0.148 (0.041)
n0=3000,π*=(1/3,1/3,1/3) Proposed 0.987 (0.186) 0.765 (0.195) 0.953 (0.137) 0.930 (0.256) 3.000 (0.318) 0.011 (0.072) 0.514 (0.583) 4.314 (0.679) 0.719 (0.113) 0.014 (0.009)
Separate 1.008 (0.224) 0.782 (0.197) 0.990 (0.167) 0.290 (0.456) 3.460 (0.731) 0.028 (0.074) 1.256 (0.634) 10.009 (1.910) 0.648 (0.101) 0.156 (0.046)
SCAN(K=6) – – – 0.000 (0.000) 6.000 (0.000) 0.166 (0.001) 2.498 (0.086) 5.529 (0.357) 0.721 (0.046) 0.132 (0.041)
SCAN(K=3) – – – 1.000 (0.000) 3.000 (0.000) 0.000 (0.000) 0.377 (0.032) 4.193 (0.280) 0.819 (0.036) 0.144 (0.041)
K-means(K=6)+JGL – – – 0.000 (0.000) 6.000 (0.000) 0.167 (0.001) 2.571 (0.082) 5.500 (0.352) 0.723 (0.043) 0.132 (0.041)
K-means(K=3)+JGL – – – 1.000 (0.000) 3.000 (0.000) 0.003 (0.013) 0.385 (0.072) 4.237 (0.340) 0.818 (0.037) 0.144 (0.041)
K-means(K=6)+D-trace – – – 0.000 (0.000) 6.000 (0.000) 0.167 (0.001) 2.676 (0.375) 5.652 (0.997) 0.694 (0.082) 0.024 (0.022)
K-means(K=3)+D-trace – – – 1.000 (0.000) 3.000 (0.000) 0.003 (0.013) 0.385 (0.072) 6.239 (1.115) 0.547 (0.134) 0.002 (0.004)
n0=3000,π*=(1/6,1/3,1/2) Proposed 0.997 (0.207) 0.761 (0.203) 0.963 (0.169) 0.900 (0.302) 2.930 (0.498) 0.033 (0.135) 0.661 (0.796) 4.560 (0.856) 0.657 (0.176) 0.014 (0.009)
Separate 1.008 (0.224) 0.782 (0.197) 0.990 (0.167) 0.260 (0.441) 2.840 (0.849) 0.049 (0.055) 1.170 (0.581) 8.739 (1.737) 0.700 (0.101) 0.165 (0.046)
SCAN(K=6) – – – 0.000 (0.000) 6.000 (0.000) 0.202 (0.013) 2.494 (0.114) 5.797 (0.430) 0.707 (0.047) 0.133 (0.041)
SCAN(K=3) – – – 1.000 (0.000) 3.000 (0.000) 0.002 (0.017) 0.452 (0.229) 4.456 (0.359) 0.804 (0.040) 0.148 (0.041)
K-means(K=6)+JGL – – – 0.000 (0.000) 6.000 (0.000) 0.203 (0.014) 2.557 (0.109) 5.739 (0.406) 0.711 (0.047) 0.134 (0.041)
K-means(K=3)+JGL – – – 1.000 (0.000) 3.000 (0.000) 0.018 (0.054) 0.556 (0.482) 4.563 (0.500) 0.799 (0.043) 0.148 (0.040)
K-means(K=6)+D-trace – – – 0.000 (0.000) 6.000 (0.000) 0.203 (0.014) 2.666 (0.376) 5.721 (0.963) 0.689 (0.100) 0.031 (0.028)
K-means(K=3)+D-trace – – – 1.000 (0.000) 3.000 (0.000) 0.018 (0.054) 0.556 (0.482) 6.282 (1.082) 0.542 (0.144) 0.003 (0.004)

In terms of differential precision matrix estimation, when the true number of subgroups is known, both SCAN(K = 3) and K-means(K = 3)+JGL demonstrate enhanced estimation performance due to their incorporation of accurate structural prior information (i.e., the true number of subgroups). Nevertheless, under these idealized conditions, our proposed method maintains a competitive edge, achieving the lowest RMSE values in most simulation in Table1. This relative advantage, however, diminishes progressively as network estimation complexity escalates, particularly with increased network density and confounding factors. This phenomenon highlight the importance of subgroup number in network learning. Notably, it is worth noting that in practical application scenarios, the actual number of subgroups is often unavailable, which makes it difficult to meet the preset conditions of SCAN(K = 3) and K-means(K = 3)+JGL. As shown from the results, the effectiveness of two step combinations of existing methods relies on prior information accuracy. For competing methods, except for the D-trace method, which is based on differential sparsity assumption, they model the precision matrix itself by imposing sparse penalties, generally showing higher FPR. Both the D-trace method and the proposed method are based on the differential sparsity assumption. Although the D-trace method has the lowest FPR when the true number of subgroups is given, the corresponding TPR is relatively low. In contrast, the proposed method maintains a moderate level of FPR while achieving higher TPR.

4. Application

In a global context, the incidence and mortality rates of cancer are gradually increasing, with lung cancer being the most common type. NSCLC is the leading cause of cancer-related mortality and accounts for 85% of lung cancers (Lahiri et al. 2023). In this section, we conduct a heterogeneous differential network analysis of NSCLC based on two public databases, TCGA and GTEx. We analyze the TcgaTargetGtex gene expected count dataset (Vivian et al. 2017) provided by UCSC Xena toilHub, where TCGA and GTEx samples are re-analyzed by the same RNA-seq pipeline. This dataset provides RNA-seq data for TCGA cancer samples from 16 primary sites and GTEx normal tissues. It is quantified using RNA-Seq by Expectation Maximization (RSEM) after unified read alignment, allowing for analysis of normal and cancer gene expression matrices under the same conditions. Because all samples are processed using a uniform bioinformatic pipeline, batch effects due to different computational processing is eliminated. We analyze a total of 797 TCGA NSCLC primary cancer samples, along with 288 GTEx normal lung tissue samples. The gene interactions within a biological network generally remain stable in normal lung tissue but exhibit significant variability in diseased tissues (Chen et al. 2021). Naturally, we take normal samples as the baseline group and NSCLC samples as the heterogeneous group. The gene set used in this study is derived from the Kyoto Encyclopedia of Genes and Genomes (KEGG)(Ogata et al. 1999) database, consisting of 72 genes playing important roles in NSCLC pathways.

When implementing our proposed approach, we set K=6 as the initial number of subgroups, which should be large enough. We adjust r and tuning parameters through line search, with the algorithm step size chosen consistently with the strategy adopted in Xu et al. (2017) empirical analysis. Based on the AIC criterion in Formula (7), the line search selects rank of r=6. Following the implementation, we successfully identify three subgroup structures containing 462, 208, and 127 samples, respectively. Figure 3 visually displays the differential network structures corresponding to these three subgroups, with 273, 255, and 233 edges, respectively. The top 15 genes with the highest connectivity in these networks are marked in red. Additionally, Table 2 shows the overlap of edges in these three differential networks. The significant overlap of edges in these three differential networks reveals substantial commonalities among subgroups of NSCLC at the level of network variation.

Fig. 3.

Fig. 3

Identified differential network structures corresponding to each subgroup (The top 15 genes with the highest connectivity are marked in red). Hub genes with connectivity in the differential network estimated by the method in this article (after standardization)

Table 2.

Overlap of identified differential networks

Subgroup1 Subgroup2 Subgroup3
Subgroup1 273 208 194
Subgroup2 – 255 208
Subgroup3 – – 233

Lung cancer is a highly heterogeneous disease with many forms of categorization. The main histological subtypes of NSCLC classified by the World Health Organization (WHO) are lung adenocarcinoma (LUAD) and lung squamous cell carcinoma (LUSC). This subtype label for each patient in our dataset is available. We compare our unsupervised heterogeneous analysis results with the histological classification obtained. Table 3 shows that our network-based subgroups are correlated with the classic subtypes. For example, LUSC subtypes are primarily distributed in the first group identified by our method, while LUAD subtypes are mainly in the second group. However, there are differences between the two grouping results. Our method more finely divides subgroups into three groups, with the third group containing a significant number of both LUAD and LUSC samples.

Table 3.

Comparison of our unsupervised heterogeneity analysis results with obtained histological classification

Subgroup1 Subgroup2 Subgroup3 Sum
LUAD 64 185 71 320
LUSC 398 23 56 477
Sum 462 208 127 797

Considering the application of other competing methods, we follow the abbreviations of five alternative methods used in the simulation. The Separate method automatically select the number of subgroups automatically, and we also set K=6 as the initial subgroup number. For the comparison method that requires specifying the number of subgroups, we consider the case where K is set to 2 (the number of histological classification) and K=3. For a fair comparison, we fix r=6 in each alternative method. The selection of other tuning parameters is obtained through line search. The number of subgroups estimated by these methods, clustering error(refer to histological classification), and the total number of edges in the differential network are reported in Table 4. In contrast, the subgroup analysis based on differential networks proposed in this article shows more reasonable results. Unlike sparse estimation of the precision matrix, our method and D-trace method are based on the assumption of differential sparsity. Therefore, an interpretable sparse differential network structure is obtained.

Table 4.

The clustering results of each method (refer to histological classification) and the total number of edges in the differential network estimation

Method K^ CE Number
Proposed 3 0.302 761
Separate 5 0.426 7491
K-means(K=2) – 0.471 –
K-means(K=3) – 0.484 –
SCAN(K=2) – 0.500 5008
SCAN(K=3) – 0.438 7509
K-means(K=2)+JGL – – 5014
K-means(K=3)+JGL – – 7509
K-means(K=2)+D-trace - – 1279
K-means(K=3)+D-trace – – 874

A key challenge in differential network analysis is the absence of ground-truth networks for validation. Therefore, directly comparing the accuracy of different methods in estimating differential networks becomes difficult. To assess the performance of methods, we adopt another strategy: quantifying whether the set of hub nodes in differentially estimated networks can capture known functionally important genes. We hypothesize that methods performing better in capturing functionally important genes may also have superior performance in inferring differential networks. Based on our estimation results, we select the top 15 genes with the highest connectivity in each differential network as hub nodes. Figure 3 summarizes the hub nodes for three subgroups, displaying the number of connecting edges in their respective networks (normalized results, i.e., the number of edges connected by hub genes divided by the total number of edges in the network). Molecular-targeted therapy played an increasingly important role, particularly in genetically defined subgroups of patients. Among these hub nodes, EML4-ALK is a crucial fusion gene closely related to the occurrence and development of NSCLC. Targeted therapy against the EML4-ALK fusion gene is widely applied in personalized treatment for patients with LUAD (Lei et al. 2022). EGFR gene mutations have been extensively studied as biomarkers in clinical practice, serving as targets for cancer treatment (Fang et al. 2015). Ding et al. (2020) observe distinct patterns in the somatic mutation spectra between LUAD and LUSC. Compared to LUSC patients, LUAD patients exhibite more widespread oncogenic driver gene mutations, including EGFR deletion, ALK fusion, RET fusion, etc. Abnormal activation of EGFR in NSCLC can lead to the aberrant activation of multiple signaling pathways, including the RAS-MAPK pathway and PI3K-AKT-mTOR pathway, promoting the unlimited proliferation, survival, and invasion of cancer cells.

Our study demonstrate the potential of differential networks to explore cancer subtypes. We identify three network-based subgroups, revealing the substantial heterogeneity reflected in the differential networks of NSCLC patients. These subgroups are closely related to the histological classification. The philosophy of precision medicine advocates developing personalized treatment plans tailored to the unique characteristics of cancer. Therefore, it is important to focus on the unique patterns displayed in individual cancer samples to determine the most promising treatment strategy for patients. Our differential network subgroup analysis will promote the development of precision medicine. Although our experiment is conducted on NSCLC, the application of our method should not be limited to this single type of cancer. As long as there are corresponding samples as the baseline group, this method can be widely applied to subgroup and differential network analysis of any given heterogeneous samples. Therefore, it is a powerful resource that helps us to better understand the biological network changes that occur in individual patients.

5. Discussion

In this study, we develop a subgroup analysis of differential networks with latent variables under the framework of penalized likelihood, which characterizes the heterogeneity of differential networks between an unlabeled heterogeneous group and a baseline group. Simulation studies demonstrate satisfactory performance of network estimation and subgroup identification. The ability to estimate the baseline group network is enhanced, as the heterogeneous component provides auxiliary information for baseline group network in the joint estimation. Besides, the proposed method demonstrates relative advantages in clustering performance and differential network estimation. This strength benefits from the co-optimization strategy integrating subgroup division and network difference estimation. The fusion penalty mechanism enables data-driven determination of subgroup number, while also allowing users to specify the number of subgroups based on prior knowledge(by setting λ3=0), demonstrating strong adaptability. Joint analysis of GTEx and TCGA data revealed that the proposed approach can provide a new view of disease heterogeneity, and the validity of the analysis has some indirect support. The proposed method is suitable for comparing network changes across different states (e.g., disease progression or pathological subtype differentiation). Beyond network analysis of omics data like gene expression, it is also applicable to other system-level investigations. For example, in neuroscience, it can identify connectivity differences between task-state and resting-state functional brain networks.

There are many directions for future research. Firstly, this paper primarily focuses on methodological and applied aspects, while theoretical foundations remain an underdeveloped area. Specifically, analyzing sparse plus low-rank structure under finite mixture of Gaussian graphical models demands the development of novel proof techniques, while the proposed joint modeling framework further complicates the theoretical analysis. Secondly, it is important to address the inherent assumption in our proposed method, which assumes independence between normal and cancer samples. To enhance the applicability of our method, future work should address paired sample analysis. For example, TCGA provides cancer tissue specimens and normal tissue specimens from the same patients. This involves explaining the interdependence between samples. Last but not least, our proposed method can be extended to accommodate non-normal data. An interesting work is to explore matrix variable differential network analysis using matrix normal mixture technology. The proposed method allows for analysis of multiple data types or patterns.

Acknowledgements

We acknowledge the Editor and four reviewers for their comments that improved the quality of the paper. This study is partially supported by the Humanities and Social Science Foundation of Ministry of Education of China 24YJA910007, NIH CA204120 and NSF 2209685.

Appendix A. Additional simulation results

In the setting of r=5,s=0.02,μ=1.5, we summarize the model performance of samples under balanced and unbalanced designs in Table 5. As the number of latent variables increases, the network estimation for the baseline group slightly decreases compared to the results when r=2. It is consistent with the findings of Xu et al. (2017). However, the proposed method shows an improvement in the proportion of identified subgroups for the heterogeneous group. Its advantage gradually becomes apparent in sample clustering. It is noteworthy that, in terms of the estimation of differential networks, the FPR of the other comparative methods, except for D-trace, significantly increases with the influence of an increased number of latent variables. The TPR of the D-trace method slightly decreases, whereas the proposed method remains stable without showing a pronounced change.

The model performance of the setting of r=5,s=0.05,μ=1.5 is summarized in Table 6. We observe a declining trend in the performance of the methods represented by various metrics compared to the results when s=0.02 in Table 5, as the sparsity of the network increases. This can be explained by the decrease in network sparsity leading to an increase in the number of parameters to be estimated, thereby affecting the model’s performance under the same sample size. In terms of the proportion of identified subgroups, a trend contrary to the previous findings emerge, which we attribute to the randomness inherent in the simulation process. However, upon examining other metrics under this setting, our conclusions align with those in Table 1 of the main text.

Table 5.

Simulation 2 (r=5,s=0.02,μ=1.5) results under balanced and unbalanced settings: mean (standard deviation)

Setting Method Baseline group Heterogeneous group
S^0-S0*F L^0-L0*F 𝚯^0-𝚯0*F Per K^ CE RMSE({μ}) RMSE({𝚫}) TPR({𝚫}) FPR({𝚫})
n0=1500,π*=(1/3,1/3,1/3) Proposed 1.710 (0.239) 1.461 (0.207) 1.772 (0.228) 0.960 (0.197) 2.990 (0.266) 0.009 (0.070) 0.440 (0.345) 4.429 (0.613) 0.727 (0.121) 0.017 (0.011)
Separate 1.701 (0.215) 1.574 (0.190) 1.832 (0.222) 0.360 (0.482) 3.460 (0.658) 0.020 (0.062) 1.142 (0.637) 10.360 (1.794) 0.773 (0.080) 0.446 (0.054)
SCAN(K=6) – – – 0.000 (0.000) 6.000 (0.000) 0.166 (0.001) 2.486 (0.083) 5.860 (0.401) 0.821 (0.037) 0.432 (0.053)
SCAN(K=3) – – – 1.000 (0.000) 3.000 (0.000) 0.000 (0.000) 0.374 (0.032) 4.588 (0.346) 0.885 (0.028) 0.440 (0.052)
K-means(K=6)+JGL – – – 0.000 (0.000) 6.000 (0.000) 0.167 (0.001) 2.555 (0.079) 5.835 (0.394) 0.823 (0.035) 0.432 (0.053)
K-means(K=3)+JGL – – – 1.000 (0.000) 3.000 (0.000) 0.002 (0.005) 0.376 (0.040) 4.614 (0.348) 0.885 (0.028) 0.440 (0.052)
K-means(K=6)+D-trace – – – 0.000 (0.000) 6.000 (0.000) 0.167 (0.001) 2.621 (0.290) 5.693 (0.956) 0.692 (0.084) 0.023 (0.019)
K-means(K=3)+D-trace – – – 1.000 (0.000) 3.000 (0.000) 0.002 (0.005) 0.376 (0.040) 6.172 (0.996) 0.553 (0.114) 0.002 (0.003)
n0=1500,π*=(1/6,1/3,1/2) Proposed 1.703 (0.220) 1.451 (0.206) 1.758 (0.219) 0.910 (0.288) 2.970 (0.388) 0.017 (0.088) 0.549 (0.531) 4.580 (0.668) 0.700 (0.121) 0.019 (0.012)
Separate 1.701 (0.215) 1.574 (0.190) 1.832 (0.222) 0.220 (0.416) 2.680 (0.827) 0.061 (0.056) 1.193 (0.570) 8.784 (1.740) 0.809 (0.075) 0.455 (0.056)
SCAN(K=6) – – – 0.000 (0.000) 6.000 (0.000) 0.206 (0.016) 2.461 (0.118) 6.069 (0.411) 0.805 (0.042) 0.432 (0.053)
SCAN(K=3) – – – 1.000 (0.000) 3.000 (0.000) 0.002 (0.024) 0.435 (0.248) 4.845 (0.338) 0.871 (0.033) 0.441 (0.052)
K-means(K=6)+JGL – – – 0.000 (0.000) 6.000 (0.000) 0.207 (0.016) 2.526 (0.113) 6.012 (0.408) 0.812 (0.040) 0.433 (0.053)
K-means(K=3)+JGL – – – 1.000 (0.000) 3.000 (0.000) 0.006 (0.031) 0.454 (0.295) 4.889 (0.362) 0.870 (0.034) 0.441 (0.052)
K-means(K=6)+D-trace – – – 0.000 (0.000) 6.000 (0.000) 0.207 (0.016) 2.596 (0.328) 5.784 (0.964) 0.665 (0.104) 0.024 (0.022)
K-means(K=3)+D-trace – – – 1.000 (0.000) 3.000 (0.000) 0.006 (0.031) 0.454 (0.295) 6.189 (1.002) 0.544 (0.120) 0.003 (0.005)
n0=3000,π*=(1/3,1/3,1/3) Proposed 1.108 (0.224) 1.161 (0.229) 1.070 (0.162) 0.950 (0.219) 3.000 (0.284) 0.009 (0.070) 0.481 (0.506) 4.199 (0.521) 0.734 (0.094) 0.015 (0.008)
Separate 1.106 (0.220) 1.252 (0.210) 1.150 (0.160) 0.300 (0.461) 3.420 (0.727) 0.031 (0.076) 1.231 (0.620) 9.836 (1.893) 0.724 (0.078) 0.324 (0.055)
SCAN(K=6) – – – 0.000 (0.000) 6.000 (0.000) 0.166 (0.001) 2.493 (0.086) 5.457 (0.360) 0.777 (0.036) 0.305 (0.053)
SCAN(K=3) – – – 1.000 (0.000) 3.000 (0.000) 0.000 (0.000) 0.381 (0.034) 4.128 (0.310) 0.857 (0.033) 0.314 (0.053)
K-means(K=6)+JGL – – – 0.000 (0.000) 6.000 (0.000) 0.167 (0.001) 2.563 (0.081) 5.419 (0.387) 0.781 (0.036) 0.305 (0.053)
K-means(K=3)+JGL – – – 1.000 (0.000) 3.000 (0.000) 0.002 (0.005) 0.384 (0.040) 4.153 (0.317) 0.856 (0.032) 0.314 (0.052)
K-means(K=6)+D-trace – – – 0.000 (0.000) 6.000 (0.000) 0.167 (0.001) 2.635 (0.298) 5.676 (0.973) 0.707 (0.094) 0.031 (0.035)
K-means(K=3)+D-trace – – – 1.000 (0.000) 3.000 (0.000) 0.002 (0.005) 0.384 (0.040) 6.193 (0.994) 0.544 (0.121) 0.001 (0.002)
n0=3000,π*=(1/6,1/3,1/2) Proposed 1.122 (0.252) 1.164 (0.234) 1.086 (0.194) 0.950 (0.219) 2.970 (0.332) 0.015 (0.087) 0.532 (0.492) 4.399 (0.645) 0.693 (0.124) 0.015 (0.009)
Separate 1.106 (0.220) 1.252 (0.210) 1.150 (0.160) 0.290 (0.456) 2.710 (0.795) 0.055 (0.056) 1.128 (0.591) 8.279 (1.867) 0.767 (0.084) 0.332 (0.057)
SCAN(K=6) – – – 0.000 (0.000) 6.000 (0.000) 0.204 (0.015) 2.474 (0.122) 5.681 (0.399) 0.763 (0.041) 0.305 (0.053)
SCAN(K=3) – – – 1.000 (0.000) 3.000 (0.000) 0.002 (0.023) 0.456 (0.254) 4.411 (0.332) 0.840 (0.039) 0.316 (0.053)
K-means(K=6)+JGL – – – 0.000 (0.000) 6.000 (0.000) 0.206 (0.016) 2.541 (0.115) 5.639 (0.393) 0.768 (0.039) 0.305 (0.053)
K-means(K=3)+JGL – – – 1.000 (0.000) 3.000 (0.000) 0.017 (0.052) 0.559 (0.487) 4.512 (0.405) 0.837 (0.039) 0.316 (0.053)
K-means(K=6)+D-trace – – – 0.000 (0.000) 6.000 (0.000) 0.206 (0.016) 2.617 (0.338) 5.755 (0.978) 0.690 (0.097) 0.035 (0.038)
K-means(K=3)+D-trace – – – 1.000 (0.000) 3.000 (0.000) 0.017 (0.052) 0.559 (0.488) 6.256 (0.995) 0.533 (0.122) 0.002 (0.003)

The model performance of the setting of r=5,s=0.05,μ=2 is summarized in Table 7. Compared to the results in Table 6, the ability to correctly identify the number of subgroups is improved by increasing the distance between subgroups. Additionally, most measures representing model performance show an upward trend.

Appendix B. Details of Algorithm

Minimizing (4) with respect to (μ,𝚫,π) yields the update of parameters. We have

πk(m)=1n1∑i:yi=1γik(m).

Minimizing (4) with respect to μ is equivalent to solving

μ(m)=argminμ12n1∑i:yi=1∑k=1Kγik(m)×xi-μk⊤𝚯k(m-1)xi-μk+𝒫μ.

For this problem, we adopt the local quadratic approximation:

μ(m)=argminμ12n1∑i:yi=1∑k=1Kγik(m)×xi-μk⊤𝚯k(m-1)xi-μk+∑k<k′12p′τk,k′(m-1,m-1),λ3τk,k′(m-1,m-1)μk-μk′22,

which leads to an explicit solution of μk(m) as follows: For j=1,…,p,

μkj(m)=hj(m-1)+n1v~k(m-1)n1v^k(m-1)+n1kθkjj(m-1),

where n1k=∑i:yi=1γik,

hjm−1=∑i:yi=1γikm∑l≠jpθkjlm−1xil−μklm−1I(l>j)−μklmI(l<j)+θkjjm−1xij
v~km−1=∑1⩽k′<kp′τ~k,k′m−1,λ3τ~k,k′m−1μk′jm+∑k<k′⩽Kp′τ~k,k′m−1,λ3τ~k,k′m−1μk′jm−1,
v^km−1=∑k≠k′p′τ~k,k′m,λ3τ~k,k′m−1,
τ~k,k′m−1=τk,k′m−1,mI1⩽k′<k+τk,k′m−1,m−1Ik<k′⩽K
τk,k′r1,r2=μkr1−μk′r222+Θkm−1−Θk′m−1F21/2,

and 𝚯k(m-1),𝚯k′(m-1) are estimators from the (m-1)-th iteration.

Minimizing (4) with respect to Θk,k=1,…,K is equivalent to solving

𝚯(m)=argmin𝚯(-∑k=1Kn1klogdet𝚯k-tr𝚺^kΘk+𝒫(𝚯)).

This can be efficiently achieved using the ADMM algorithm by modifying the JGL algorithm in Danaher et al. (2014). More specifically, this optimization can be reformulated as

𝚯(m)=argmin𝚯,𝚵-∑k=1Kn1klogdet𝚯k-tr𝚺^k𝚯k+𝒫(𝚵), (B1)
s.t.𝚵k=𝚯k-𝚯0,𝚯k∈𝒮++p,k=1,…,K,

where 𝚯k∈𝒮++p,k=1,…,K are the positive-definite constraints, and 𝚵=𝚵1,…,𝚵K,𝚵k=ξkij1⩽i,j⩽p. The scaled augmented Lagrangian form for this problem is given by

𝒬κ(𝚯,𝚵,𝚿)=-∑k=1Kn1klogdet𝚯k-tr𝚺^k𝚯k+𝒫(𝚵)+κ2∑k=1K𝚯k-𝚯0-𝚵k+𝚿kF2-κ2∑k=1K𝚿kF2,

where 𝚿=𝚿1,…,𝚿K are dual variables, and κ is the penalty parameter. Throughout this study, we set κ=1. In the r–step of the ADMM algorithm for solving (B1), the iterative procedure can be summarized as follows:

Step1: For k=1,…,K, update 𝚯k(r) by solving

argmin𝚯-nklogdet𝚯k-tr𝚺^k𝚯k+κ2𝚯k-𝚯0-𝚵k(r-1)+𝚿k(r-1)F2.

Table 6.

Simulation 3 (r=5,s=0.05,μ=1.5) results under balanced and unbalanced settings: mean (standard deviation)

Setting Method Baseline group Heterogeneous group
S^0-S0*F L^0-L0*F 𝚯^0-𝚯0*F Per K^ CE RMSE({μ}) RMSE({𝚫}) TPR({𝚫}) FPR({𝚫})
n0=1500,π*=(1/3,1/3,1/3) Proposed 2.607 (0.289) 1.883 (0.228) 2.702 (0.259) 0.850 (0.359) 3.060 (0.547) 0.024 (0.116) 0.633 (0.815) 8.210 (0.818) 0.647 (0.137) 0.036 (0.013)
Separate 2.645 (0.332) 1.878 (0.236) 2.732 (0.284) 0.100 (0.302) 2.390 (0.827) 0.181 (0.148) 1.849 (0.981) 16.065 (2.337) 0.829 (0.071) 0.589 (0.062)
SCAN(K=6) – – – 0.000 (0.000) 6.000 (0.000) 0.166 (0.001) 2.529 (0.049) 10.086 (0.525) 0.830 (0.027) 0.518 (0.046)
SCAN(K=3) – – – 1.000 (0.000) 3.000 (0.000) 0.000 (0.000) 0.333 (0.030) 7.766 (0.475) 0.891 (0.020) 0.532 (0.045)
K-means(K=6)+JGL – – – 0.000 (0.000) 6.000 (0.000) 0.166 (0.001) 2.562 (0.046) 10.096 (0.522) 0.832 (0.027) 0.517 (0.047)
K-means(K=3)+JGL – – – 1.000 (0.000) 3.000 (0.000) 0.001 (0.001) 0.333 (0.029) 7.788 (0.493) 0.890 (0.020) 0.532 (0.045)
K-means(K=6)+Dtrace – – – 0.000 (0.000) 6.000 (0.000) 0.166 (0.001) 2.733 (0.477) 9.608 (0.874) 0.568 (0.120) 0.029 (0.024)
K-means(K=3)+Dtrace – – – 1.000 (0.000) 3.000 (0.000) 0.001 (0.001) 0.333 (0.029) 10.097 (1.069) 0.450 (0.149) 0.006 (0.008)
n0=1500,π*=(1/6,1/3,1/2) Proposed 2.618 (0.288) 1.876 (0.234) 2.709 (0.254) 0.870 (0.338) 2.970 (0.502) 0.027 (0.121) 0.658 (0.887) 8.386 (0.795) 0.595 (0.142) 0.034 (0.013)
Separate 2.645 (0.332) 1.878 (0.236) 2.732 (0.284) 0.050 (0.219) 2.040 (0.425) 0.129 (0.115) 1.584 (0.970) 14.825 (1.699) 0.859 (0.060) 0.599 (0.061)
SCAN(K=6) – – – 0.000 (0.000) 6.000 (0.000) 0.201 (0.013) 2.522 (0.082) 10.482 (0.559) 0.816 (0.032) 0.517 (0.046)
SCAN(K=3) – – – 1.000 (0.000) 3.000 (0.000) 0.000 (0.000) 0.367 (0.046) 8.201 (0.449) 0.881 (0.020) 0.532 (0.046)
K-means(K=6)+JGL – – – 0.000 (0.000) 6.000 (0.000) 0.201 (0.013) 2.553 (0.079) 10.479 (0.544) 0.818 (0.032) 0.517 (0.047)
K-means(K=3)+JGL – – – 1.000 (0.000) 3.000 (0.000) 0.002 (0.016) 0.378 (0.134) 8.240 (0.481) 0.881 (0.021) 0.532 (0.046)
K-means(K=6)+Dtrace – – – 0.000 (0.000) 6.000 (0.000) 0.201 (0.013) 2.728 (0.511) 9.671 (0.844) 0.544 (0.123) 0.030 (0.023)
K-means(K=3)+Dtrace – – – 1.000 (0.000) 3.000 (0.000) 0.002 (0.016) 0.378 (0.134) 10.148 (1.100) 0.432 (0.155) 0.006 (0.007)
n0=3000,π*=(1/3,1/3,1/3) Proposed 1.706 (0.257) 1.510 (0.237) 1.667 (0.167) 0.830 (0.378) 3.170 (0.378) 0.001 (0.001) 0.580 (0.543) 8.022 (0.778) 0.646 (0.095) 0.032 (0.011)
Separate 1.727 (0.290) 1.536 (0.228) 1.709 (0.182) 0.120 (0.327) 2.300 (0.798) 0.199 (0.167) 1.863 (1.084) 15.004 (2.230) 0.799 (0.084) 0.487 (0.078)
SCAN(K=6) – – – 0.000 (0.000) 6.000 (0.000) 0.166 (0.001) 2.535 (0.045) 9.449 (0.477) 0.786 (0.029) 0.387 (0.058)
SCAN(K=3) – – – 1.000 (0.000) 3.000 (0.000) 0.000 (0.000) 0.339 (0.031) 7.099 (0.452) 0.862 (0.021) 0.405 (0.056)
K-means(K=6)+JGL – – – 0.000 (0.000) 6.000 (0.000) 0.166 (0.001) 2.569 (0.043) 9.405 (0.493) 0.790 (0.029) 0.388 (0.058)
K-means(K=3)+JGL – – – 1.000 (0.000) 3.000 (0.000) 0.000 (0.001) 0.339 (0.031) 7.119 (0.452) 0.861 (0.022) 0.404 (0.056)
K-means(K=6)+Dtrace – – – 0.000 (0.000) 6.000 (0.000) 0.166 (0.001) 2.727 (0.465) 9.508 (0.873) 0.593 (0.122) 0.036 (0.033)
K-means(K=3)+Dtrace – – – 1.000 (0.000) 3.000 (0.000) 0.000 (0.001) 0.339 (0.031) 10.095 (1.043) 0.454 (0.145) 0.005 (0.005)
n0=3000,π*=(1/6,1/3,1/2) Proposed 1.722 (0.320) 1.511 (0.269) 1.691 (0.255) 0.880 (0.327) 3.010 (0.460) 0.020 (0.104) 0.622 (0.727) 8.231 (0.863) 0.590 (0.138) 0.030 (0.013)
Separate 1.727 (0.290) 1.536 (0.228) 1.709 (0.182) 0.060 (0.239) 2.090 (0.452) 0.116 (0.095) 1.602 (0.954) 14.261 (1.506) 0.814 (0.084) 0.485 (0.067)
SCAN(K=6) – – – 0.000 (0.000) 6.000 (0.000) 0.201 (0.014) 2.526 (0.092) 9.858 (0.477) 0.770 (0.039) 0.387 (0.059)
SCAN(K=3) – – – 1.000 (0.000) 3.000 (0.000) 0.002 (0.015) 0.399 (0.226) 7.606 (0.564) 0.846 (0.032) 0.404 (0.060)
K-means(K=6)+JGL – – – 0.000 (0.000) 6.000 (0.000) 0.201 (0.014) 2.558 (0.087) 9.829 (0.491) 0.773 (0.040) 0.387 (0.060)
K-means(K=3)+JGL – – – 1.000 (0.000) 3.000 (0.000) 0.007 (0.036) 0.431 (0.350) 7.637 (0.589) 0.845 (0.030) 0.405 (0.060)
K-means(K=6)+Dtrace – – – 0.000 (0.000) 6.000 (0.000) 0.201 (0.014) 2.711 (0.466) 9.532 (0.881) 0.581 (0.126) 0.042 (0.036)
K-means(K=3)+Dtrace – – – 1.000 (0.000) 3.000 (0.000) 0.007 (0.036) 0.431 (0.351) 10.117 (1.022) 0.451 (0.147) 0.007 (0.010)

Table 7.

Simulation 4 (r=5,s=0.05,μ=2) results under balanced and unbalanced settings: mean (standard deviation)

Setting Method Baseline group Heterogeneous group
S^0-S0*F L^0-L0*F 𝚯^0-𝚯0*F Per K^ CE RMSE({μ}) RMSE({𝚫}) TPR({𝚫}) FPR({𝚫})
n0=1500,π*=(1/3,1/3,1/3) Proposed 2.596 (0.277) 1.880 (0.225) 2.688 (0.249) 0.950 (0.219) 2.970 (0.413) 0.021 (0.115) 0.515 (0.895) 8.130 (0.765) 0.659 (0.135) 0.037 (0.013)
Separate 2.645 (0.332) 1.878 (0.236) 2.732 (0.284) 0.200 (0.402) 2.510 (0.772) 0.144 (0.117) 1.889 (1.000) 16.345 (2.096) 0.843 (0.060) 0.583 (0.056)
SCAN(K=6) – – – 0.000 (0.000) 6.000 (0.000) 0.166 (0.001) 2.528 (0.049) 10.066 (0.509) 0.831 (0.027) 0.518 (0.046)
SCAN(K=3) – – – 1.000 (0.000) 3.000 (0.000) 0.000 (0.000) 0.332 (0.029) 7.766 (0.475) 0.891 (0.020) 0.532 (0.045)
K-means(K=6)+JGL – – – 0.000 (0.000) 6.000 (0.000) 0.166 (0.001) 2.561 (0.046) 10.104 (0.515) 0.831 (0.027) 0.517 (0.047)
K-means(K=3)+JGL – – – 1.000 (0.000) 3.000 (0.000) 0.000 (0.000) 0.332 (0.029) 7.766 (0.475) 0.891 (0.020) 0.532 (0.045)
K-means(K=6)+D-trace – – – 0.000 (0.000) 6.000 (0.000) 0.166 (0.001) 2.620 (0.306) 9.686 (0.885) 0.582 (0.103) 0.029 (0.024)
K-means(K=3)+D-trace – – – 1.000 (0.000) 3.000 (0.000) 0.000 (0.000) 0.332 (0.029) 10.108 (1.064) 0.446 (0.148) 0.005 (0.007)
n0=1500,π*=(1/6,1/3,1/2) Proposed 2.628 (0.352) 1.868 (0.231) 2.714 (0.316) 0.950 (0.219) 3.020 (0.284) 0.007 (0.062) 0.471 (0.564) 8.291 (0.723) 0.628 (0.091) 0.037 (0.011)
Separate 2.645 (0.332) 1.878 (0.236) 2.732 (0.284) 0.070 (0.256) 2.190 (0.581) 0.106 (0.083) 1.784 (0.888) 15.337 (1.952) 0.859 (0.061) 0.595 (0.053)
SCAN(K=6) – – – 0.000 (0.000) 6.000 (0.000) 0.201 (0.013) 2.522 (0.082) 10.482 (0.559) 0.816 (0.033) 0.517 (0.047)
SCAN(K=3) – – – 1.000 (0.000) 3.000 (0.000) 0.000 (0.000) 0.363 (0.028) 8.201 (0.449) 0.881 (0.020) 0.532 (0.046)
K-means(K=6)+JGL – – – 0.000 (0.000) 6.000 (0.000) 0.201 (0.013) 2.551 (0.079) 10.446 (0.562) 0.819 (0.033) 0.518 (0.047)
K-means(K=3)+JGL – – – 1.000 (0.000) 3.000 (0.000) 0.000 (0.000) 0.363 (0.028) 8.201 (0.449) 0.881 (0.020) 0.532 (0.046)
K-means(K=6)+D-trace – – – 0.000 (0.000) 6.000 (0.000) 0.201 (0.013) 2.617 (0.372) 9.744 (0.841) 0.558 (0.109) 0.030 (0.023)
K-means(K=3)+D-trace – – – 1.000 (0.000) 3.000 (0.000) 0.000 (0.000) 0.363 (0.028) 10.159 (1.103) 0.430 (0.152) 0.006 (0.007)
n0=3000,π*=(1/3,1/3,1/3) Proposed 1.706 (0.260) 1.527 (0.245) 1.683 (0.189) 0.910 (0.288) 3.060 (0.343) 0.007 (0.067) 0.483 (0.497) 7.985 (0.756) 0.654 (0.117) 0.035 (0.026)
Separate 1.727 (0.290) 1.536 (0.228) 1.709 (0.182) 0.190 (0.394) 2.490 (0.785) 0.150 (0.127) 1.957 (1.023) 15.571 (2.094) 0.807 (0.079) 0.479 (0.075)
SCAN(K=6) – – – 0.000 (0.000) 6.000 (0.000) 0.166 (0.001) 2.535 (0.045) 9.448 (0.467) 0.786 (0.029) 0.387 (0.058)
SCAN(K=3) – – – 1.000 (0.000) 3.000 (0.000) 0.000 (0.000) 0.339 (0.030) 7.099 (0.452) 0.862 (0.021) 0.405 (0.056)
K-means(K=6)+JGL – – – 0.000 (0.000) 6.000 (0.000) 0.166 (0.001) 2.568 (0.043) 9.387 (0.491) 0.791 (0.029) 0.388 (0.058)
K-means(K=3)+JGL – – – 1.000 (0.000) 3.000 (0.000) 0.000 (0.000) 0.339 (0.030) 7.099 (0.452) 0.862 (0.021) 0.405 (0.056)
K-means(K=6)+Dtrace – – – 0.000 (0.000) 6.000 (0.000) 0.166 (0.001) 2.637 (0.351) 9.569 (0.890) 0.605 (0.107) 0.036 (0.034)
K-means(K=3)+Dtrace – – – 1.000 (0.000) 3.000 (0.000) 0.000 (0.000) 0.339 (0.030) 10.098 (1.043) 0.453 (0.143) 0.005 (0.005)
n0=3000,π*=(1/6,1/3,1/2) Proposed 1.711 (0.264) 1.520 (0.240) 1.678 (0.193) 0.940 (0.239) 2.990 (0.301) 0.008 (0.063) 0.478 (0.517) 8.118 (0.644) 0.624 (0.093) 0.033 (0.013)
Separate 1.727 (0.290) 1.536 (0.228) 1.709 (0.182) 0.100 (0.302) 2.140 (0.472) 0.107 (0.082) 1.726 (0.902) 14.515 (1.513) 0.829 (0.078) 0.492 (0.074)
SCAN(K=6) – – – 0.000 (0.000) 6.000 (0.000) 0.201 (0.014) 2.525 (0.090) 9.850 (0.474) 0.770 (0.040) 0.387 (0.059)
SCAN(K=3) – – – 1.000 (0.000) 3.000 (0.000) 0.000 (0.000) 0.370 (0.034) 7.575 (0.424) 0.847 (0.027) 0.404 (0.060)
K-means(K=6)+JGL – – – 0.000 (0.000) 6.000 (0.000) 0.201 (0.013) 2.557 (0.087) 9.819 (0.509) 0.774 (0.039) 0.387 (0.060)
K-means(K=3)+JGL – – – 1.000 (0.000) 3.000 (0.000) 0.000 (0.000) 0.370 (0.034) 7.575 (0.424) 0.847 (0.027) 0.404 (0.060)
K-means(K=6)+D-trace – – – 0.000 (0.000) 6.000 (0.000) 0.201 (0.013) 2.596 (0.296) 9.607 (0.913) 0.595 (0.111) 0.042 (0.037)
K-means(K=3)+D-trace – – – 1.000 (0.000) 3.000 (0.000) 0.000 (0.000) 0.370 (0.034) 10.125 (1.030) 0.448 (0.147) 0.006 (0.008)

Following Witten and Tibshirani (2009), the solution is given by

𝚯k(r)=UD~U⊤,

where UDU⊤ is the eigendecomposition of 𝚺^k-κΞk(r-1)/n1k-κ𝚯0/n1k+κ𝚿k(r-1)/n1k,D~ is a diagonal matrix with the j th diagonal element n1k2κ-Djj+Djj2+4κ/n1k1/2.

Step2: For k=1,…,K, update 𝚵k(r) by solving

argmin𝚵κ2∑k=1K𝚵k-ZkF2+𝒫(𝚵), (B2)

where Zk=𝚯k(r)-𝚯0+𝚿k(r-1). The implementation uses the sparse alternating minimization algorithm (S-AMA)(Wang et al. 2018) to solve (B2).

Step3: For k=1,…,K, update 𝚿k(r) by 𝚿k(r)=𝚿k(r-1)+𝚯k(r)-𝚯0-𝚵k(r).

Repeat the above steps until the termination criterion is met, which is defined as ∑k=1K𝚯k(r)-𝚯k(r-1)F/𝚯k(r-1)F<10-2. This process yields the solution 𝚯(m)=𝚯k(m),k=1,…,K} for (B1). It is worth mentioning that the update in Step 1 inherently ensures the positive definiteness of the estimated precision matrices. However, the resulting solution may not always be symmetric. To address this, they can be symmetrized following the approach proposed by Cai et al. (2016):

θkij(m)=θkij(m)Iθkij(m)⩽θkji(m)+θkji(m)Iθkij(m)>θkji(m).

Next, to implement the S-AMA, (B2) can be rewritten as

argmin𝚵κ2∑j=1p2ξ(j)-z(j)22+∑r∈ℰpηr(m)+vr221/2,λ3+∑j=1p2∑k=1Kpξkj,λ2⋅Ij∈𝒪,s.t.vec𝚵k-vec𝚵k′-vr=0.

where ℰ=k,k′:1⩽k,k′⩽K,ηr(m)=‖μk(m)-μk′(m)‖22,ξ(j),z(j)∈RK are the j-th columns of (vec𝚵1,…,vec𝚵K⊤ and vecZ1,…,vecZK⊤, respectively, j=1,…,p2,ξkj is the k th element of ξ(j), and 𝒪={j:j≠d(p+1)+1,d=0,1,…,p-1} is the index set of the off-diagonal components of the differential precision matrices. It is equivalent to minimizing the following augmented Lagrangian function:

𝒬κ′(𝚵,V,D)=κ2∑j=1p2ξ(j)-z(j)22+∑r∈ℰpηr(m)+vr221/2,λ3+∑j=1p2∑k=1Kpξjk,λ2⋅I(j∈𝒪)+∑r∈ℰdr,vr-vec𝚵k+vec𝚵k′+κ′2∑r∈ℰvr-vec𝚵k+vec𝚵k′22,

where κ′ is a small penalty parameter. In this study, we set κ′=1.V=v1,…,v|ℰ|, and D=d1,…,d|ℰ|. S-AMA minimizes the augmented Lagrangian problem by alternatively solving one block of variables at a time. In the l–step of the S-AMA algorithm, we have

𝚵(l)=argmin𝚵𝒬κ′𝚵,V(l-1),D(l-1),V(l)=argminV𝒬κ′𝚵(l),V,D(l-1),dr(l)=dr(l-1)+κ′vr(l)-vec𝚵k(l)+vec𝚵k′(l)×Ivr(l)2>0,r∈ℰ.

It is noted that S-AMA differs from ADMM in the update of 𝚵. Specifically, updating 𝚵 requires solving p2 individual penalization problems:

minξ(j)κ2ξ(j)-u(j)22+∑k=1Kpξkj,λ2⋅I(j∈𝒪), (B3)

where u(j)=z(j)+∑r∈ℰdjrek-ek′,djr is the j-th element of dr, and ek is a K-dimensional vector with the k-th component being 1 and the other components being 0. For (B3), the MCP estimators have the following closed form:

ξ^kj=I(j∈𝒪)⋅STukj,λ2/κ1-1/(aκ)ifukj⩽aλ2ukjifukj>aλ2+I(j∉𝒪)⋅ukj,

where ST(c,λ)=(|c|-λ)+⋅sign(c). For ,vr ‘s can be updated separately. That is,

v^r=argminvrκ′2vr-ωr22+pηr(m)+vr221/2,λ3, (B4)

where ωr=vec𝚵k-vec𝚵k′-dr/κ′. By the Karush-Kuhn-Tucker (KKT) conditions of the group MCP problem, the solution to (B4) has a closed form. If ηr(m)+ωr221/2⩽aλ3,

v^r=ωrηr(m)+ωr221/2×STηr(m)+ωr221/2,λ3/κ′1-1/aκ′,Ifηr(m)+ωr221/2>aλ3,v^r=ηr(m)+ωr221/2.

Data availability

The data that support the findings in this paper are openly available in https://toil-xena-hub.s3.us-east-1.amazonaws.com/download/TcgaTargetGtex_gene_expected_count.gz.

Code Availability

The R program implementing the proposed method is available at https://github.com/Linxi-Li/hetero-difgraph.git.

References

  1. Bhuva DD, Cursons J, Smyth GK, Davis MJ: Differential co-expression-based detection of conditional relationships in transcriptional data: comparative analysis and application to breast cancer. Genome Biol. 20, 1–21 (2019) [DOI] [PMC free article] [PubMed] [Google Scholar]
  2. Beal MJ, Falciani F, Ghahramani Z, Rangel C, Wild DL: A bayesian approach to reconstructing genetic regulatory networks with hidden factors. Bioinformatics 21(3), 349–356 (2005) [DOI] [PubMed] [Google Scholar]
  3. Colombi A, Argiento R, Paci L, Pini A: Learning block structured graphs in gaussian graphical models. J. Comput. Graph. Stat 33(1), 152–165 (2024) [Google Scholar]
  4. Chen Y, Gu Y, Hu Z, Sun X: Sample-specific perturbation of gene interactions identifies breast cancer subtypes. Brief. Bioinform 22(4), 1–13 (2021) [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Cai TT, Li H, Liu W, Xie J: Joint estimation of multiple high-dimensional precision matrices. Stat. Sin 26(2), 445–464 (2016) [DOI] [PMC free article] [PubMed] [Google Scholar]
  6. Chandrasekaran V, Parrilo PA, Willsky AS: Latent variable graphical model selection via convex optimization. Ann. Stat 40(4), 1935–1967 (2012) [Google Scholar]
  7. Danaher P, Wang P, Witten DM: The joint graphical lasso for inverse covariance estimation across multiple classes. J. R. Stat. Soc. Ser. B Stat Methodol 76(2), 373–397 (2014) [DOI] [PMC free article] [PubMed] [Google Scholar]
  8. Ding Y, Zhang L, Guo L, Wu C, Zhou J, Zhou Y, Ma J, Li X, Ji P, Wang M, Zhu W, Shi C, Li S, Wu W, Zhu W, Xiao D, Fu C, He Q, Sun R, Mao X, Lizaso A, Li B, Han-Zhang H, Zhang Z: Comparative study on the mutational profile of adenocarcinoma and squamous cell carcinoma predominant histologic subtypes in chinese non-small cell lung cancer patients. Thoracic Cancer 11(1), 103–112 (2020) [DOI] [PMC free article] [PubMed] [Google Scholar]
  9. Friedman J, Hastie T, Tibshirani R: Sparse inverse covariance estimation with the graphical lasso. Biostatistics 9(3), 432–441 (2008) [DOI] [PMC free article] [PubMed] [Google Scholar]
  10. Fan J, Li R: Variable selection via nonconcave penalized likelihood and its oracle properties. J. Am. Stat. Assoc 96(456), 1348–1360 (2001) [Google Scholar]
  11. Fang B, Mehran RJ, Heymach JV, Swisher SG: Predictive biomarkers in precision medicine and drug development against lung cancer. Chin. J. Cancer 34(3), 1–15 (2015) [DOI] [PMC free article] [PubMed] [Google Scholar]
  12. Galindez G, List M, Baumbach J, Völker U, Mäder U, Blumenthal DB, Kacprowski T: Inference of differential gene regulatory networks using boosted differential trees. Bioinform. Adv 4(1), 034 (2024) [DOI] [PMC free article] [PubMed] [Google Scholar]
  13. Guo J, Levina E, Michailidis G, Zhu J: Joint estimation of multiple graphical models. Biometrika 98(1), 1–15 (2011) [DOI] [PMC free article] [PubMed] [Google Scholar]
  14. Gao C, Zhu Y, Shen X, Pan W: Estimation of multiple networks in gaussian mixture models. Electron. J. Stat 10, 1133–1154 (2016) [DOI] [PMC free article] [PubMed] [Google Scholar]
  15. Hao B, Sun WW, Liu Y, Cheng G: Simultaneous clustering and estimation of heterogeneous graphical models. J. Mach. Learn. Res 18(217), 1–58 (2018) [PMC free article] [PubMed] [Google Scholar]
  16. Ideker T, Krogan NJ: Differential network biology. Mol. Syst. Biol 8(1), 565 (2012) [DOI] [PMC free article] [PubMed] [Google Scholar]
  17. Kim PM, Tidor B: Subsystem identification through dimensionality reduction of large-scale gene expression data. Genome Res. 13(7), 1706–1718 (2003) [DOI] [PMC free article] [PubMed] [Google Scholar]
  18. Li R, Lin J, Qiu H, Zhang W, Wang J: Graph learning for latent-variable gaussian graphical models under laplacian constraints. Neurocomputing 532, 67–76 (2023) [Google Scholar]
  19. Lei Y, Lei Y, Shi X, Wang J: Eml4-alk fusion gene in non-small cell lung cancer. Oncol. Lett 24(2), 1–6 (2022) [DOI] [PMC free article] [PubMed] [Google Scholar]
  20. Lahiri A, Maji A, Potdar PD, Singh N, Parikh P, Bisht B, Mukherjee A, Paul MK: Lung cancer immunotherapy: progress, pitfalls, and promises. Mol. Cancer 22(1), 40 (2023) [DOI] [PMC free article] [PubMed] [Google Scholar]
  21. Meinshausen N, Bühlmann P: High-dimensional graphs and variable selection with the lasso. Ann. Stat 34(3), 1436–1462 (2006) [Google Scholar]
  22. Mohan K, Chung M, Han S, Witten D, Lee S-I, Fazel M: Structured learning of gaussian graphical models. Advances in neural information processing systems 25 (2012) [PMC free article] [PubMed] [Google Scholar]
  23. Margolin AA, Nemenman I, Basso K, Wiggins C, Stolovitzky G, Favera RD, Califano A: Aracne: an algorithm for the reconstruction of gene regulatory networks in a mammalian cellular context. In: BMC Bioinformatics, vol. 7, pp. 1–15 (2006). Springer; [DOI] [PMC free article] [PubMed] [Google Scholar]
  24. Na S, Kolar M, Koyejo O: Estimating differential latent variable graphical models with applications to brain connectivity. Biometrika 108(2), 425–442 (2021) [Google Scholar]
  25. Ogata H, Goto S, Sato K, Fujibuchi W, Bono H, Kanehisa M: Kegg: kyoto encyclopedia of genes and genomes. Nucleic Acids Res. 27(1), 29–34 (1999) [DOI] [PMC free article] [PubMed] [Google Scholar]
  26. Ou-Yang L, Zhang X-F, Zhao X-M, Wang DD, Wang FL, Lei B, Yan H: Joint learning of multiple differential networks with latent variables. IEEE Trans. Cyberneti 49(9), 3494–3506 (2019) [DOI] [PubMed] [Google Scholar]
  27. Pang S, Wu W, Zhang Y, Wang S, Niu M, Zhang K, Yin W: Hssg: identification of cancer subtypes based on heterogeneity score of a single gene. Cells 11(15), 2456 (2022) [DOI] [PMC free article] [PubMed] [Google Scholar]
  28. Ren M, Zhang S, Zhang Q, Ma S: Gaussian graphical model-based heterogeneity analysis via penalized fusion. Biometrics 78(2), 524–535 (2022) [DOI] [PMC free article] [PubMed] [Google Scholar]
  29. Shutta KH, De Vito R, Scholtens DM, Balasubramanian R: Gaussian graphical models with applications to omics analyses. Stat. Med 41(25), 5150–5187 (2022) [DOI] [PMC free article] [PubMed] [Google Scholar]
  30. Shojaie A: Differential network analysis: a statistical perspective. Wiley Interdiscip. Reviews: Comput. Stat 13(2), 1508 (2021) [DOI] [PMC free article] [PubMed] [Google Scholar]
  31. Tian D, Gu Q, Ma J: Identifying gene regulatory network rewiring using latent differential graphical models. Nucleic Acids Res. 44(17), 140–140 (2016) [DOI] [PMC free article] [PubMed] [Google Scholar]
  32. Tsai K, Koyejo O, Kolar M: Joint gaussian graphical model estimation: a survey. WIREs Comput. Stat 14(6), 1582 (2022) [Google Scholar]
  33. Vivian J, Rao AA, Nothaft FA, Ketchum C, Armstrong J, Novak A, Pfeil J, Narkizian J, Deran AD, Musselman-Brown A, Schmidt H, Amstutz P, Craft B, Goldman M, Rosenbloom K, Cline M, O’Connor B, Hanna M, Birger C, Kent WJ, Patterson DA, Joseph AD, Zhu J, Zaranek S, Getz G, Haussler D, Paten B: Toil enables reproducible, open source, big biomedical data analyses. Nat. Biotechnol 35(4), 314–316 (2017) [DOI] [PMC free article] [PubMed] [Google Scholar]
  34. Wang Q, Armenia J, Zhang C, Penson AV, Reznik E, Zhang L, Minet T, Ochoa A, Gross BE, Iacobuzio-Donahue CA, Betel D, S B, Gao J, Schultz N: Unifying cancer and normal rna sequencing data from different sources. Scientific data 5(1), 1–8 (2018) [DOI] [PMC free article] [PubMed] [Google Scholar]
  35. Wang K, Franks A, Oh S-Y: Learning gaussian graphical models with latent confounders. J. Multivar. Anal 198, 105213 (2023) [Google Scholar]
  36. Witten DM, Tibshirani R: Covariance-regularized regression and classification for high-dimensional problems. J. R. Stat. Soc. Ser. B Stat Methodol 71(3), 615–636 (2009) [DOI] [PMC free article] [PubMed] [Google Scholar]
  37. Wang B, Zhang Y, Sun WW, Fang Y: Sparse convex clustering. J. Comput. Graph. Stat 27(2), 393–403 (2018) [Google Scholar]
  38. Xu P, Ma J, Gu Q: Speeding up latent variable gaussian graphical model estimation via nonconvex optimization. Adv. Neural. Inf. Process. Syst 30, 1930–1941 (2017) [Google Scholar]
  39. Yuan M, Lin Y: Model selection and estimation in the gaussian graphical model. Biometrika 94(1), 19–35 (2007) [Google Scholar]
  40. Yuan H, Xi R, Chen C, Deng M: Differential network analysis via lasso penalized d-trace loss. Biometrika 104(4), 755–770 (2017) [Google Scholar]
  41. Zhao SD, Cai TT, Li H: Direct estimation of differential networks. Biometrika 101(2), 253–268 (2014) [DOI] [PMC free article] [PubMed] [Google Scholar]
  42. Zhang C-H: Nearly unbiased variable selection under minimax concave penalty. Ann. Stat 38(2), 894–942 (2010) [Google Scholar]
  43. Zhang Y, Liu Y, Feng L, Wang Z: Testing the differential network between two gaussian graphical models with false discovery rate control. J. Stat. Comput. Simul 94(2), 424–445 (2024) [Google Scholar]
  44. Zhang X-F, Ou-Yang L, Yan H: Incorporating prior information into differential network analysis using non-paranormal graphical models. Bioinformatics 33(16), 2436–2445 (2017) [DOI] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The data that support the findings in this paper are openly available in https://toil-xena-hub.s3.us-east-1.amazonaws.com/download/TcgaTargetGtex_gene_expected_count.gz.

The R program implementing the proposed method is available at https://github.com/Linxi-Li/hetero-difgraph.git.

RESOURCES