arXiv Science⌕ Search

arXiv · 2610.29025

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Yongsheng Lian. 2026-10-21. Single-Image Food Mass Estimators Do Not Transfer Their Gram Scale Across Datasets. https://arxiv.science/abs/2610.29025

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Partial FC: Training 10 Million Identities on a Single Machine

Training face recognition models with millions of identities is bottlenecked by the classification head: classifier storage, logit memory, and computation grow linearly with class count, making full softmax impractical even when the backbone fits in memory. We present Partial FC (PFC), an approximation to large-class softmax that keeps every positive class center while activating only a random subset of negatives per mini-batch. PFC partitions the classifier across GPUs and samples within each owned shard: sampling shrinks local GEMMs and logits, while permanent ownership removes classifier-gradient synchronization without feature retrieval. Our system scales to 64M classes on one eight-GPU machine. Moderate sampling rates match full-softmax accuracy, reaching 97.2\% TAR on IJB-C (FAR $=10^{-4}$) and 94.0\% on ICCV21-MFR (FAR $=10^{-6}$). Under 40\% label flips, PFC with conflict filtering lifts MFR TAR from 43.9\% to 80.2\%, and on long-tailed data PFC raises TAR from 87.4\% to 92.0\% overall.

cs.CV↗

Bengali Document Layout Analysis with Detectron2

Document layout analysis (DLA) splits a page into regions such as paragraphs, text boxes, images and tables before optical character recognition is applied. For Bengali, the BaDLAD dataset now makes it possible to train and compare DLA models at scale. In this work we train Mask R-CNN models in Detectron2 on BaDLAD using three backbones (ResNet-50, ResNet-101 and ResNeXt-101 32x8d, each with a feature pyramid network) and two initializations: an ImageNet-pretrained backbone, and a full model pretrained on the English PubLayNet dataset. All six models were scored with the Dice coefficient on the DL Sprint 2.0 test set (about 3,900 images) and hidden test set (about 9,100 images). ResNet-101 with ImageNet initialization obtained the highest Dice on both sets, 0.89191 and 0.89283. The five models with both scores were ranked in the same order on the two sets. PubLayNet initialization gave higher Dice for ResNet-50 and ResNeXt-101, where both initializations were trained for a similar number of iterations. For ResNet-101 the two runs had different training lengths, so the effect of initialization could not be separated. On one NVIDIA P100 GPU, the ResNet-101 pipeline processed 4.67 images per second including post-processing.

cs.CV↗

EAGLE: Elevating Geometric Reasoning through LLM-empowered Visual Instruction Tuning

Multi-modal Large Language Models (MLLMs) have advanced greatly in general tasks. However, they still face challenges in geometric reasoning, a task that requires synergistic integration of visual recognition proficiency and complex reasoning strength. Existing MLLMs prioritize optimizing the LLM backbone to enhance problem-solving capabilities, while rarely emphasizing improvements in discerning visual elements. However, we observe that MLLMs suffer from severe visual perception deficiencies in geometric domains, including inaccurate geometric comprehension and severe visual hallucinations, which constrain their reasoning performance. To address this issue, we revisit geometric reasoning through a visual-centric lens that highlights the role of visual perception. To achieve this, we propose EAGLE, a coarse-to-fine visual adaptation framework for geometric reasoning that progressively adapts the visual pathway to geometric perception. Specifically, given the substantial disparity between geometric diagrams and natural images, we first introduce Geometric Knowledge Injection. This process explores fundamental knowledge from diagram-caption data to enhance recognition capabilities and improve geometry-language alignments. Then, recognizing that different elements contribute unequally in the reasoning process, we introduce Geometric Knowledge Refinement. This stage leverages LLM-driven chain-of-thought solutions to provide additional reasoning supervision for visual refinement, fostering a synergistic interplay between visual comprehension and geometric reasoning. Finally, we develop EAGLE, a geometry expert with improved perception and reasoning capabilities. Extensive experiments demonstrate its effectiveness on four popular benchmarks.

cs.CV↗