Skip to main content
Advanced Science logoLink to Advanced Science
. 2026 May 19;13(44):e17087. doi: 10.1002/advs.202517087

Dissecting the Ecological Structure of Health and Disease in the Global Gut Microbiome

Baoyuan Zhu 1,2, Shuhao Chen 2, Yunheng Diao 2, Wei Wang 2, Yuanyuan Huang 3,4, Liqin Liang 2, Xiaodan Lu 2, Rui Han 2, Minxin Guo 2, Zhaobo Li 2, Shuhong Wang 2, Hehua Li 3,4, Chenyu Liu 3,4, Jing Zhou 1,5, Dongsheng Xiong 1,5, Xiaobo Li 6, Yuping Ning 3,4,7, Xuetao Shi 1,5,✉, Fengchun Wu 3,7,✉, Kai Wu 2,5,8,✉
PMCID: PMC13335992  PMID: 42153961

ABSTRACT

The gut microbiota plays a crucial role in human health, but its coordinated ecological dynamics remain largely unclear. We present Wiredancer, a novel scalable framework based on similarity‐constrained non‐negative matrix factorization (NMF), which extracts continuous and overlapping microbial ecological factors (MEFs). By integrating 20,178 metagenomes spanning 36 countries and over 50 disease states, Wiredancer identified three robust and interpretable MEFs delineating the health‐disease continuum. MEF1, the dysbiotic factor dominated by Bacteroides uniformis, was elevated in disease populations; MEF2, the protective factor characterized by Prevotella copri, was reduced compared with the healthy group; and MEF3, the intermediate factor represented by Bifidobacterium adolescentis, reflected a mixed ecological configuration between MEF1 and MEF2. MEFs exhibited high reproducibility across individuals and longitudinal cohorts, but showed significantly increased variability in disease, consistent with the Anna Karenina principle and highlighting disrupted ecological stability. These findings were validated in the largest Chinese metagenomic cohort of major psychiatric disorders, where MEFs were associated with clinical symptoms, peripheral biomarkers, and disease subtypes, and remained essentially stable under short‐term treatment. Together, Wiredancer provides a generalizable strategy to define microbiome states and decode ecological transitions, offering new opportunities for precision diagnostics and stratified medicine in complex disorders.

Keywords: clinical association, ecological factor modeling, gut microbiota, major psychiatric disorders, non‐negative matrix factorization


We introduce Wiredancer, a framework that identifies three continuous ecological factors of the gut microbiota. These factors exhibit distinct patterns across health and disease, jointly capturing disrupted ecological stability and offering a new perspective for precision diagnostics and therapeutic strategies.

graphic file with name ADVS-13-e17087-g005.jpg

1. Introduction

The gut microbiota is crucial in sustaining host health [1, 2], and its stability is influenced by genetic predisposition and environmental exposures [3, 4, 5, 6]. In recent years, there has been growing evidence that gut microbiota dysbiosis may be involved in the pathogenesis of various diseases [7, 8, 9], especially major psychiatric disorders [10, 11, 12] such as major depressive disorder (MDD), schizophrenia (SZ), and bipolar disorder (BD). Although these disorders affect millions worldwide and impose a growing public health burden, their diagnosis remains primarily symptom‐based and lacks objective biomarkers [13, 14]. This gap underscores the necessity for approaches that can link gut microbial alterations to clinical phenotypes.

With growing interest in microbiota‐disease associations, numerous studies have reported significant alterations in gut microbial diversity and disruptions in the core gut microbiota in a variety of disease states [15, 16, 17, 18, 19, 20, 21]. However, considerable heterogeneity has been observed across studies [22], likely reflecting differences in cohort composition, sample size, data preprocessing, and analytical methods [23]. This inconsistency reflects the lack of large‐scale, globally representative microbiome landscapes processed with standardized pipelines, as well as the absence of approaches capable of capturing the ecological continuum and dynamic perturbations associated with disease. At the methodological level, traditional case‐control analyses can effectively explain group‐level differences in microbial features, but new frameworks are still needed to characterize the coordinated dynamics of the gut microbiota as an integrated ecosystem [24]. Moreover, given the substantial variability in individual health status, robust measures to characterize the dynamic changes in individual gut microbial composition are still lacking [25, 26]. Together, these limitations underscore the need for novel analytical frameworks that reconcile individual‐level variability with group‐level coordination in the gut microbiome.

The classic enterotype model has provided important insights into population heterogeneity and established a foundational framework for classifying gut microbial community structures [27]. Studies based on partitioning around the medoid [28] (PAM) and Dirichlet multinomial mixture models [29] (DMM) have identified three to four major enterotypes and demonstrated strong robustness in bacterial and fungal community analysis [30]. Nevertheless, these discrete classification approaches still involve a certain degree of simplification in capturing the complexity of microbiota variation, as reflected by their limited ability to represent the continuity and dynamic nature of microbial community states [31]. Drawing on economic physics and complex systems theory, we aim to construct a set of microbial ecological factors (MEFs) that capture the continuous variation of microbial communities and collectively define the latent ecological signature underlying individual health phenotypes. This idea is similar to the application of factor analytic methods, such as latent Dirichlet allocation to reveal structural and functional heterogeneity of the brain in MRI studies [32]. Although the data modalities are different, both face the need to extract low‐dimensional latent factors from high‐dimensional complex patterns. In addition, non‐negative matrix factorization (NMF) has been applied to microbiome data, supporting its utility for capturing latent ecological structures [33]. NMF‐derived latent factors can be viewed as continuous and partially overlapping ecological axes capturing coordinated variation in microbial community structure, forming a biologically interpretable low‐dimensional representation. However, current approaches still require improved high‐resolution characterization of microbial community structures [34]. Moreover, growing attention has been directed toward microbial structural similarity, given its importance for systematically delineating healthy microbiome states [35]. Improving species‐level resolution and jointly considering inter‐individual heterogeneity and intra‐individual similarity may help to more comprehensively characterize the biological features and potential functional roles of the gut microbiota.

At the same time, the health‐disease continuum paradigm has attracted increasing attention, challenging the traditional binary model. While binary comparisons remain useful for detecting group‐level differences, health and disease are better understood as positions along a continuous spectrum, with disease representing a deviation from the optimal state of health. Moreover, the Research Domain Criteria framework proposed by the National Institute of Mental Health [36], as well as the emerging concept of “p‐factors” in psychiatry [37], advocate a dimensional modeling approach to more closely match the complex phenotypic spectrum observed in clinical practice. Furthermore, from an ecosystem perspective, the gut microbiota constitutes an intricate system of diverse species and multilayered interactions, with microbial similarity requiring quantitative evaluation [38]. However, existing research has mainly focused on single species or local characteristics, and further efforts are needed to enable systematic analysis of the overall structure and dynamic coordination of microbial communities. Although a limited number of studies have explored the dynamic interplay between the gut microbiota and host physiological states and provided initial insights [39], there remains a need to establish quantitative frameworks to characterize how microbial communities change and interact during disease‐related state transitions. A key unresolved issue is how to systematically define the healthy homeostasis of the gut microbiota and track its changing trajectory during the transition to the host state.

In this study, we established Wiredancer, a modeling framework built on large‐scale metagenomic data that incorporates similarity‐constrained NMF to capture continuous and overlapping MEFs (Figure 1). The framework is designed to balance ecological constraints with modeling flexibility, thereby enabling robust and interpretable characterization of complex microbiome states. Leveraging a globally collected and taxonomically diverse cohort of 20,178 samples, Wiredancer enables the systematic characterization of gut microbiota states across health and multiple disease conditions. Importantly, Wiredancer defines a stable ecological reference space where disease states are represented as structured deviations from a shared microbial system, enabling consistent cross‐cohort representation. Furthermore, validation in the largest cohort of patients with major psychiatric disorders demonstrated its potential to link microbial ecological patterns with clinical phenotypes. Overall, Wiredancer provides a scalable and generalizable strategy for capturing the ecological organization of the gut microbiota and linking it to clinical phenotypes, thereby advancing microbiome‐based diagnostics in complex diseases.

FIGURE 1.

FIGURE 1

Schematic overview of the Wiredancer framework for MEFs modeling and validation. Global metagenomic sequencing data were first integrated and processed to generate microbial composition matrices, which served as the input for factor modeling. Through optimized NMF, three stable and biologically interpretable MEFs were identified. Each sample was then projected into a latent factor space, enabling the characterization of individual‐level ecological compositions and their associations with disease states. To assess robustness, the stability of MEFs was systematically evaluated across multiple dimensions, including longitudinal temporal dynamics, inter‐individual variability, and ecological interactions among factors. This analysis revealed asymmetric transition patterns that reflect the dynamic balance of microbial ecosystems. Finally, the framework was applied to large cohorts of patients with major psychiatric disorders to demonstrate clinical utility in disease differentiation, subtype stratification, phenotype correlation, and longitudinal follow‐up.

2. Results

2.1. Microbial Characteristics of the Participants

We collected a global metagenomic dataset comprising 20,178 samples collected across 36 countries (Figure 2a, Table S1). The cohort spans a wide spectrum of health conditions, including more than 50 previously reported diseases and healthy states, providing a globally representative landscape of gut microbial features. For subsequent analyses, we selected samples with complete metadata on sex, age, body mass index (BMI), and sequencing platform, to ensure robust assessment of host and technical factors influencing the gut microbiota. Building on the microbial Anna Karenina principle and the framework of normative modeling, we used the healthy population as a relatively stable reference distribution to characterize background variability and identify systematic deviations from this baseline. Initial analyses revealed significant differences in the compositional structure (p < 0.001) of the gut microbiota between healthy and unhealthy groups (Figure 2b). However, because such differences could be confounded by batch effects across cohorts, we applied covariate adjustment using the MMUPHin framework (Figure S1a). After removing the effects of confounding variables, the microbial structural differences were markedly attenuated (Figure 2c, Table S2), with batch effects substantially reduced (Figure 2d).

FIGURE 2.

FIGURE 2

Integrated analysis of large‐scale metagenomic data reveals gut microbiota differences associated with health status. (a) Global distribution of 20,178 human gut metagenomic samples from 36 countries. Countries are colored by sample count. Map generated by the authors using R (sf, ggplot2, and rnaturalearth packages) based on publicly available geographic boundary data from Natural Earth (public domain). Country abbreviations are shown using ISO 3166‐1 alpha‐3 codes. This map is intended solely to illustrate sample distribution, and the boundaries and names shown do not imply any official endorsement or acceptance. (b) Principal coordinates analysis (PCoA) based on Bray–Curtis dissimilarity shows significant β‐diversity differences between healthy and unhealthy groups, as assessed by permutational multivariate analysis of variance (PERMANOVA, p < 0.001). (c) Circular plot illustrates cohort‐wise compositional structure before and after batch adjustment. (d) PCoA plot colored by study group after batch effect correction, indicating retained biological variation. (e) Violin and box plots showing Shannon diversity index significantly higher in the healthy group (Wilcoxon rank‐sum test, two‐sided; n = 20,178; ***, p < 0.001). (f) Box plot of GMHI, showing significantly greater values in healthy individuals (Wilcoxon rank‐sum test, two‐sided; n = 20,178; ****, p < 0.0001). (g) Spearman correlation between Shannon index and GMHI (n = 20,178; r = 0.184, p < 0.001) with density overlay.

