Monday, 06 July 2026 PDT | 04:48 AM
The 1 News Alt Logo Text Smart News for Global Indians

Applying Artificial Intelligence and machine learning in precision nutrition

AI News July 06, 2026 04:00 PM
Applying Artificial Intelligence and machine learning in precision nutrition

A key feature of the Precision Nutrition and Health approach is the ability to tailor interventions to individual variability using multimodal data from large-scale biobanks and cohorts. Artificial intelligence (AI) and machine learning (ML) models offer new potential to model complex data but remain constrained by challenges related to data quality, interpretability, validation, and causal inference. This Perspective synthesizes current AI/ML methodologies in PN, elucidates their interplay with the distinctive features of multi-omic and nutritional data, such as being compositional, episodic, context-dependent, and error-prone, and delineates nutrition-specific best practices for achieving robust, interpretable, and clinically actionable AI integration in research and practice.

Diet has a profound impact on cognitive, physical, and social well-being. Nutritional deficits contribute to nearly 50 million disability-adjusted life years (DALYs) and account for 26% of all adult deaths worldwide1. A third of all premature deaths in the United States (US) are attributed to nutrition-associated factors, including limited diet diversity and quality, elevated body mass index (BMI), high blood pressure, fasting glucose and sedentary lifestyle2,3. Globally, the burden of nutrition-related mortality has escalated over the past decade, outpacing population growth in both low and high-resource settings3. Decades of research investigating the complex interplay between diet, health, and disease4 contributed to recognizing nutrition as one of the few truly modifiable risk factors for chronic diseases. Yet, current dietary guidelines5 lack individual-level personalization and do not account for potential inter- and intra-person variability in dietary responses6,7, which can ultimately limit their effectiveness in improving health outcomes.

Precision nutrition (PN) aims to overcome these limitations by tailoring dietary guidance using factors that affect nutrition status, including clinical, biochemical, molecular (metabolomic, genomic, metagenomic), environmental, behavior, lifestyle and physiological data8. The 2020-30 National Institutes of Health (NIH) Strategic Plan positions PN as a unifying and holistic approach for developing comprehensive and dynamic nutritional recommendations to promote health at both the individual and population level9. In alignment with this vision, NIH identified PN as a national priority and launched the Nutrition for Precision Health (NPH) Initiative to provide novel insights and catalyze a shift towards personalized nutrition10. However, implementing PN approaches requires deep phenotyping and the integration of large and complex datasets with multiple data types (or modalities), which can be computationally demanding and pose significant analytical challenges11,12. One of the most important modalities is dietary data which are inherently compositional and context-dependent, and pose harmonization challenges across methods of collection, reference time frames, time integration, and nutrient food composition databases13. Minor variations in dietary intake analysis can produce different micro and macronutrient calculations and shift observed associations with metabolic pathways. Evidence from controlled feeding studies and large observational cohorts shows that even identical diets can produce different postprandial glycemic and lipid responses across individuals7,14,15. Gut microbiome composition, a person-specific factor, has been found to be a key driver of individualized dietary responses. For example, in a randomized crossover trial, a microbiome‑based machine learning (ML) model accurately predicted, for each individual, which bread type elicited a lower glycemic response6. Similarly, across independent cohorts, the gut microbiome and other person-specific factors outperformed meal macronutrient content in predicting glycemic responses16,17,18. These findings suggest that PN is not merely defined by integrating multimodal and high-dimensional data, but by disentangling complex biological associations that require models that respect the structure of diet data and inter-individual heterogeneity.

Artificial intelligence (AI) has opened new avenues for the analysis and interpretation of complex and highly interconnected data. These methods enable the integration of large, heterogeneous datasets from diverse sources, a critical advancement for implementing PN research. The availability of such complex data is rapidly increasing in both the US and globally, through country-level datasets and biobanks like the All of Us Research Program and the UK Biobank19,20. Data curation and analysis tools are being facilitated by the NIH’s Common Fund Data Ecosystem21, the Biodata Catalyst22, as well as consortia focused on microbiome and multi-omics23. However, the application of AI methods in nutrition remains in early stages and faces significant technical, methodological, and implementation challenges.

In this Perspective paper, we present our approach to integrating PN and AI and propose a foundational framework for best practices in this emerging and evolving field. Unlike prior works, which provide primarily conceptual overviews of opportunities and in applying AI in nutrition research24, we aim to define the operational groundwork needed to implement AI in existing biobanks and databases, particularly in real-world interdisciplinary and international settings. This framework is designed as a practical guide to support researchers, practitioners, and data scientists, as well as non-experts entering the field of similar studies in the US and globally, where variability in data, measurement instruments, and analytical pipelines presents significant barriers in applying AI in nutrition research. Specifically, we introduce an integrated framework that combines: (i) the AI-PNUTRI checklist for the design, reporting, and evaluation of AI-enabled PN studies, (ii) explicit mapping of analytical workflows to large-scale biobanks (e.g., All of Us, Nutrition for Precision Health, UK Biobank), (iii) cross-layer harmonization across dietary, clinical, behavioral, and multi-omics data, and (iv) incorporation of temporal dynamics and causal inference into a unified analytical pipeline. Accordingly, this manuscript is intended as a synthesis with practical, implementation-focused guidance.

We first provide an overview of current AI methods used in PN, outlining their strengths and limitations, and clarifying key terms and concepts related to AI. We conclude our work by discussing key challenges, proposing best practices for applying AI and ML in nutritional research, and identifying gaps for future work.

Traditional ML methods encompass a broad range of algorithms, from linear models to tree-based ensembles, that have been foundational in nutritional sciences due to their statistical rigor, interpretability, and robustness with smaller or structured datasets. These approaches are grounded in well-established statistical principles, making them accessible and trustworthy for domain experts. For instance, regression models can integrate heterogenous data, including genomics, demographic factors, gut microbiome, and digital engagement data to predict health outcomes with high accuracy16,25,26,27. A key strength of traditional ML methods is their ability to handle high-dimensional data common in PN research, such as genomics, metabolomics, and microbiome profiles, particularly when the number of predictors far exceeds the available sample size28,29. Regularization methods, such as least absolute shrinkage and selection operator (LASSO), ridge regression, and the elastic net, can prevent overfitting (this occurs when the model is trained to very tightly fit the training data, demonstrating exceptionally high accuracy for this dataset), and improve coefficient stability by applying penalties during model training30,31,32. These methods enhance interpretability by shrinking less informative coefficients toward zero, setting some coefficients exactly to zero in the case of LASSO and elastic net. Therefore, they facilitate the identification of key dietary, microbial, or metabolic features associated with health outcomes. Despite these advantages, traditional ML methods often rely on assumptions, such as linearity, independence of predictors, or specific data distributions. Such assumptions may be violated in dietary data, which are inherently compositional, episodic, and context-dependent, potentially leading to biased or oversimplified associations. While optimized implementations in standard libraries33 enable efficient computation with modest resource requirements, careful hyperparameter tuning (e.g., selection of penalty strength via cross-validation) is essential. Moreover, these models may underperform in settings characterized by complex, highly non-linear interactions, and built-in measures of feature importance may be less nuanced than post hoc explainability approaches.

Tree-based ML methods, including decision trees, random forests (RF), and gradient boosting algorithms are powerful tools for handling complex, non-linear relationships among dietary factors, microbiome features, and health outcomes34,35,36. Decision trees provide intuitive partitioning of the predictor space, such as identifying dietary thresholds37, but they are susceptible to overfitting. RF improves stability38 and has been applied to the estimation of micronutrient deficiencies from dietary survey data39.

Related work in computational nutritional epidemiology has shown that ML can also infer the degree of food processing directly from nutrient composition data. For example, the FoodProX/FPro framework predicts processing level for foods and showed that greater reliance on more highly processed foods is associated with higher risk of metabolic syndrome, diabetes, angina, elevated blood pressure, and biological age, as well as reduced vitamin bioavailability40. This example illustrates how traditional ML can generate interpretable dietary features that extend beyond nutrient totals and can be incorporated into PN analyses.

Gradient boosted trees (e.g., XGBoost) sequentially minimize prediction error and frequently achieve superior predictive performance41,42, exemplified by their use in forecasting postprandial glucose responses from integrated dietary and microbiome profiles43,44. For instance, large cohort studies showed that gradient‑boosted trees integrating gut microbiome taxonomic-functional features alongside diet and clinical factors accurately (r = 0.77) predict postprandial glycemic response16. Similarly, microbial gene richness, short-chain fatty acid-producing taxa, and functional profiles have been used as model inputs to predict responses to dietary fiber and cardiometabolic risk modulation. Such approaches typically encode microbiome data as relative abundances, diversity indices, or learned embeddings, which are then integrated with dietary and clinical features in ML pipelines7,45,46,47. These examples illustrate how microbiome-related features can enhance model performance and biological interpretability, while also providing a mechanistic link between diet and host response. However, up-to-date evidence supporting substantial predictive gains from multi‑omics integration in personalized nutrition remains limited, with available studies indicating modest and context‑dependent improvements (Supplementary Table 1).

