Paper commentary
Graph-Guided Bayesian Factor Analysis: A Fast Integrated EFA-CFA Approach for High-Dimensional Data
Graph-guided Bayesian factor analysis fits exploratory and confirmatory steps in one pass
- Problem Two-step factor analysis picks memberships by thresholding loadings, so early errors spread into later results. Maximum-likelihood fits also break when variables outnumber subjects.
- Method gg-BFA treats the correlation matrix as a weighted graph and finds dense communities, each defining one factor. A stepwise search stops when the ELBO first decreases, and cross-loadings let bridge variables join a second community.
- Results On TCGA Kidney, gg-BFA (mf) reached a held-out NLL of 0.676, compared with 0.886 for gg-BFA (1f). The full analysis ran in under ten minutes per panel on one GPU.

Figure 2 : Factor analysis results. Held-out errors against GPU time, averaged over five folds: covariance distance dF (top) and prediction RMSE of masked measurements (bottom), where 20% of each held-out subject’s measurements are treated as missing and predicted from the other 80%. gg-BF A in red, mf darkest; hollow and †: not converged. gg-BF A (mf) has the smallest errors in three of the five data sets; in Kidney and miRNA, the converged PCF A-V A fits are slightly more accurate but take 7–10 times longer. All eight estimators use the common factor budget and are evaluated on the variables assigned to communities on the training subjects; PCF A-V A was not run on the held-out folds of ABCD and UKB. Time includes fitting and covariance construction on P100 GPUs, excluding the shared community discovery and scoring.
Original paper · CC BY 4.0 · Shitao Fan, Lizhen Lin, Zhenyao Ye, Shuo Chen · Graph-Guided Bayesian Factor Analysis: A Fast Integrated EFA-CFA Approach for High-Dimensional Data · Original paper figure · Extracted the figure area from page 26 of the original PDF.Where two-step factor pipelines get stuck
Factor analysis is usually run in two steps: an exploratory step picks the number of factors and assigns variables to them, then a confirmatory step estimates the loadings of that structure. Memberships are often read off rotated loadings by keeping those above a threshold, and this can miss groups of strongly correlated variables. The confirmatory fit and the factor scores inherit those memberships, so an early error flows into the factor covariance and into every later analysis.
Bayesian confirmatory models mostly assume the loading pattern is fixed in advance, so a cross-loading set to zero stays zero. Graph-based SCFA fixes the loadings to a binary community mask, which keeps each factor clearly named but stops bridge variables from carrying a second community's signal. That approach also chooses the number of communities outside the model and gives no joint posterior over scores, loadings, factor covariance and residual variation.
Maximum-likelihood pipelines fail in high dimension, because the sample covariance is singular when variables outnumber subjects. That happens in two of the five panels, TCGA Kidney and TCGA miRNA, so psych and lavaan cannot be applied there. The authors therefore aim for one pipeline that works in this regime and ends with a Bayesian posterior.
Communities as the loading pattern
The key move is to treat the sample correlation matrix as a weighted graph, so each dense community defines one factor. Each variable keeps one primary community, while the factor covariance Φ captures how the communities depend on one another. Edges between communities are allowed, so a variable can connect to another community without losing its primary label.
The authors expected this to help because the exploratory step and the confirmatory fit describe the same communities, so each factor keeps its meaning.
The binary mask member, gg-BF A (1f), fixes the primary loading at one and all cross-loadings at zero. It shares the residual variance within each primary community, which makes it the fixed community reference. In gg-BF A (2f+s), each row takes at most one cross-loading per posterior draw. At most a fraction κ = 0.10 of the rows in a community carry a cross-loading, so bridges stay sparse.