We applied the MaAsLin2 framework to characterize microbial differences between the healthy and unhealthy groups, identifying 190 significant microbial features after multiple testing correction (Figure S2, Table S3). For instance, Bacteroides stercoris, Streptococcus gordonii, and Clostridium symbiosum were significantly increased in the unhealthy group, whereas Prevotella copri, Roseburia inulinivorans, and Faecalibacterium prausnitzii were significantly decreased compared to the healthy individuals. In addition, both the Shannon and Simpson indices were significantly changed in the unhealthy group (p < 0.001), although the magnitude of difference was relatively modest (Figure 2e; Figure S1b, Table S4). At the subgroup level of healthy group, Shannon diversity was significantly lower in males than females (p = 1.4 × 10−15; Figure S1c, Table S5), slightly lower in younger adults (<60 years) compared to older adults (≥60 years) (p = 0.0036; Figure S1d), and showed no significant difference across BMI groups (p = 0.35; Figure S1e). Additionally, we observed a significant decrease in the Gut Microbiota Health Index (GMHI) in the unhealthy group (p < 0.0001) compared to healthy individuals (Figure 2f). In addition, GMHI was also significantly positively correlated (r = 0.184, p < 0.001) with Shannon species diversity (Figure 2g). These findings suggest that gut microbial ecology reflects global health status at the group level. However, the relatively small effect size suggests that single ecological indices provide only a partial view and may not adequately resolve more subtle ecological or clinical heterogeneity, highlighting the need for additional complementary factors.

2.2. Species‐Level Analysis of Traditional Enterotype Models

Defining a healthy gut microbiota remains a fundamental question in microbiota research. Using a contrastive learning strategy, we uncovered three distinct and robust microbial modules in healthy individuals (Figure 3a), potentially reflecting stable species‐level compositional configurations associated with health. Additionally, we applied two classical clustering methods, including PAM and the DMM, to healthy individuals and extended their use to the species level in a large‐scale cohort, allowing for a more refined characterization of gut microbial community structures. In our large‐scale cohort of healthy individuals, PAM consistently identified two to three optimal clusters across various subsampling proportions, as supported by both the Calinski–Harabasz index and silhouette score (Figure S3a–c). Notably, PAM demonstrated high stability across repeated runs and was relatively robust to sample size variation. In contrast, the DMM model was markedly sensitive to sample size, with the optimal number of clusters increasing progressively as determined by the Akaike and Bayesian information criteria (Figure S4a–e). These results suggest that DMM exhibits unstable convergence with increasing sample size, reaffirming previous genus‐level observations at the species level. Despite their utility in delineating broad community types, these traditional clustering approaches exhibit inherent limitations. Discrete models such as PAM and DMM fail to capture the widespread mixed ecological features within individual microbiota, overlooking the continuum of microbial community states.

FIGURE 3.

FIGURE 3

Identification and characterization of MEFs derived from Wiredancer. (a) Contrastive learning revealed three distinct health‐associated patterns among healthy samples. (b) Cophenetic correlation curve across varying factor numbers in Wiredancer, with optimal rank determined at K = 3. (c) Top 10 ranked taxa for each MEF, showing distinct compositional profiles. (d–f) Scatter plots show Pearson correlations between species‐level t‐statistics and taxon loadings of each MEF. (g) A ternary plot illustrates MEF compositions of individual samples, colored by health status, highlighting group‐level shifts in factor space between healthy and unhealthy groups. (h) Boxplots comparing MEFs scores between healthy and unhealthy groups, with all differences reaching significance (Wilcoxon rank‐sum test, two‐sided; n = 18,873; ****, p < 0.0001). (i) Density distribution of MEFs entropy showing a right‐skewed distribution. (j) MEFs' entropy significantly higher in healthy individuals. (k) ROC curve demonstrating the predictive performance of the factor‐based multivariable classification model using fivefold cross‐validation (AUC = 0.832). (l) Confusion matrix of the factor‐based classification model predicting health status based on fivefold cross‐validation, with an overall accuracy of 89.7% (n = 18,873).

2.3. Identification of the MEFs via Wiredancer

Within the Wiredancer framework, each individual is represented by a continuous mixture of microbial factors, allowing the capture of both mixed community structures and ecological gradients, rather than being restricted to a single enterotype as in traditional clustering. Each latent factor corresponds to a microbial community pattern, while individual samples are represented as weighted combinations of multiple factors, reflecting the co‐existence and overlap of communities within the same host and capturing the continuous and complex nature of the gut microbiome. Increasing the number of factors improves the total explained variance, analogous to refining a color spectrum into narrower bands, but it also raises the risk of overfitting. By evaluating model stability using the cophenetic correlation coefficient, we determined that three factors (K = 3) consistently achieved the highest stability across different parameter settings and yielded consistent results under cohort‐stratified cross‐validation (Figure 3b; Figure S5, Table S6). The three MEFs were each dominated by distinct microbial communities—MEF1 by Bacteroides uniformis, Faecalibacterium prausnitzii, Bacteroides vulgatus, Ruminococcus bromii, Alistipes putredinis; MEF2 by Prevotella copri, Butyrivibrio crossotus, Eubacterium rectale, Phascolarctobacterium succinatutens; and MEF3 by Bifidobacterium adolescentis, Collinsella aerofaciens, Anaerostipes hadrus (Figure 3c, Table S7). We further observed strong interrelationships among distinct MEFs (Figure S6). At the functional level, the three MEFs also showed distinct metabolic profiles (Figure S7). MEF1 was enriched in carbohydrate and arginine metabolism, MEF2 in nucleotide and branched‐chain amino acid biosynthesis, and MEF3 in peptidoglycan maturation, together with carbohydrate fermentation and energy metabolism. Additionally, to evaluate the extent to which these factors capture disease‐associated global compositional variation, we developed an analysis framework based on global variation patterns. Specifically, we first computed species‐level t‐statistics comparing healthy and unhealthy cohorts to characterize the overall direction and magnitude of compositional shifts. We then assessed the correspondence between these global variation patterns (Figure S8) and the taxon loadings of each MEF using Pearson correlation. MEF1 showed a modest but significant association (r = 0.152, p = 5.39 × 10− 4, Figure 3d), MEF2 showed a strong association (r = 0.297, p = 1.70 × 10− 1 1, Figure 3e), whereas MEF3 was only relatively weakly correlated (r = 0.0737, p = 8.53 × 10− 2, not significant, Figure 3f), indicating that the first two factors predominantly underlie disease‑associated microbial variation at the global level.

We next examined differences in individual MEF expression between healthy and unhealthy groups, yielding striking results. Healthy subjects displayed tightly clustered factor scores, whereas unhealthy individuals exhibited markedly dispersed profiles (Figure 3g), consistent with the Anna Karenina principle. We then compared mean MEF scores between groups (Figure 3h) and found that MEF1 was significantly higher in the unhealthy group (p < 1 × 10− 4), while MEF2 was significantly lower compared to healthy individuals (p < 1 × 10− 4). Interestingly, although the median of MEF3 did not differ substantially between groups, unhealthy subjects showed greater variability in MEF3 expression (p < 1 × 10− 4). Importantly, after stratifying individuals by disease states, this pattern was observed across most of the 51 distinct health conditions (Figure S9). We further examined the variations of the three MEFs across sex, age, and BMI groups. In the stratified analyses, only MEF2 showed a statistically significant difference across sex groups, whereas no significant differences were observed for MEF1 and MEF3 across sex, age, or BMI strata (Figure S10a–i). To quantify community heterogeneity, we computed the Shannon entropy of each sample's factor distribution, which was right‑skewed overall (Figure 3i) and significantly lower in the unhealthy group (Figure 3j). Finally, to assess the diagnostic utility of factor profiles, we built a logistic regression model with fivefold cross‑validation, with an area under the ROC curve reaching 0.832 (Figure 3k; Figure S11a) and an overall classification accuracy of 89.7% (Figure 3l). Additionally, we found that factor entropy enabled accurate classification of health status (Figure S11b).

2.4. MEFs Exhibit High Stability

To evaluate the stability of MEFs derived from Wiredancer, we adopted a two‐stage analytical framework combining cross‐sectional and longitudinal data. In the cross‐sectional analysis, we first examined age‐related trajectories of MEFs expression in a globally diverse healthy population. MEF1 expression showed a slight age‐related increase, MEF2 declined steadily, and MEF3 followed an inverted U‐shaped trajectory with a peak between 60 and 70 years, suggesting a potential ecological inflection point in later life (Figure 4a). In contrast, the unhealthy group displayed greater fluctuations across all three MEFs (Figure 4b), indicating more pronounced instability and dysbiosis. Additionally, to quantify compositional variability, we compared the log coefficient of variation ratio (lnCVR) across groups. All three MEFs exhibited significantly higher lnCVR values in the unhealthy population than in the healthy group (permutation test, p < 0.001; Figure 4c, Table S8), reflecting greater ecological volatility under disease conditions. Notably, MEF2 displayed the greatest variability, suggesting a strong association with disease‐related ecological instability.

FIGURE 4.

FIGURE 4

Analysis of MEFs stability and transitions. (a,b) Line plots show MEFs scores across different age groups in the healthy (a) and unhealthy (b) populations. (c) Bar plot illustrates significantly elevated lnCVR for all MEFs in the unhealthy group (permutation test; n = 18,873; ***, p < 0.001), suggesting greater inter‐individual variability. (d) The Markov chain transition network depicts the transitions among the three MEFs, with arrow direction indicating transition direction and thickness/values representing transition probabilities (n = 18,873). (e) Box and violin plots compare cosine similarity of MEFs compositions between follow‐up samples in healthy and unhealthy groups, showing significantly lower similarity in the unhealthy group (Wilcoxon rank‐sum test, two‐sided; n = 498; p < 2.2 × 10−16). (f) Linear regression shows that across all individuals, longer time intervals between visits are associated with lower MEFs similarity (r = −0.19, p = 2.4 × 10−5). (g) CLR‐transformed MEF1/MEF2 scores show a strong association with MEF3 (r = 0.65, p < 2.2 × 10−16), supporting the validity of MEFs inference. (h) Scatter plots illustrate the Spearman correlations between predicted and observed MEFs scores, with MEF1 (r = 0.45), MEF2 (r = 0.30), and MEF3 (r = 0.40) all showing robust performance (n = 498, all p < 2.2 × 10−16).