Across these approaches, the ability to derive a feature-importance ranking is a key advantage of PN. However, ensemble methods are less interpretable than individual trees, necessitating post hoc tools, such as partial dependence plots or SHapley Additive exPlanations (SHAP), which explain model predictions by assigning importance scores to input features48. It is noteworthy that even though the inclusion of gut microbiome features can increase ML model predictive performance, it does not establish causality or whether such features are mechanistic mediators of response. Hence, causal inference frameworks should complement predictive models by testing whether candidate microbial taxa, functions, or metabolites lie on pathways through which diet influences host phenotypes. Complementary in vitro, animal, and human experiments may in many cases be required to establish causal relationships.

Ensemble learning more broadly combines complementary models (e.g., RF with boosting or stacking approaches) to enhance prediction accuracy, robustness, and generalizability, particularly in multimodal PN settings integrating microbiome, metabolomics, and clinical data49. While most nutrition applications rely on standard implementations with limited customization, domain-informed feature engineering remains critical for performance and interpretability.

Supervised learning methods, described above, rely on labeled data to train models that map inputs to known outcomes, allowing straightforward evaluation through predictive accuracy. In contrast, unsupervised learning analyzes unlabeled data to uncover latent structures. Clustering algorithms are foundational for analyzing high-dimensional nutrition datasets including microbiome and metabolomic data and can themselves be learned through algorithmic techniques50,51,52,53. More advanced nonlinear dimensionality reduction techniques, such as t-distributed stochastic neighbor embedding54 and Uniform Manifold Approximation and Projection (UMAP)55, enable nonlinear visualization of complex metabolomic or microbiome structures beyond traditional ordination.

DL models, built on multi-layered neural networks, have emerged for their ability to automatically learn hierarchical representations from raw, heterogeneous data, making them well-suited to the multimodal complexity of PN. The core advantage of DL is end-to-end learning, in which features are extracted directly from inputs without manual engineering. Convolutional neural networks (CNNs) excel at image-based food recognition, recurrent neural networks (RNNs/long short-term memory (LSTMs)) at temporal data, such as wearables, and transformers at integrating diverse modalities. Pre-trained models trained on large images datasets or text corpora can be transferred to nutrition tasks. DL excels at capturing complex non-linear interactions but typically requires large, labeled datasets, substantial computational resources, and careful regularization to avoid overfitting56. Moreover, the opaque nature of DL models limits mechanistic interpretability, which remains a key concern in clinical and nutritional contexts, although explainable AI methods can partially mitigate this limitation57.

Common extensions include transfer learning through fine-tuning of pre-trained networks and multimodal fusion, in which information is concatenated or attended across inputs (e.g., diet images and clinical text). Architectural choices are driven by data structure, including CNNs for vision and graph neural networks (GNNs) for microbe-metabolite interactions. In fact, recent studies have demonstrated the utility of GNNs in microbial phenotype prediction58, metabolomic pathway inference59, and joint microbe-metabolite association learning59,60. By representing taxa and metabolites as nodes connected by functional or biochemical relationships, these models can capture non-linear dependencies and contextual relationships more effectively than classical models, particularly in sparse or compositional datasets, such as the microbiome. In addition, neural models, such as MiMeNet, learn mappings from microbial taxa to metabolite profiles, helping uncover functional pathways that mediate diet-microbiome-host interactions61. Furthermore, DL methods have recently begun to be used to integrate multi-omics data with host-associated data, such as diet, thereby improving the predictions of individualized metabolic responses. For example, a DL approach based on coupled multilayer perceptrons (McMLP) was developed to predict metabolite responses to dietary interventions using baseline gut microbiome composition, metabolomic profiles, and dietary inputs, outperforming ML models62.

In practice, DL training relies on frameworks, such as PyTorch or TensorFlow, and often requires Graphics Processing Unit (GPU) acceleration. While DL offers superior handling of heterogeneity and non-linearity in PN (e.g., predicting responses from multi-omics data), full model training is resource-intensive, and the risk of overfitting increases with limited sample sizes. The black-box nature of DL can limit trust, though explainable AI approaches, such as Grad-CAM, provide partial insight and bias introduced during pre-training may propagate. Additional limitations include hallucinations in generative variants, interpretability gaps, and data leakage in transfer learning when domain shifts are not adequately addressed. In nutrition research, DL has enabled advances in food image-based nutrient estimation, glycemic response forecasting from CGM and wearable data, and multi-omics integration for PN. Most applications rely on off-the-shelf models, while retrieval-based grounding from nutrient databases is emerging but remains underutilized.

LLMs represent a new class of AI models capable of synthesizing information across modalities. The main advantage of pre-trained LLMs is that they are trained on massive amounts of data, allowing them to operate generically across a wide range of domains. Conversely, this generality limits their ability to address niche or highly specialized domains, such as PN. This limitation can be mitigated through several extension mechanisms. One of the most straightforward approaches is retrieval-augmented generation (RAG)63, in which additional contextual information is provided to supplement knowledge that may be absent from the model’s training data. Another extension involves the use of tools, enabling LLMs to directly access structured or computed data64. Finally, prompt context can be expanded with a small number of domain- or problem-specific examples, a technique known as few-shot prompting65, which the LLM can follow to produce its response to the given query. The aforementioned techniques are collectively known as “prompt engineering“66. An alternative method to improve the LLM performance for a given domain is called “fine-tuning“67, whereby a pre-trained model can be further trained on domain-specific data. Fine-tuning allows new knowledge to be internalized, reducing reliance on complex prompting and enabling improved domain reasoning, without retraining the entire model. However, it remains a training process that requires substantial computational resources and time. Moreover, fine-tuning can reduce a model’s general applicability, while its domain-specific performance becomes dependent on the quality and scope of the additional data, potentially introducing bias. As a result, fine-tuned models often become application-specific, shifting the long-term maintenance burden from the pre-trained model provider to the entity performing fine-tuning.

LLMs generally suffer from three important limitations: hallucinations68, data leakage69, and bias70. Hallucinations occur when models generate false or misleading information presented as facts, often due to insufficient or inappropriate data, limitations in capturing language characteristics, or internal modeling behavior. Data leakage arises when generated responses inadvertently reproduce elements of the training data, analogous to overfitting in traditional ML, with serious implications for evaluation and validation. The third limitation, bias, while not unique to LLMs, is amplified by reliance on large-scale public data sources, necessitating careful consideration during both training and deployment to avoid ethical and scientific pitfalls.

In nutrition, LLMs have been used to enhance data-driven decision-making and support dietary recommendations. They have also been used for personalized71 food recommendations and for constructing diets for special cases, including type 2 diabetes72,73 and kidney disease74. However, most of the LLM applications in nutrition rely on out-of-the-box implementations without domain-specific adaptation or additional functional extensions75. This limitation can be addressed through approaches, such as RAG and additional functional extensions that enhance LLM performance. For example, in a PN application, RAG-enhanced LLM recommended food substitutions to increase the consumption of foods rich in live microbes64. Microbiome-aware retrieval pipelines remain underutilized, but could be further extended to enable the use of microbiome data in PN. Future LLM applications with RAG can combine dietary intake data with microbiome composition and metabolomic profiles to generate personalized dietary recommendations, such as identifying specific food substitutions to modulate microbial pathways linked to metabolic health. Although RAG has been proposed as a mechanism to ground LLM outputs in domain-relevant knowledge, it remains underutilized in PN (Table 1). Recently, LLMs have been used in microbiome association mining, taking advantage of their powerful abilities in automated extraction and integration of large-scale textual data. By fine-tuning and deploying pretrained LLMs, such as ChatGPT, these studies investigated the microbiome-diet or microbiome-disease associations following a three-step process involving recognizing key biomedical elements from text (e.g., diet factors, microbes, metabolites), interpreting how these elements are connected (e.g., whether a microbe has a beneficial, harmful, or neutral effect on a specific outcome) and compiling the identified associations into structured resources allowing for further analysis76,77.

Table 2 and Fig. 1 provide a comparison of ML, DL, and LLM methods in nutritional data analysis. Briefly, traditional ML methods are often more computationally efficient and include interpretable algorithms, such as decision trees, but rely on assumptions about data structure and benefit from domain-informed feature design. DL models provide greater flexibility for modeling complex relationships but suffer from limited transparency, although explainable AI methods can partially address this limitation78. LLM applications in nutritional research are still new, lacking standardization and reproducibility, while they require extensive computational power. In addition, LLM model decision-making and reasoning transparency need to be increased, although efforts have been made in this direction79. It is also noteworthy that the successful application of these AI methods depends not only on the algorithms used for data analysis but also on the availability of high-quality, multimodal, and multi-omic datasets. Table 3 summarizes selected biobanks and nutrition-focused datasets that offer structured dietary intake data, biomarker profiles, and multi-omics layers suitable for AI applications.

Created in BioRender. Huey, S. (2026) https://BioRender.com/l28ubua.

The figure illustrates how large language models (LLMs), machine learning (ML), and deep learning (DL) fit within a broader data science framework. LLMs support tasks such as text generation and food analysis but require large datasets and high computational power. ML methods (e.g., regression, random forests, clustering) can be used for disease prediction and dietary pattern analysis. DL approaches (e.g., CNNs, GNNs, RNNs) can enable applications such as image-based food recognition and personalized nutrition, but face challenges such as overfitting, complex validation, and limited interpretability.

