CGU-ILALab at FoodBench-QA 2026: Comparing Traditional and LLM-based Approaches for Recipe Nutrient Estimation

arXiv cs.CL / 4/29/2026

📰 NewsTools & Practical UsageModels & Research

Key Points

  • The study evaluates nutrient estimation from unstructured recipe text under EU Regulation 1169/2011, focusing on challenges like ambiguous ingredients and highly variable quantity expressions.
  • It compares approaches ranging from lexical baselines (TF-IDF + Ridge Regression) to semantic encoders (DeBERTa-v3) and to generative reasoning using LLMs.
  • Results show a clear trade-off: TF-IDF offers fast, near-instant inference with only moderate accuracy, while DeBERTa-v3 underperforms when task-specific data are scarce.
  • Few-shot LLM inference (e.g., Gemini 2.5 Flash) and an LLM refinement pipeline that combines TF-IDF with LLM output achieve the best validation accuracy across nutrient categories.
  • The improvements are attributed to LLMs leveraging pretrained world knowledge to disambiguate terminology and normalize non-standard units, but they incur much higher inference latency, creating a deployment trade-off between real-time performance and nutritional precision.

Abstract

Accurate nutrient estimation from unstructured recipe text is an important yet challenging problem in dietary monitoring, due to ambiguous ingredient terminology and highly variable quantity expressions. We systematically evaluate models spanning a wide range of representational capacity, from lexical matching methods (TF-IDF with Ridge Regression), to deep semantic encoders (DeBERTa-v3), to generative reasoning with large language models (LLMs). Under the strict tolerance criteria defined by EU Regulation 1169/2011, our empirical results reveal a clear trade-off between predictive accuracy and computational efficiency. The TF-IDF baseline achieves moderate nutrient estimation performance with near-instantaneous inference, whereas the DeBERTa-v3 encoder performs poorly under task-specific data scarcity. In contrast, few-shot LLM inference (e.g., Gemini 2.5 Flash) and a hybrid LLM refinement pipeline (TF-IDF combined with Gemini 2.5 Flash) deliver the highest validation accuracy across all nutrient categories. These improvements likely arise from the ability of LLMs to leverage pre-trained world knowledge to resolve ambiguous terminology and normalize non-standard units, which remain difficult for purely lexical approaches. However, these gains come at the cost of substantially higher inference latency, highlighting a practical deployment trade-off between real-time efficiency and nutritional precision in dietary monitoring systems.