Department of Biostatistics & Bioinformatics, Duke University School of Medicine, Durham, NC, United States.
J Med Internet Res. 2021 Nov 1;23(11):e27875. doi: 10.2196/27875.
Viewing their habitual smoking environments increases smokers' craving and smoking behaviors in laboratory settings. A deep learning approach can differentiate between habitual smoking versus nonsmoking environments, suggesting that it may be possible to predict environment-associated smoking risk from continuously acquired images of smokers' daily environments.
In this study, we aim to predict environment-associated risk from continuously acquired images of smokers' daily environments. We also aim to understand how model performance varies by location type, as reported by participants.
Smokers from Durham, North Carolina and surrounding areas completed ecological momentary assessments both immediately after smoking and at randomly selected times throughout the day for 2 weeks. At each assessment, participants took a picture of their current environment and completed a questionnaire on smoking, craving, and the environmental setting. A convolutional neural network-based model was trained to predict smoking, craving, whether smoking was permitted in the current environment and whether the participant was outside based on images of participants' daily environments, the time since their last cigarette, and baseline data on daily smoking habits. Prediction performance, quantified using the area under the receiver operating characteristic curve (AUC) and average precision (AP), was assessed for out-of-sample prediction as well as personalized models trained on images from days 1 to 10. The models were optimized for mobile devices and implemented as a smartphone app.
A total of 48 participants completed the study, and 8008 images were acquired. The personalized models were highly effective in predicting smoking risk (AUC=0.827; AP=0.882), craving (AUC=0.837; AP=0.798), whether smoking was permitted in the current environment (AUC=0.932; AP=0.981), and whether the participant was outside (AUC=0.977; AP=0.956). The out-of-sample models were also effective in predicting smoking risk (AUC=0.723; AP=0.785), whether smoking was permitted in the current environment (AUC=0.815; AP=0.937), and whether the participant was outside (AUC=0.949; AP=0.922); however, they were not effective in predicting craving (AUC=0.522; AP=0.427). Omitting image features reduced AUC by over 0.1 when predicting all outcomes except craving. Prediction of smoking was more effective for participants whose self-reported location type was more variable (Spearman ρ=0.48; P=.001).
Images of daily environments can be used to effectively predict smoking risk. Model personalization, achieved by incorporating information about daily smoking habits and training on participant-specific images, further improves prediction performance. Environment-associated smoking risk can be assessed in real time on a mobile device and can be incorporated into device-based smoking cessation interventions.
在实验室环境中观察习惯性吸烟环境会增加吸烟者的烟瘾和吸烟行为。深度学习方法可以区分习惯性吸烟环境和非吸烟环境,这表明可能可以从吸烟者日常环境的连续采集图像中预测与环境相关的吸烟风险。
本研究旨在从吸烟者日常环境的连续采集图像中预测与环境相关的风险。我们还旨在了解模型性能如何因参与者报告的位置类型而有所不同。
来自北卡罗来纳州达勒姆及其周边地区的吸烟者在吸烟后立即和一天中随机选择的时间完成了两周的生态瞬间评估。在每次评估中,参与者都会拍摄当前环境的照片,并完成关于吸烟、烟瘾以及当前环境中是否允许吸烟以及参与者是否在室外的问卷调查。基于参与者日常环境的图像、吸烟后时间以及日常吸烟习惯的基线数据,使用卷积神经网络模型预测吸烟、烟瘾、当前环境中是否允许吸烟以及参与者是否在室外。使用接收器操作特征曲线下面积(AUC)和平均精度(AP)来评估样本外预测以及在第 1 天到第 10 天的图像上训练的个性化模型的预测性能。该模型针对移动设备进行了优化,并实现为智能手机应用程序。
共有 48 名参与者完成了研究,共采集了 8008 张图像。个性化模型在预测吸烟风险(AUC=0.827;AP=0.882)、烟瘾(AUC=0.837;AP=0.798)、当前环境中是否允许吸烟(AUC=0.932;AP=0.981)和参与者是否在室外(AUC=0.977;AP=0.956)方面非常有效。样本外模型在预测吸烟风险(AUC=0.723;AP=0.785)、当前环境中是否允许吸烟(AUC=0.815;AP=0.937)和参与者是否在室外(AUC=0.949;AP=0.922)方面也很有效;然而,它们在预测烟瘾方面效果不佳(AUC=0.522;AP=0.427)。当预测所有结果(除了烟瘾)时,省略图像特征会使 AUC 降低超过 0.1。对自我报告的位置类型更具可变性的参与者(Spearman ρ=0.48;P=.001),预测吸烟的效果更好。
日常环境的图像可用于有效预测吸烟风险。通过纳入关于日常吸烟习惯的信息并对参与者特定的图像进行训练,实现模型个性化,进一步提高了预测性能。可以在移动设备上实时评估与环境相关的吸烟风险,并将其纳入基于设备的戒烟干预措施中。