Lightweight Food Recognition via Aggregation Block and Feature Encoding
Open Access
- 29 October 2024
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Multimedia Computing, Communications, and Applications
- Vol. 20 (10) , 1-25
Abstract
Food image recognition has recently been given considerable attention in the multimedia field in light of its possible implications on health. The characteristics of the dispersed distribution of ingredients in food images put forward higher requirements on the long-range information extraction ability of neural networks, leading to more complex and deeper models. Nevertheless, the lightweight version of food image recognition is essential for improved implementation on end devices and sustained server-side expansion. To address this issue, we present Aggregation Feature Net (AFNet), a lightweight network that is capable of effectively capturing both global and local features from food images. In AFNet, we develop a novel convolution based on a residual model by encoding global features through row-wise and column-wise information integration. Merging aggregation block with classic local convolution yields a framework that works as the backbone of the network. Based on the efficient use of parameters by the aggregation block, we constructed a lightweight food image recognition network with fewer layers and a smaller scale, assisted by a new type of activation function. Experimental results on four popular food recognition datasets demonstrate that our approach achieves state-of-the-art performance with higher accuracy and fewer FLOPs and parameters. For example, in comparison to the current state-of-the-art model of MobileViTv2, AFNet achieved 88.4% accuracy of the top-1 level on the ETHZ Food-101 dataset, with similar parameters and FLOPs but 1.4% more accuracy. The source code will be provided in supplementary materials.Keywords
This publication has 54 references indexed in Scilit:
- Vision-based food nutrition estimation via RGB-D fusion networkFood Chemistry, 2023
- UniNet: Unified Architecture Search with Convolution, Transformer, and MLP2022
- Food recognition via an efficient neural network with transformer groupingInternational Journal of Intelligent Systems, 2022
- ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Design2018
- MobileNetV2: Inverted Residuals and Linear Bottlenecks2018
- Deep Residual Learning for Image Recognition2016
- FoodCam: A real-time food recognition system on a smartphoneMultimedia Tools and Applications, 2014
- Food-101 – Mining Discriminative Components with Random Forests2014
- Food recognition using statistics of pairwise local features2010
- ImageNet: A large-scale hierarchical image database2009