Skip to main navigation Skip to search Skip to main content

Prediction of Snacking Behavior Involving Snacks Having High Levels of Saturated Fats, Salt, or Sugar Using Only Information on Previous Instances of Snacking: Survey- and App-Based Study

Research output: Working paper / PreprintPreprint

Abstract

Background: Consuming too much food or drink with high levels of saturated fats, salt or sugar can be harmful for health. Many snack foods fall into this category (HFSS snacks). However, the palatability of these snacks means that people can sometimes struggle to reduce their intake. Machine learning algorithms could help by predicting the likely occurrence of HFSS snacking, so that just-in-time adaptive (JITAI) interventions can be deployed. However, HFSS snacking data has characteristics (such as sparseness and incompleteness), which make snacking prediction a challenging machine learning problem. Previous attempts have employed several potential predictor variables, achieving considerable success. Nevertheless, collecting information along several dimensions requires several potentially burdensome user questionnaires per day, so that this approach may be less acceptable among the general public. Objective: Our aim is to consider the capacity of machine learning algorithms to predict HFSS snacking based on minimal data that can be collected in a mostly automated way: day of week, time of day, and location (coarsened as work, home, other). Methods: A sample of 111 participants in the UK were asked to record HFSS snack occurrences and location category, over a period of 28 days, leading to a new dataset on HFSS snacks. Data collection was facilitated by a purpose-specific app. Additionally, we use a similar dataset from the Netherlands. For both datasets, we employ machine learning methods (random forests and neural networks). Results: We report results concerning the ability of machine learning methods to predict the time of the next HFSS snack. The quality of the prediction depended on both the dataset and temporal resolution employed. In some cases, predictions were accurate to as few as 17 minutes on average. Conclusions: We demonstrated that prediction of HFSS snacks on sparse data is possible to reasonable accuracy. We consider the type of prediction problem which may be most suitable for putative interventions in relation to HFSS snacking. While we think it was important to employ standard machine learning algorithms in this work, we also discuss ways to tailor both the machine learning algorithms and the prediction problem to better align with the unique characteristics of the problem.
Original languageEnglish
PublisherJMIR Publications Inc.
Pages1-54
Publication statusPublished - 20 Feb 2024

Publication series

SeriesJMIR Prepints
Number57530

Keywords

  • high fats
  • salt
  • or sugar snacks
  • machine learning algorithms
  • internet data collection
  • just-in-time interventions

Fingerprint

Dive into the research topics of 'Prediction of Snacking Behavior Involving Snacks Having High Levels of Saturated Fats, Salt, or Sugar Using Only Information on Previous Instances of Snacking: Survey- and App-Based Study'. Together they form a unique fingerprint.

Cite this