Skip to main content
QUICK REVIEW

[Paper Review] NutriBench: A Dataset for Evaluating Large Language Models on Nutrition Estimation from Meal Descriptions

Andong Hua, Mehak Preet Dhaliwal|ArXiv.org|Jul 4, 2024
Culinary Culture and TourismAgricultural and Biological Sciences3 citations
TL;DR

NutriBench is the first publicly available benchmark for evaluating large language models (LLMs) on nutrition estimation from natural language meal descriptions, comprising 5,000 human-verified meal descriptions with macronutrient and caloric labels across 15 complexity-based subsets. GPT-3.5 with Chain-of-Thought prompting achieved 51.48% accuracy, outperforming even a professional nutritionist in speed and accuracy across complex queries.

ABSTRACT

Accurate nutrition estimation helps people make informed dietary choices and is essential in the prevention of serious health complications. We present NutriBench, the first publicly available natural language meal description nutrition benchmark. NutriBench consists of 11,857 meal descriptions generated from real-world global dietary intake data. The data is human-verified and annotated with macro-nutrient labels, including carbohydrates, proteins, fats, and calories. We conduct an extensive evaluation of NutriBench on the task of carbohydrate estimation, testing twelve leading Large Language Models (LLMs), including GPT-4o, Llama3.1, Qwen2, Gemma2, and OpenBioLLM models, using standard, Chain-of-Thought and Retrieval-Augmented Generation strategies. Additionally, we present a study involving professional nutritionists, finding that LLMs can provide comparable but significantly faster estimates. Finally, we perform a real-world risk assessment by simulating the effect of carbohydrate predictions on the blood glucose levels of individuals with diabetes. Our work highlights the opportunities and challenges of using LLMs for nutrition estimation, demonstrating their potential to aid professionals and laypersons and improve health outcomes. Our benchmark is publicly available at: https://mehak126.github.io/nutribench.html

Motivation & Objective

  • To address the lack of benchmarks for evaluating LLMs on natural language-based nutrition estimation, particularly for real-world meal descriptions.
  • To create a diverse, human-verified dataset of 5,000 meal descriptions with macronutrient and caloric annotations to support robust LLM evaluation.
  • To evaluate the performance of state-of-the-art LLMs across varying levels of complexity in meal descriptions, including multiple food items, servings, and serving size specificity.
  • To compare LLMs with human experts in accuracy, speed, and stress response for carbohydrate estimation tasks.
  • To provide a standardized benchmark for future research in LLM-driven dietary assessment and clinical nutrition applications.

Proposed method

  • The dataset, NutriBench, was constructed through a multi-stage process involving meal description collection, expert verification, and labeling using authoritative nutrition databases such as FoodData Central.
  • The 5,000 meal descriptions were organized into 15 subsets based on complexity factors: number of food items, serving count, food popularity, and specificity of serving size descriptions.
  • Seven state-of-the-art LLMs—GPT-3.5, Llama-3, MedAlpaca, and others—were evaluated using four prompting strategies: standard prompting, Chain-of-Thought (CoT), retrieval-augmented generation (RAG), and few-shot prompting.
  • A human study was conducted with 10 non-experts and one professional nutritionist to compare estimation accuracy, time, and stress levels across identical queries.
  • Performance was measured using accuracy, answer rate, mean absolute error (MAE), and normalized error, with error analysis conducted per subset and food category.
  • Statistical analysis was performed to assess correlations between prediction error and factors such as carbohydrate content and serving size variability.

Experimental results

Research questions

  • RQ1Can large language models accurately estimate macronutrients, particularly carbohydrates, from natural language meal descriptions?
  • RQ2How does model performance vary across different levels of complexity in meal descriptions, such as multiple food items or non-standard serving sizes?
  • RQ3Do LLMs outperform human experts in terms of accuracy, speed, and consistency when estimating meal nutrition?
  • RQ4What is the impact of prompting strategies like Chain-of-Thought and Retrieval-Augmented Generation on LLM performance in nutrition estimation?
  • RQ5How does prediction error correlate with the true macronutrient content, especially for high-carbohydrate foods?

Key findings

  • GPT-3.5 with Chain-of-Thought prompting achieved the highest accuracy of 51.48% on the full NutriBench benchmark, with an answer rate of 89.80%.
  • LLMs significantly outperformed a professional nutritionist in both accuracy and speed, completing 90 queries in under 2 minutes compared to the nutritionist’s 50 minutes.
  • The mean absolute error (MAE) increased with higher true carbohydrate content, indicating larger errors for high-carbohydrate meals.
  • Multiple-serving subsets showed higher normalized error, primarily due to inaccurate initial predictions for uncommon serving sizes rather than calculation errors.
  • LLMs demonstrated consistent performance regardless of query length, while human participants reported significantly increased stress with more complex descriptions.
  • The study revealed that LLMs are more reliable than human experts for complex, real-world meal descriptions, especially when serving sizes deviate from standard 100g norms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.