Ingredient Prediction via Context Learning Network With Class-Adaptive Asymmetric Loss

被引:10
作者
Luo, Mengjiang [1 ,2 ]
Min, Weiqing [2 ,3 ,4 ]
Wang, Zhiling [1 ]
Song, Jiajun [1 ,2 ,4 ]
Jiang, Shuqiang [3 ]
机构
[1] Chinese Acad Sci, Inst Comp Technol, Key Lab Intelligent Informat Proc, Beijing 100190, Peoples R China
[2] Univ Chinese Acad Sci, Beijing 100049, Peoples R China
[3] Chinese Acad Sci, Inst Comp Technol, Key Lab Intelligent Informat Proc, Beijing 100190, Peoples R China
[4] Chinese Acad Sci, Inst Intelligent Comp Technol, Suzhou 215002, Peoples R China
基金
中国国家自然科学基金;
关键词
Ingredient prediction; multi-label classification; deep learning; MULTITASK; ATTENTION;
D O I
10.1109/TIP.2023.3318958
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Ingredient prediction has received more and more attention with the help of image processing for its diverse real-world applications, such as nutrition intake management and cafeteria self-checkout system. Existing approaches mainly focus on multi-task food category-ingredient joint learning to improve final recognition by introducing task relevance, while seldom pay attention to making good use of inherent characteristics of ingredients independently. Actually, there are two issues for ingredient prediction. First, compared with fine-grained food recognition, ingredient prediction needs to extract more comprehensive features of the same ingredient and more detailed features of various ingredients from different regions of the food image. Because it can help understand various food compositions and distinguish the differences within ingredient features. Second, the ingredient distributions are extremely unbalanced. Existing loss functions can not simultaneously solve the imbalance between positive-negative samples belonging to each ingredient and significant differences among all classes. To solve these problems, we propose a novel framework named Class-Adaptive Context Learning Network (CACLNet) for ingredient prediction. In order to extract more comprehensive and detailed features, we introduce Ingredient Context Learning (ICL) to reduce the negative impact of complex background in food images and construct internal spatial connections among ingredient regions of food objects in a self-supervised manner, which can strengthen the contacts of the same ingredients through region interactions. In order to solve the imbalance of different classes among ingredients, we propose one novel Class-Adaptive Asymmetric Loss (CAAL) to focus on various ingredient classes adaptively. Besides, considering that the over-suppression of negative samples will over-fit positive samples of those rare ingredients, CAAL alleviates this continuous suppression according to the imbalanced ratios based on gradients while maintaining the contribution of positive samples by lesser suppression. Extensive evaluation on two popular benchmark datasets (Vireo Food-172, UEC Food-100) demonstrates our proposed method achieves the state-of-the-art performance. Further qualitative analysis and visualization show the effectiveness of our method.
引用
收藏
页码:5509 / 5523
页数:15
相关论文
共 59 条
[41]   Equalization Loss v2: A New Gradient Balance Approach for Long-tailed Object Detection [J].
Tan, Jingru ;
Lu, Xin ;
Zhang, Gang ;
Yin, Changqing ;
Li, Quanquan .
2021 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, CVPR 2021, 2021, :1685-1694
[42]   Nutrition5k: Towards Automatic Nutritional Understanding of Generic Food [J].
Thames, Quin ;
Karpur, Arjun ;
Norris, Wade ;
Xia, Fangting ;
Panait, Liviu ;
Weyand, Tobias ;
Sim, Jack .
2021 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, CVPR 2021, 2021, :8899-8907
[43]   Privacy-Preserving Visual Content Tagging using Graph Transformer Networks [J].
Vu, Xuan-Son ;
Duc-Trong Le ;
Edlund, Christoffer ;
Jiang, Lili ;
Nguyen, Hoang D. .
MM '20: PROCEEDINGS OF THE 28TH ACM INTERNATIONAL CONFERENCE ON MULTIMEDIA, 2020, :2299-2307
[44]   Semi-Supervised Dual Relation Learning for Multi-Label Classification [J].
Wang, Lichen ;
Liu, Yunyu ;
Di, Hang ;
Qin, Can ;
Sun, Gan ;
Fu, Yun .
IEEE TRANSACTIONS ON IMAGE PROCESSING, 2021, 30 :9125-9135
[45]   Ingredient-Guided Region Discovery and Relationship Modeling for Food Category-Ingredient Prediction [J].
Wang, Zhiling ;
Min, Weiqing ;
Li, Zhuo ;
Kang, Liping ;
Wei, Xiaoming ;
Wei, Xiaolin ;
Jiang, Shuqiang .
IEEE TRANSACTIONS ON IMAGE PROCESSING, 2022, 31 :5214-5226
[46]   Multi-label Image Recognition by Recurrently Discovering Attentional Regions [J].
Wang, Zhouxia ;
Chen, Tianshui ;
Li, Guanbin ;
Xu, Ruijia ;
Lin, Liang .
2017 IEEE INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV), 2017, :464-472
[47]   HCP: A Flexible CNN Framework for Multi-Label Image Classification [J].
Wei, Yunchao ;
Xia, Wei ;
Lin, Min ;
Huang, Junshi ;
Ni, Bingbing ;
Dong, Jian ;
Zhao, Yao ;
Yan, Shuicheng .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2016, 38 (09) :1901-1907
[48]   Distribution-Balanced Loss for Multi-label Classification in Long-Tailed Datasets [J].
Wu, Tong ;
Huang, Qingqiu ;
Liu, Ziwei ;
Wang, Yu ;
Lin, Dahua .
COMPUTER VISION - ECCV 2020, PT IV, 2020, 12349 :162-178
[49]  
Wu Yanqi, 2022, CEA++ '22: Proceedings of the 1st International Workshop on Multimedia for Cooking, Eating, and related APPlications, P45, DOI 10.1145/3552485.3554939
[50]   A Deep Transfer Learning Solution for Food Material Recognition Using Electronic Scales [J].
Xiao, Guangyi ;
Wu, Qi ;
Chen, Hao ;
Cao, Da ;
Guo, Jingzhi ;
Gong, Zhiguo .
IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, 2020, 16 (04) :2290-2300