NutriVision: Ingredient-Conditioned Fusion and Prediction for Single-Image Food Nutrition Estimation
Organizations: Singapore Institute of Technology, Singapore · Indraprastha Institute of Information Technology Delhi (IIIT-Delhi), New Delhi, India · Rochester Institute of Technology, Rochester, NY, USA · NVIDIA AI Technology Centre, Singapore
Abstract
Nutrition estimation is a fundamental task in consumer diet tracking, clinical dietetics, chronic disease management, sports and hospital nutrition, and broader food computing systems. The existing approaches have progressed along two largely separate axes, vision models that rely on calibrated RGB-depth captures and ingredient-aware methods that use textual cues but use limited multimodal fusion. We introduce NutriVision, an end-to-end framework that leverages visual geometry and ingredient semantics to estimate calories, mass, fat content, carbohydrates, and protein from a single RGB image and an optional ingredient list. It obtains the unavailable depth modality using DepthAnything-V3 and encodes ingredient descriptions using CLIP. It integrates three complementary mechanisms: (1) an Ingredient-Conditioned Frequency-Aligned Fusion Module (IC-FAFM), which uses textual guidance to reweight and align RGB-depth frequency components; (2) an Ingredient-Aware Mask-based Prediction Head (IA-MPH), whose gating and channel masks are conditioned on food identity; and (3) modality-specific Internal Semantic Modeling (ISM) blocks. On the Nutrition5k dataset, NutriVision achieves a mean PMAE of , outperforming our IGSMNet implementation by percentage points and OmniFood8k by percentage points (both ). The module-level ablations identify the ingredient-aware prediction head as the primary architectural contributor, improving mean PMAE by percentage points (). These results demonstrate that ingredient-conditioned prediction and frequency-aware RGB-depth fusion provide measurable gains for single-image nutrient estimation. More broadly, NutriVision offers a practical route toward nutrition-assessment systems that exploit geometric and semantic cues without requiring specialized depth-sensing hardware
Figures & tables
| Component | Params | Trainable | Notes |
| ConvNeXt-Base RGB | 88.6 M | 44 M | Stages 2–3 unfrozen |
| ConvNeXt-Base Depth | 88.6 M | 44 M | Stages 2–3 unfrozen |
| Depth adapter | 6 | 6 | Conv |
| Scale projections (8) | 790 K | 790 K | to 256-ch |
| CLS projections (2) | 1.1 M | 1.1 M | Linear |
| SSRA | 100 K | 100 K | + CNN refiner |
| Quantity | Value | Notes |
|---|---|---|
| Total parameters | 196 M | measured (Tab. I ) |
| Trainable parameters | 105 M | stages 2–3 of both backbones unfrozen |
| Forward FLOPs (est.) | 35 GFLOPs | (backbones) ISM/IC-FAFM/IA-MPH/SSRA overhead |
| Train time / epoch | 925 s | batch 8 on RTX A6000, 1923 batches/epoch |
| Total train time | 38.5 h | 150 epochs |
| End-to-end inference | 3 s / image | RGB depth CLIP NutriVision |
| Parameter | Value |
|---|---|
| Optimizer | Adam |
| Base learning rate | |
| Backbone learning rate | |
| LR schedule | Exp. decay, /epoch |
| Weight decay | |
| Gradient clipping |
| Method | Venue | Input (test) | Cal | Mass | Fat | Carb | Prot | Mean | vs. ours |
|---|---|---|---|---|---|---|---|---|---|
| Google-Nutrition-rgbd [ 2 ] | CVPR’21 | RGB-D (real) | 18.8 | 18.9 | 18.1 | 23.8 | 20.9 | 20.1 | |
| Swin-Nutrition [ 8 ] | Foods’22 | RGB | 15.3 | 12.5 | 22.1 | 20.8 | 15.4 | 17.2 | |
| DPF-Nutrition [ 12 ] | Foods’23 | RGB (est. depth) | 14.7 | 10.6 | 22.6 | 20.7 | 20.2 | 17.8 | |
| OmniFood8k [ 3 ] | CVPR’26 | RGB | 14.1 | 10.2 | 21.0 | 18.9 | 18.4 | 16.5 | |
| Kwan et al. [ 11 ] (NuNet) | TMM’25 | RGB-D (real) | 12.80 | 8.72 | 19.67 | 18.66 | 18.42 | 15.65 | |
| IGSMNet [ 4 ] | Foods’25 | RGB-D (real)+Ingr. | 12.2 | 9.4 | 19.1 | 18.3 | 16.0 | 15.0 |
| # | Configuration | Cal | Mass | Fat | Carb | Prot | Mean | Mean |
|---|---|---|---|---|---|---|---|---|
| A1 | Full model (RGB + Depth + CLIP) | 12.65 | 10.37 | 16.45 | 14.76 | 13.35 | 13.52 | – |
| A2 | No CLIP (zero ingredient embedding) | 24.87 | 15.94 | 35.43 | 26.35 | 34.59 | 27.44 | |
| A3 | No depth (zero depth) | 12.88 | 10.42 | 16.56 | 14.74 | 13.67 | 13.65 | |
| A4 | No CLIP and no depth (RGB only) | 25.70 | 16.29 | 35.79 | 26.40 | 36.18 | 28.07 | |
| A5 | No RGB (sanity check) | 68.04 | 59.37 | 73.81 | 65.98 | 64.50 | 66.34 | |
| A6 | No SSRA at inference ( , residual ) | 12.65 | 10.37 | 16.45 | 14.76 | 13.36 | 13.52 |
| # | Configuration | Cal | Mass | Fat | Carb | Prot | Mean | Mean |
|---|---|---|---|---|---|---|---|---|
| A7 | No ingredient cross-attention in IC-FAFM | 12.9 | 10.5 | 16.6 | 15.1 | 13.5 | 13.7 | |
| A8 | Element-wise add fusion (no FFT split) | 12.8 | 10.3 | 16.8 | 14.8 | 13.4 | 13.6 | |
| A9 | No ISM (window-MHSA + DPE identity) | 12.6 | 10.3 | 16.4 | 14.6 | 13.1 | 13.4 | |
| A10 ‡ | Plain MLP head (IA-MPH concat 3-layer MLP) | 13.4 | 10.9 | 17.4 | 17.9 | 14.6 | ||
| A11 | No inter-modal alignment loss ( ) | 12.9 | 10.5 | 16.8 | 14.7 | 13.6 | 13.7 | |
| A12 | Smooth-L1 loss (replacing normalised L1) | 12.6 | 10.3 | 20.6 | 16.0 | 14.6 | 14.8 |
Feature Fusion
Feature fusion combines complementary representations across modalities, scales, layers, or feature types to improve prediction and perception.
See all 119 papers