Single-Image Food Mass Estimators Do Not Transfer Their Gram Scale Across Datasets
Abstract
Estimating food mass from a photograph is central to image-based dietary assessment, but whether trained models transfer to new cameras and foods is unclear. We fine-tuned DINOv2-base on 2,253 weighed Nutrition5k dishes to predict mass from one RGB photograph and compared it with a zero-shot vision-language model, Qwen3-VL-32B, on Nutrition5k and three external datasets: ASA24 studio portions, ECUSTFD whole foods and Food Portion Benchmark meal trays. In domain, the fine-tuned model's mean absolute error was 24.8 g, less than half of Qwen's. On external datasets it did not beat Qwen. For a food it had never seen, it ranked portions by size, but no better than a count of food pixels. Its gram scale was wrong in two ways: it changed with how much of the scene the photograph showed, and it was off by a different factor for each food. Training on other foods or trays from the tested dataset cut the external error by 38 to 65%. DINOv2-large, a larger backbone trained on the same dishes, did not reduce the external error. One labeled photograph of the same food cut the model's ASA24 error to 28.3 g, better than that photograph achieved alone. Prediction intervals that held the true mass for 90% of Nutrition5k dishes held it for at most half of external photographs. Nutrition5k often photographed the same plate several times, so a random test split shared near-identical photographs with training and overstated accuracy. Single-image mass estimators therefore need labeled photographs from the setting where they are used.
Create a lesson
Metadata
- Comments
- 19 pages, 6 figures, 13 tables. Code, set lists and model weights: https://github.com/yongshenglian/foodmass-transfer
Related papers
ReMeDi: Single-Image PBR Material Estimation via Reparameterization between Metal and Dielectric Hypotheses
Shared title terminologycs.CVFan Fei, Xin Huang, Yixin Zhu et al.
HumanCentric-Scenes-AI: A Human-Curated Multimodal Dataset of AI-Generated Human-Centric Scenes Across Surveillance, Occupational Portraits, AI-Edited Images, and Short-Form Video
Shared title terminologycs.CVNima Kamali, Sana Nasiri, Negar Kamali
When Does Sharing Work? Scaling a Shared SigLIP2 Across Image, Video, Audio, and Audio-Visual Representations
Shared title terminologycs.CVXiaofei Sun, Peng Wang, Huayao Liu et al.
TAT-Det: A Dataset for Testicular Appendage Torsion Detection and Segmentation in Ultrasound Images
Shared title terminologycs.CVYing Jiang, Juntao Jiang, Linxuan Fan et al.
X-Matte: VAE-Free Pixel-Space Flow Matching for Single-Step Image Matting
Shared title terminologycs.CVZanyi Wang, Jiaang Li, Dengyang Jiang et al.
Revisiting Monocular In-Hand Object Scanning: Dataset, Pose Estimation, and Surface Reconstruction
Shared title terminologycs.CVDi Wu, Jeeeun Kim, Shu Kong