arXiv:2411.08715cs.CV2024-11中稿 · on IEEE/CVF Winter…被引 12

用检索增强大模型,减少食谱生成中的幻觉问题。

Retrieval Augmented Recipe Generation

  • 从数据库检索相关食谱,丰富图像输入的上下文信息。
  • 通过一致性投票机制选出最可信的最终食谱,准确率提升显著。
  • 适合需要高可靠性食谱生成的应用场景,如智能厨房系统。

基于食物图像生成食谱具有广泛应用前景,近年来受到研究者广泛关注。现有方法多采用两阶段训练:先生成食材,再根据图像和食材生成步骤。大型多模态模型(LMM)虽能直接从图像生成食材和步骤,但仍存在生成过程中的幻觉问题,导致性能不佳。为此,本文提出一种检索增强的大规模多模态模型用于食谱生成。首先引入随机多样化检索增强(SDRA),从现有数据存储中检索与图像语义相关的食谱作为补充,融入提示词以增加多样且丰富的上下文。此外,提出自一致集成投票机制,通过计算不同检索食谱作为上下文时生成候选食谱的一致性,确定最可靠的最终输出。大量实验验证了所提方法的有效性,在Recipe1M数据集上的食谱生成任务中达到当前最优(SOTA)表现。

原文摘要 · Abstract (English)

Given the potential applications of generating recipes from food images, this area has garnered significant attention from researchers in recent years. Existing works for recipe generation primarily utilize a two-stage training method, first generating ingredients and then obtaining instructions from both the image and ingredients. Large Multi-modal Models (LMMs), which have achieved notable success across a variety of vision and language tasks, shed light to generating both ingredients and instructions directly from images. Nevertheless, LMMs still face the common issue of hallucinations during recipe generation, leading to suboptimal performance. To tackle this, we propose a retrieval augmented large multimodal model for recipe generation. We first introduce Stochastic Diversified Retrieval Augmentation (SDRA) to retrieve recipes semantically related to the image from an existing datastore as a supplement, integrating them into the prompt to add diverse and rich context to the input image. Additionally, Self-Consistency Ensemble Voting mechanism is proposed to determine the most confident prediction recipes as the final output. It calculates the consistency among generated recipe candidates, which use different retrieval recipes as context for generation. Extensive experiments validate the effectiveness of our proposed method, which demonstrates state-of-the-art (SOTA) performance in recipe generation tasks on the Recipe1M dataset.

食谱生成多模态检索增强幻觉抑制

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。