AI applications in precision nutrition (PN) face interconnected challenges from nutritional data’s unique properties, i.e., episodic, compositional, culturally/sociodemographically shaped, prone to measurement error and recall bias, and the demands of multimodal integration (dietary intake, biomarkers, multi-omics, wearables, behavioral records)80,81,82,83,84,85. These challenges are not merely technical but also methodological, requiring careful adaptation of generic AI practices to the specific context of diet, biology, behavior, and environment.

Multimodal datasets in PN combine diverse data types, such as dietary intake, clinical biomarkers, multi-omics, wearable sensor streams, and behavioral records, each with distinct formats, scales, distributions, and sources of technical variation. The biobanks and other data repositories listed in Table 3 exemplify this diversity86. The primary difficulty arises from inherent incompatibilities across data layers. Wearable devices, such as smart watches and continuous glucose monitors (CGMs), are high-frequency time series with irregular sampling. Dietary intake data are typically episodic, compositional, and often collected using heterogeneous instruments, such as dietary recalls, food frequency questionnaires, diet records, and app-based tools. Each tool can introduce different types of error, including recall bias and temporal resolution. In addition, studies may use different food composition databases, nutrient calculation software, and food annotation systems, which can produce substantial differences in the estimated diet intake even when similar foods are reported87,88,89. Metagenomic datasets may include many low-coverage taxa that can introduce substantial noise90, and microbiome studies are often not directly comparable because of variation in sample collection, DNA extraction, sequencing platforms, taxonomic or functional annotation pipelines, and the mixed use of relative versus absolute abundance, which have markedly different statistical considerations91. In intervention studies, heterogeneity in adherence or compliance measurement approaches, such as adherence scores, biomarker-based assessment, app-derived logging frequency, or device-based monitoring, can further complicate cross-study harmonization92,93,94,95. These differences violate assumptions of uniformity in standard AI pipelines. As a result, successful AI implementation in PN requires not only multimodal integration but also harmonization of measurement pipelines, annotation systems, and adherence metrics across cohorts and platforms. A key limitation of existing resources like the All of Us Research Program is the need for data harmonization, particularly for biomarkers critical to precision nutrition. While the program applies the Observational Medical Outcomes Partnership (OMOP) Common Data Model Version 5 infrastructure for standardization96, clinical measurements from electronic health records (EHRs) often vary in units, such as percentages vs. mmol/mol for hemoglobin A1c or differing assay standards for vitamins and inflammation markers, and sparse PN-relevant biomarkers, such as omega fatty acids, micronutrients, interleukin‑6, not routinely collected outside sub-studies.

Harmonization begins with standardized reference systems: unified nutrient composition databases, unified taxonomic frameworks (e.g., Genome Taxonomy Database [GTDB]), and controlled vocabularies (e.g., Systematized Nomenclature of Medicine Clinical Terms, branded as SNOMED-CT). In nutrition-focused metagenomic analysis, where diet-microbiome associations are often population-specific, using a singular phylogenetic reference tree, such as Systematic Information on Lineage, Variation, and Abundance97,98, or the GTDB99 enables consistency with taxon assignments, improving comparability between cohorts. For temporal or event-driven datasets, such as disease onset or snapshots of dietary change, anchoring data modalities to defined time points or biological events is recommended. These anchors enable mapping multiomic and phenotypic layers through strategies like interpolation, time-window binding or statistical imputation, especially in longitudinal studies with varying amounts of spacing or irregular sampling intervals. Considering diet, using common reference nutrient composition databases and consistent software versions to collect or analyze diet data can reduce variation. For wearables, accounting for the time zone used to timestamp the data is critical. Biological context is also crucial. For example, transcriptomic or epigenomic variables may differ depending on tissue type, developmental stage, or sampling method. It is recommended to use hierarchical features, such as tissue-of-origin annotations or conduct metadata-aware normalization to improve data integration and comparability100,101. In addition, batch effects arising from differences in sample processing times, sequencing batches, or data generation technologies should also be addressed through statistical tools, such as ComBat, RUV (remove unwanted variation), or Bayesian normalization models.

Emerging AI methods further support data harmonization and integration. Transformer-based models102,103,104,105,106,107,108,109,110,111,112 and GNN58,59,60,61,113,114 have emerged as extremely powerful tools for unifying multi-modal and high-dimensional data, structured and unstructured data and can model complex biological relationships, significantly improving disease classification. Both approaches reduce manual feature engineering but demand large datasets and computational resources. Overfitting cohort-specific artifacts remains a risk, and interpretability can suffer without targeted explainability layers. Domain-adapted implementations are increasing but still underutilized in PN studies. A detailed description of the AI models that can be used for data integration and harmonization with their application domains and key features is provided in Table 4.

Nutritional datasets frequently exhibit structured missingness and outliers that carry biological meaning rather than random error. In nutritional research, data cleaning and completeness are complex because dietary data are episodic and prone to recall bias115 with missingness not necessarily random. For example, missing or outlier values may reflect true non-consumption of a food item, underreporting due to imperfect memory, or technical issues. The interpretation of outlier and null values can vary substantially depending on the specific data layer86 and may warrant further investigation116. A critical aspect of data completeness in biobanks is linking samples to subjects across different data layers, including diet, microbiome, and biomarker profiles. This process assumes that the sample identifiers within bespoke containers are compatible, but this is not always the case (e.g., Quantitative Insights Into Microbial Ecology 2 (QIIME 2)117 metadata sample IDs have specific character restrictions). Another more well-known example of data missingness is that several biobanks, such All of Us, show persistent gaps in specialized biomarkers due to cost and non-routine collection, though engagement tools, such as reminders and incentives, help retention.

Researchers should use domain-specific outlier detection, such as visualization, Grubbs’ test, or anomaly‑detection models116. In nutritional research, predefined biological thresholds are used for flagging biologically implausible values, including reference standards from the World Health Organization (WHO) for anthropometry118 and criteria from the National Cancer Institute (NCI) for identifying implausible dietary intake reports119. To address the challenges of cross-layer sample linking, standardization of common identifiers emerges as a critical requirement before data integration can proceed. This standardization process must account for the specific constraints of each data format, including dietary assessment instruments, while maintaining the ability to uniquely identify and link samples across all relevant data. Imputation has been proposed as another method to mitigate any missing data that is not addressed by the previous approaches120,121,122. More recently, imputation is also achieved using ML methods, which capture complex dependencies but risk introducing synthetic patterns. Cross-layer identifier standardization (e.g., compatible sample IDs across diet, microbiome, and clinical modules) is essential before integration. Advanced imputation remains underutilized despite its availability in standard toolkits.

In PN, model outputs must translate into actionable, understandable dietary recommendations that account for substitution effects and individual preferences. The main limitation of many powerful AI models is their opaque decision-making, which erodes trust among clinicians, nutritionists, and individuals receiving personalized guidance. For example, in the All of Us Research Program, where recommendations may be generated across diverse health profiles, the lack of interpretability can hinder clinical translation. Unlike many biomedical applications, dietary recommendations often involve substitution effects and trade-offs between foods or nutrients, which are not immediately evident from abstract model outputs.

One established approach is post-hoc explanation via model-agnostic tools. Another is intrinsic interpretability through constrained architecture. Finally, hybrid approaches combine black-box predictors with interpretable surrogates. Clear visualization methods, decision rule extraction or more targeted and formal methods like LIME (Local Interpretable Model-agnostic Explanations)123 or SHAP48 can improve the interpretability of models. LIME attempts to provide explainability on given predictions of a black-box model by locally approximating the prediction through a simpler, more interpretable model (e.g., linear regression or a decision tree). SHAP uses Shapley values from cooperative game theory to estimate the contribution of each feature to an individual model prediction48. While both methods are model-agnostic, SHAP can provide both local and global explanations, which results in more consistent and non-ad hoc results.

PN models must perform reliably across diverse populations, cultural dietary patterns, and life stages, yet training data are often skewed toward well-resourced cohorts. Nutritional datasets vary widely in size, quality, and representativeness, and dietary intake data are shaped by geographic, cultural, and socioeconomic factors that are often underrepresented in training cohorts. As a result, standard validation techniques, such as random splitting, may be less reliable when applied to heterogeneous populations. Furthermore, the dynamic nature of nutritional data, i.e., spanning short-term dietary intake to long-term health outcomes, requires validation methods that account for temporal variability. The lack of standardized benchmarking datasets in nutrition science impedes robust external validity, making it difficult to assess model performance across cohorts and clinical settings. Inherently within validation and generalizability lies the risk of overfitting. For example, the All of Us Research Program includes participants from diverse racial, socioeconomic, and geographic backgrounds. Models trained on a subset of this cohort may perform well internally yet fail when applied to underrepresented groups with different dietary patterns, disease burdens, or access to care.

In nutritional sciences, ML models have historically relied on techniques, such as train/test splits and k-fold cross-validation, to estimate performance and reduce overfitting. These approaches remain useful, particularly when datasets are limited, because they make efficient use of available data and provide repeated performance estimates. However, researchers increasingly recognize the value of benchmarking models on external datasets. This is particularly relevant in nutritional science, where population-level dietary differences may alter model performance. Validating results on different demographic groups or geographical regions ensures that findings are robust and clinically relevant. In addition to synthetic benchmarks or public datasets, evaluating model performance on real-world nutritional data, collected in varying conditions and populations, enhances the ecological validity of findings.

