arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2212.04267cs.CVcs.LG
收藏

跨模态食物检索的视觉和结构化语言预训练

Vision and Structured-Language Pretraining for Cross-Modal Food Retrieval

Sorbonne University(索邦大学)

Mustafa Shukor, Nicolas Thome, Matthieu Cord

摘要:

视觉语言预训练(VLP)和基础模型一直是在一般基准测试中实现SoTA性能的首选方法。然而,利用这些强大的技术更复杂的视觉语言任务,如烹饪应用程序,更结构化的输入数据,仍然很少研究。在这项工作中,我们建议利用这些技术的结构化文本为基础的计算美食的任务。我们的策略被称为VLPCook,首先将现有的图像-文本对转换为图像和结构化文本对。这允许使用适应于结果数据集的结构化数据的VLP目标来预训练我们的VLPCook模型,然后在下游计算烹饪任务中对其进行微调。在微调过程中,我们还丰富了视觉编码器,利用预训练的基础模型(例如CLIP)来提供本地和全局文本上下文。VLPCook在大型Recipe 1 M数据集上的跨模态食物检索任务上明显优于当前SoTA(+3.3召回@1绝对改善)。我们对VLP进行了进一步的实验,以验证它们的重要性,特别是在Recipe 1 M+数据集上。最后,我们验证了该方法对其他任务(即食物识别)和具有结构化文本的领域(如ROCO数据集上的医疗领域)的推广。代码可以在这里找到:https://github.com/mshukor/VLPCook

英文摘要:

Vision-Language Pretraining (VLP) and Foundation models have been the go-to recipe for achieving SoTA performance on general benchmarks. However, leveraging these powerful techniques for more complex vision-language tasks, such as cooking applications, with more structured input data, is still little investigated. In this work, we propose to leverage these techniques for structured-text based computational cuisine tasks. Our strategy, dubbed VLPCook, first transforms existing image-text pairs to image and structured-text pairs. This allows to pretrain our VLPCook model using VLP objectives adapted to the strutured data of the resulting datasets, then finetuning it on downstream computational cooking tasks. During finetuning, we also enrich the visual encoder, leveraging pretrained foundation models (e.g. CLIP) to provide local and global textual context. VLPCook outperforms current SoTA by a significant margin (+3.3 Recall@1 absolute improvement) on the task of Cross-Modal Food Retrieval on the large Recipe1M dataset. We conduct further experiments on VLP to validate their importance, especially on the Recipe1M+ dataset. Finally, we validate the generalization of the approach to other tasks (i.e, Food Recognition) and domains with structured text such as the Medical domain on the ROCO dataset. The code is available here: https://github.com/mshukor/VLPCook

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