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.
Artificial Intelligence methods in precision nutrition: current practices, strengths, and limitations
Machine learning methods
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.
Deep learning (DL) methods
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.
Large language models (LLMs)
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.
Challenges and methodological considerations for AI-enabled precision nutrition
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.
Data complexity & harmonization
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.
Mitigation strategies
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.
Data cleaning & completeness
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.
Mitigation strategies
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.
Model interpretability
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.
Mitigation strategies
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.
Model validation & generalizability
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.
Mitigation strategies
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.
Temporal dynamics & causality
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.
Mitigation strategies
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.
Future perspectives
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.
Digital twins in precision nutrition
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.
Agentic and system-based AI in precision nutrition
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.
Concluding remarks
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.
Implications for infrastructure and consortia
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
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.