For example, leave-cohort-out validation can test whether a model trained in one or more cohorts generalizes to a different study population; site-stratified validation can assess robustness across recruitment centers or countries; and temporal validation can evaluate whether models remain stable when applied to later time periods or future follow-ups. In addition, model evaluation should include subgroup-specific performance and calibration reporting, including by ancestry, sex, age, life stage, or culturally distinct dietary patterns, to identify whether performance degrades in underrepresented or clinically relevant strata. Where diet is measured using multiple instruments, sensitivity analyses by dietary assessment method (e.g., FFQ, 24-hour recall, food diary, app-based logging) can help determine whether model performance is robust to differences in exposure measurement.

The gold standard for validation is prospective validation, such as whether an AI-guided intervention improved biomarkers or behavior in a clinical trial. Moreover, successful uptake depends on trust and adherence, as theoretical nutritional recommendations may not be followed if they are impractical or inconsistent with cultural contexts or individual preferences. AI models should therefore incorporate behavioral and contextual modeling to personalize interventions beyond the level of genotypic (Single Nucleotide Polymorphism, or SNP, genotypes of genes of interest), microbial (gut microbial signatures and metabolic pathways), or phenotypic (lab measurements) analyses.

To reduce overfitting, hyperparameter tuning should be conducted systematically and ideally within a nested validation framework, so that model selection and performance estimation are separated. Hyperparameters control the behavior of the model or its learning algorithm and are distinct from parameters learned directly from the data. Common tuning approaches include random search and grid search. The former evaluates randomly sampled hyperparameter combinations, whereas the latter tests predefined combinations and may be preferable when prior knowledge exists about plausible parameter ranges.

Model development, tuning, and validation should be reported transparently and reproducibly, alongside validation results across cohorts, sites, time points, and subgroups. Robust validation depends on reproducibility, enabling model performance to be replicated, compared, or extended across studies and settings. At minimum, studies should report software and package versions, database and reference-table versions, feature definitions, data-split construction, random seeds where applicable, preprocessing and harmonization procedures, model-selection criteria, and the hyperparameter search space and tuning strategy124. Where individual-level data cannot be shared, the availability of code, scripts, or structured pseudo-code remains essential. Standardized reporting of performance metrics, including accuracy, precision, recall, F1-score, calibration, and Area Under the Receiver Operating Characteristic (ROC) Curve, further improves comparability across studies125.

Nutritional effects on health unfold over months or years, driven by complex, dynamic interactions among host genetics, disease history, gut microbial composition, dietary habits, and environmental/cultural factors. Predictive ML models can identify patterns in complex data, but prediction does not establish causality. In PN, this distinction is important because predictive features can reflect confounding, reverse causation, or temporal co-occurrence126,127. For example, associating specific microbial taxa with health outcomes without accounting for temporal changes or dietary triggers risks of misinterpretation. Additionally, the interplay of dysbiotic versus healthy microbial states and their evolution over time complicates predictive modeling. Establishing whether a dietary intervention directly improves microbiome diversity or immune response requires advanced frameworks beyond standard ML approaches that do not by themselves establish which features are causal drivers of response, or whether they reflect confounding and reverse causation128. In the context of diet-microbiome-host interactions, ML models can be used as part of a pipeline where they filter the most important features and generate hypotheses which are subsequently evaluated using causal analytical frameworks, such as counterfactual approaches and Mendelian randomization129.

Temporal modeling and causality are central challenges in PN, as dietary effects unfold over time, and correlations alone are insufficient for actionable guidance. Sequence modeling using RNNs, LSTMs, continuous-time recurrent models, dynamic Bayesian networks, and temporal transformers with explicit time encodings has been applied to forecast nutritional status and model disease progression in response to dietary interventions, including diet recommendations for cancer patients’ status130,131. Similarly, time-series alignment methods, such as dynamic time warping (DTW), have been proposed to preserve temporal relationships across repeated dietary or behavioral measurements and to identify longitudinal dietary patterns in unsupervised settings132,133,134. However, these approaches should primarily be interpreted as predictive or descriptive unless they are embedded in an explicit causal framework.

For causal questions, additional assumptions must be justified. In PN, causal inference frameworks, such as counterfactual analysis and Mendelian randomization, can help distinguish potentially actionable drivers from associations that reflect confounding, reverse causation, or temporal co-occurrence135. However, these methods are informative only under specific conditions: observational counterfactual analyses require exchangeability (e.g., no unmeasured confounding conditional on measured covariates) and positivity/overlap, whereas Mendelian randomization depends on the use of valid instruments136,137. Hybrid approaches, combining transformers with time encodings and causal graphs, offer promise for modeling complex, multi-layered interactions in precision nutrition, ensuring recommendations are both dynamic and causally grounded. Longitudinal models can be used for causal interpretation by establishing temporal precedence, but temporal ordering alone does not guarantee causality138. Likewise, subgroup-specific dietary recommendations are only well supported when sufficient overlap exists in the relevant strata. In PN, causal inference should therefore be used not as a substitute for prediction, but as a complementary framework to evaluate whether dietary, microbial, or metabolic features are plausible drivers of response rather than correlated markers126.

As PN evolves, the next challenge is moving from static, individual-level predictions towards dynamic models that integrate repeated, real-time measurements from a wide range of biological, clinical, behavioral and lifestyle data to simulate responses to nutrition. In this section, we focus on digital twins (DT) and agentic, system‑based AI as they bridge this gap and offer new methodological opportunities to design and test interventions targeting not only the person as an isolated entity but also the interconnected environments that shape risk to nutritional outcomes.

DT in nutrition is an individual-level virtual representation of biological or physical systems created by repeated, real-time dietary, biological, clinical, multiomic, environmental and contextual data139. Within a unified modeling framework, the real entity (e.g., an individual) is modeled as a collection of historical and real-time data140 (Fig. 2). Future DT could incorporate richer AI-derived dietary representations beyond nutrient intake and food groups, including learned features, such as food-processing scores40, that could improve their ability to simulate real-world food exposures more efficiently. These multimodal data are preprocessed and aligned through timestamp normalization and event anchoring. Advanced ML/AI models simulate an individual's behavior under specific dietary scenarios. Technological advances in wearables and smart devices have increased the availability of real-time data streams, and Internet of Things (IoT) infrastructures facilitate data flow across devices, reducing computational burden and improving scalability. In nutrition research, DTs are particularly valuable for simulating interventions that would be prohibitively expensive, invasive, or time-consuming in real-world settings, as well as for developing mechanistic twins (e.g., gut-focused models) and assessing feasibility in pilot studies. Limitations in the accuracy of dietary measurements and in causal inference currently prevent fully autonomous DTs; existing models should therefore be viewed as analytical extensions for multimodal integration and intervention simulation.

Using digital twins unifies dietary, physiological sensor streams, microbiome, metabolomic, environmental, and lifestyle data into a multimodal dataset. Data are aligned through timestamp normalization and event anchoring. The digital twin produces individualized simulations that are continuously updated as new data arrive. Created in BioRender. Huey, S. (2026) https://BioRender.com/m3zglu5.

While DTs capture individual-level data, it is important to consider this data within the broader contexts of family- and school-based nutrition programs, workplaces, communities, and policy programs. Therefore, system-based interventions can support the evaluation of how precision or individualized nutrition programs are shaped by larger systems. Agent-based modeling and agentic AI can be conceptualized as a network of interacting models that represent different elements of these systems and have been used in understanding factors that shape nutrition behavior141,142. Applied within the DT framework, each AI agent can capture the behavior of a digital twin, and the network can represent the system within which an intervention will be designed. This will allow the users to create autonomous simulations, i.e., ones that can design and execute themselves, with less effort and in a more structured way. For example, a probing agent could interact with a patient’s DT to identify barriers to dietary adherence, such as irregular work schedules, financial constraints, or family preferences. A second tactical agent could then retrieve evidence-based dietary strategies tailored to those barriers, such as lower-cost meal substitutions, culturally appropriate alternatives, or simplified meal-planning recommendations. Additional agents could simulate family-, school-, or community-level influences on adherence, allowing the DT system to evaluate whether the intervention is realistic within the patient’s broader social and environmental context.

Nutrition research is increasingly adopting advanced computational methods to address the growing complexity of dietary and health data. Yet AI applications in PN remain limited and often insufficiently adapted to the unique characteristics of the data. This work provides a comprehensive synthesis of modern analytical methodologies, including AI, ML, DL, and LLMs, that can be applied to PN and delineate where standard practices must be adapted to diet, biology, behavior, and environment. Rather than presenting AI as a set of generic and domain agnostic tools, we present a nutrition-centered conceptual framework for AI-enabled PN capturing the entire from data preprocessing and multimodal harmonization through model development, validation, temporal and causal analysis, and responsible deployment using large‑scale cohorts, such as All of Us, NPH, and UK Biobank as exemplars (Fig. 3). This framework is accompanied by the AI-PNUTRI checklist intended to provide actionable guidance to support adoption and implementation and to complement existing reporting standards (Table 5). As STROBE-nut extends the STROBE checklist and PRISMA-trAIce extends the PRISMA 2020 checklist to address the complexity of dietary assessment and nutrition exposures143,144,145,146, AI-PNUTRI is designed as a domain-specific checklist focusing on challenges specific to AI in PN, including multimodal data harmonization, explainability, biological interpretability, and implementation readiness. This could then be integrated with other checklists based on the parent study design.

