Evaluation of LLMs in retrieving food and nutritional context for RAG systems
On the map: Retrieval-augmented generation → Time series and agricultural RAG
Abstract (arXiv)
In this article, we evaluate four Large Language Models (LLMs) and their effectiveness at retrieving data within a specialized Retrieval-Augmented Generation (RAG) system, using a comprehensive food composition database. Our method is focused on the LLMs ability to translate natural language queries into structured metadata filters, enabling efficient retrieval via a Chroma vector database. By achieving high accuracy in this critical retrieval step, we demonstrate that LLMs can serve as an accessible, high-performance tool, drastically reducing the manual effort and technical expertise previously required for domain experts, such as food compilers and nutritionists, to leverage complex food and nutrition data. However, despite the high performance on easy and moderately complex queries, our analysis of difficult questions reveals that reliable retrieval remains challenging when queries involve non-expressible constraints. These findings demonstrate that LLM-driven metadata filtering excels when constraints can be explicitly expressed, but struggles when queries exceed the representational scope of the metadata format.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Time series and agricultural RAG, one of 15 directions in Retrieval-augmented generation. Builds on 6 of its 21 references that are in the map. First posted on arXiv 10 Mar 2026.
Builds on
6 of 21 references.
References · 6
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 465
- 2024Repetition Improves Language Model Embeddingscited by 70
- 2024A Survey on Employing Large Language Models for Text-to-SQL Taskscited by 67
- 2024NutriBench: A Dataset for Evaluating Large Language Models on Nutrition Estimation from Meal Descriptionscited by 17
- 2025FoodSEM: Large Language Model Specialized in Food Named-Entity Linkingcited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026An LLM-RAG Approach for Healthy Eating Index-Informed Personalized Food Recommendations
- 2026CGU-ILALab at FoodBench-QA 2026: Comparing Traditional and LLM-based Approaches for Recipe Nutrient Estimation
- 2025LLMs for energy and macronutrients estimation using only text data from 24-hour dietary recalls: a parameter-efficient fine-tuning experiment using a 10-shot prompt
- 2024Accuracy and Consistency of LLMs in the Registered Dietitian Exam: The Impact of Prompt Engineering and Knowledge Retrieval
- 2024FoodSky: A Food-oriented Large Language Model that Passes the Chef and Dietetic Examination
- 2025Introducing the Swiss Food Knowledge Graph: AI for Context-Aware Nutrition Recommendation
- 2026Open-KNEAD: Knowledge-grounded Nutrition Estimation via Agentic Decomposition
- 2026NutriMLLM: Multimodal Large Language Models for Dietary Micronutrient Analysis