Retrieval augmented generation for smart calorie estimation in complex food scenarios

Accurate food recognition and calorie estimation are critical for managing diet-related health issues such as obesity and diabetes. Traditional food logging methods rely on manual input, leading to inaccurate nutritional records. Although recent advances in computer vision and deep learning offer automated solutions, existing models struggle with generalizability due to homogeneous datasets and limited representation of complex cuisines like Indian food. This paper introduces a dataset containing over 15,000 images of 56 popular Indian food items. Curated from diverse sources, including social media and real-world photography, the dataset aims to capture the complexity of Indian meals, where multiple food items often appear together in a single image. This ensures greater lighting, presentation, and image quality variability compared to existing data sets. We evaluated the data set with various YOLO-based models, including YOLOv5 through YOLOv12, and enhanced the backbone with omniscale feature learning from OSNet, improving detection accuracy. In addition, we integrate a Retrieval-Augmented-Generation (RAG) module with YOLO, which refines food identification by associating fine-grained food categories with nutritional information, ingredients, and recipes. Our approach demonstrates improved performance in recognising complex meals. It addresses key challenges in food recognition, offering a scalable solution for accurate calorie estimation, especially for culturally diverse cuisines like Indian food. • We propose a CAM-enhanced YOLO architecture that improves detection sensitivity for small and fine-grained food items in complex meal settings. • A large-scale Indian food dataset with balanced classes, designed to overcome the scale, diversity, and imbalance issues of existing datasets. • A RAG-based calorie estimation pipeline that connects detection outputs to nutritional databases, enabling accurate and automated calorie tracking. • We present an extensive evaluation of existing datasets alongside our proposed dataset using various YOLO models, incorporating both SPPF and CAM modalities. • We further evaluate the pipeline for retrieval accuracy and text matching to assess the RAG model’s output against the augmented class query.

Authors

Institutions

Publication Details

Journal
Journal of Visual Communication and Image Representation
Published
2025-11-03
DOI
https://doi.org/10.1016/j.jvcir.2025.104632
Primary Topic
Nutritional Studies and Diet
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Retrieval augmented generation for smart calorie estimation in complex food scenarios

Mayank Sah, Jimson Mathew, S. BHUJBAL SUMAN
Journal of Visual Communication and Image Representation
Nutritional Studies and Diet
article

Retrieval augmented generation for smart calorie estimation in complex food scenarios

Mayank Sah, Jimson Mathew, S. BHUJBAL SUMAN
article en

Abstract

Accurate food recognition and calorie estimation are critical for managing diet-related health issues such as obesity and diabetes. Traditional food logging methods rely on manual input, leading to inaccurate nutritional records. Although recent advances in computer vision and deep learning offer automated solutions, existing models struggle with generalizability due to homogeneous datasets and limited representation of complex cuisines like Indian food. This paper introduces a dataset containing over 15,000 images of 56 popular Indian food items. Curated from diverse sources, including social media and real-world photography, the dataset aims to capture the complexity of Indian meals, where multiple food items often appear together in a single image. This ensures greater lighting, presentation, and image quality variability compared to existing data sets. We evaluated the data set with various YOLO-based models, including YOLOv5 through YOLOv12, and enhanced the backbone with omniscale feature learning from OSNet, improving detection accuracy. In addition, we integrate a Retrieval-Augmented-Generation (RAG) module with YOLO, which refines food identification by associating fine-grained food categories with nutritional information, ingredients, and recipes. Our approach demonstrates improved performance in recognising complex meals. It addresses key challenges in food recognition, offering a scalable solution for accurate calorie estimation, especially for culturally diverse cuisines like Indian food. • We propose a CAM-enhanced YOLO architecture that improves detection sensitivity for small and fine-grained food items in complex meal settings. • A large-scale Indian food dataset with balanced classes, designed to overcome the scale, diversity, and imbalance issues of existing datasets. • A RAG-based calorie estimation pipeline that connects detection outputs to nutritional databases, enabling accurate and automated calorie tracking. • We present an extensive evaluation of existing datasets alongside our proposed dataset using various YOLO models, incorporating both SPPF and CAM modalities. • We further evaluate the pipeline for retrieval accuracy and text matching to assess the RAG model’s output against the augmented class query.

Journal of Visual Communication and Image RepresentationVol. 113
Indian Institute of Technology Patna (IN)
Openalex Percentile: Top 58%
Nutritional Studies and Diet
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.