The pipeline integrates multimodal harmonization, model development, interpretability, validation, and causal reasoning, with embedded references to the AI-PNUTRI checklist (Table 5) ensuring best practices at each stage. Feedback loops allow iterative refinement based on validation metrics. AoU All of Us, AUC Area Under Curve, CGM Continuous Glucose Monitor, CLR Centered Log Ratio, CV Cross-Validation, DB Database, DTW Dynamic Time Warping, FFQ Food Frequency Questionnaire, GNN Graph Neural Networks, HEI Healthy Eating Index, LIME Local Interpretable Model Agnostic Explanation, LLM Large Language Models, LSTM Long-Short Term Memory, MAE Mean Absolute Error, NCBI National Center for Biotechnology Information, NPH Nutrition for Precision Health, OMOP Observational Medical Outcomes Partnership Common Data Model, RAG Retrieval Augmented Generation, RF Random Forests, RWB Researcher Workbench, SES SocioEconomic Status, SHAP SHapley Additive exPlanations, USDA United States Department of Agriculture.

Our work has three main conclusions: first, no single model or AI method is currently optimal for PN. Certain ML methods remain valuable for interpretability and inference in small or moderately sized datasets, while DL and LLM are powerful for multimodal integration. Therefore, model selection must be driven by both the research question and the properties of the available data. Second, data preprocessing and study design are decisive. Standardization of units and variable definitions, explicit time anchoring, prospective documentation of measurement protocols, and harmonization across biobanks are prerequisites for valid modeling and credible generalization. Without this foundation, even state‑of‑the‑art models will misinterpret nutritional signals or overfit idiosyncrasies of a single cohort. Third, AI-enabled PN depends less on algorithmic novelty than on rigorous study design, data preprocessing, external validation across diverse populations and settings, and alignment with human biology and behavioral principles. Approaches that integrate biological, behavioral, and contextual information are most likely to yield actionable and clinically relevant insights.

To advance AI-enabled PN, new consortia initiatives led by nutritionists are essential to collect comprehensive, harmonized datasets, including micronutrients, inflammation biomarkers, genotypic variants (SNPs), and gut microbial profiles, from large, truly representative cohorts. Building on the strengths of existing resources, such as the All of Us Research Program and the NPH study, future progress will depend on addressing these gaps while leveraging planned infrastructure enhancements. PN research will require robust, dedicated computational infrastructure capable of handling concurrent, intensive tasks by multiple users. This includes genotypic analysis of at least 20 SNPs and phenotypic analysis of at least 20 biomarkers across diverse, high-dimensional, multi-omics microbial datasets. Expanded high-end GPU capacity would enable efficient parallel processing, reduce queue times, and support simultaneous workloads without current limitations. In line with these needs, the All of Us Researcher Workbench is in the process of migration to an updated Researcher Workbench 2.0 (powered by Verily, with beta access in early 2026 and full features in Q2 2026)147,148, including NVIDIA GPU integrations, such as Blackwell and Hopper for accelerated AI workflows. In addition to NVIDIA‑based systems, emerging AMD‑based GPU platforms, such as COSMOS, offer a promising alternative that could further reduce current infrastructure constraints.

From principles to practice, Table 6 translates methodological best practices into actionable steps for AI‑enabled precision nutrition. Researchers should collect harmonized, timestamped, event‑anchored data with repeated measures and contextual variables, power studies for subgroups, and prospectively document protocols to enable causal inference and equitable performance. In analysis, they should characterize missingness/outliers, apply appropriate imputation/normalization, reduce feature redundancy, and benchmark multiple models with transparent tuning. Credible evaluation requires independent validation, sensitivity checks for confounding and temporal validity, and explainability (e.g., SHAP/LIME) with calibrated metrics and uncertainty reporting. Sponsors and funders should prioritize representative, longitudinal, multimodal datasets, provide access to independent cohorts, invest in scalable computers, foster standardized benchmarks, and mandate transparent, reproducible practices tied to clinically actionable, biologically grounded outcomes.

Green, R. et al. Growing health: global linkages between patterns of food supply, sustainability, and vulnerability to climate change. Lancet Planet Health 6, e901–e908 (2022).

Article PubMed PubMed Central Google Scholar

Muyulema, S. L. et al. Worldwide trends in childhood overweight and obesity over the last 20 years. Clin. Nutr. ESPEN 65, 453–460 (2025).

Murray, C. J. et al. Global burden of 87 risk factors in 204 countries and territories, 1990–2019: a systematic analysis for the Global Burden of Disease Study 2019. lancet 396, 1223–1249 (2020).

Scrimshaw, N. S. in Vitamins & Hormones Vol. 26 705-716 (Elsevier, 1969).

U.S. Department of Agriculture and U.S. Department of Health and Human Services. Dietary Guidelines for Americans, 2025–2030 (2025).

Korem, T. et al. Bread affects clinical parameters and induces gut microbiome-associated personal glycemic responses. Cell Metab. 25, 1243–1253.e1245 (2017).

Article CAS PubMed Google Scholar

Zeevi, D. et al. Personalized nutrition by prediction of glycemic responses. Cell 163, 1079–1094 (2015).

Article ADS CAS PubMed Google Scholar

Maruvada, P. et al. Perspective: dietary biomarkers of intake and exposure—exploration with omics approaches. Adv. Nutr. 11, 200–215 (2020).

National Institutes of Health. 2020-30 Strategic Plan for NIH Nutrition Research. (National Institutes of Health, 2020).

NIH. Nutrition for Precision Health, powered by the All of Us Research Program, https://commonfund.nih.gov/nutritionforprecisionhealth (NIH, 023).

Lee, B. Y. et al. Research gaps and opportunities in precision nutrition: an NIH workshop report. Am. J. Clin. Nutr. 116, 1877–1900 (2022).

Article CAS PubMed PubMed Central Google Scholar

Lahat, D., Adali, T. & Jutten, C. Multimodal data fusion: an overview of methods, challenges, and prospects. Proc. IEEE 103, 1449–1477 (2015).

Avraham, S. B. et al. Methodology and challenges for harmonization of nutritional data from seven historical studies. Nutr. J. 23, 88 (2024).

Mendes-Soares, H. et al. Assessment of a personalized approach to predicting postprandial glycemic responses to food among individuals without diabetes. JAMA Netw. Open 2, e188102–e188102 (2019).

Hullar, M. A. J. et al. Metabolic plasticity of the gut microbiome in response to diets differing in glycemic load in a randomized, crossover, controlled feeding study. Am. J. Clin. Nutr. 122, 780–792 (2025).

Berry, S. E. et al. Human postprandial responses to food and potential for precision nutrition. Nat. Med 26, 964–973 (2020).

Bermingham, K. et al. Personalized nutrition based on postprandial responses in the ZOE PREDICT trial. Nat. Med. (2024).

Rein, M. et al. Effects of personalized diets by prediction of glycemic responses on glycemic control and metabolic health in newly diagnosed T2DM: a randomized dietary intervention pilot trial. BMC Med. 20, 56 (2022).

All of Us Research Program, I. The “All of Us” research program. N. Engl. J. Med. 381, 668–676 (2019).

Sudlow, C. et al. UK Biobank: an open access resource for identifying the causes of a wide range of complex diseases of middle and old age. PLoS Med. 12, e1001779–e1001779 (2015).

National Institutes of Health. NIH Common Fund Data Ecosystem. (NIH, 2023).

National Heart Lung Blood Institute. NHLBI BioData Catalyst. (NHLBI, 2023).

National Institutes of Health. NIH Multi-Omics for Health and Disease Consortium. (NIH, 2023).

AI and machine learning in nutrition: the promise, the challenge, and recommendations. Am. J. Clin. Nutr. 123, 101126 (2025).

Sinha, R. et al. Leveraging genomic associations in precision digital care for weight loss: cohort study. J. Med. Internet Res. 23, e25401 (2021).

Wilstrup, C. & Cave, C. Combining symbolic regression with the Cox proportional hazards model improves prediction of heart failure deaths. BMC Med. Inform. Decis. Mak. 22, 196 (2022).

Pigsborg, K. et al. Predicting weight loss success on a new Nordic diet: an untargeted multi-platform metabolomics and machine learning approach. Front. Nutr. 10, 1191944 (2023).

Montrose, D. C. et al. Dietary fructose alters the composition, localization, and metabolism of gut microbiota in association with worsening colitis. Cell. Mol. Gastroenterol. Hepatol. 11, 525–550 (2021).

New, F. N., Baer, B. R., Clark, A. G., Wells, M. T. & Brito, I. L. Collective effects of human genomic variation on microbiome function. Sci. Rep. 12, 3839 (2022).

Article ADS CAS PubMed PubMed Central Google Scholar

Tibshirani, R. Regression shrinkage and selection via the lasso. J. R. Stat. Soc. Ser. B 58, 267–288 (1996).

Article MathSciNet Google Scholar

Hoerl, A. E. & Kennard, R. W. Ridge regression: biased estimation for nonorthogonal problems. Technometrics 12, 55–67 (1970).

