Quantifying Nutrient Profile Similarity Among Foods Using Cosine Similarity of Multidimensional Nutrient Profiles.
Renée P M Cardinaals, Benjamin M Taylor, Miriam E Clegg, Andrew J Fletcher, Stephan Peters, Thom Huppertz
Food Systems Research, Lottum, 5973 PZ Horst aan de Maas, The Netherlands. · School of Mathematical Sciences, University College Cork, T12 K8AF Cork, Ireland.
Key points
From the paper's conclusion- Conclusions: We conclude that cosine similarity is a valuable tool in identifying similar nutrient profiles, offering a comprehensive and flexible framework, complementary to nutrient density approaches, for guiding dietary choices across multiple objectives without compromising nutritional quality.
Abstract
BACKGROUND: Food substitutions can be used for improving dietary performance in different domains, e.g., human health, environmental impact, affordability or cultural preferences. However, the criteria to justify food substitutions are often inconsistent and based on single nutrients such as maintaining volume, protein, energy or culinary equivalence. Such approaches neglect the broader and more complex nutrient profiles that define a food's overall nutritional value. METHODS: This study introduced the application of cosine similarity to enable comparisons of nutrient profiles of foods based on a multitude of nutrients as an important step in food substitutions. Each nutrient was normalized to a fraction of the Reference Daily Intake and represented an axis in a multidimensional space. Subsequently, each food in the dataset (n = 927) was turned into a vector in this space, and the cosine similarity between each pair of vectors was calculated. The effect of nutrient selection was assessed by using six nutrient subsets, differing from 6 to 21 essential nutrients. RESULTS: Cosine similarity provided a quantitative measure of nutrient-profile similarity and revealed similarities across food pairs. For most food categories, we found a broad distribution of cosine similarity values, spanning from 0 to 1. The choice of nutrient subset shifted the results, highlighting the relevance of including a wide range of essential nutrients. CONCLUSIONS: We conclude that cosine similarity is a valuable tool in identifying similar nutrient profiles, offering a comprehensive and flexible framework, complementary to nutrient density approaches, for guiding dietary choices across multiple objectives without compromising nutritional quality.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- UMAMI: A Multimodal Benchmark Dataset for Evidence-Grounded Dietary DecisionsarXiv · 2026
- AI-Driven Prediction of Food Nutrient Composition and Personalized Dietary Recommendation: Advances in Multimodal Methods, Knowledge-Enhanced Decision-Making, and Evaluation FrameworksApplied Sciences · 2026
- Systematic optimization of a hybrid text–nutrient retrieval pipeline for food product matchingApplied Intelligence · 2026
- Artificial Intelligence-Enabled Ingredient Substitution in Food Systems: A Review and Conceptual Framework for Sensory, Functional, Nutritional, and Cultural OptimizationFoods · 2025
- Large language models in food and nutrition science: Opportunities, challenges, and the case of FoodyLLMCurrent Research in Food Science · 2026
- CP-BayesNE: Uncertainty-Aware Personalized Nutrient-Density Estimation from Food Images Using Conformal Prediction and Prior-Corrected Dietary Adaptation.Nutrients · 2026