In the longitudinal analysis, we constructed a Markov transition network using MEF1‐3 as discrete ecological states (Figure 4d, Table S9). MEF1 and MEF3 exhibited relatively high self‐transition probabilities (0.63 and 0.65, respectively), indicating greater temporal persistence of these states. In contrast, MEF2 showed a lower self‐transition probability (0.25) and more frequent transitions toward MEF1 (0.31) and MEF3 (0.44). Transitions from MEF1 and MEF3 to MEF2 were infrequent, suggesting asymmetric transition dynamics among the three states. Notably, MEF3 exhibited the highest self‐transition probability and maintained moderate transition probabilities to both MEF1 and MEF2, suggesting that MEF3 may represent an intermediate or transitional ecological state between MEF1 and MEF2.

2.5. Stability and Dynamic Reorganization of MEFs

We compared the overall temporal stability of MEFs composition using cosine similarity across repeated timepoints. The temporal stability of samples from unhealthy individuals was significantly lower than that of the healthy group (p < 2.22 × 10−16; Figure 4e, Table S10), although overall similarity remained high. Importantly, stability showed a significant negative correlation with the time span between follow‐up visits (r = −0.19, p = 2.4 × 10−5; Figure 4f), indicating that ecological consistency degrades with increasing temporal distance.

Furthermore, we used a linear mixed‐effects model to examine the relationship between MEF3 and MEF1/MEF2. CLR‐transformed MEF3 was positively correlated with MEF1/MEF2 expression (r = 0.65, p < 2.2 × 10−16; Figure 4g), indicating that MEF3 is associated with variation shared across these factors. Finally, we further evaluated the temporal predictability of MEFs expression, a property of key relevance for understanding the dynamic behavior of microbial communities. Predicted values for MEF1, MEF2, and MEF3 were highly correlated with observed measurements (all p < 2 × 10−16; Figure 4h), indicating that these ecological factors exhibit strong temporal reproducibility and learnability. Together, these findings indicate dynamic reorganization of MEFs, with directional transitions among MEF1, MEF2, and MEF3 reshaping ecological balance.

2.6. Disorder‐Specific Microbial Factor Alterations and Cognitive Disruption

Using the Wiredancer framework, we integrated the publicly available metagenomic datasets with our independently established psychiatric cohort to systematically characterize the expression profiles of MEFs. Adjusted MEF expression differed significantly across diagnostic groups (Figure 5a, Table S11). Specifically, MEF1 was primarily increased in MDD; MEF2 was consistently decreased across MDD, BD, and SZ, exhibiting a shared cross‐disorder reduction pattern; in contrast, MEF3 was significantly increased across all three disorders, with more pronounced elevations in BD and SZ. When projected into three‐dimensional MEFs space, all three disorders exhibited directional shifts away from the healthy baseline (Figure 5b, Table S12). Although MDD, BD, and SZ are clinically classified as distinct disorders, they share overlapping symptoms. We found that SZ and BD were closest in spatial distribution, MDD also showed similarity to BD, while MDD and SZ were relatively more distant, closely mirroring their clinical symptom patterns. This observation challenges the traditional categorical model of microbiota dysregulation and supports a dimensional continuum model of ecological deviation from health.

FIGURE 5.

FIGURE 5

Disorder‐specific MEFs shifts and clinical relevance. (a) Boxplots display the distributions of MEF1‐3 scores across healthy, MDD, BD, and SZ groups (Wilcoxon rank‐sum test, two‐sided; n = 1,305). (b) 3D plot visualizes group‐level distributions in MEF space, highlighting directional deviations from the healthy reference. (c,d) lnCVR comparisons show increased inter‐individual variability in MEFs scores for psychiatric disorder groups compared to the healthy group (c), and between non‐first‐episode versus first‐episode subgroups relative to the healthy group (d) (permutation test; n = 1,305; **, p < 0.01; ***, p < 0.001). (e) Radar plot illustrates cognitive impairments in the MDD group compared to the healthy group across five domains, based on Cohen's d effect sizes (n = 402). (f–h) Canonical correlation analyses reveal associations between MEF1‐3 scores and cognitive performance. Scatter plots illustrate the CCA‐observed correlation with overall cognition, while bar plots display the Pearson correlation coefficients between MEFs and each cognitive domain (n = 471).

We further assessed inter‐individual variability in MEFs expression across psychiatric disorder groups. Variability in MEF1 and MEF2 was significantly elevated in MDD, BD, and SZ (all p < 0.001), whereas increased MEF3 variability was observed only in MDD and BD, with no significant change detected in SZ (Figure 5c). Given that disease progression may affect gut microbial stability, we further compared first‐episode and non‐first‐episode patients within the MDD and SZ groups (Figure 5d). In MDD, both non‐first‐episode and first‐episode patients exhibited significantly greater MEFs variability compared to the healthy group (all p < 0.01). Notably, non‐first‐episode MDD patients showed higher variability in MEF1 and MEF2 than first‐episode patients, whereas MEF3 variability was lower. These findings suggest that the intermediate ecological pattern captured by MEF3 may become less prominent with disease progression, while instability in MEF1 and MEF2 intensifies. In contrast, MEF3 variability in SZ was not significantly altered in either non‐first‐episode or first‐episode patients compared to controls. However, non‐first‐episode SZ patients displayed increased MEF1 variability and decreased MEF2 variability relative to first‐episode patients, indicating diagnosis‐specific trajectories of microbial instability across psychiatric disorders. Together, these results demonstrate that the Wiredancer framework captures disorder‐specific alterations and progression trajectories that mirror the clinical heterogeneity of psychiatric disorders.

2.7. Associations Between MEFs and Cognitive Function