Zou, H. & Hastie, T. Regularization and variable selection via the elastic net. J. R. Stat. Soc.: Ser. B (Stat. Methodol. 67, 301–320 (2005).

Pedregosa, F. et al. Scikit-learn: machine learning in Python. J. Mach. Learn. Res. 12, 2825–2830 (2011).

Mogaveera, D., Mathur, V. & Waghela, S. E-health monitoring system with diet and fitness recommendation using machine learning. 2021 6th International Conference on Inventive Computation Technologies (ICICT), 694–700 (ICICT, 2021).

Salinari, A. et al. The application of digital technologies and artificial intelligence in healthcare: An overview on nutrition assessment. Diseases 11, 97 (2023).

Wang, X., Liu, Y., Qin, G. & Yu, Y. Robust double machine learning model with application to omics data. BMC Bioinforma. 25, 355 (2024).

Breiman, L., Friedman, J., Olshen, R. A. & Stone, C. J. Classification and Regression Trees (Wiley, 1984).

Breiman, L. Random forests. Mach. Learn. 45, 5–32 (2001).

Shi, S. & Zhang, H. in Proc. International Conference on Intelligent Systems and Computational Networks (ICISCN). 1-7 (IEEE, 2025).

Menichetti, G., Ravandi, B., Mozaffarian, D. & Barabási, A.-L. Machine learning prediction of the degree of food processing. Nat. Commun. 14, 2312–2312 (2023).

Friedman, J. H. Greedy function approximation: a gradient boosting machine. Ann. Stat. 29, 1189–1232 (2001).

Chen, T. & Guestrin, C. 785–794.

Søndertoft, N. B. et al. The intestinal microbiome is a co-determinant of the postprandial plasma glucose response. PLoS ONE 15, e0238648 (2020).

Tily, H. et al. Gut microbiome activity contributes to prediction of individual variation in glycemic response in adults. Diab Ther. 13, 89–111 (2022).

Cotillard, A. et al. Dietary intervention impact on gut microbial gene richness. Nature 500, 585–588 (2013).

Deehan, E. C. et al. Precision microbiome modulation with discrete dietary fiber structures directs short-chain fatty acid production. Cell Host Microbe 27, 389–404.e386 (2020).

Wu, G. D. et al. Linking long-term dietary patterns with gut microbial enterotypes. Science 334, 105–108 (2011).

Lundberg, S. M. & Lee, S.-I. A unified approach to interpreting model predictions. Adv. Neural Inf. Process. Syst. 30, 4768–4777 (2017).

Chen, S. et al. Personalized optimal nutrition lifestyle for self obesity management using metaalgorithms. Sci. Rep. 12, 12387 (2022).

Wang, F. & Sun, J. Survey on distance metric learning and dimensionality reduction in data mining. Data Min. Knowl. Discov. 29, 534–564 (2015).

Knight, R. et al. Best practices for analysing microbiomes. Nat. Rev. Microbiol. 16, 410–422 (2018).

Shi, Y., Zhang, L., Peterson, C. B., Do, K.-A. & Jenq, R. R. Performance determinants of unsupervised clustering methods for microbiome data. Microbiome 10, 25 (2022).

Nothias, L.-F. et al. Feature-based molecular networking in the GNPS analysis environment. Nat. Methods 17, 905–908 (2020).

van der Maaten, L. & Hinton, G. Visualizing data using t-SNE. J. Mach. Learn. Res. 9, 2579–2605 (2008).

McInnes, L., Healy, J. & Melville, J. UMAP: uniform manifold approximation and projection for dimension reduction. arXiv preprint, arXiv:1802.03426 (2018).

Ibrahim, K. Z. et al. in International Workshop on Performance Modeling, Benchmarking and Simulation of High Performance Computer Systems (PMBS). 7-17 (IEEE, 2021).

Wang, F., Kaushal, R. & Khullar, D. Vol. 172 59-60 (American College of Physicians, 2020).

Cao, M. D. & et al. MicrobialGraph: a graph neural network framework for microbiome-based phenotype prediction. Bioinformatics 39, 270 https://doi.org/10.1093/bioinformatics/btad270 (2023).

Zhou, Y. A GNN framework for microbial metabolic pathway analysis from metagenomic reads. IEEE/ACM Trans. Comput. Biol. Bioinforma. https://doi.org/10.1109/TCBB.2022.3141239 (2022).

Zhao, Y. Inferring microbiome–metabolome associations with graph neural networks. Bioinformatics 37, 4038–4046 (2021).

Kong, W. MOGONET: multi-omics integration via graph convolutional networks for biomedical classification. Bioinformatics 38, 1400–1406 (2022).

Wang, T. et al. Predicting metabolite response to dietary intervention using deep learning. Nat. Commun. 16, 815 (2025).

Lewis, P. et al. Retrieval-augmented generation for knowledge-intensive NLP tasks. Adv. neural Inf. Process. Syst. 33, 9459–9474 (2020).

Massara, P. et al. IEEE International Conference on Collaborative Advances in Software and computing 68–73 (CASCON, 2025).

Reynolds, L. & McDonell, K. in Extended abstracts of the 2021 CHI conference on human factors in computing systems. 1-7 (CHI, 2021).

Genkina, D. AI prompt engineering is dead. long live AI prompt engineering. IEEE Spectrum 3 (IEEE, 2024).

Botwright, R. in Deep Learning: Computer Vision, Python Machine Learning And Neural Networks-4 Book in 1 Ch. 8, (Pastor Publishing Ltd, 2024).

Maynez, J., Narayan, S., Bohnet, B. & McDonald, R. On Faithfulness and Factuality in Abstractive Summarization. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 1906–1919, Online. Association for Computational Linguistics.

Balloccu, S., Schmidtová, P., Lango, M. & Dušek, O. Leak, Cheat, Repeat: Data Contamination and Evaluation Malpractices in Closed-Source LLMs. In Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), pages 67–93, St. Julian’s, Malta. Association for Computational Linguistics https://aclanthology.org/2020.acl-main.173/.

Dai, S. et al. in Proc. 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining. 6437–6447 https://aclanthology.org/2024.eacl-long.5/.

Bergling, K. et al. From bytes to bites: application of large language models to enhance nutritional recommendations. Clin. Kidney J. 18, sfaf082 (2025).

Stefanidis, K. et al. PROTEIN AI advisor: a knowledge-based recommendation framework using expert-validated meals for healthy diets. Nutrients 14, 4435 (2022).

Papastratis, I. et al. Can ChatGPT provide appropriate meal plans for NCD patients? Nutrition 121, 112291 (2024).

Wang, L.-C. et al. Application of ChatGPT to support nutritional recommendations for dialysis patients – a qualitative and quantitative evaluation. J. Ren. Nutr. 34, 477–481 (2024).

Erickson, J. S., Santos, H., Pinheiro, V., McCusker, J. P. & McGuinness, D. L. LLM experimentation through knowledge graphs: towards improved management, repeatability, and verification. J. Web Semant. 85, 100853 (2025).

Gu, Y. et al. Domain-specific language model pretraining for biomedical natural language processing. ACM Trans. Comput. Healthc. 3, 1–23 (2021).

Luo, L., Lai, P.-T., Wei, C.-H., Arighi, C. N. & Lu, Z. BioRED: a rich biomedical relation extraction dataset. Brief. Bioinforma. 23, bbac282 (2022).

Kalakoti, R., Nõmm, S. & Bahsi, H. In International Conference on Machine Learning and Applications, 595–601 (ICMLA, 2023).

Guo, D. et al. DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learning. Nature 645, 633–638 (2025).

Dodd, K. W., Guenther, P. M. & Freedman, L. S. Statistical methods for estimating usual intake of episodically consumed foods. J. Am. Dietetic Assoc. 106, 1640–1650 (2006).

Freedman, L. S., Commins, J. M., Moler, J. E. & Willett, W. Pooled results from 5 validation studies of dietary self-report instruments using recovery biomarkers for energy and protein intake. Am. J. Epidemiol. 180, 172–188 (2014).

Kipnis, V., Midthune, D. & Freedman, L. S. Bias in dietary-report instruments and its implications for nutritional epidemiology. Public Health Nutr. 5, 915–923 (2002).

Livingstone, M. B. E. & Black, A. E. Markers of the validity of reported energy intake. J. Nutr. 133, 895S–920S (2003).

Prentice, R. L., Mossavar-Rahmani, Y. & Huang, Y. Evaluation and comparison of nutritional biomarkers for dietary intake. Am. J. Epidemiol. 174, 576–585 (2011).

Subar, A. F., Freedman, L. S. & Tooze, J. A. Addressing current criticism regarding the value of self-report dietary data. J. Nutr. 145, 2639–2645 (2015).

Martínez-García, M. & Hernández-Lemus, E. Data integration challenges for machine learning in precision medicine. Front. Med. 8, 784455 (2021).

Ben Avraham, S. et al. Methodology and challenges for harmonization of nutritional data from seven historical studies. Nutr. J. 23, 88–88 (2024).

Pickford, C., McCormack, L., Liu, Y. & Eicher-Miller, H. A. US Department of Agriculture Food Composition Databases, the Food and Nutrient Database for Dietary Studies 2013-2014, and the National Nutrient Database for Standard Reference Version 28 Yield Significantly Different Nutrient Totals of Food Items from Eight Midwestern Food Pantry Inventories. J. Acad. Nutr. Dietetics 122, 1326–1335.e1326 (2022).

