Preprints.org · Nov 27, 2026
Machine-Learning Digital Twin in Large National Survey Data Reproduces the Effect Size of Lifestyle Trials of Obesity Reduction for Diabetes Prevention
By Assari S
Background: Randomized trials are expensive, slow and limited to the few populations they enroll. A machine-learning counterfactual "digital twin" uses existing national survey data to estimate what would happen to a person under a different exposure, by modelling outcomes from many measured characteristics. If twins can reproduce trial effect sizes, they could save cost and time, extend trial findings to subgroups and settings the trials did not enroll, and help decide which interventions are worth testing in new trials. Objective: To test whether a machine-learning counterfactual "digital twin" built from a national health survey can reproduce the effect size of randomized lifestyle and weight-loss trials for diabetes prevention, by estimating the diabetes risk attributable to obesity. Methods: We used the 2025 Behavioral Risk Factor Surveillance System (BRFSS) and compared adults aged 18–79 with obesity (body mass index 30 or more) with adults of normal weight (18.5–24.9; n = 163,212 with diabetes status). Twins were doubly robust, cross-fitted gradient-boosting estimators with design-based standard errors, compared with a naive difference and a logistic model. We converted the twin risk ratio to the reduction implied if obesity were removed and compared it with the Diabetes Prevention Program (DPP) and the Finnish Diabetes Prevention Study. Hearing difficulty served as a negative-control outcome, and robustness checks varied seeds, models, survey design and subgroups. Results: Diabetes affected 18.5% of adults with obesity and 5.0% of adults of normal weight (naive risk ratio 3.66). The logistic model gave 2.75 and the twin 2.34 (95% CI 2.19–2.50) with demographic, socioeconomic, access, smoking, exercise and alcohol controls (2.44 with demographic, socioeconomic and access controls only). The twin implies a 57% reduction in diabetes (95% CI 54–60%) if obesity were removed, close to the 58% reduction (48–66%) in the DPP lifestyle arm and the 58% reduction in the Finnish study. The E-value for the twin was 4.1. The estimate was stable across cross-fitting seeds, model choices and survey-design options (56.6% to 60.3%) and across 12 subgroups (50% to 66%). Conclusions: The twin reproduced the effect size of two randomized trials. Its implied 57% reduction in diabetes matched the 58% reduction in both lifestyle trials, and it was closer to the trials than unadjusted or logistic estimates. A survey twin can therefore be used to estimate the diabetes-prevention benefit of obesity reduction at the population level and in subgroups the trials did not enroll. The estimate describes the presence of obesity, not a treatment, and a negative-control outcome shows some residual confounding, so it should be reported with those caveats.
doi.org/10.20944/preprints202611.2979.v1Open accessBiomarkers