arXiv:2611.08054cs.CVNov 2026

Manuscript Offprint

arXiv:2611.08054

NutriVisRAG: Multimodal Exemplar Grounding for Nutrient Estimation with Vision-Language Models

Lubnaa Abdur Rahman, Ioannis Papathanail, Maria Panagiotou, Nefeli Dimitropoulou, Margret Harðardóttir, Elisabeth J. den Brok, Bastiaan E. de Galan, Stavroula Georgia Mougiakakou

Lubnaa Abdur Rahman¹,², Ioannis Papathanail², Maria Panagiotou¹,², Nefeli Dimitropoulou³, Margret Harðardóttir³, Elisabeth J. den Brok³, Bastiaan E. de Galan³, and Stavroula Georgia Mougiakakou²

¹ Graduate School for Cellular and Biomedical Sciences, University of Bern, 3012 Bern, Switzerland

² ARTORG Center for Biomedical Engineering Research, University of Bern, 3008 Bern, Switzerland

³ Department of Endocrinology, Maastricht University Medical Centre+, and Cardiovascular Research Institute Maastricht (CARIM), Maastricht University, Maastricht, the Netherlands

Abstract. Diet is a major determinant of health, yet accurate dietary assessment from free-living meal images remains challenging. Existing retrieval-based Vision-Language Model (VLM) approaches to nutrient estimation typically rely on textual food representations, while, to our knowledge, direct grounding on visually similar annotated meals has not been investigated. We present NutriVisRAG, a retrieval-augmented generation framework that uses a vision encoder to retrieve similar meals with known nutritional annotations and provide them as multimodal in-context exemplars for VLM nutrient estimation at inference time, without task-specific fine-tuning. We evaluate NutriVisRAG across four datasets, four VLMs, three retrieval encoders, and two prompting strategies, including free-living meals from adults with insulin-treated diabetes, where carbohydrate estimates are compared against two dietitians' annotations. Across all 96 configurations (4 datasets × 4 VLMs × 3 retrieval encoders × 2 prompting strategies), NutriVisRAG reduced the primary estimation error in 56, with improvements more frequent under whole-meal (35/48) than per-item prompting (21/48). Across the evaluated configurations, the lowest NutriVisRAG error was below the best Vanilla error in 13 of 16 VLM-dataset pairs. For GPT-5.4-mini, under whole-meal prompting, the best-performing retrieval encoder for each dataset reduced the primary error on all four datasets relative to Vanilla, with reductions of 1.7–35.7%. Overall, our results show that grounding in multimodal exemplars comprising images and respective annotations can improve nutrient estimation at inference time without task-specific fine-tuning, although the benefits remain configuration-dependent.

Keywords: Vision-Language Models · Nutrient Estimation · Retrieval-Augmented Generation · Vision-RAG

1 Introduction

Accurate dietary assessment is central to nutritional monitoring and the prevention and management of diet-related chronic diseases, yet conventional self-reported approaches remain burdensome and prone to measurement errors [17]. Advances in computer vision and smartphone technologies have enabled automated dietary assessment from meal images through multi-stage pipelines combining food segmentation, recognition, portion estimation, and nutrient calculation, alongside integrated models that directly predict food quantity and nutritional composition [28, 29, 43, 44, 51]. These approaches have benefited from increasingly large food segmentation and recognition datasets [11, 30, 31, 46]. Errors in either segmentation or recognition can propagate to downstream portion and nutrient estimation, and recognition remains particularly vulnerable to distributions not represented during training [4]. Even when food regions and identities are correctly determined, estimating physical quantity remains a separate challenge, as portion estimation typically relies on depth, geometric reconstruction, or reference cues that require additional acquisition information [2, 28, 29, 43, 51]. End-to-end models instead bypass this by predicting food weight, energy, or macronutrients from visual representations. However, these approaches require large training datasets with quantitative dietary annotations [44, 50, 51].

Large Language Models, pretrained on large-scale text corpora, have demonstrated strong few-shot and in-context learning capabilities across diverse language tasks without task-specific fine-tuning [10, 13]. Extending this foundation-model paradigm to visual inputs, Vision-Language Models (VLMs) combine language modelling with visual representations to support multimodal understanding and generation [6, 45]. Recent studies have evaluated VLMs for food recognition, meal decomposition, portion and weight estimation, calorie estimation, and macronutrient prediction, with performance varying substantially across models and prompting strategies [1, 34, 39, 47, 49, 50, 53, 58]. Task-specific fine-tuning, specialised prediction components, and parameter-efficient adaptation can improve performance, but require additional dietary training data and model adaptation [1, 50, 58]. Nevertheless, quantitative dietary estimation remains challenging because food quantity and nutritional content must still be inferred from limited visual information [8, 34, 39, 49, 50, 53, 55]. Explicitly supplied nutritional information can nevertheless improve nutrient estimation [34, 50].

Structured, retrieval-augmented, and agentic approaches have therefore been explored for VLM-based dietary assessment [1, 8, 16]. Retrieval-Augmented Generation (RAG) provides inference-time access to external evidence without requiring fine-tuning of VLMs [25]. In dietary applications, retrieval has been used to support food identification and nutrient estimation through dietary records, food composition databases, knowledge graphs, and standardised nutritional information [5, 16, 18, 57, 62]. However, current dietary retrieval remains predominantly textual or structured. Image-based approaches first interpret meal images into textual descriptions, candidate foods, or decomposed food items before querying external food composition resources [16, 57]. Multimodal RAG has shown that retrieval can operate directly over visual and heterogeneous representa-

Figure

Fig. 1: Overview of the NutriVisRAG pipeline: the top-K visually similar reference meals are retrieved for a query image, and their images and nutritional annotations are added to the prompt as multimodal context for the VLM.

tions [15, 21, 59], while visual retrieval has previously been explored in food computing for image-recipe matching and calorie estimation [33, 48]. To the best of our knowledge, however, VLM-based nutrient estimation applications have yet to investigate the retrieval of visually similar meal images with known nutritional annotations and provide them directly to the VLM for grounding.

We therefore investigate whether simple inference-time grounding with visually similar annotated meals can improve VLM-based nutrient estimation. Our contributions are:

  • We introduce NutriVisRAG, an inference-time framework that integrates image-based retrieval with pretrained VLMs, using similar annotated meals as multimodal in-context exemplars for nutrient estimation.
  • We systematically evaluate visual exemplar grounding across VLMs, retrieval encoders, prompting strategies, and four dietary datasets, including free-living meals from adults with insulin-treated diabetes evaluated against dietitians' visual estimations.

References (54)