Van Puyvelde, H. et al. Comparing calculated nutrient intakes using different food composition databases: results from the European prospective investigation into cancer and nutrition (EPIC) cohort. Nutrients 12, 2906–2906 (2020).

Ibrahimi, E. et al. Overview of data preprocessing for machine learning applications in human microbiome research. Front. Microbiol. 14, 1250909 (2023).

Lin, H. & Peddada, S. D. Analysis of microbial compositions: a review of normalization and differential abundance analysis. npj Biofilms Microbiomes 6, 60 (2020).

Brennan, L. Biomarkers of food intake: current status and future opportunities. Proc. Nutr. Soc. 1–5 https://doi.org/10.1017/S0029665125000084 (2025).

Butryn, M. L. et al. Digital self-monitoring: Does adherence or association with outcomes differ by self-monitoring target? Obes. Sci. Pract. 6, 126–133 (2020).

Payne, J. E., Turk, M. T., Kalarchian, M. A. & Pellegrini, C. A. Defining adherence to dietary self-monitoring using a mobile app: a narrative review. J. Acad. Nutr. Dietetics 118, 2094–2119 (2018).

Wei, R. et al. Descriptive systematic review and meta-analysis of adherence to randomized dietary intervention weight loss trials. Curr. Dev. Nutr. 8, 103518–103518 (2024).

All of Us Research, P. How are you gathering and curating information from electronic health records? (NIH, 2024).

Quast, C. et al. The SILVA ribosomal RNA gene database project: improved data processing and web-based tools. Nucleic Acids Res. 41, D590–D596 (2012).

Zhu, Q. et al. Phylogenomics of 10,575 genomes reveals evolutionary proximity between domains Bacteria and Archaea. Nat. Commun. 10, 5477 (2019).

Parks, D. H. et al. A complete domain-to-species taxonomy for Bacteria and Archaea. Nat. Biotechnol. 38, 1079–1086 (2020).

Lu, M. et al. In Proc. IEEE/CVF Conference on Computer Vision and Pattern Recognition. 10917-10927.

Cernava, T. et al. Metadata harmonization-Standards are the key for a better usage of omics data for integrative microbiome analysis. Environ. Microbiome 17, 33 (2022).

Jaegle, A. Perceiver IO: a general architecture for structured inputs & outputs. arXiv preprint (2021).

Jaegle, A., Gimeno, F., Brock, A., Vinyals, O., Zisserman, A. & Carreira, J. 4651-4664.

Zhang, Y. et al. Meta-transformer: a unified framework for multimodal learning. arXiv preprint arXiv:2307.10802 (2023).

Huang, X., Khetan, A., Cvitkovic, M. & Karnin, Z. TabTransformer: tabular data modeling using contextual embeddings. Proc. AAAI Conf. Artif. Intell. 35, 6353–6361 (2021).

Poli, M. et al. In International Conference on Machine Learning. 28043-28078 (PMLR).

Ahmed, E. et al. Prottrans: towards cracking the language of life’s code through self-supervised deep learning and high performance computing. arXiv preprint arXiv:2007.06225 (2020).

Rasmy, L. et al. Med-BERT: pretrained contextualized embeddings on large-scale structured electronic health records for disease prediction. npj Digit. Med. 4, 86 (2021).

Li, Y. et al. BEHRT: transformer for electronic health records. Sci. Rep. 10, 7155 (2020).

Yang, X. et al. A large language model for electronic health records. npj Digit. Med. 5, 194 (2022).

Xu, P., Zhu, X. & Clifton, D. A. Multimodal learning with transformers: a survey. arXiv preprint arXiv:2206.06488 (2022).

Radford, A. et al. In International Conference on Machine Learning. 8748-8763 (PmLR).

Zhang, L. OmicsGAT: graph attention network for multi-omics data integration and cancer subtype classification. Brief. Bioinforma. 24, bbad007 (2023).

Hastie, T., Tibshirani, R., Friedman, J. H. & Friedman, J. H. The Elements of Statistical Learning: Data Mining, Inference, and Prediction. Vol. 2 (Springer, 2009).

Gibson, R. S., Charrondiere, U. R. & Bell, W. Measurement errors in dietary assessment using self-reported 24-hour recalls in low-income countries and strategies for their prevention. Adv. Nutr. 8, 980–991 (2017).

Massara, P. et al. New approaches and technical considerations in detecting outlier measurements and trajectories in longitudinal children growth data. BMC Med. Res. Methodol. 23, 232 (2023).

Bolyen, E. et al. Reproducible, interactive, scalable and extensible microbiome data science using QIIME 2. Nat. Biotechnol. 37, 852–857 (2019).

World Health Organization. WHO child growth standards: length/height-for-age, weight-for-age, weight-for-length, weight-for-height and body mass index-for-age: methods and development. (World Health Organization, 2006).

National Cancer, I. Learn More about Outliers. Dietary Assessment Primer

Sangra, R. A. & Farran Codina, A. The identification, impact and management of missing values and outlier data in nutritional epidemiology. Nutrición Hospitalaria 31, 189–195 (2015).

Ichikawa, M. et al. Handling missing data in an FFQ: multiple imputation and nutrient intake estimates. Public Health Nutr. 22, 1351–1360 (2019).

Van Buuren, S. & Groothuis-Oudshoorn, K. Mice: multivariate imputation by chained equations in R. J. Stat. Softw. 45, 1–67 (2011).

Ribeiro, M. T., Singh, S. & Guestrin, C. in Proc. 22nd ACM SIGKDD international conference on knowledge discovery and data mining. 1135-1144.

Collins, G. S. et al. TRIPOD+ AI statement: updated guidance for reporting clinical prediction models that use regression or machine learning methods. BMJ 385, q902 (2024).

Heil, B. J. et al. Reproducibility standards for machine learning in the life sciences. Nat. Methods 18, 1132–1135 (2021).

Blakely, T., Lynch, J., Simons, K., Bentley, R. & Rose, S. Reflection on modern methods: when worlds collide—prediction, machine learning and causal inference. Int. J. Epidemiol. 49, 2058–2064 (2020).

Ramspek, C. L. et al. Prediction or causality? A scoping review of their conflation within current observational research. Eur. J. Epidemiol. 36, 889–898 (2021).

Pearl, J. Causality: Models, Reasoning, and Inference. (Cambridge University Press, 2009).

Smith, G. D. & Ebrahim, S. Mendelian randomization’: can genetic epidemiology contribute to understanding environmental determinants of disease? Int J. Epidemiol. 32, 1–22 (2003).

Begashaw, G. B., Zewotir, T. & Fenta, H. M. A deep learning approach for classifying and predicting children’s nutritional status in Ethiopia using LSTM-FC neural networks. BioData Min. 18, 11 (2025).

Raguvaran, S., Anandamurugan, S. & Zubair Rahman, A. Harnessing LSTM classifier to suggest nutrition diet for cancer patients. Intelligent Automation & Soft Computing 35, 028605 (2023).

Khanna, N. et al. In Proc. IEEE Global Conference on Signal and Information Processing. 948–952 (GlobalSIP, 2017).

Eicher-Miller, H. A. et al. Distance metrics optimized for clustering temporal dietary patterning among U.S. adults. Appetite 144, 104451 (2020).

Soh, B. X. P., Vignes, M., Smith, N. W., von Hurst, P. R. & McNabb, W. C. Protein intake and protein quality patterns in new zealand vegan diets: an observational analysis using dynamic time warping. Nutrients 17, 1806 (2025).

Haycock, P. C. et al. Best (but oft-forgotten) practices: the design, analysis, and interpretation of Mendelian randomization studies. Am. J. Clin. Nutr. 103, 965–978 (2016).

Wade, K. H. et al. Applying Mendelian randomization to appraise causality in relationships between nutrition and cancer. Cancer Causes Control 33, 631–652 (2022).

Igelström, E. et al. Causal inference and effect estimation using observational data. J. Epidemiol. Community Health 76, 960–966 (2022).

Article PubMed Central Google Scholar

Arkhangelsky, D. & Imbens, G. Causal models for longitudinal and panel data: a survey. Econ. J. 27, C1–C61 (2024).

Grieves, M. & Vickers, J. Origin of the digital twin concept. Fla. Inst. Technol. 8, 3–20 (2016).

Björnsson, B. et al. Digital twins to personalize medicine. Genome Med. 12, 4 (2019).

Auchincloss, A. H., Riolo, R. L., Brown, D. G., Cook, J. & Roux, A. V. D. An agent-based model of income inequalities in diet in the context of residential segregation. Am. J. Prevent. Med. 40, 303–311 (2011).

Li, Y. et al. Assessing the role of access and price on the consumption of fruits and vegetables across New York City using agent-based modeling. Prevent. Med. 106, 73–78 (2018).

Holst, D., Moenck, K., Koch, J., Schmedemann, O. & Schüppstuhl, T. Transparent reporting of AI in systematic literature reviews: development of the PRISMA-trAIce checklist. JMIR AI 4, e80247–e80247 (2025).

Lachat, C. et al. Strengthening the reporting of observational studies in epidemiology—nutritional epidemiology (STROBE-nut): an extension of the STROBE statement. PLoS Med. 13, e1002036–e1002036 (2016).