Table 1 : Loading and residual-variance restrictions for the four gg-BF A members. The suffix describes the loading support for a single variable and does not denote the total number of factors K. We useκ= 0.10 in the experiments unless stated otherwise.
Original paper · CC BY 4.0Each member is fitted by mean-field variational inference, which avoids the cost of MCMC when partitions, loading structures and folds must all be refitted. The authors note that mean-field fits can understate uncertainty, so they check interval calibration separately and offer variational bagging as a supplement. With this setup the whole pipeline ran in under ten minutes per biomedical panel on one GPU.
How the forward search picks communities
The search starts from candidate communities produced by a greedy dense-subgraph search on the sample correlation matrix. It thresholds the correlations at a chosen percentile q and keeps only positive correlations that reach the cutoff. Each candidate vertex set C is scored by a generalized weighted density that divides the summed edge weights by the size of C raised to 2λden.
The vertices of each recorded community are then removed, and the same procedure repeats to find the next one. For each number of communities K, the search keeps the candidate partition with the largest ELBO and moves on to K + 1. On TCGA Kidney, the best ELBO first decreases at K = 22, so the search keeps 21 communities. The Kidney panel uses n = 712 subjects and p = 1,777 genes.
Every ELBO comes from a Monte Carlo estimate, so the comparisons carry Monte Carlo standard errors. The search treats one ELBO as smaller than another only when their difference exceeds twice its standard error. When the difference falls within two standard errors, the ELBO at K is re-evaluated with 16384 draws before the search decides there was no decrease.
The learning rate α0 scales the likelihood and is computed once, before any community is fitted.
The ELBO of a partition depends on the data only through the sample covariance of the scaled community sums and the within-community sums of squares. The variational family uses conjugate shapes, so the background block and the Kullback–Leibler terms have closed forms. The remaining expected log-likelihood term is estimated by Monte Carlo, so the final partition is chosen by its estimated ELBO.
Once K is chosen, the selected bK is the largest visited K whose ELBO lies within two standard errors of the largest visited ELBO.
Simulations against exploratory-to-confirmatory pipelines
The simulation design S1 uses an exact selection model with five communities and a background block. The high-dimensional version sets p0 = 2n, so the dimension grows with the sample size and can exceed it. Each design and sample size uses 50 generated data sets, and every procedure runs on the same data. The error is measured against the population correlation matrix, so it tests recovery rather than the sample fit.
The three exploratory-to-confirmatory pipelines run on the same data sets as the exploratory step. The pipelines retain factors by rotation and thresholding, so the search's stopping rule gives it a different route to the same covariance.
In S2, semopy had 1.5 to 2.5 times the covariance error of gg-BF A. The psych and lavaan pipelines couldn't run on TCGA Kidney and TCGA miRNA because their variables outnumber the subjects. Those two panels therefore give no simulation-free comparison with the maximum-likelihood pipelines.
The four gg-BF A members use a fixed community mask in 1f and cross-loadings in the other members.
Covariance fit on TCGA Kidney
The TCGA Kidney data has 712 subjects and 1,777 genes, and this descriptive comparison runs on the same selected variables for every method. Table 6 lists all eight estimators on six shared communities, with the distance to the sample covariance and the GPU time for each.
gg-BF A (mf) reaches a distance of 0.087 to the sample covariance, compared to 0.366 for gg-BF A (1f). PCF A-V A gives a smaller distance of 0.066, but it uses 2.519 active cross-loadings per row and 20.742 GPU seconds. gg-BF A (mf) needs 2.662 GPU seconds for the same panel, so it is far cheaper than PCF A-V A.
Models with cross-loadings represent substantially more of the sample covariance than the fixed-mask fits. gg-BF A (2f) reaches 0.258 with 1.000 cross-loading per row, and gg-BF A (2f+s) reaches 0.346 with 0.098 per row.
Held-out covariance and masked-cell prediction
Gaussian NLL per variable is the primary held-out measure, and lower values mean a better fit to new subjects. On Kidney, gg-BF A (mf) reached a mean held-out NLL of 0.676, while gg-BF A (1f) reached 0.886. gg-BF A (2f) reached 0.765 on Kidney, and gg-BF A (2f+s) reached 0.835 there. The converged PCF A-V A fits were slightly lower on Kidney and miRNA, at 0.660 and 0.718, against 0.676 and 0.733 for gg-BF A (mf).
Nonconverged PCF A-V A and MFVB-CF A fits serve only as last-iterate sensitivities, so the authors don't rank them.
Held-out dF and SRMR measure discrepancies in covariance scale and correlation structure, and they sit beside the NLL rather than merging into one score. Allowing cross-loadings changes the held-out covariance more clearly than estimating primary loading strengths alone does. The converged PCF A-V A fits give slightly smaller held-out errors than mf on Kidney and miRNA.
PCF A-V A learns unspecified loadings under its own prior, whereas gg-BF A keeps community-oriented constraints, so similar accuracy doesn't mean the same interpretation.
The masked-measurement analysis hides 20% of each held-out subject's measurements and predicts them from the remaining 80%, averaged over five folds. Across all eight estimators, gg-BF A (mf) had the smallest error in three of the five data sets. In Kidney and miRNA, the converged PCF A-V A fits were slightly more accurate but took 7 to 10 times longer.
Table 18 reports NLPD, coverage, and interval width together with RMSE, so predictive uncertainty is checked as well as point error. MAE gives a complementary view of absolute prediction error. Masked-cell RMSE, MAE, NLPD, coverage and interval width are the evaluation summaries listed for this analysis.
Where the guarantees and the variational fits stop
Assumption (W) requires the bias to fall enough from one community to the next.
The confirmatory fit treats the partition as fixed, so error from community discovery doesn't enter its posterior. Any mistake in the communities therefore stays hidden from the reported covariance intervals.
Mean-field variational inference can understate uncertainty, so the authors don't rely on its intervals alone. They evaluate interval calibration separately and use variational bagging as a supplement, which they call bagged gg-BFA. The learning-rate rule computes α0 from the data as (np0)^-1 summed squared norms, using the null model. The algorithm stops with an error when α0 falls outside (0, 1).
Paper info
- Authors
- Shitao Fan, Lizhen Lin, Zhenyao Ye, Shuo Chen
- Venue
- arXiv · Preprint
- First published
- 2026-11-9
- Added
- 2026-11-11
- Updated
- 2026-11-9
- Version
- v1
- arXiv
- 2611.12612
- Category
- stat.ME · stat.ML
- Original paper terms
- CC BY 4.0
- What we show
- Paper info, commentary and permitted figures from the original paper
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Abstract
Factor analysis has been central to the analysis of high-dimensional biomedical data. However, existing exploratory and confirmatory factor analysis methods face several limitations: less interpretable factor findings, difficulty in identifying which variables can and cannot be represented by low-dimensional factors, challenges in estimating the covariance among factors, and maximum-likelihood fits that break down when variables outnumber subjects. We propose graph-guided Bayesian factor analysis (gg-BFA) to address these gaps. We first use a Bayesian model to explore and learn the latent graph structure, identifying which variables can and cannot be represented by low-dimensional factors and how many factors are needed. A dense-subgraph search proposes partitions of the variables into communities, each defining one factor, and a forward stepwise search compares their fractional variational posteriors and stops when the evidence lower bound first decreases. We show that this search recovers the true communities even when the number of variables grows much faster than the sample size. We then develop a confirmatory Bayesian model whose variational posterior of the covariance contracts at the parametric rate up to a logarithmic factor, yielding posterior inference for the factors and their covariance, as well as predictions of missing values. Its four members range from a community mask to several cross-loadings per variable. In five biomedical panels, the complete analysis took under ten minutes each on one GPU, and cross-loadings improved held-out covariance and the prediction of masked measurements. In TCGA Kidney, six of the first eight factors were enriched for known pathways, and 190 of the 210 factor correlations had 95% credible intervals excluding zero. Overall, gg-BFA is computationally fast and provides interpretable factor analysis findings and reliable inference results.
Quote from the paper
Shitao Fan, Lizhen Lin, Zhenyao Ye, Shuo Chen (2026). Graph-Guided Bayesian Factor Analysis: A Fast Integrated EFA-CFA Approach for High-Dimensional Data. arXiv:2611.12612v1. https://arxiv.org/abs/2611.12612v1
BibTeX
@misc{fan2026graph,
title = {{Graph-Guided Bayesian Factor Analysis: A Fast Integrated EFA-CFA Approach for High-Dimensional Data}},
author = {Shitao Fan and Lizhen Lin and Zhenyao Ye and Shuo Chen},
year = {2026},
eprint = {2611.12612},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.12612v1}
}