journal article·2024Open access

Attention Guided Food Recognition via Multi-Stage Local Feature Fusion

Gonghui Deng, Dunzhi Wu, Weizhen Chen

Computers, Materials & Continua· Volume 80· Issue 2

Abstract

The task of food image recognition, a nuanced subset of fine-grained image recognition, grapples with substantial intra-class variation and minimal inter-class differences. These challenges are compounded by the irregular and multi-scale nature of food images. Addressing these complexities, our study introduces an advanced model that leverages multiple attention mechanisms and multi-stage local fusion, grounded in the ConvNeXt architecture. Our model employs hybrid attention (HA) mechanisms to pinpoint critical discriminative regions within images, substantially mitigating the influence of background noise. Furthermore, it introduces a multi-stage local fusion (MSLF) module, fostering long-distance dependencies between feature maps at varying stages. This approach facilitates the assimilation of complementary features across scales, significantly bolstering the model’s capacity for feature extraction. Furthermore, we constructed a dataset named Roushi60, which consists of 60 different categories of common meat dishes. Empirical evaluation of the ETH Food-101, ChineseFoodNet, and Roushi60 datasets reveals that our model achieves recognition accuracies of 91.12%, 82.86%, and 92.50%, respectively. These figures not only mark an improvement of 1.04%, 3.42%, and 1.36% over the foundational ConvNeXt network but also surpass the performance of most contemporary food image recognition methods. Such advancements underscore the efficacy of our proposed model in navigating the intricate landscape of food image recognition, setting a new benchmark for the field.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Advanced Chemical Sensor Technologies · Nutritional Studies and Diet · Identification and Quantification in Food

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (49)

Show source-provided references
1. Image-based food calorie estimation using knowledge on food categories, ingredients and cooking directions
2. Effect of sensory perception of foods on appetite and food intake: A review of studies on humans10.1038/sj.ijo.0802391 ↗
3. A simple method for estimating the food consumption of fish populations from growth data and food conversion experiments
4. Behavioral and social influences on food choice10.1111/j.1753-4887.1998.tb01732.x ↗
5. A survey on food computing10.1145/3329168 ↗
6. Fine-grained image classification by exploring bipartite-graph labels
7. VegFru: A domain-specific dataset for fine-grained visual categorization
8. Food image recognition using very deep convolutional networks
9. Food photo recognition for dietary tracking: System and experiment
10. A hierarchical deep model for food classification from photographs
11. CBAM: Convolutional block attention module
12. Wah · The Caltech-UCSD Birds-200-2011 Dataset. Colifornial Institute of Technology · 2011 · 1
13. Food-101-mining discriminative components with random forests
14. Part-based R-CNNs for fine-grained category detection
15. Fine-grained recognition as HSnet search for informative image parts
16. Destruction and construction learning for fine-grained image recognition
17. J. Wang, X. Yu, and Y. Gao, “Feature fusion vision transformer for fine-grained visual categorization,” 2021. Accessed: Oct. 15, 2023. [Online]. Available: https://arxiv.org/abs/2107.02341
18. Learning to navigate for fine-grained classification
19. Graph-propagation based correlation learning for weakly supervised fine-grained image classification
20. Progressive co-attention network for fine-grained visual classification
21. Maximum entropy fine grained classification
22. Casting your model: Learning to localize improves self supervised representations
23. D. Wu et al., “Align yourself: Self-supervised pre-training for fine-grained recognition via saliency alignment,” 2021. Accessed: Aug. 8, 2023. [Online]. Available: https://arxiv.org/abs/2106.15788v3
24. Learning common rationale to improve self-supervised representation for fine-grained visual recognition problems
25. Being a supercook: Joint food attributes and multimodal content modeling for recipe retrieval and exploration10.1109/TMM.2016.2639382 ↗
26. State recognition of food images using deep features10.1109/ACCESS.2020.2973704 ↗
27. Deep residual learning for image recognition
28. Food detection and recognition using convolutional neural network
29. Wide-slice residual networks for food recognition
30. FoodMask: Real-time food instance counting, segmentation and recognition10.1016/j.patcog.2023.110017 ↗
31. The multi-learning for food analyses in computer vision: A survey10.1007/s11042-023-14373-6 ↗
32. Ingredient prediction via context learning network with class-adaptive asymmetric loss10.1109/TIP.2023.3318958 ↗
33. Mining discriminative food regions for accurate food recognition
34. Ingredient-guided cascaded multi-attention network for food recognition
35. Multi-scale multi-view deep feature aggregation for food recognition10.1109/TIP.2019.2929447 ↗
36. ISIA Food-500: A dataset for large-scale food recognition via stacked global-local attention network
37. Food image recognition via multi-scale jigsaw and reconstruction network,” (in Chinese)
38. Application of deep learning for image-based Chinese market food nutrients estimation10.1016/j.foodchem.2021.130994 ↗
39. Large scale visual food recognition10.1109/TPAMI.2023.3237871 ↗
40. A fine-grained recognition technique for identifying Chinese food images
41. Foodnet: Multi-scale and label dependency learning-based multi-task network for food and ingredient recognition10.1007/s00521-023-09349-4 ↗
42. Densely connected convolutional networks
43. Swin transformer: Hierarchical vision transformer using shifted windows
44. A convnet for the, 2020s
45. X. Chen, Y. Zhu, H. Zhou, L. Diao, and D. Wang, “ChineseFoodNet A large-scale image dataset for chinese food recognition,” 2017. Accessed: May 9, 2023. [Online]. Available: https://arxiv.org/abs/1705.02743
46. Food classification using transfer learning technique10.1016/j.gltp.2022.03.027 ↗
47. Automatic diet recording based on deep learning
48. MVANet: Multi-task guided multi-view attention network for chinese food recognition10.1109/TMM.2020.3028478 ↗
49. Grad-CAM: Visual explanations from deep networks via gradient-based localization