Cross-modal recipe retrieval based on unified text encoder with fine-grained contrastive learning

被引:2
作者
Zhang, Bolin [1 ]
Kyutoku, Haruya [2 ]
Doman, Keisuke [3 ]
Komamizu, Takahiro [4 ]
Ide, Ichiro [5 ]
Qian, Jiangbo [1 ]
机构
[1] Ningbo Univ, Fac Elect Engn & Comp Sci, Ningbo, Zhejiang, Peoples R China
[2] Aichi Univ Technol, Fac Engn, Gamagori, Aichi, Japan
[3] Chukyo Univ, Sch Engn, Toyota, Aichi, Japan
[4] Nagoya Univ, Math & Data Sci Ctr, Nagoya, Aichi, Japan
[5] Nagoya Univ, Grad Sch Informat, Nagoya, Aichi, Japan
关键词
Cross-modal recipe retrieval; Unified text encoder; Contrastive learning;
D O I
10.1016/j.knosys.2024.112641
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Cross-modal recipe retrieval is vital for transforming visual food cues into actionable cooking guidance, making culinary creativity more accessible. Existing methods separately encode the recipe Title, Ingredient, and Instruction using different text encoders, then aggregate them to obtain recipe feature, and finally match it with encoded image feature in a joint embedding space. These methods perform well but require significant computational cost. In addition, they only consider matching the entire recipe and the image but ignore the fine-grained correspondence between recipe components and the image, resulting in insufficient cross-modal interaction. To this end, we propose U nified T ext E ncoder with F ine-grained C ontrastive L earning (UTE-FCL) to achieve a simple but efficient model. Specifically, in each recipe, UTE-FCL first concatenates each of the Ingredient and Instruction texts composed of multiple sentences as a single text. Then, it connects these two concatenated texts with the original single-phrase Title to obtain the concatenated recipe. Finally, it encodes these three concatenated texts and the original Title by a Transformer-based Unified Text Encoder (UTE). This proposed structure greatly reduces the memory usage and improves the feature encoding efficiency. Further, we propose fine-grained contrastive learning objectives to capture the correspondence between recipe components and the image at Title, Ingredient, and Instruction levels by measuring the mutual information. Extensive experiments demonstrate the effectiveness of UTE-FCL compared to existing methods.
引用
收藏
页数:15
相关论文
共 50 条
[31]   Method based on contrastive learning for fine-grained unknown malicious traffic classification [J].
Wang Y. ;
Guo Y. ;
Chen Q. ;
Fang C. ;
Lin R. .
Tongxin Xuebao/Journal on Communications, 2022, 43 (10) :12-25
[32]   Fine-Grained Aircraft Recognition Based on Dynamic Feature Synthesis and Contrastive Learning [J].
Wan, Huiyao ;
Nurmamat, Pazlat ;
Chen, Jie ;
Cao, Yice ;
Wang, Shuai ;
Zhang, Yan ;
Huang, Zhixiang .
REMOTE SENSING, 2025, 17 (05)
[33]   Fine-grained adaptive contrastive learning for unsupervised feature extraction [J].
Yin, Tianyi ;
Wang, Jingwei ;
Zhao, Yukai ;
Wang, Han ;
Ma, Yunlong ;
Liu, Min .
NEUROCOMPUTING, 2025, 618
[34]   Contrastive Cross-Modal Representation Learning Based Active Learning for Visual Question Answer [J].
Zhang B.-C. ;
Li L. ;
Zha Z.-J. ;
Huang Q.-M. .
Jisuanji Xuebao/Chinese Journal of Computers, 2022, 45 (08) :1730-1745
[35]   ACMC: Adaptive cross-modal multi-grained contrastive learning for continuous sign language recognition [J].
Yang, Xu-Hua ;
Hu, Hong-Xiang ;
Lin, Xuanyu .
IMAGE AND VISION COMPUTING, 2025, 161
[36]   A Fusion Encoder with Multi-Task Guidance for Cross-Modal Text-Image Retrieval in Remote Sensing [J].
Zhang, Xiong ;
Li, Weipeng ;
Wang, Xu ;
Wang, Luyao ;
Zheng, Fuzhong ;
Wang, Long ;
Zhang, Haisu .
REMOTE SENSING, 2023, 15 (18)
[37]   Cross-modal distillation with audio-text fusion for fine-grained emotion classification using BERT and Wav2vec 2.0 [J].
Kim, Donghwa ;
Kang, Pilsung .
NEUROCOMPUTING, 2022, 506 :168-183
[38]   Disambiguity and Alignment: An Effective Multi-Modal Alignment Method for Cross-Modal Recipe Retrieval [J].
Zou, Zhuoyang ;
Zhu, Xinghui ;
Zhu, Qinying ;
Zhang, Hongyan ;
Zhu, Lei .
FOODS, 2024, 13 (11)
[39]   Cross-modal Contrastive Learning for Multimodal Fake News Detection [J].
Wang, Longzheng ;
Zhang, Chuang ;
Xu, Hongbo ;
Xu, Yongxiu ;
Xu, Xiaohan ;
Wang, Siqi .
PROCEEDINGS OF THE 31ST ACM INTERNATIONAL CONFERENCE ON MULTIMEDIA, MM 2023, 2023, :5696-5704
[40]   Improving Spoken Language Understanding with Cross-Modal Contrastive Learning [J].
Dong, Jingjing ;
Fu, Jiayi ;
Zhou, Peng ;
Li, Hao ;
Wang, Xiaorui .
INTERSPEECH 2022, 2022, :2693-2697