Hostname: page-component-74656f9884-7drmj Total loading time: 0 Render date: 2026-11-05T07:54:39.179Z Has data issue: false hasContentIssue false

Metabolites stratify future major depressive disorder risk in obese population: a longitudinal machine learning analysis

Published online by Cambridge University Press:  29 July 2026

Xiaobing Zhai
Affiliation:
Macao Polytechnic University, Macau
Abao Xing
Affiliation:
Macao Polytechnic University, Macau
Yaoqi Deng
Affiliation:
University of Pennsylvania , USA
Chi Kin Lam
Affiliation:
Macao Polytechnic University, Macau
Lihuan Wang
Affiliation:
Wuyi University , China
Hui Yu
Affiliation:
Wuyi University , China
Henry H.Y. Tong
Affiliation:
Macao Polytechnic University, Macau
Nuno Lourenço*
Affiliation:
University of Coimbra , Portugal
Li Zhao*
Affiliation:
Sichuan University , China
Kefeng Li*
Affiliation:
Macao Polytechnic University, Macau
*
Corresponding authors: Kefeng Li, Li Zhao, and Nuno Lourenço; Emails: kefengl@mpu.edu.mo; zhaoli@scu.edu.cn; naml@dei.uc.pt
Corresponding authors: Kefeng Li, Li Zhao, and Nuno Lourenço; Emails: kefengl@mpu.edu.mo; zhaoli@scu.edu.cn; naml@dei.uc.pt
Corresponding authors: Kefeng Li, Li Zhao, and Nuno Lourenço; Emails: kefengl@mpu.edu.mo; zhaoli@scu.edu.cn; naml@dei.uc.pt
Rights & Permissions [Opens in a new window]

Abstract

Background

Obesity is a well-established risk factor for major depressive disorder (MDD), yet the risk is not uniform, highlighting the need for precise risk stratification. This study aimed to develop a metabolomics-based prediction model to identify high-risk metabolic phenotypes among obese participants and to elucidate the causal metabolic pathways involved.

Methods

Forty-one-thousand-four-hundred-fifty-nine obese participants were followed for a median of 14.4 years. We integrated multiple machine learning (ML) algorithms to develop predictive models for 3-, 5-, and 9-year MDD risk, with a temporal validation within the same biobank. Furthermore, we investigated the potential causal relationships within the obesity-metabolite-MDD using mediation Mendelian randomization (MR).

Results

During follow-up, 3,642 incident MDD cases were documented. The optimized LightGBM model demonstrated superior predictive performance, achieving AUCs of 0.844 (95% CI: 0.773–0.914), 0.824 (95% CI: 0.771–0.875), and 0.834 (95% CI: 0.796–0.871) for 3-, 5-, and 9-year intervals, respectively, significantly outperforming existing clinical models. Temporal validation confirmed the model’s robustness (AUCs: 0.738–0.776). MR analysis confirmed that key metabolites causally mediate the pathway from obesity to MDD (mediation proportions: −11.5% and −35.3%, all PME < 0.05).

Conclusions

These findings challenge the notion of a uniform obesity–MDD association, demonstrating that metabolomic signatures can effectively stratify MDD risk. We present a validated ML framework for the early identification of high-risk individuals with obesity, offering a precision medicine approach to guide targeted metabolic and psychiatric interventions.

Information

Type
Original Article
Creative Commons
Creative Common License - CCCreative Common License - BYCreative Common License - NCCreative Common License - ND
This is an Open Access article, distributed under the terms of the Creative Commons Attribution-NonCommercial-NoDerivatives licence (http://creativecommons.org/licenses/by-nc-nd/4.0), which permits non-commercial re-use, distribution, and reproduction in any medium, provided that no alterations are made and the original article is properly cited. The written permission of Cambridge University Press or the rights holder(s) must be obtained prior to any commercial use and/or adaptation of the article.
Copyright
© The Author(s), 2026. Published by Cambridge University Press
Figure 0

Figure 1. The flow chart of this study.Figure 1. long description.

Figure 1

Table 1. Demographic characteristics of the study populationTable 1. long description.

Figure 2

Figure 2. Metabolic profiling and pathway enrichment analysis for predicting MDD risk in obese individuals. (A) Volcano plot illustrating significant metabolic differences between individuals with MDD and non-MDD in the obese population, highlighting 260 metabolites. (B) Integrate key features of developing MDD predictive models. The diamonds represent the 29 metabolites and demographic characteristics selected for developing predictive models. The intersecting diamond show the shared features of mutual information analysis and point-biserial correlation analysis. (C) Heatmap showing Pearson correlation among 14 metabolites selected from part B. (D) Enrichment analysis revealing key metabolic alterations and pathways associated with the identified metabolites, focusing on the top 25 enriched pathways.Figure 2. long description.

Figure 3

Figure 3. Comparison of 14 machine learning models and highlighting the superior performance of LightGBM in predicting long-term MDD risk. (A) Heatmap visualization of 14 model performance metrics for 3 - year, 5 - year, and 9 - year predictions for developing MDD. Rows represent machine learning models, and columns correspond to performance metrics: AUC, F1 score, recall, precision, and accuracy. Metrics are color-coded, with red indicating higher values and green indicating lower values. (B) ROC curves for 3 - year (red), 5 - year (blue), and 9 - year (green) LightGBM predictions of MDD risk. The x - axis represents the false positive rate, while the y - axis represents the true positive rate. (C) Comparative analysis of precision, accuracy, recall, and F1 score across the 3 - year, 5 - year, and 9 - year LightGBM predictions of MDD risk. Bubble size represents the magnitude of each metric, with larger bubbles indicating higher values. Performance metrics demonstrate slight variation across time horizons, with the highest values generally observed in short-term predictions (3-year).Figure 3. long description.

Figure 4

Figure 4. Temporal dynamics of metabolite contributions to MDD risk prediction in obese individuals: SHAP interpretability analysis. (A) 3 - year, (B) 5 - year, and (C) 9 - year predictions of MDD illustrate the evolution of metabolite importance over time. Each point represents the SHAP value for an individual obese patient, depicting the relationship between biomarker levels and MDD risk. Features are ranked in order of absolute contribution to the model output, with a vertical line at SHAP = 0 indicating the threshold between positive (red) and negative (blue) effects on MDD prediction. The central sunburst charts display the importance hierarchy of metabolites, with radius reflecting feature significance and a blue-red gradient indicating contribution magnitude, corresponding sequentially to the 14 metabolites displayed on the left.Figure 4. long description.

Supplementary material: File

Zhai et al. supplementary material 1

Zhai et al. supplementary material
Download Zhai et al. supplementary material 1(File)
File 3.5 MB
Supplementary material: File

Zhai et al. supplementary material 2

Zhai et al. supplementary material
Download Zhai et al. supplementary material 2(File)
File 3.6 MB