Page, M. J. et al. The PRISMA 2020 statement: an updated guideline for reporting systematic reviews. BMJ 372, n71–n71 (2021).

von Elm, E. et al. The strengthening the reporting of observational studies in epidemiology (STROBE) statement: guidelines for reporting observational studies. PLoS Med. 4, e296–e296 (2007).

Program, A. o. U. R. What to Expect During the Researcher Workbench Migration. All of Us Researcher Workbench User Support, 2024).

Verily. Verily Accelerates Precision Health AI With NVIDIA. Verily Perspectives (Verily, 2025).

Azimi, I., Qi, M., Wang, L., Rahmani, A. M. & Li, Y. Evaluation of LLMs accuracy and consistency in the registered dietitian exam through prompt engineering and knowledge retrieval. Sci. Rep. 15, 1506 (2025).

Belkhouribchia, J. & Pen, J. J. Large language models in clinical nutrition: an overview of its applications, capabilities, limitations, and potential future prospects. Front. Nutr. 12, 1635682 (2025).

Ase, A., Borowicz, J., Rakocy, K. & Piekarska, B. Large Language models for real-world nutrition assessment: structured prompts, multi-model validation and expert oversight. Nutrients 18, 23 (2025).

Parameswaran, V. et al. Evaluating large language models and retrieval-augmented generation enhancement for delivering guideline-adherent nutrition information for cardiovascular disease prevention: cross-sectional study. J. Med. Internet Res. 27, e78625 (2025).

Gavai, A. K. & van, H. J. AI-driven personalized nutrition: RAG-based digital health solution for obesity and type 2 diabetes. PLoS Digit. Health 4, e0000758 (2025).

Zhou, P. et al. FoodSky: A food-oriented large language model that can pass the chef and dietetic examinations. Patterns (N. Y) 6, 101234 (2025).

Hua, A., Preet Dhaliwal, M., Burke, R. & Qin, Y. NutriBench: a dataset for evaluating large language models in carbohydrate estimation from meal descriptions. arXiv e-prints, arXiv: 2407.12843 (2024).

Yang, Z. et al. ChatDiet: empowering personalized nutrition-oriented food recommender chatbots through an LLM-augmented framework. Smart Health 32, 100465 (2024).

Tsampos, I. & Marakakis DietQA: a comprehensive framework for personalized multi-diet recipe retrieval using knowledge graphs, retrieval-augmented generation, and large language models. Computers 14, 412 (2025).

National Institutes of Health. (All of Us Research Program, 2023).

All of Us Research Program, I. et al. The “All of Us” research program. N. Engl. J. Med 381, 668–676 (2019).

Nagai, A. et al. Overview of the BioBank Japan project: study design and profile. J. Epidemiol. 27, S2–S8 (2017).

Tanaka, T., Nagata, Y. & Takemoto, A. Integrating biomedical and clinical data with BioBank Japan. Nat. Cardiovasc. Res. 1, 597–598 (2022).

Biobank, C. K. China Kadoorie Biobank: a prospective cohort of lifestyle, environmental, clinical, and genetic data for chronic disease research, https://www.ckbiobank.org/ (2026).

Sauder, K. A. et al. Disparities in risks of inadequate and excessive intake of micronutrients during pregnancy. J. Nutr. 151, 3555–3569 (2021).

Institute for Health Metrics Evaluation. (Global Burden of Disease Study, 2023).

G.BD. Risk Factors Collaborators. Global burden and strength of evidence for 88 risk factors in 204 countries and 811 subnational locations, 1990-2021: a systematic analysis for the Global Burden of Disease Study. Lancet 403, 2162–2203 (2021).

Gaziano, J. M. et al. Million Veteran Program: a mega-biobank to study genetic influences on health and disease. J. Clin. Epidemiol. 70, 214–223 (2016).

Free, T. UK Biobank: what can it do, how you can use it and how is it being used? BioTechniques 76, 553–557 (2024).

Tsai, Y.-H. H. et al. In Proc. Conference Association for Computational Linguistics. Meeting. 6558.

Hochreiter, S. & Schmidhuber, J. Long short-term memory. Neural Comput 9, 1735–1780 (1997).

Tsolakidis, D., Gymnopoulos, L. P. & Dimitropoulos, K. Artificial Intelligence and machine learning technologies for personalized nutrition: a review. Informatics 11, 62 (2024).

Jain, S. & Safo, S. E. DeepIDA-GRU: a deep learning pipeline for integrative discriminant analysis of cross-sectional and longitudinal multiview data with applications to inflammatory bowel disease classification. Brief. Bioinform. 25, 339 (2024).

We would like to thank Kalen Cantrell for his contributions to this work.

The work reported in here was partly supported by the National Institutes of Health [Eunice Kennedy Shriver National Institute of Child Health and Human Development (NICHD] grants 3U24HD107676 (M.G., S.M., S.L.H.), 5T32HD087137 (J.L.F.), 5T32HD113301 (S.M., J.L.F., D.E., M.T.W.), and 5U24DK131617 (R.K.); Office of the Director and the Office of Nutrition Research; National Institute of General Medical Sciences (NIGMS), grants T32GM139790 (J.K.), T32GM007198 (L.P.); National Institute on Aging (NIA) grant F30AG094275 (L.P.); and Canadian Institutes of Health Research (CIHR) Fellowship (P.M.). The content is solely the responsibility of the authors and does not necessarily represent the official views of the NICHD, the NIGMS, the NIA, or the Department of Health and Human Services of the United States.

These authors contributed equally: Paraskevi Massara, Jonathan Kirkland.

Cornell Joan Klein Jacobs Center for Precision Nutrition and Health, Cornell University, Ithaca, NY, USA

Paraskevi Massara, Ioanna Pagani, Samantha L. Huey, Haym Hirsh, Julia L. Finkelstein, Fei Wang, David Erickson, Martin T. Wells, Olivier Elemento & Saurabh Mehta

Bioinformatics and Systems Biology Program, University of California San Diego, La Jolla, CA, USA

Jonathan Kirkland & Lucas Patel

Department of Pediatrics, University of California San Diego, La Jolla, CA, USA

Jonathan Kirkland, Daniel McDonald, Lucas Patel & Rob Knight

Program in International Nutrition, Cornell University, Ithaca, NY, USA

Samantha L. Huey, Julia L. Finkelstein & Saurabh Mehta

Division of Nutritional Sciences, Cornell University, Ithaca, NY, USA

Department of Computer Science, Cornell University, Ithaca, NY, USA

Medical Scientist Training Program, University of California San Diego, La Jolla, CA, USA

Department of Population Health Sciences, Weill Cornell Medicine, New York City, NY, USA

RTI International, Durham, NC, USA

Division of Health Informatics, Weill Cornell Medicine, New York City, NY, USA

Sibley School of Mechanical and Aerospace Engineering, Cornell University, Ithaca, NY, USA

Ann S. Bowers College of Computer and Information Science, Cornell University, Ithaca, NY, USA

Caryl and Israel Englander Institute for Precision Medicine, Weill Cornell Medicine, New York City, NY, USA

Institute for Computational Biomedicine, Weill Cornell Medicine, New York City, NY, USA

Shu Chien-Gene Lay Department of Bioengineering, University of California San Diego, La Jolla, CA, USA

Department of Computer Science and Engineering, University of California San Diego, La Jolla, CA, USA

Halicioğlu Data Science Institute, University of California San Diego, La Jolla, CA, USA

Center for Microbiome Innovation, University of California San Diego, La Jolla, CA, USA

Hong Kong University of Science and Technology Jockey Club Institute for Advanced Study, Hong Kong SAR, China

Division of Medical Informatics, St. John’s Research Institute, Bengaluru, India

Search author on:PubMed Google Scholar

Conceptualization was led by S.M. Project administration was carried out by S.M., R.K., and S.L.H. Supervision was provided by S.M. and R.K. The original draft was written by P.M., J.K., I.P., S.L.H., and S.M. P.M., J.K., I.P., S.L.H., H.H., D.M., L.P., J.L.F., M.G., F.W., D.E., M.T.W., O.E., R.K., and S.M. contributed to the review and editing of the manuscript.

Correspondence to Rob Knight or Saurabh Mehta.

The Authors declare the following competing interests. R. K. is a scientific advisory board member, and consultant for BiomeSense, Inc., has equity and receives income. He is a scientific advisory board member and has equity in GenCirq. He has equity and acts as a consultant for Cybele. The terms of these arrangements have been reviewed and approved by the University of California, San Diego in accordance with its conflict-of-interest policies. The corresponding authors are also the MPIs for NPH centers. D.M. is a consultant for BiomeSense, Inc., has equity and receives income. The terms of these arrangements have been reviewed and approved by the University of California, San Diego in accordance with its conflict-of-interest policies. The rest of the Authors declare no competing interests.

Nature Communications thanks Pierfrancesco Novielli, and the other, anonymous, reviewers for their contribution to the peer review of this work.

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.

Massara, P., Kirkland, J., Pagani, I. et al. Applying Artificial Intelligence and machine learning in precision nutrition. Nat Commun 17, 5880 (2026). https://doi.org/10.1038/s41467-026-75004-w

Version of record: 06 July 2026

DOI: https://doi.org/10.1038/s41467-026-75004-w