Given the well‐documented cognitive impairments in psychiatric populations, we next assessed performance across cognitive function (Figure 5e, Table S13). MDD patients exhibited significant deficits in speed of processing (SoP; Cohen's d = −0.7, p < 0.05), attention/vigilance (AV; Cohen's d = −1.39, p < 0.05), working memory (WM; Cohen's d = −1.17, p < 0.05), verbal learning (Cohen's d = −0.73, p < 0.05) and visual learning (Cohen's d = −0.81, p < 0.05). SZ patients also showed strong impairments (Figure S12), exemplified by deficits in attention/vigilance (Cohen's d = −0.73, p < 0.05) and verbal learning (Cohen's d = −0.72, p < 0.05). Furthermore, canonical correlation analysis (CCA) revealed significant associations between MEFs expression and cognitive function, with MEF1 and MEF3 showing predominantly negative correlations across cognitive function, whereas MEF2 was positively correlated with all cognitive measures (Figure 5f–h), and these associations remained significant after covariate adjustment (Figure S13). Thus, the ecological factors derived from the Wiredancer framework reveal a significant association between microbiome variation and cognitive phenotypes.

2.8. Clinical Validation of MEFs in MDD

Analysis of the associations between MEFs and clinical symptom severity revealed no significant relationships at the overall level (Figure S14a). However, certain MEFs were significantly associated with specific symptoms, including depressed mood (item 1) and agitation (item 9) of the Hamilton Depression Rating Scale (17‐item, HAMD‐17) (FDR p < 0.1; Figure 6a, Table S14). MEFs were also linked to peripheral biomarkers, including a positive correlation between MEF1 and prolactin, and a negative correlation between MEF2 and red blood cell count (FDR p < 0.05; Figure S14b). In light of the weak associations at the global symptom level, we next assessed individual‐level ecological divergence from health by computing Euclidean and orthogonal distances within the MEFs space. While Euclidean distance to the healthy reference profile showed no association with HAMD scores, orthogonal deviation from the healthy reference plane was positively correlated with symptom severity (r = 0.17, p = 0.013; Figure 6b), suggesting that greater divergence from health‐associated configurations reflects increased clinical burden.

FIGURE 6.

FIGURE 6

Symptom correlates and longitudinal dynamics of MEFs. (a) Heatmap shows Spearman correlations between MEF1‐3 scores and individual items on the 17‐item HAMD, including total depression severity (n = 230). (b) Scatter plot showing the correlation between the CLR‐normalized ecological deviation from the healthy baseline and HAMD total scores, indicating a significant positive association (r = 0.17, p = 0.013). (c–e) Violin–boxplots display differences in HAMD item scores (HAMD_2: guilt, HAMD_9: agitation, HAMD_15: hypochondriasis) across two MEF‐based clusters, with asterisks denoting significant group differences (Wilcoxon rank‐sum test, two‐sided; n = 230). (f) Paired boxplots show a significant reduction in HAMD‐depression scores from baseline to follow‐up among MDD participants. (g) Scatter plots show significant longitudinal correlations between baseline and follow‐up MEFs scores for MEF1 (r = 0.41, p = 0.0074), MEF2 (r = 0.32, p = 0.039), and MEF3 (r = 0.43, p = 0.0048), indicating intra‐individual temporal stability (paired Wilcoxon signed‐rank test, two‐sided; n =42).

Furthermore, to explore heterogeneity within MDD, k‐means clustering based on MEFs profiles identified two microbial subtypes (Figure S15), which differed significantly across multiple depressive symptoms. The most notable differences were observed in guilt, agitation, and hypochondriasis, suggesting potential subtype‐specific clinical relevance (Figure 6c–e). Finally, in a longitudinal analysis of 42 patients undergoing antidepressant treatment, a significant improvement in depressive symptoms was observed (Figure 6f), whereas MEFs expression remained largely stable (Figure S16). Nonetheless, moderate within‐subject consistency (r = 0.32–0.43, p < 0.05, Figure 6g) suggests short‐term pharmacological intervention does not substantially shift microbial ecological structure. Notably, baseline Wiredancer‐derived MEFs profiles failed to predict treatment response, which may be attributable to limited sample size and substantial clinical heterogeneity. Overall, Wiredancer still provides a robust and broadly applicable analytical tool for linking the ecological organization of the gut microbiome to clinical phenotypes in complex diseases.

2.9. Sensitivity and Robustness Analyses

Through a series of sensitivity analyses, we systematically assessed the robustness of our analytical framework across multiple dimensions, including preprocessing choices, model configurations, and cohort structures (Figures S17–S22). Applying a 0.01% abundance threshold had negligible effects on both within‐sample diversity and between‐sample similarity, as reflected by near‐identical Shannon diversity and highly overlapping cosine similarity distributions (Figure S17). Consistent patterns were observed across different prevalence thresholds (5%, 15%, and 20%), where both diversity and pairwise similarity structures remained highly concordant relative to the baseline (10%), with correlation coefficients exceeding 0.97 (Figure S18), indicating that the inferred ecological structure is largely insensitive to filtering stringency. Additionally, compared with conventional dimensionality reduction methods, MEF achieved higher explained variance (Figure S19), supporting its ability to more effectively capture the underlying ecological structure. To further evaluate model dependence on training strategy, we systematically compared three approaches: healthy‐only, all‐sample, and split‐training schemes. The healthy‐only strategy consistently demonstrated superior modeling performance and achieved higher discriminative capacity based on derived features relative to the other strategies. In addition, ICC analyses across different random initializations showed improved consistency and stability under this strategy, supporting its suitability as a reference modeling space (Figure S20). Analyses across cohorts and preprocessing strategies further revealed consistent model performance, minimal contribution from cohort identity, and high reproducibility under bootstrap resampling (Figure S21). In MEF space, disease samples consistently exhibited greater distances to group centroids compared to healthy controls across cohorts, whereas variability among healthy controls remained low and stable, providing a reliable baseline reference. This pattern persisted after covariate adjustment and was primarily associated with disease status rather than demographic or cohort‐related factors (Figure S22). Overall, these analyses support the robustness of the identified structure across analytical settings and cohort heterogeneity, suggesting that it captures a stable ecological signal rather than artifacts introduced by technical or study‐specific variation.

3. Discussion

To the best of our knowledge, this study utilizes the largest and most globally representative metagenomic dataset to date to establish and validate Wiredancer, a novel, scalable data‐driven framework that delineates the continuum of gut microbial states across health and disease. We discovered three stable and broadly applicable MEFs dominated by Bacteroides uniformis, Prevotella copri, and Bifidobacterium adolescentis, which capture the characteristic compositional patterns of the gut microbiota at the individual level. Moreover, MEFs also reflect inter‐individual differences in ecological stability, temporal variability, and dynamic fluctuations. Furthermore, validation in psychiatric disorder cohorts demonstrated that MEF variations were significantly associated with disease symptoms, cognitive function, and peripheral biomarkers, and also facilitated subtype stratification, underscoring the translational potential of Wiredancer in precision medicine.

Our research findings indicate that there are significant differences in gut microbiota composition between healthy and unhealthy individuals. In unhealthy populations, the balance of the gut microbiota may be disrupted due to a significant decrease in several important symbiotic species, including Faecalibacterium prausnitzii [40] and Akkermansia muciniphila [41]. These species are known to produce short‐chain fatty acids and exert anti‐inflammatory effects, indicating a link between systemic microbial imbalance and disease. In parallel, potentially pathogenic bacterial species such as Klebsiella pneumoniae [42] were significantly enriched, indicating that under conditions of dysbiosis, these bacterial communities may gain an ecological advantage and promote disease progression. It is worth noting that species‐level analysis revealed significant ecological differences that were difficult to identify at the genus level. For instance, although Ruminococcus gnavus [43] and Ruminococcus lactaris belong to the same genus, the former is enriched in unhealthy populations and has been found to be associated with various diseases, while the latter is mainly enriched in healthy populations. This opposite distribution trend emphasizes the necessity of using high‐resolution classification in microbiological research. Genus‐level aggregation may obscure clinically relevant microbiological characteristics, whereas species‐level analysis better captures heterogeneity within taxonomic units [44]. In addition, we found that microbial imbalance characteristics were highly correlated with the MEFs pattern, suggesting that gut microbiota disruption is not driven by changes in individual species, but rather reflects a systemic ecological restructuring [45].

Interestingly, the Wiredancer framework consistently extracted three MEFs across multiple repeated analyses, underscoring both the stability and reproducibility of this data‐driven approach. These three types of MEFs exhibit distinctly different compositional characteristics and ecological functional tendencies, supporting and expanding upon the classic enterotype theory [28]. Specifically, MEF1 is dominated by anaerobic symbiotic bacteria such as Bacteroides uniformis [46], resembling the traditional Bacteroides‐type gut microbiota; MEF2 is rich in fiber‐fermenting bacterial communities such as Prevotella copri [47] and Eubacterium rectale, exhibiting ecological characteristics similar to the Prevotella‐type; while MEF3 is represented by genera such as Bifidobacterium adolescentis [48] and Collinsella aerofaciens, reflecting characteristic intestinal ecological configurations. In contrast to previous genus‐level classification approaches [30, 49], Wiredancer identifies more discriminative microbial community structures at the species level, thereby enhancing the ability to characterize individual differences. Notably, Wiredancer revealed that MEF1 and MEF2 form a dynamic equilibrium in healthy individuals, a balance that is disrupted in disease conditions, with MEF1 being upregulated and MEF2 downregulated. Interestingly, MEF3 can flexibly shift toward either MEF1 or MEF2, suggesting that it represents an intermediate ecological configuration between these two dominant patterns. This finding reinforces the central concept of Wiredancer, namely that ecological balance and constraint jointly define community homeostasis. Unlike previous “core functional groups” that viewed healthy and disease‐associated communities as opposing binary structures [39], our results indicate that host health status is not simply determined by the competitive balance between disease‐associated and healthy‐associated microbial communities, but rather stems from a community steady state shaped by multiple ecological expressions. In other words, health is not the dominant state of a particular type of microbiota, but rather a multidimensional, multi‐module synergistic microecological balance [50]. Our findings are consistent with previous studies, in which an overabundance of Bacteroides has been identified as a key disease‐associated feature [51]. The Bacteroides‐dominated MEF1 is significantly upregulated and exhibits increased variability under disease conditions, reflecting a “resilient yet impaired” core homeostasis deviation [33]. In contrast, MEF2 shows higher vulnerability as a core ecological factor, marked by niche displacement and a tendency toward functional collapse. This phenomenon further supports the view that there is strong “mutually exclusive” ecological competition between Prevotella‐type and Bacteroides‐type communities [33, 52], highlighting the importance of species‐level resolution in capturing such ecological dynamics.

We further validated that MEFs derived from Wiredancer exhibit high stability in age‐related changes [53, 54], inter‐individual variability, and ecological transition patterns between healthy and unhealthy states. MEF1 was higher in unhealthy individuals across all age groups compared to the healthy group, while MEF2 remained consistently downregulated. This antagonistic expression pattern remained stable across different age groups, further validating the long‐term disruption of microbial homeostasis in disease states and demonstrating a high degree of consistency between disease and microbial dysbiosis. Interestingly, in healthy populations, a distinct expression inflection point was observed around the age of 60–70, which coincides with the retirement age in many countries [55]. This phenomenon may reflect the potential impact of lifestyle changes on gut ecological status, warranting further systematic evaluation in future studies [56]. Additionally, we observed a significant increase in interindividual variability of disease‐related factors compared to health‐related factors, consistent with previous studies reporting enhanced microbial community volatility under disease conditions [57]. It is worth emphasizing that individual MEF expression exhibits high stability over time, demonstrating potential as a marker of individual microbiota status [58]. Although this expression state undergoes slight drift over time, its changes exhibit a degree of predictability, offering a potential pathway for developing personalized intervention strategies based on microbial status.

Furthermore, the generalizability of Wiredancer was systematically validated in one of the largest available cohorts of individuals with severe major psychiatric disorders, including MDD, SZ, and BD. All three disorders exhibited consistent and significantly shifted MEFs expression patterns relative to the healthy baseline, with substantial overlap in microbiota dysbiosis features across diagnoses. These findings further support the conceptualization of psychiatric disorders as points along an ecological continuum [59, 60], as opposed to the conventional paradigm that treats them as mutually exclusive diagnostic categories. While previous studies based on discrete clinical variables have identified shared features across psychiatric disorders [12], our findings suggest that these similarities may reflect common functional expression patterns within the gut microbiota. We also observed disease‐specific differences in the variability of MEFs expression, indicating that microbiota disruption not only manifests as shifts in average levels but also involves alterations in the dynamic structure within communities [61]. This variability may reflect the dynamic instability of psychiatric disorders during their pathological progression, providing potential clues for understanding their biological heterogeneity and subtype evolution. In addition, investigating the extent of MEFs disruption in relation to disease course provides important insights into clinical progression and therapeutic intervention [62]. Compared to first‐episode, untreated individuals, non‐first‐episode MDD and SZ patients exhibited significantly enhanced variability in MEF1, reflecting an exacerbation of microbial imbalance as the disease progresses. Notably, MEF2 exhibited divergent trajectories across the two disorders: its expression progressively increased with disease duration in MDD, whereas it showed a continuous decline in SZ. Given that non‐first‐episode patients typically receive long‐term pharmacological treatment and that treatment mechanisms vary across different psychiatric disorders [63], this change may reflect differing effects of disease intervention pathways on the microbiota, suggesting potential underlying mechanisms of microbiota–host interactions in disease evolution. Specifically, MDD exhibits fluctuating MEF2 expression that increases with disease progression, while SZ shows an early divergent, late convergent microbiota succession trajectory. These dynamic trajectories, revealed through the Wiredancer framework, highlight its ability to resolve disease‐specific ecological pathways that conventional static models may overlook.

Finally, we assessed the clinical relevance of MEFs and found that they showed stable associations with symptom dimensions, peripheral blood biomarkers, and deviations from healthy baselines, systematically revealing these relationships for the first time from a systemic microbiological perspective. Consistent with previous studies, the MEFs model derived from NMF can also be used to identify clinically significant subtypes [64], demonstrating its potential for achieving refined classification in populations with mental disorders. However, compared with recent brain imaging‐based factor models [32], we have not yet achieved effective prediction of treatment response. This limitation may reflect the high heterogeneity of MDD, suggesting the need to integrate multi‐omics information to enhance predictive capabilities. Additionally, sample size limitations may have impacted our ability to identify the dynamic diversity of microbial factors [6]. Future research should focus on overcoming these challenges to advance the translational application of personalized diagnostic and intervention strategies based on microbiota characteristics.

This study has certain advantages in terms of sample size, model construction, and multi‐disease validation, but it still has several limitations. First, the analyses primarily relied on bacterial metagenomic data and should be extended to include multi‐kingdom microbiota and multi‐omics layers to more comprehensively capture gut ecosystem complexity [65, 66, 67, 68, 69, 70]. Second, longitudinal data across the health‐disease continuum remain limited. Integrating follow‐up data from multiple disease cohorts may help to delineate the dynamic trajectories of community homeostasis during disease progression. Meanwhile, the causal effects and underlying biological mechanisms of the inferred ecological factors still require further confirmation through animal experiments and other functional validation strategies [71]. Finally, although the MEFs framework demonstrated robust cross‐disease generalizability, its practical clinical utility in predicting treatment responses still requires further validation and optimization in larger prospective longitudinal cohorts.

4. Conclusion

In this study, we developed Wiredancer, a scalable modeling framework that consistently extracts three robust MEFs, thereby mapping the health‐disease continuum of the global gut microbiome. Systematic validation in large psychiatric disorder cohorts demonstrated that the framework can closely link microbial ecological patterns with clinical phenotypes. Wiredancer translates microbial heterogeneity into continuous ecological dimensions, offering a generalizable paradigm for precision medicine and a powerful avenue for advancing microbiome‐based diagnostics and interventions.

5. Experimental Section

5.1. Data Collection

We integrated a global fecal metagenomic sequencing resource spanning 36 countries and comprising a total of 20,178 samples, covering healthy and various unhealthy states. The public dataset is sourced from curated Metagenomic Data [72] and large population studies conducted in regions such as Canada, the United States, and China [19, 73, 74, 75, 76]. Only cohorts with a complete sequencing platform and sample collection metadata, passing quality control were included. To focus on major psychiatric disorders, we curated existing metagenomic datasets with clearly annotated diagnostic labels for SZ, MDD, and BD, removing duplicate entries and records lacking key information. In parallel, as part of the Brain–Gut Health Initiative (BIGHI) [77], we established a local clinical sub‐cohort comprising 609 participants, including 36 with chronic SZ, 263 with MDD, 90 with adolescent‐onset BD, and 220 matched healthy controls. The standardized data collection includes demographic information, anthropometric measurements, blood biochemistry and inflammatory markers, cognitive assessments, and disease‐specific severity scales [77]. Psychiatric diagnoses were confirmed by senior psychiatrists using the Structured Clinical Interview based on DSM‐IV‐TR or DSM‐5 criteria, depending on the time and site of assessment. All participants signed written informed consent forms, and the study was approved by the institutional ethics committee (Approval No. (2025) 056) and conducted in accordance with the Declaration of Helsinki [78]. All metagenomic data were preprocessed and annotated using standardized workflows implemented in the BioBakery suite, including sequence quality control, taxonomic profiling, functional profiling, and batch effect correction [79]. This integrated dataset provides the foundation for subsequent modeling of MEFs, assessment of cross‐cohort generalizability, and analysis of longitudinal stability. Detailed sample composition, quality control criteria, and analytical procedures are provided in Supplementary Materials.

5.2. Stool and Phenotypic Data Collection and Processing

Fecal and peripheral blood samples were collected on the day of clinical assessment according to a standardized operating procedure. Participants fasted the night before and had their samples collected under sterile conditions the following morning. Fecal samples were immediately frozen at −80°C and subsequently used for microbial DNA extraction and metagenomic sequencing. Peripheral blood samples were used to measure routine biochemical and inflammatory markers, including 35 blood biochemical indicators such as C‐reactive protein, homocysteine, and superoxide dismutase [11]. Additionally, demographic information (age, sex, years of education), anthropometric data (height, weight, and BMI), and structured clinical assessment information were recorded. Detailed procedures for sample handling and sequencing are provided in Supplementary Materials.

5.3. Enterotype Inference and Community Clustering

Enterotype‐like structures were identified using PAM and DMM, two complementary clustering methods that enabled detection of compositional patterns [28, 29]. Cluster numbers were evaluated using silhouette width and Calinski–Harabasz statistics, and robustness was assessed by repeated subsampling at varying random fractions. To mitigate disease‐related global bias effects and highlight the specific patterns of microbial variation in healthy individuals, we employed a sparse‐constrained contrastive principal component analysis method, setting healthy samples as the foreground and aggregated disease samples as the background [80]. The resulting contrastive latent space highlighted representative or relatively stable variance components in the healthy gut microbiota. To further characterize the discrete patterns in this space, we applied K‐means clustering to the contrast components and determined the optimal number of clusters using contour coefficient analysis [49]. Full methodological details and parameter settings are provided in Supplementary Materials.

5.4. Wiredancer Modeling Framework

Within the Wiredancer framework, MEFs were extracted using similarity‐constrained NMF [81], which aims to decompose the input matrix X into the product of two non‐negative matrices W and H, such that:

X≈WH

Because the NMF framework requires all elements of the input matrix to be non‐negative, X was defined as a normalized species‐level relative abundance matrix. This non‐negative matrix was then decomposed into two lower‐dimensional matrices: W, a sample‐by‐factor matrix representing the factor profile of each sample, and H, a factor‐by‐taxon matrix representing the taxonomic composition of each microbial ecological factor. The number of factors reflects the structure of the microbial community. The parameter k represents the number of latent factors. To enhance interpretability and structural preservation, a sparsity constraint [64] and a graph regularization term [82] were further introduced. The model was used to obtain a low‐dimensional latent representation of the gut microbiota in healthy individuals. To determine the optimal number of latent factors and regularization parameters, a two‐stage model selection strategy was adopted [33]. In the first stage, we evaluated multiple candidate factor numbers (k ∈  [2, 10]) under a non‐regularized setting. For each value of k, fivefold cross‐validation was performed and repeated 100 times to reduce the influence of random data partitioning. Evaluation metrics included clustering stability assessed by the cophenetic correlation coefficient. The factor number yielding the highest stability without further improvement in model performance was selected as the optimal rank. In the second stage, regularization terms were introduced based on the selected optimal rank, and joint tuning of the sparsity coefficient (α) and graph regularization coefficient (λ) was performed. An initial coarse grid search was conducted to identify a high‐performing parameter region, with the sparse regularization coefficient α ∈ {0, 0.001, 0.01, 0.05, 0.1, 0.2, 0.5, 1} and the graph regularization coefficient λ ∈ {0, 0.01, 0.1, 1, 5, 10, 15, 20}. Within the top 10% parameter combinations identified from the grid search, Bayesian optimization was further applied for fine‐scale parameter search [83]. During optimization, the cross‐validated mean explained variance was used as the objective function. A Gaussian process regression model was used to model the response surface, with the Upper Confidence Bound acquisition function guiding sampling to identify an optimal parameter balancing sparsity, structural fidelity, and reconstruction accuracy.

5.5. MEFS Analysis

Within the Wiredancer framework, the model is trained on an external healthy control dataset to learn a fixed set of ecological factors defined over microbial species, providing a stable reference due to the lower variability of the healthy microbiome. External disease datasets were projected into this space, while independent psychiatric cohorts and the BIGHI cohort, including patients, healthy controls, and longitudinal follow‐up samples, were used to validate its stability and generalizability. Factor representations for each sample were estimated via non‐negative least squares, enabling unified representation in the shared latent space [33]. We normalized the W and H matrices obtained from the NMF decomposition to characterize the overall factor composition of each sample and the relative contribution of each factor, respectively. Additionally, we extracted individual‐level factor expression profiles from the normalized matrices to compare differences between healthy and diseased populations. Both ecological composition diversity and factor discriminative ability were evaluated based on the normalized W matrix derived from NMF decomposition, where Shannon entropy quantified ecological composition diversity and logistic regression assessed factor discriminative ability. In addition, ecological factors were also linked to functional potential by calculating MEF‐specific metabolic pathway scores derived from HUMAnN outputs, enabling functional interpretation of factor‐level alterations. To explore the associations between ecological factors and microbial taxonomic shifts, species‐level t‐statistics reflecting group differences were computed, and Pearson correlations were performed between these statistics and the taxon loadings across factors [84]. Further methodological details and supporting analyses are described in Supplementary Materials.

5.6. Stability Analysis of MEFs Profiles

To examine the expression patterns and variability of MEFs derived from Wiredancer across populations, we first stratified healthy individuals into age groups and calculated the mean MEF expression within each group to assess age‐associated ecological trends. To quantify inter‐individual variability, we calculated the lnCVR for each MEF between disease and healthy groups. This metric incorporates both variance and mean differences between groups, where s p and s c are the sample standard deviations, m p and m c are the sample means, and n p and n c are the sample sizes of the patient and control groups, respectively [62].

lnCVR=lnspmpscmc+12(np−1)−12(nc−1)

We also calculated the cosine similarity between individuals at different time points based on normalized MEFs expression profiles, compared differences in temporal stability among groups, and analyzed the relationship between similarity and follow‐up time intervals using a linear regression model [85]. Additionally, we constructed a discrete‐time Markov chain model by assigning each sample to an MEF‐dominant state and derived group‐specific empirical transition matrices from repeated measurement data to characterize ecological state transitions and reshaping patterns across different groups [86]. To further assess the predictability of MEF dynamics, we employed SVR models [32]. For individuals with at least three time points, final MEF expression was predicted from preceding observations using subject ID and time as predictors. Model performance was evaluated by Spearman correlations between predicted and observed values. Additional methodological details and supporting analyses are provided in Supplementary Materials.

5.7. MEFs Profiling in Major Psychiatric Disorders

We profiled MEFs expression levels in patients with MDD, SZ, and BD compared to healthy controls. Differences in MEFs scores between groups were compared using the Wilcoxon rank‐sum test. To visualize ecological differences between diagnostic groups, we projected individual samples into a three‐dimensional MEFs space and calculated the centroids of each group to demonstrate changes in microbial community structure among the four populations [32]. To quantify intra‐group compositional variability, we calculated the lnCVR for each MEF, as described previously. lnCVR values were computed separately for the BD, MDD, and SZ groups relative to the healthy group [62]. Within each disorder, we further compared variability between non‐first‐episode and first‐episode subgroups to examine the potential impact of disease duration and progression on ecological stability. In addition, cognitive function was measured across multiple dimensions using the MATRICS Consensus Cognitive Battery [87]. Cognitive deficits in MDD and SZ patients were quantified using Cohen's d effect size calculations compared to healthy controls. To analyze the relationship between gut microbiota composition and cognitive performance, we performed CCA between individual‐level MEFs loadings and scores on each cognitive dimension [88]. Additionally, Pearson correlation coefficients were calculated between each MEF and cognitive dimension to assess the strength and direction of their association.

5.8. MEFs and Clinical Correlates

We employed three complementary strategies to analyze the association between MEFs and the HAMD‐17 total scores and item‐level scores [89]. First, we calculated the Spearman correlation coefficient between each MEF and each HAMD item to identify symptom‐level correlations. Second, in the original factor space, we calculated the Euclidean distance between each MDD patient and the average MEFs expression profile of the healthy group and performed a correlation analysis between this distance and HAMD scores. Third, because the normalized MEFs were compositional and subject to the constant‐sum constraint in joint analysis of the three factors, we applied the centered log‐ratio (CLR) transformation in the Wiredancer latent space to enable appropriate geometric analysis in Euclidean space. In the transformed space, we constructed a geometric reference plane based on the healthy control samples and further calculated the shortest vertical distance from each MDD patient to the reference plane, correlating it with HAMD scores as an interpretable metric for deviation from the healthy ecological baseline [90]. To investigate Wiredancer‐derived heterogeneity within MDD, we performed unsupervised clustering on CLR‐transformed MEFs values using K‐means, with the optimal number of clusters selected by maximizing silhouette width. Clinical variables, including HAMD subscales, were compared across identified clusters using Wilcoxon rank‐sum tests. To further characterize microbial subtypes, differential abundance analyses were performed to identify distinct taxonomic, gene, and functional signatures between subgroups. Moreover, to assess the potential of MEFs in predicting treatment response, we established a predictive model based on follow‐up data collected at 6 to 8 weeks from patients with MDD. Using the MEFs expression profile of the healthy group as a reference, we quantified the degree of deviation in patients and combined it with MEF‐derived features to perform modeling using partial least squares regression. Model performance was evaluated using leave‐one‐out cross‐validation, and the predictive results were correlated with actual symptom improvement [32].

5.9. Bioinformatics Analysis

Microbial community analysis was performed using a standard workflow. The microbial relative abundance data were adjusted using the MMUPHin [91] software package to control for potential confounding factors between cohorts. Alpha diversity was assessed using the Shannon index and Simpson index to measure species richness and evenness within samples [92]. Beta diversity was calculated based on Bray–Curtis distances and visualized using principal coordinate analysis to characterize differences in community composition between samples. The statistical significance of intergroup Beta diversity differences was tested using multivariate analysis of variance (PERMANOVA) with 9999 permutations [10]. Differential abundance analysis of microbial taxonomic units was performed using multivariate linear modeling in MaAsLin2 to identify microbial communities significantly associated with group status [93]. Extended methodological information is available in Supplementary Materials.

5.10. Statistical Analysis

All statistical analyses were performed using R (version 4.3.2). Species‐level relative abundance data were normalized, and the CLR transformation was applied where appropriate for compositional analyses. Categorical variables were compared using chi‐square tests. For continuous variables, two‐sided t‐tests were used when assumptions of normality and homogeneity of variance were met; otherwise, Wilcoxon rank‐sum tests were applied. Data are presented as mean ± SD or median, as appropriate. Correlations were assessed using Pearson or Spearman methods, depending on data distribution. Sample sizes varied across analyses and are indicated where appropriate. p‐values were adjusted using the Benjamini–Hochberg method to control for multiple comparisons. A two‐sided p < 0.05 was considered statistically significant unless otherwise specified.

Author Contributions

BZ conceptualized the study, designed the methodology, conducted formal analysis, and drafted the original manuscript. YH, SC, WW, and LL developed the methods, curated data, and contributed to manuscript review and editing. YD, XDL, RH, MG, ZL, and SW assisted with data curation and manuscript revisions. HL and CL managed the collection of clinical data. JZ, DX, XBL, and YN supported methodological development, data processing, and study supervision. XS, FW, and KW provided overall supervision, secured funding, and reviewed and edited the final draft. All authors read and approved the manuscript.

Funding

This work was supported by the National Key Research and Development Program of China (2023YFC2414500, 2023YFC2414504, 2025YFC3410000, and 2025YFC3410005), the National Natural Science Foundation of China (82271953 and 82301688), the Key Research and Development Program of Guangdong (2023B0303020001 and 2023B0303010003), the Natural Science Foundation of Guangdong Province (2024A1515013058, 2025A1515010507, and 2023A1515011383), the Guangdong Key Laboratory of Battery Safety at Guangzhou Institute of Energy Testing (2019B121203008‐KJ‐2024‐040/KJ‐2024‐041), the Science and Technology Program of Guangzhou (2025A03J3357), the Clinical Collaboration Project on Integrated Traditional Chinese and Western Medicine for Major and Difficult Diseases (Bipolar Disorder, ZDYN‐2024‐A‐121), the Research Capacity Improvement Project of Guangzhou Medical University (2024SRP200), Guangzhou Key Clinical Specialty (Clinical Medical Research Institute), the Announcement and Leading Science and Technical Foundation of Guangzhou Civil Affairs (GCAAL2022001), and the Guangzhou Planned Project of Science and Technology (2023B04J0106 and 2025B04J0011).

Ethics Statement

The study protocol was approved by the Ethics Committee of the Affiliated Brain Hospital of Guangzhou Medical University (Approval No. (2025) 056), and written informed consent was obtained from each subject or their legal guardian before the study. This study was conducted in accordance with the Declaration of Helsinki.

Conflicts of Interest

The authors declare no conflicts of interest.

Supporting information

Supporting File: advs75670‐sup‐0001‐SuppMat.docx.

ADVS-13-e17087-s001.docx (18.7MB, docx)

Acknowledgements

We sincerely thank all volunteers from South China University of Technology and the Affiliated Brain Hospital of Guangzhou Medical University for their participation and support in this study. We also thank Ms. Jun Yao for her assistance with language editing and manuscript polishing.

Contributor Information

Xuetao Shi, Email: shxt@scut.edu.cn.

Fengchun Wu, Email: 2018760372@gzhmu.edu.cn.

Kai Wu, Email: kaiwu@scut.edu.cn.

Data Availability Statement

Datasets from the curatedMetagenomicData repository are available at: https://github.com/waldronlab/curatedMetagenomicData. Additional cohorts used in this study can be accessed through publicly available databases. Clinical cohort samples collected by our laboratory are not publicly available due to privacy considerations but can be accessed upon reasonable request in de‐identified form. Further information is available from the corresponding author upon request. Source data for all main figures are provided as supporting data files. Source data are provided with this paper. Source codes used in this study are available from GitHub (https://github.com/zbyloveyj/SCUT_Minilab_MEF).

References

  • 1. Keshet A. and Segal E., “Identification of Gut Microbiome Features Associated With Host Metabolic Health in a Large Population‐Based Cohort,” Nature Communications 15, no. 1 (2024): 9358, 10.1038/s41467-024-53832-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2. Cryan J. F., O'Riordan K. J., Cowan C. S. M., et al., “The Microbiota‐Gut‐Brain Axis,” Physiological Reviews 99, no. 4 (2019): 1877–2013, 10.1152/physrev.00018.2018. [DOI] [PubMed] [Google Scholar]
  • 3. Kurilshikov A., Medina‐Gomez C., Bacigalupe R., et al., “Large‐Scale Association Analyses Identify Host Factors Influencing Human Gut Microbiome Composition,” Nature Genetics 53, no. 2 (2021): 156–165, 10.1038/s41588-020-00763-1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4. Bonder M. J., Kurilshikov A., Tigchelaar E. F., et al., “The Effect of Host Genetics on the Gut Microbiome,” Nature Genetics 48, no. 11 (2016): 1407–1412, 10.1038/ng.3663. [DOI] [PubMed] [Google Scholar]
  • 5. Zhernakova D. V., Wang D., Liu L., et al., “Host Genetic Regulation of Human Gut Microbial Structural Variation,” Nature 625, no. 7996 (2024): 813–821, 10.1038/s41586-023-06893-w. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6. Lopera‐Maya E. A., Kurilshikov A., van der Graaf A., et al., “Effect of Host Genetics on the Gut Microbiome in 7,738 Participants of the Dutch Microbiome Project,” Nature Genetics 54, no. 2 (2022): 143–151, 10.1038/s41588-021-00992-y. [DOI] [PubMed] [Google Scholar]
  • 7. Federici S., Kviatcovsky D., Valdés‐Mas R., and Elinav E., “Microbiome‐Phage Interactions in Inflammatory Bowel Disease,” Clinical Microbiology and Infection 29, no. 6 (2023): 682–688, 10.1016/j.cmi.2022.08.027. [DOI] [PubMed] [Google Scholar]
  • 8. Doron I., Kusakabe T., and Iliev I. D., “Immunoglobulins at the Interface of the Gut Mycobiota and Anti‐Fungal Immunity,” Seminars in Immunology 67 (2023): 101757, 10.1016/j.smim.2023.101757. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9. Turnbaugh P. J., Ley R. E., Mahowald M. A., Magrini V., Mardis E. R., and Gordon J. I., “An Obesity‐Associated Gut Microbiome With Increased Capacity for Energy Harvest,” Nature 444 (2006): 1027–1031, 10.1038/nature05414. [DOI] [PubMed] [Google Scholar]
  • 10. Zhu B., Liang L., Huang Y., et al., “Exploring the Relationship Between the Gut Microbiota and Cognitive Function in Schizophrenia Patients With Distinct Weights,” Schizophrenia Research 280 (2025): 103–113, 10.1016/j.schres.2025.04.017. [DOI] [PubMed] [Google Scholar]
  • 11. Zhu B., Liang L., Chen S., et al., “Multi‐Kingdom Microbial Changes and Their Associations With the Clinical Characteristics in Schizophrenia Patients,” Translational Psychiatry 15, no. 1 (2025): 228, 10.1038/s41398-025-03449-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12. McGuinness A. J., Davis J. A., Dawson S. L., et al., “A Systematic Review of Gut Microbiota Composition in Observational Studies of Major Depressive Disorder, Bipolar Disorder and Schizophrenia,” Molecular Psychiatry 27, no. 4 (2022): 1920–1935, 10.1038/s41380-022-01456-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13. GBD 2019 Mental Disorders Collaborators , Global, Regional, and National Burden of 12 Mental Disorders in 204 Countries and Territories, 1990–2019: A Systematic Analysis for the Global Burden of Disease Study 2019, Lancet Psychiatry 9, no. 2, (2022): 137–150, 10.1016/S2215-0366(21)00395-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14. Ormel J. and VonKorff M., “Reducing Common Mental Disorder Prevalence in Populations,” JAMA Psychiatry 78, no. 4 (2021): 359–360, 10.1001/jamapsychiatry.2020.3443. [DOI] [PubMed] [Google Scholar]
  • 15. Tito R. Y., Verbandt S., Vazquez M. A., et al., “Microbiome Confounders and Quantitative Profiling Challenge Predicted Microbial Targets in Colorectal Cancer Development,” Nature Medicine 30, no. 5 (2024): 1339–1348, 10.1038/s41591-024-02963-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16. Devolder L., Pauwels A., Van Remoortel A., et al., “Gut Microbiome Composition Is Associated With Long‐Term Disability Worsening in Multiple Sclerosis,” Gut Microbes 15, no. 1 (2023): 2180316, 10.1080/19490976.2023.2180316. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17. Coker O. O., Liu C., Wu W. K. K., et al., “Altered Gut Metabolites and Microbiota Interactions Are Implicated in Colorectal Carcinogenesis and Can be Non‐Invasive Diagnostic Biomarkers,” Microbiome 10, no. 1 (2022): 35–46, 10.1186/s40168-021-01208-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18. Manghi P., Filosi M., Zolfo M., et al., “Large‐Scale Metagenomic Analysis of Oral Microbiomes Reveals Markers for Autism Spectrum Disorders,” Nature Communications 15, no. 1 (2024): 9743, 10.1038/s41467-024-53934-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19. Lloyd‐Price J., Arze C., Ananthakrishnan A. N., et al., “Multi‐Omics of the Gut Microbial Ecosystem in Inflammatory Bowel Diseases,” Nature 569, no. 7758 (2019): 655–662, 10.1038/s41586-019-1237-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20. Li Y., Zhu B., Wu X., Meng L., Huang S., and Wu K., “Microbiota‐Immune Crosstalk Underlying Cancer‐Induced Depression in Patients With Breast Cancer,” Journal of Affective Disorders 407 (2026): 121694, 10.1016/j.jad.2026.121694. [DOI] [PubMed] [Google Scholar]
  • 21. Chen S., Zhu B., Lu X., et al., “Integrative Multi‐Kingdom Gut Microbiome Analysis Uncovers Clinical Signatures of Major Depressive Disorder,” Journal of Affective Disorders 408 (2026): 121858, 10.1016/j.jad.2026.121858. [DOI] [PubMed] [Google Scholar]
  • 22. Nearing J. T., Douglas G. M., Hayes M. G., et al., “Microbiome Differential Abundance Methods Produce Different Results Across 38 Datasets,” Nature Communications 13, no. 1 (2022): 342–357, 10.1038/s41467-022-28034-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23. Gilbert J. A., Azad M. B., Bäckhed F., et al., “Clinical Translation of Microbiome Research,” Nature Medicine 31, no. 4 (2025): 1099–1113, 10.1038/s41591-025-03615-9. [DOI] [PubMed] [Google Scholar]
  • 24. Wang S., Mu L., Yu C., et al., “Microbial Collaborations and Conflicts: Unraveling Interactions in the Gut Ecosystem,” Gut Microbes 16 (2024): 2296603, 10.1080/19490976.2023.2296603. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25. Minnebo Y., Delbaere K., Goethals V., Raes J., Van de Wiele T., and De Paepe K., “Gut Microbiota Response to In Vitro Transit Time Variation Is Mediated by Microbial Growth Rates, Nutrient Use Efficiency and Adaptation to In Vivo Transit Time,” Microbiome 11, no. 1 (2023): 241–254, 10.1186/s40168-023-01691-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26. Chen L., Wang D., Garmaeva S., et al., “The Long‐term Genetic Stability and Individual Specificity of the Human Gut Microbiome,” Cell 184, no. 9 (2021), 10.1016/j.cell.2021.03.024. [DOI] [PubMed] [Google Scholar]
  • 27. Costea P. I., Hildebrand F., Arumugam M., et al., “Enterotypes in the Landscape of Gut Microbial Community Composition,” Nature Microbiology 3, no. 1 (2018): 8–16, 10.1038/s41564-017-0072-8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28. Arumugam M., Raes J., Pelletier E., et al., “Enterotypes of the Human Gut Microbiome,” Nature 473, no. 7346 (2011): 174–180, 10.1038/nature09944. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29. Holmes I., Harris K., and Quince C., “Dirichlet Multinomial Mixtures: Generative Models for Microbial Metagenomics,” PLoS One 7, no. 2 (2012): 30126, 10.1371/journal.pone.0030126. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30. Lai S., Yan Y., Pu Y., et al., “Enterotypes of the Human Gut Mycobiome,” Microbiome 11, no. 1 (2023): 179–194, 10.1186/s40168-023-01586-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31. Knights D., Ward T. L., McKinlay C. E., et al., “Rethinking “Enterotypes”,” Cell Host & Microbe 16, no. 4 (2014): 433–437, 10.1016/j.chom.2014.09.013. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32. Li J., Long Z., Ji G.‐J., et al., “Major Depressive Disorder on a Neuromorphic Continuum,” Nature Communications 16, no. 1 (2025): 2405, 10.1038/s41467-025-57682-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33. Frioux C., Ansorge R., Özkurt E., et al., “Enterosignatures Define Common Bacterial Guilds in the Human Gut Microbiome,” Cell Host & Microbe 31, no. 7 (2023): 1111–1125.e6, 10.1016/j.chom.2023.05.024. [DOI] [PubMed] [Google Scholar]
  • 34. Diener C. and Gibbons S. M., “Coarse Graining the Human Gut Microbiome,” Cell Host & Microbe 31, no. 7 (2023): 1076–1078, 10.1016/j.chom.2023.06.001. [DOI] [PubMed] [Google Scholar]
  • 35. Chen H. and Chen K., “Predicting Disease‐associated Microbes Based on Similarity Fusion and Deep Learning,” Briefings in Bioinformatics 25, no. 6 (2024): bbae550, 10.1093/bib/bbae550. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36. Insel T. R., “The NIMH Research Domain Criteria (RDoC) Project: Precision Medicine for Psychiatry,” American Journal of Psychiatry 171, no. 4 (2014): 395–397, 10.1176/appi.ajp.2014.14020138. [DOI] [PubMed] [Google Scholar]
  • 37. Caspi A. and Moffitt T. E., “All for One and One for All: Mental Disorders in One Dimension,” American Journal of Psychiatry 175, no. 9 (2018): 831–844, 10.1176/appi.ajp.2018.17121383. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38. Alberdi A., Andersen S. B., Limborg M. T., Dunn R. R., and Thomas P Gilbert M., “Disentangling Host–Microbiota Complexity Through Hologenomics,” Nature Reviews Genetics 23, no. 5 (2022): 281–297, 10.1038/s41576-021-00421-0. [DOI] [PubMed] [Google Scholar]
  • 39. Wu G., Xu T., Zhao N., et al., “A Core Microbiome Signature as an Indicator of Health,” Cell 187 (2024): p6550–6565.e11, 10.1016/j.cell.2024.09.019. [DOI] [PubMed] [Google Scholar]
  • 40. Ueda A., Shinkai S., Shiroma H., et al., “Identification of Faecalibacterium Prausnitzii Strains for Gut Microbiome‐Based Intervention in alzheimer's‐Type Dementia,” Cell Reports Medicine 2, no. 9 (2021): 1–23, 10.1016/j.xcrm.2021.100398. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41. Cani P. D., Depommier C., Derrien M., Everard A., and de Vos W. M., “Akkermansia Muciniphila: Paradigm for Next‐Generation Beneficial Microorganisms,” Nature Reviews Gastroenterology & Hepatology 19, no. 10 (2022): 625–637, 10.1038/s41575-022-00631-9. [DOI] [PubMed] [Google Scholar]
  • 42. Li D., Siquan S., Jing C., et al., “Klebsiella pneumoniae Carbapenemase Variants: The New Threat to Global Public Health,” Clinical Microbiology Reviews 36, no. 4 (2023): e00008–23, 10.1128/cmr.00008-23. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43. Hong J., Fu T., Liu W., et al., “Specific Alternation of Gut Microbiota and the Role of Ruminococcus Gnavus in the Development of Diabetic Nephropathy,” Journal of Microbiology and Biotechnology 34, no. 3 (2024): 547–561, 10.4014/jmb.2310.10028. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44. Chung W. S. F., Walker A. W., Louis P., et al., “Modulation of the Human Gut Microbiota by Dietary Fibres Occurs at the Species Level,” BMC Biology 14, no. 1 (2016): 3–15, 10.1186/s12915-015-0224-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45. Wu G., Zhao N., Zhang C., Lam Y. Y., and Zhao L., “Guild‐Based Analysis for Understanding Gut Microbiome in Human Health and Diseases,” Genome Medicine 13, no. 1 (2021): 22, 10.1186/s13073-021-00840-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46. Morita H., Kano C., Ishii C., et al., “Bacteroides Uniformis and Its Preferred Substrate, α‐Cyclodextrin, Enhance Endurance Exercise Performance in Mice and Human Males,” Science Advances 9, no. 4: add2120, 10.1126/sciadv.add2120. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47. Jiang L., Shang M., Yu S., et al., “A High‐Fiber Diet Synergizes With Prevotella Copri and Exacerbates Rheumatoid Arthritis,” Cellular & Molecular Immunology 19, no. 12 (2022): 1414–1424, 10.1038/s41423-022-00934-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48. Chen S., Chen L., Qi Y., et al., “Bifidobacterium Adolescentis Regulates Catalase Activity and Host Metabolism and Improves Healthspan and Lifespan in Multiple Species,” Nature Aging 1, no. 11 (2021): 991–1001, 10.1038/s43587-021-00129-0. [DOI] [PubMed] [Google Scholar]
  • 49. Wang Y., Feng S., Huang Y., et al., “Revealing Multiple Biological Subtypes of Schizophrenia Through a Data‐Driven Approach,” Journal of Translational Medicine 23, no. 1 (2025): 505–521, 10.1186/s12967-025-06503-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50. Zhao Z., Yuan Z., Li Y., and Huang X., “The Balance and Imbalance of Microbial Communities: Oral‐Gut Microbiota and Colorectal Cancer,” American Journal of Clinical Oncology 48, no. 10 (2025): 501–508, 10.1097/COC.1213. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51. Ye Z., Wu C., Zhang N., et al., “Altered Gut Microbiome Composition in Patients With Vogt‐Koyanagi‐Harada Disease,” Gut Microbes 11, no. 3 (2020): 539–555, 10.1080/19490976.2019.1700754. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52. Hildebrand F., Gossmann T. I., Frioux C., et al., “Dispersal Strategies Shape Persistence and Evolution of Human Gut Bacteria,” Cell Host & Microbe 29, no. 7 (2021): 1167–1176.e9, 10.1016/j.chom.2021.05.008. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53. Ghosh T. S., Das M., Jeffery I. B., and O'Toole P. W., “Adjusting for Age Improves Identification of Gut Microbiome Alterations in Multiple Diseases,” Elife 9 (2020): 50240, 10.7554/eLife.50240. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 54. Wilmanski T., Diener C., Rappaport N., et al., “Gut Microbiome Pattern Reflects Healthy Ageing and Predicts Survival in Humans,” Nature Metabolism 3, no. 2 (2021): 274–286, 10.1038/s42255-021-00348-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55. Skirbekk V., Dieleman J. L., Stonawski M., Fejkiel K., Tyrovolas S., and Chang A. Y., “The Health‐Adjusted Dependency Ratio as a New Global Measure of the Burden of Ageing: A Population‐Based Study,” Lancet Healthy Longevity 3, no. 5 (2022): e332–e338, 10.1016/S2666-7568(22)00075-7. [DOI] [PubMed] [Google Scholar]
  • 56. Parizadeh M. and Arrieta M.‐C., “The Global Human Gut Microbiome: Genes, Lifestyles, and Diet,” Trends in Molecular Medicine 29, no. 10 (2023): 789–801, 10.1016/j.molmed.2023.07.002. [DOI] [PubMed] [Google Scholar]
  • 57. Volatility as a Concept to Understand the Impact of Stress on the Microbiome, Psychoneuroendocrinology 124, (2021): 105047, 10.1016/j.psyneuen.2020.105047. [DOI] [PubMed] [Google Scholar]
  • 58. Fassarella M., Blaak E. E., Penders J., Nauta A., Smidt H., and Zoetendal E. G., “Gut Microbiome Stability and Resilience: Elucidating the Response to Perturbations in Order to Modulate Gut Health,” Gut 70, no. 3 (2021): 595–605, 10.1136/gutjnl-2020-321747. [DOI] [PubMed] [Google Scholar]
  • 59. Stein D. J., Shoptaw S. J., Vigo D. V., et al., “Psychiatric Diagnosis and Treatment in the 21st Century: Paradigm Shifts Versus Incremental Integration,” World Psychiatry 21, no. 3 (2022): 393–414, 10.1002/wps.20998. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 60. Hampel H., Gao P., Cummings J., et al., “The Foundation and Architecture of Precision Medicine in Neurology and Psychiatry,” Trends in Neurosciences 46, no. 3 (2023): 176–198, 10.1016/j.tins.2022.12.004. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 61. Nikolova V. L., Smith M. R. B., Hall L. J., Cleare A. J., Stone J. M., and Young A. H., “Perturbations in Gut Microbiota Composition in Psychiatric Disorders,” JAMA Psychiatry 78, no. 12 (2021): 1343–1354, 10.1001/jamapsychiatry.2021.2573. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 62. Jiang Y., Palaniyappan L., Chang X., et al., “Gray Matter Volume Heterogeneity by Stage, Site of Origin and Pathophysiology in Schizophrenia,” Nature Mental Health 3, no. 7 (2025): 803–813, 10.1038/s44220-025-00449-9. [DOI] [Google Scholar]
  • 63. Leichsenring F., Steinert C., Rabung S., and Ioannidis J. P. A., “The Efficacy of Psychotherapies and Pharmacotherapies for Mental Disorders in Adults: An Umbrella Review and Meta‐Analytic Evaluation of Recent Meta‐Analyses,” World Psychiatry 21, no. 1 (2022): 133–145, 10.1002/wps.20941. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 64. Sun X., Sun J., Lu X., et al., “Mapping Neurophysiological Subtypes of Major Depressive Disorder Using Normative Models of the Functional Connectome,” Biological Psychiatry 94, no. 12 (2023): 936–947, 10.1016/j.biopsych.2023.05.021. [DOI] [PubMed] [Google Scholar]
  • 65. Zhang Z., Li H., Huang Y., et al., “EEG Microstate Dynamics Reveal Progressive Sensorimotor Network Dysfunction across Levels of Anxiety Severity in Drug‐Naïve Major Depressive Disorder,” Journal of Affective Disorders 402 (2026): 121373, 10.1016/j.jad.2026.121373. [DOI] [PubMed] [Google Scholar]
  • 66. Wu J., Huang Y., Lu H., et al., “Effects of Serum Hypersensitive C‐Reactive Protein and BMI on Cognitive Dysfunction in First‐Episode and Drug‐Naive Patients With Major Depressive Disorder,” BMC Psychiatry 26, no. 1 (2026): 178–188, 10.1186/s12888-026-07782-y. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 67. Chen B., Huang Y., Feng S., et al., “Correlation Between Cognitive Dysfunction and Amygdala Connectivity in First‐Episode, Treatment‐Naïve Patients With Anxious Major Depressive Disorder,” Journal of Psychiatric Research 197 (2026): 210–218, 10.1016/j.jpsychires.2026.02.052. [DOI] [PubMed] [Google Scholar]
  • 68. He Y., Wu F., Zhang Z., et al., “Sex Differences in Resting‐State EEG Microstates and Working Memory in First‐Episode, Medication‐Naïve Major Depressive Disorder,” Journal of Affective Disorders 405 (2026): 121649, 10.1016/j.jad.2026.121649. [DOI] [PubMed] [Google Scholar]
  • 69. Diao Y., Huang Y., Guo M., et al., “Disentangling Individual Heterogeneity Reveals Robust Network and Molecular Signatures of Major Depressive Disorder With Suicidal Ideation,” Translational Psychiatry (2026), 10.1038/s41398-026-03965-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 70. Diao Y., Huang Y., Zhu B., et al., “Heterogeneity‐Aware, Multiscale Annotation of Shared and Specific Neurobiological Signatures Among Major Neurodevelopmental Disorders,” Research 9 (2026): 1115, 10.34133/research.1115. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 71. Zhong J., Zhu B., Zou Z., et al., “Gut Microbiota Mediates the Beneficial Effects of Exercise on Autism‐Like Behaviors,” BMC Microbiology 26, no. 1 (2026): 157–172, 10.1186/s12866-025-04632-x. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 72. Pasolli E., Schiffer L., Manghi P., et al., “Accessible, Curated Metagenomic Data Through ExperimentHub,” Nature Methods 14, no. 11 (2017): 1023–1024, 10.1038/nmeth.4468. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 73. Vincent C., Miller M. A., Edens T. J., Mehrotra S., Dewar K., and Manges A. R., “Bloom and Bust: Intestinal Microbiota Dynamics in Response to Hospital Exposures and Clostridium Difficile Colonization or Infection,” Microbiome 4, no. 1 (2016): 12, 10.1186/s40168-016-0156-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 74. Zhu F., Ju Y., Wang W., et al., “Metagenome‐Wide Association of Gut Microbiome Features for Schizophrenia,” Nature Communications 11, no. 1 (2020): 1612, 10.1038/s41467-020-15457-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 75. Li Z., Lai J., Zhang P., et al., “Multi‐Omics Analyses of Serum Metabolome, Gut Microbiome and Brain Function Reveal Dysregulated Microbiota‐Gut‐Brain Axis in Bipolar Depression,” Molecular Psychiatry 27, no. 10 (2022): 4123–4135, 10.1038/s41380-022-01569-9. [DOI] [PubMed] [Google Scholar]
  • 76. Yang J., Zheng P., Li Y., et al., “Landscapes of Bacterial and Metabolic Signatures and Their Interaction in Major Depressive Disorders,” Science Advances 6, no. 49 (2020): aba8555, 10.1126/sciadv.aba8555. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 77. Wu F., Zhu B., Feng S., et al., “The Brain–Gut Health Initiative (BIGHI): A Prospective Cohort on Psychiatric Disorders in China,” Research 9 (2026): 1142, 10.34133/research.1142. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 78. Goodyear M. D. E., Krleza‐Jeric K., and Lemmens T., “The Declaration of Helsinki,” BMJ 335 (2007): 624, 10.1136/bmj.39339.610000.BE. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 79. Beghini F., McIver L. J., Blanco‐Míguez A., et al., “Integrating Taxonomic, Functional, and Strain‐Level Profiling of Diverse Microbial Communities With bioBakery 3,” Elife 10 (2021): 65088, 10.7554/eLife.65088. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 80. Boileau P., Hejazi N. S., and Dudoit S., “Exploring High‐Dimensional Biological Data With Sparse Contrastive Principal Component Analysis,” Bioinformatics 36, no. 11 (2020): 3422–3430, 10.1093/bioinformatics/btaa176. [DOI] [PubMed] [Google Scholar]
  • 81. Raguideau S., Plancade S., Pons N., Leclerc M., and Laroche B., “Inferring Aggregated Functional Traits From Metagenomic Data Using Constrained Non‐Negative Matrix Factorization: Application to fiber Degradation in the Human Gut Microbiota,” PLOS Computational Biology 12, no. 12 (2016): 1005252, 10.1371/journal.pcbi.1005252. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 82. Gao Y.‐L., Hou M.‐X., Liu J.‐X., and Kong X.‐Z., “An Integrated Graph Regularized Non‐Negative Matrix Factorization Model for Gene Co‐Expression Network Analysis,” IEEE Access 7 (2019): 126594–126602, 10.1109/ACCESS.2019.2939405. [DOI] [Google Scholar]
  • 83. Shahriari B., Swersky K., Wang Z., Adams R. P., and de Freitas N., “Taking the Human Out of the Loop: A Review of Bayesian Optimization,” Proceedings of the IEEE 104, no. 1 (2016): 148–175, 10.1109/JPROC.2015.2494218. [DOI] [Google Scholar]
  • 84. Shan X., Uddin L. Q., Ma R., et al., “Disentangling the Individual‐Shared and Individual‐Specific Subspace of Altered Brain Functional Connectivity in Autism Spectrum Disorder,” Developmental Circuit Alterations in Autism and Attention‐deficit/hyperactivity Disorder 95, no. 9 (2024): 871–880, 10.1016/j.biopsych.2023.09.012. [DOI] [PubMed] [Google Scholar]
  • 85. Hu S., Bourgonje A. R., Gacesa R., et al., “Mucosal Host‐Microbe Interactions Associate With Clinical Phenotypes in Inflammatory Bowel Disease,” Nature Communications 15, no. 1 (2024): 1470, 10.1038/s41467-024-45855-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 86. Spedicato G., “Discrete Time Markov Chains With R,” R Journal 9 (2017): 84–104. [Google Scholar]
  • 87. Shi C., Kang L., Yao S., et al., “The MATRICS Consensus Cognitive Battery (MCCB): Co‐Norming and Standardization in China,” Schizophrenia Research 169, no. 1 (2015): 109–115, 10.1016/j.schres.2015.09.003. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 88. Tang S., Sun N., Floris D. L., Zhang X., Di Martino A., and Thomas Yeo B. T., “Reconciling Dimensional and Categorical Models of Autism Heterogeneity: A Brain Connectomics and Behavioral Study,” Biological Psychiatry 87, no. 12 (2020): 1071–1082, 10.1016/j.biopsych.2019.11.009. [DOI] [PubMed] [Google Scholar]
  • 89. Hamilton M., “Development of a Rating Scale for Primary Depressive Illness,” British Journal of Social and Clinical Psychology 6, no. 4 (1967): 278–296, 10.1111/j.2044-8260.1967.tb00530.x. [DOI] [PubMed] [Google Scholar]
  • 90. Huang X., Zhao W., Feng R., et al., “Linking Gut Microbiome Profiles and White Matter Integrity to Social Behavior in Young Autistic Children: From the Perspective of Individual Variation,” Science Bulletin (2025): 1–5, 10.1016/j.scib.2025.02.031. [DOI] [PubMed] [Google Scholar]
  • 91. Ma S., Shungin D., Mallick H., et al., “Population Structure Discovery in Meta‐Analyzed Microbial Communities and Inflammatory Bowel Disease Using MMUPHin,” Genome Biology 23, no. 1 (2022): 208, 10.1186/s13059-022-02753-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 92. Liang L., Li S., Huang Y., et al., “Relationships Among the Gut Microbiome, Brain Networks, and Symptom Severity in Schizophrenia Patients: A Mediation Analysis,” Neuroimage: Clinical 41 (2024): 103567, 10.1016/j.nicl.2024.103567. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 93. Mallick H., Rahnavard A., McIver L. J., et al., “Multivariable Association Discovery in Population‐Scale Meta‐Omics Studies,” PLOS Computational Biology 17, no. 11 (2021): 1009442, 10.1371/journal.pcbi.1009442. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

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

Supplementary Materials

Supporting File: advs75670‐sup‐0001‐SuppMat.docx.

ADVS-13-e17087-s001.docx (18.7MB, docx)

Data Availability Statement

Datasets from the curatedMetagenomicData repository are available at: https://github.com/waldronlab/curatedMetagenomicData. Additional cohorts used in this study can be accessed through publicly available databases. Clinical cohort samples collected by our laboratory are not publicly available due to privacy considerations but can be accessed upon reasonable request in de‐identified form. Further information is available from the corresponding author upon request. Source data for all main figures are provided as supporting data files. Source data are provided with this paper. Source codes used in this study are available from GitHub (https://github.com/zbyloveyj/SCUT_Minilab_MEF).


Articles from Advanced Science are provided here courtesy of Wiley

RESOURCES