Improving fine-grained food classification using deep residual learning and selective state space models
Open Access
- 5 May 2025
- journal article
- research article
- Published by Public Library of Science (PLoS) in PLOS ONE
- Vol. 20 (5) , e0322695
Abstract
Background: Food classification is the foundation for developing food vision tasks and plays a key role in the burgeoning field of computational nutrition. Due to the complexity of food requiring fine-grained classification, the Convolutional Neural Networks (CNNs) backbone needs additional structural design, whereas Vision Transformers (ViTs), containing the self-attention module, has increased computational complexity. Methods: We propose a ResVMamba model and validate its performance on processing complex food dataset. Unlike previous fine-grained classification models that heavily rely on attention mechanisms or hierarchical feature extraction, our method leverages a novel residual learning strategy within a state-space framework to improve representation learning. This approach enables the model to efficiently capture both global and local dependencies, surpassing the computational efficiency of Vision Transformers (ViTs) while maintaining high accuracy. We introduce an academically underestimated food dataset CNFOOD-241, and compare the CNFOOD-241 with other food databases. Results: The proposed ResVMamba surpasses current state-of-the-art (SOTA) models, achieving a Top-1 classification accuracy of 81.70% and a Top-5 accuracy of 96.83%. Our findings elucidate that our proposed methodology establishes a new benchmark for SOTA performance in food recognition on the CNFOOD-241 dataset. Conclusions: We pioneer the integration of a residual learning framework within the VMamba model to concurrently harness both global and local state features. The code can be obtained on GitHub: https://github.com/ChiShengChen/ResVMamba.Keywords
This publication has 34 references indexed in Scilit:
- Analogue experiments to investigate magma mixing within dykesBulletin of Volcanology, 2025
- A gated recurrent unit model to predict Poisson's ratio using deep learningJournal of Rock Mechanics and Geotechnical Engineering, 2023
- Learn from each other to Classify better: Cross-layer mutual attention learning for fine-grained visual classificationPattern Recognition, 2023
- Prediction of critical total drawdown in sand production from gas wells: Machine learning approachThe Canadian Journal of Chemical Engineering, 2022
- Intraoperative Detection of Surgical Gauze Using Deep Convolutional Neural NetworkAnnals of Biomedical Engineering, 2022
- Deep Learning Approach for Robust Prediction of Reservoir Bubble Point PressureACS Omega, 2021
- Stock Prediction Using Convolutional Neural NetworkIOP Conference Series: Materials Science and Engineering, 2018
- Retrieval and classification of food imagesComputers in Biology and Medicine, 2016
- Real-time food intake classification and energy expenditure estimation on a mobile device2015
- ImageNet: A large-scale hierarchical image database2009