Predicting plaque-gingivitis risk in schoolchildren using an interpretable machine learning model: a cross-sectional study
Open Access
- 15 December 2025
- journal article
- research article
- Published by Springer Nature in BMC Oral Health
- Vol. 25 (1) , 1910
Abstract
Background: This study aimed to develop an interpretable machine learning (ML) model for predicting plaque-induced gingivitis risk in schoolchildren using questionnaire data. To enhance the model’s interpretation, SHapley Additive exPlanations (SHAP) method was applied to analyze and explain the risk factors associated with plaque-gingivitis. Materials and methods: Using multi-stage cluster random sampling, 1755 children aged 6–12 in Lanzhou were enrolled. Participants completed a 22-item questionnaire and underwent clinical dental examinations. The collected data were stratified and randomly divided into a training set (70%) and a testing set (30%), with an independent external validation cohort ( n = 120) prospectively collected for generalizability assessment. Feature selection was performed using Least Absolute Shrinkage and Selection Operator (LASSO) regression. Six ML algorithms—Light Gradient Boosting Machine (LightGBM), random forest (RF), logistic regression (LR), eXtreme Gradient Boosting (XGBoost), decision tree (DT), and K-nearest neighbors (KNN)—were employed to process the data. The efficacy of each algorithm was evaluated using area under the curve (AUC), sensitivity (recall), specificity, accuracy, precision, F1–score and decision curve analysis. Using the SHAP method, all predictors of gingivitis prevalence in children were ranked by importance. Results: 51.3% (901/1755) of the children were clinically diagnosed with plaque‑induced gingivitis. 11 key predictors were selected using LASSO regression to build the ML models. Among all models, the RF achieved the highest discrimination (training AUC: 0.991; testing AUC: 0.909), followed closely by LightGBM (training AUC: 0.970; testing AUC: 0.904). The RF model was selected as the optimal model and maintained generalizability (external validation AUC: 0.824). SHAP analysis identified key predictors ranked by importance, including brushing frequency, age, regular dental checkups, brushing time, gingival bleeding during brushing, and annual income. Conclusion: An interpretable RF model accurately stratified gingivitis risk using self-reported factors. This ML-driven strategy may reduce reliance on resource-intensive clinical examinations, supporting scalable pediatric gingivitis prevention in resource-limited settings.Keywords
Funding Information
- the Joint Fund of Gansu Province,China (24JRRA915)
- the Major Science and Technology Program of Gansu Province, China (23ZDFA005)
This publication has 59 references indexed in Scilit:
- Performance of an AI prediction tool for new-onset atrial fibrillation after coronary artery bypass graftingeClinicalMedicine, 2025
- Data-driven prediction model for periodontal disease based on correlational feature analysis and clinical validationHeliyon, 2024
- Effects of a stabilized stannous fluoride dentifrice on clinical, immunomodulatory, and microbial outcomes in a human experimental gingivitis modelJournal of Periodontology, 2023
- Explainable machine learning model for predicting skeletal muscle loss during surgery and adjuvant chemotherapy in ovarian cancerJournal of Cachexia, Sarcopenia and Muscle, 2023
- Efficacy of dental floss in the management of gingival health: a randomized controlled clinical trialClinical Oral Investigations, 2022
- Association between air pollution and emergency department visits for upper respiratory tract infection inLanzhou, ChinaEnvironmental Science and Pollution Research, 2022
- Performance of the 2017 AAP/EFP case definition compared with the CDC/AAP definition in population‐based studiesJournal of Periodontology, 2021
- Effect of individual and neighborhood social capital on gingival bleeding in children: A 7‐year cohort studyJournal of Periodontology, 2021
- A multicenter random forest model for effective prognosis prediction in collaborative clinical research networkArtificial Intelligence in Medicine, 2020
- Plaque‐induced gingivitis: Case definition and diagnostic considerationsJournal of Periodontology, 2018