Grounded but Not Yet Correct: A Pre-registered, Source-Verified Evaluation of Small Language Models for Meal Planning
Small language models (SLMs) are being proposed for meal planning on local hardware, but existing evaluations mostly score whether answers have the right structure, not whether their numbers are right. We evaluate four SLMs (Qwen2.5-3B, Llama-3.2-3B, Phi-3.5-mini and Phi-4-mini, all 4-bit) on a task where every claim can be checked: produce a meal plan that cites food records from an Indian Food Composition Tables (IFCT)-derived dataset of 542 foods, with per-100 g and per-serving nutrient values, under explicit constraints. A deterministic verifier recomputes every value from the source records, never treats missing source values as zero, and checks every constraint against its own totals. Under a plan, request set and pipeline code that were hash-frozen before any output existed, we compare generation without retrieval (A), with retrieval (B), and with retrieval followed by automatic correction (C), over 200 template-generated requests (1,600 runs). Retrieval lowered the per-request nutrient-claim error rate in every model (pre-registered primary test; paired differences from −0.56 to −0.98, all Holm-adjusted p < 10^-11). The no-retrieval baseline is near 100% error by design, because models cannot know source-specific food identifiers; in a post hoc count, over half of its items reused the example identifier shown in the prompt. The more informative results are within the retrieval condition. Most models copied per-100 g values correctly, but two often got the serving arithmetic wrong (up to 77% of serving values wrong); one model got 40% of per-100 g values wrong, mostly (in a post hoc count) by writing the serving value in the per-100 g field; and 30–43% of retrieval runs failed on food choice, constraints or output structure (and up to a further 10.5% produced no usable plan), which numeric correction cannot fix. An AI reviewer agreed with 69 of 70 sampled verifier decisions (in a post hoc count, 63 of the 64 it could fully check), and a later check by the author agreed on the same 69. The one disagreement exposed a weakness in name-based food matching that we report as a logged deviation. We describe the protocol and analysis in enough detail to serve as a template for correctness-based evaluation of grounded generation in nutrition.
Authors
- Ayush Sharma
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-23
- DOI
- https://doi.org/10.5281/zenodo.24465083
- Primary Topic
- Topic Modeling
- Type
- preprint