Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Sep 6:25:e42047.
doi: 10.2196/42047.

An Explainable Artificial Intelligence Software Tool for Weight Management Experts (PRIMO): Mixed Methods Study

Affiliations

An Explainable Artificial Intelligence Software Tool for Weight Management Experts (PRIMO): Mixed Methods Study

Glenn J Fernandes et al. J Med Internet Res. .

Abstract

Background: Predicting the likelihood of success of weight loss interventions using machine learning (ML) models may enhance intervention effectiveness by enabling timely and dynamic modification of intervention components for nonresponders to treatment. However, a lack of understanding and trust in these ML models impacts adoption among weight management experts. Recent advances in the field of explainable artificial intelligence enable the interpretation of ML models, yet it is unknown whether they enhance model understanding, trust, and adoption among weight management experts.

Objective: This study aimed to build and evaluate an ML model that can predict 6-month weight loss success (ie, ≥7% weight loss) from 5 engagement and diet-related features collected over the initial 2 weeks of an intervention, to assess whether providing ML-based explanations increases weight management experts' agreement with ML model predictions, and to inform factors that influence the understanding and trust of ML models to advance explainability in early prediction of weight loss among weight management experts.

Methods: We trained an ML model using the random forest (RF) algorithm and data from a 6-month weight loss intervention (N=419). We leveraged findings from existing explainability metrics to develop Prime Implicant Maintenance of Outcome (PRIMO), an interactive tool to understand predictions made by the RF model. We asked 14 weight management experts to predict hypothetical participants' weight loss success before and after using PRIMO. We compared PRIMO with 2 other explainability methods, one based on feature ranking and the other based on conditional probability. We used generalized linear mixed-effects models to evaluate participants' agreement with ML predictions and conducted likelihood ratio tests to examine the relationship between explainability methods and outcomes for nested models. We conducted guided interviews and thematic analysis to study the impact of our tool on experts' understanding and trust in the model.

Results: Our RF model had 81% accuracy in the early prediction of weight loss success. Weight management experts were significantly more likely to agree with the model when using PRIMO (χ2=7.9; P=.02) compared with the other 2 methods with odds ratios of 2.52 (95% CI 0.91-7.69) and 3.95 (95% CI 1.50-11.76). From our study, we inferred that our software not only influenced experts' understanding and trust but also impacted decision-making. Several themes were identified through interviews: preference for multiple explanation types, need to visualize uncertainty in explanations provided by PRIMO, and need for model performance metrics on similar participant test instances.

Conclusions: Our results show the potential for weight management experts to agree with the ML-based early prediction of success in weight loss treatment programs, enabling timely and dynamic modification of intervention components to enhance intervention effectiveness. Our findings provide methods for advancing the understandability and trust of ML models among weight management experts.

Keywords: ML; decision-making; explainable AI; explainable artificial intelligence; interpretable ML; machine learning; mobile phone; random forest; weight loss prediction.

PubMed Disclaimer

Conflict of interest statement

Conflicts of Interest: None declared.

Figures

Figure 1
Figure 1
(A) Trade-off between the performance of a model (accuracy) and the explainability. (B) Black box machine learning (ML) model.
Figure 2
Figure 2
Generating tractable representation of machine learning model to compute prime implicant explanations.
Figure 3
Figure 3
In the 2 Prime Implicant Maintenance of Outcome (PRIMO) visuals, the red point indicates the patient profile for basic and complex weight loss archetypes. The complex weight loss archetype tends to be difficult because the red points fall at the edges of the PRIMO-generated prime implicant ranges.
Figure 4
Figure 4
Prime Implicant Maintenance of Outcome software interface. Ex-AI: explainability artificial intelligence; ML: machine learning.
Figure 5
Figure 5
Study design. ML: machine learning; PRIMO: Prime Implicant Maintenance of Outcome.
Figure 6
Figure 6
Hypothetical archetypes shown to participant types. Values presented as z score (actual value).
Figure 7
Figure 7
Likert scale analysis for intelligibility questionnaire (mean value and SE).

References

    1. Biener A, Cawley J, Meyerhoefer C. The high and rising costs of obesity to the US health care system. J Gen Intern Med. 2017 Apr;32(Suppl 1):6–8. doi: 10.1007/s11606-016-3968-8. https://europepmc.org/abstract/MED/28271429 10.1007/s11606-016-3968-8 - DOI - PMC - PubMed
    1. Cawley J, Biener A, Meyerhoefer C, Ding Y, Zvenyach T, Smolarz BG, Ramasamy A. Direct medical costs of obesity in the United States and the most populous states. J Manag Care Spec Pharm. 2021 Mar;27(3):354–66. doi: 10.18553/jmcp.2021.20410. - DOI - PMC - PubMed
    1. Islam MM, Poly TN, Walther BA, Jack Li YC. Use of mobile phone app interventions to promote weight loss: meta-analysis. JMIR Mhealth Uhealth. 2020 Jul 22;8(7):e17039. doi: 10.2196/17039. https://mhealth.jmir.org/2020/7/e17039/ v8i7e17039 - DOI - PMC - PubMed
    1. Cai X, Qiu S, Luo D, Wang L, Lu Y, Li M. Mobile application interventions and weight loss in type 2 diabetes: a meta-analysis. Obesity (Silver Spring) 2020 Mar;28(3):502–9. doi: 10.1002/oby.22715. - DOI - PubMed
    1. Farage G, Simmons C, Kocak M, Klesges RC, Talcott GW, Richey P, Hare M, Johnson KC, Sen S, Krukowski R. Assessing the contribution of self-monitoring through a commercial weight loss app: mediation and predictive modeling study. JMIR Mhealth Uhealth. 2021 Jul 14;9(7):e18741. doi: 10.2196/18741. https://mhealth.jmir.org/2021/7/e18741/ v9i7e18741 - DOI - PMC - PubMed

Publication types

LinkOut - more resources