This work presents a quality-controlled LLM pipeline for ingredient data acquisition that combines robust statistical estimation, domain-specific invariant checks, and a web-fetch fallback, and frames LLM-assisted database construction as a controlled data-engineering workflow that makes uncertainty operational rather than discarding it.
Abstract
Computational nutrition needs precise ingredient data, but current databases are incomplete, inconsistent, and built for human reference rather than automated reasoning. LLMs could help fill these gaps, but single-pass outputs are unreliable and can introduce silent errors into downstream computation. We present a quality-controlled LLM pipeline for ingredient data acquisition that combines robust statistical estimation, domain-specific invariant checks, and a web-fetch fallback. An illustrative Heap's Law fit to 233 recipes suggests that unique-ingredient growth is sub-linear and front-loaded: the projected ratio of unique ingredients to recipes falls from 1.74 at 100 recipes to 0.19 at 5,000. For each ingredient attribute, repeated LLM queries are treated as samples from a model-induced answer distribution, and we apply robust point estimators and normalised confidence scores across numerical, Boolean, multiple-choice, open categorical, and optional integer types. An invariant guard layer enforces nutritional and logical self-consistency within each ingredient record. Minor numeric inconsistencies are reconciled via a linear program that minimises worst-case percentage deviation while preserving semantic zeros, and major violations are escalated to web-evidence-grounded repair, then human review only if that fails. On a curated 30-ingredient reference set, the pipeline achieves 98.4% exact match on nutrient flags and cuts median absolute percentage error on nutrient ratios from 31.9% for the median-aggregated baseline to 10.1%, a reduction of 21.8 percentage points, at an API cost of about $1 per ingredient. This frames LLM-assisted database construction as a controlled data-engineering workflow that makes uncertainty operational rather than discarding it.
Cooking is a complex process that transforms raw ingredients into delicious and nutritious dishes, yet the recipes that encode this process remain largely free text; readable by people but not directly computable. Existing recipe collections capture fragments of this information, but no shared representation links a re...
Mansi Goel, Sumit Bhagat, Saloni Srivastava et al.· 0 citations
An embodied kitchen assistant must do more than recognize food in isolated frames. It must track ingredient states over time and integrate visual observations with recipe and nutritional knowledge to support constraint-aware decision-making. We formalize this capability as \emph{Embodied Nutrition Management}: perceivi...
Yue-Ling Wei, Xiang-Chen Wang, Jian-Hui Pan et al.· 0 citations
LLMs can generate estimates of nutrient content from narrative descriptions of Peruvian meals, but current performance levels fall short of the precision required for clinical deployment or commercial consumer-facing applications.
R. M. Carrillo-Larco, Mariano Gallo Ruelas, M. Matsuzaki et al.· Journal of NutriLife· 0 citations
This paper provides a practical, auditable, and application-agnostic framework for validating LLM-augmented recipe data, thereby strengthening the foundations of machine-readable food knowledge infrastructures in the era of LLM-generated content.
Background/Objectives: In food-image nutrient estimation with vision-language models (VLMs), portion size is a dominant source of error, yet how a prompt shifts the estimated amount—and in which direction—remains uncharacterized. We tested whether a Japanese-dietitian prompt acts as a systematic, directional influence...
Shinichi Nakagawa, A. Yamamoto· Nutrients· 0 citations
Background/Objectives: Large language model (LLM) pipelines increasingly convert free-text meal descriptions into nutrient values, yet reference-standard validation is rarely feasible in production. We asked whether the controls such pipelines conventionally pass suffice and built a reference-standard-free battery any...
Jhony Fernando López Torres, J. Castañeda, Edwin Rivas· Nutrients· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.