Study estimates nutrient composition in packaged foods, suggesting reliable methods for dietary assessment.
Abstract Background Food composition databases are fundamental for rigorous dietary assessment, yet they often include information only for generic foods. Objective This study aimed to estimate the full nutrient composition of packaged foods using natural language processing (NLP) and optimization modeling. Methods Nutrition Facts tables (NFT) and ingredient lists for 5,371 packaged foods collected by the Food Quality Observatory across 17 food categories available in Québec, Canada, were used. First, an NLP algorithm matched individual ingredients from packaged foods to the closest equivalents in the Canadian Nutrient File (CNF) 2015, which contains full nutrient profiles for over 5,690 ingredients and foods in Canada. Match quality was assessed using cosine similarity scores. Second, an optimization model estimated the proportion of all ingredients (g/100g) from the packaged foods, enabling the reverse-engineering of nutrient composition data found on the NFT. Model performance was assessed using relative errors comparing estimated versus known nutrient values reported on NFTs. Results Over 55% of ingredients were matched to the CNF with cosine similarity scores ≥ 0.9, indicating high-quality matches. Across all food categories combined, the median relative error for the estimates of energy and the 10 nutrients reported on NFT was <|20%|, consistent with Health Canada's accepted variance for NFT declarations, suggesting reliable estimations. Six food categories showed strong results, with all nutrient estimates having median relative errors <|20%|. Eight food categories obtained moderate results with all nutrient estimates having median relative errors <|20%|, but with a broader range of error values. Three food categories obtained poor results, with several nutrient estimates having relative errors beyond the |20%| threshold. Conclusions A method based on NLP and optimization modeling can reliably estimate ingredient proportions of a wide variety of packaged foods, allowing for the generation of complete nutrient profiles.
No takes yet. Share an insight, caveat, or question.
Côté et al. (2026) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: