Related Experiment Video
Updated: Aug 11, 2026

Deep Neural Networks for Image-Based Dietary Assessment
Published on: March 13, 2021
Who Is at High Risk of Poor Diet Quality? A Precision Public Health Nutrition Approach using Machine Learning
Rosanne Blanchet1, Natalie Doan2, Sara Nejatinamini3
1Department of Social and Preventive Medicine, School of Public Health, University of Montreal, Montreal, QC, Canada; Public Health Research Centre (Centre de recherche en santé publique; CReSP), Montreal, QC, Canada.
Background:
Suboptimal diet quality contributes to poor health. Numerous factors at all levels of the socioecological model intersect to influence individuals' diet quality. A precision public health nutrition framework can be used to understand how these factors jointly shape diet quality across several subgroups in the population. This is, however, very challenging to operationalize.
Objectives:
The purpose of this study was to assess whether machine learning can be leveraged to operationalize a precision public health nutrition approach by more precisely identifying subgroups with the highest proportion of adults with poor diet quality and the most important predictors of diet quality.
Methods:
We conducted a secondary analysis of cross-sectional data from the 2018 and 2019 International Food Policy Study in Canada (n = 5093). A total of 42 candidate predictors within 4 domains (sociodemographic characteristics and socioeconomic position; food policies and environments; food literacy; health-related practices and indicators) were used. The Healthy Eating Index-2015 (HEI-2015) was used to assess diet quality; tertiles of HEI-2015 scores were defined as the outcome. Conditional inference tree (CIT) and conditional random forest (CRF) analyses were conducted.
Results:
The CIT partitioned the sample into 7 subgroups with different proportions of adults with lower, moderate, or higher diet quality using 6 predictors. The probability of lower diet quality ranged from 16.9% to 49.9% across subgroups. The subgroup with the highest proportion of adults with lower diet quality was characterized by individuals confident in using ≤4 cooking techniques. Based on the CRF model and conditional variable importance, the 5 most important predictors of diet quality were frequency of food label use, confidence in using cooking techniques, perceived general health, household food insecurity status, and health literacy.
Conclusions:
This study provides evidence that machine learning approaches can be leveraged to operationalize a precision public health nutrition approach.
