Towards Food Image Retrieval via Generalization-Oriented Sampling and Loss Function Design

Author:

Song Jiajun1ORCID,Li Zhuo1ORCID,Min Weiqing1ORCID,Jiang Shuqiang1ORCID

Affiliation:

1. Key Laboratory of Intelligent Information Processing, Institute of Computing Technology, Chinese Academy of Sciences, China

Abstract

Food computing has increasingly received widespread attention in the multimedia field. As a basic task of food computing, food image retrieval has wide applications, that is, food image retrieval can help users to find the desired food from a large number of food images. Besides, the retrieved information can be applied to establish a richer database for the subsequent food content-related recommendation. Food image retrieval aims to achieve better performance on novel categories. Thus, it is worth studying to transfer the embedding ability from the training set to the unseen test set, that is, the generalization of the model. Food is influenced by various factors, such as culture and geography, leading to great differences between domains, such as Asian food and western food. Therefore, it is challenging to study the generalization of the model in food image retrieval. In this article, we improve the classical metric learning framework and propose a generalization-oriented sampling strategy, which boosts the generalization of the model by maximizing the intra-class distance from a proportion of positive pairs to avoid the excessive distance compression in the embedding space. Considering that the existing optimization process is in an opposite direction to our proposed sampling strategy, we further propose an adaptive gradient assignment policy named gradient-adaptive optimization , which can alleviate the intra-class distance compression during optimization by assigning different gradients to different samples. Extensive evaluation on three popular food image datasets demonstrates the effectiveness of the proposed method. We also experiment on three popular general datasets to prove that solving the problem from the generalization can also improve the performance of general image retrieval. Code is available at https://github.com/Jiajun-ISIA/Generalization-oriented-Sampling-and-Loss .

Funder

National Nature Science Foundation of China

CAAI-Huawei MindSpore Open Fund

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Networks and Communications,Hardware and Architecture

Reference64 articles.

1. G. Albert, A. Jon, R. Jerome, and L. Diane. 2016. Deep image retrieval: Learning global representations for image search. In European Conference on Computer Vision. 241–257.

2. G. Barlacchi, A. Abad, E. Rossinelli, and A. Moschitti. 2016. Appetitoso: A search engine for restaurant retrieval based on dishes. In Italian Conference on Computational Linguistics. 46–50.

3. Robustness and generalization for metric learning

4. Food-101 – Mining Discriminative Components with Random Forests

5. A. Brown, W. Xie, V. Kalogeiton, and A. Zisserman. 2020. Smooth-AP: Smoothing the path towards large-scale image retrieval. In European Conference on Computer Vision. 677–694.

Cited by 1 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Food Computing for Nutrition and Health;2024 IEEE 40th International Conference on Data Engineering Workshops (ICDEW);2024-05-13

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3