Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Mar 28;17(7):1176.
doi: 10.3390/nu17071176.

Bridging Gaps in Cancer Care: Utilizing Large Language Models for Accessible Dietary Recommendations

Affiliations

Bridging Gaps in Cancer Care: Utilizing Large Language Models for Accessible Dietary Recommendations

Julia A Logan et al. Nutrients. .

Abstract

Background/Objectives: Weight management is directly linked to cancer recurrence and survival, but unfortunately, nutritional oncology counseling is not typically covered by insurance, creating a disparity for patients without nutritional education and food access. Novel ways of imparting personalized nutrition advice are needed to address this issue. Large language models (LLMs) offer a promising path toward tailoring dietary advice to individual patients. This study aimed to assess the capacity of LLMs to offer personalized dietary advice to patients with breast cancer. Methods: Thirty-one prompt templates were designed to evaluate dietary recommendations generated by ChatGPT and Gemini with variations within eight categorical variables: cancer stage, comorbidity, location, culture, age, dietary guideline, budget, and store. Seven prompts were selected for four board-certified oncology dietitians to also respond to. Responses were evaluated based on nutritional content and qualitative observations. A quantitative comparison of the calories and macronutrients of the LLM- and dietitian-generated meal plans via the Acceptable Macronutrient Distribution Ranges and United States Department of Agriculture's estimated calorie needs was performed. Conclusions: The LLMs generated personalized grocery lists and meal plans adapting to location, culture, and budget but not age, disease stage, comorbidities, or dietary guidelines. Gemini provided more comprehensive responses, including visuals and specific prices. While the dietitian-generated diets offered more adherent total daily calorie contents to the United States Department of Agriculture's estimated calorie needs, ChatGPT and Gemini offered more adherent macronutrient ratios to the Acceptable Macronutrient Distribution Range. Overall, the meal plans were not significantly different between the LLMs and dietitians. LLMs can provide personalized dietary advice to cancer patients who may lack access to this care. Grocery lists and meal plans generated by LLMs are applicable to patients with variable food access, socioeconomic means, and cultural preferences and can be a tool to increase health equity.

Keywords: artificial intelligence; breast cancer; cancer; diet; weight management.

PubMed Disclaimer

Conflict of interest statement

Adam Dicker performs advisory activities for Roche, Janssen, Oncohost, and CVS and he has additional support provided by the American Association of Cancer Research, NRG Oncology, and the Prostate Cancer Foundation Challenge Grant. Yevgeniy Vinogradskiy has current grants from MIM Software, the National Institutes of Health, and the Agency for Healthcare Research and Quality. The funders had no role in the design of this study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results. Nicole Simone has grants from the National Institutes of Health.

Figures

Figure 1
Figure 1
A schematic of LLM prompts designed to evaluate the dietary recommendations generated by ChatGPT and Gemini. A total of 31 zero-shot prompt templates with prompt variations within 8 categorical variables, including cancer stage, comorbidity, location, culture, age, dietary guideline, budget, and store, are shown. One variable was changed in each prompt. Seven of these prompts were selected (highlighted in gray) and four dietitians also responded to them.
Figure 2
Figure 2
Qualitative observations of ChatGPT’s and Gemini’s responses. (A) Gemini provided photos with linked recipes for some meal plans. Panel (A) is an example of a Gemini-generated image comparable to the one provided, for copyright purposes. ChatGPT did not provide any photos or recipe links. (B) A map from Gemini showing all nearby grocery stores to the zip code specified and another map giving directions to the nearest grocery store. (C) A comparison of breakfast suggestions for Latin American cuisine between the two LLMs. (D) The response of both LLMs to the request for a budget of USD 10 for a day. ChatGPT used language such as “tight budget”, suggesting “food assistance programs”, while Gemini simply stated that it is possible to achieve a healthy diet.

Similar articles

Cited by

References

    1. Castro-Espin C., Agudo A. The Role of Diet in Prognosis among Cancer Survivors: A Systematic Review and Meta-Analysis of Dietary Patterns and Diet Interventions. Nutrients. 2022;14:348. doi: 10.3390/nu14020348. - DOI - PMC - PubMed
    1. Chan D.S., Vieira R., Abar L., Aune D., Balducci K., Cariolou M., Greenwood D.C., Markozannes G., Nanu N., Becerra-Tomás N., et al. Postdiagnosis body fatness, weight change and breast cancer prognosis: Global Cancer Update Program (CUP global) systematic literature review and meta-analysis. Int. J. Cancer. 2022;152:572–599. doi: 10.1002/ijc.34322. - DOI - PMC - PubMed
    1. Di Meglio A., Gbenou A.S., Martin E., Pistilli B., Ligibel J.A., Crane T.E., Flaysakier J., Minvielle E., Vanlemmens L., Guenancia C., et al. Unhealthy behaviors after breast cancer: Capitalizing on a teachable moment to promote lifestyle improvements. Cancer. 2021;127:2774–2787. doi: 10.1002/cncr.33565. - DOI - PubMed
    1. Anand U., Dey A., Chandel A.K.S., Sanyal R., Mishra A., Pandey D.K., De Falco V., Upadhyay A., Kandimalla R., Chaudhary A., et al. Cancer chemotherapy and beyond: Current status, drug candidates, associated risks and progress in targeted therapeutics. Genes Dis. 2022;10:1367–1401. Erratum in Genes Dis. 2024, 11, 101211. - PMC - PubMed
    1. D’Andre S.D., Ellsworth L.L., Kirsch J.L., Montane H.N., Kruger M.B., Donovan K.A., Bronars C.A., Markovic S.N., Ehlers S.L. Cancer and Stress: Understanding the Connections and Interventions. Am. J. Lifestyle Med. 2024:1–24. doi: 10.1177/15598276241304373. - DOI - PMC - PubMed

LinkOut - more resources