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

基于图的描述:通过连接区域描述增强视觉描述

Graph-Based Captioning: Enhancing Visual Descriptions by Interconnecting Region Captions

Spellbrush(斯佩尔布拉什公司);University of Washington(华盛顿大学);National Tsing Hua University(国立清华大学);Apple(苹果公司)

Yu-Guan Hsieh, Cheng-Yu Hsieh, Shih-Ying Yeh, Louis Béthune, Hadi Pour Ansari, Pavan Kumar Anasosalu Vasu, Chun-Liang Li, Ranjay Krishna, Oncel Tuzel, Marco Cuturi

AI总结:

提出基于图的描述(GBC)方法,通过连接区域描述增强视觉描述,自动生成GBC10M数据集,CLIP训练显示其显著提升多模态性能,并可用于文本到图像生成。

摘要:

人类以组合性方式描述复杂场景,使用带有链接和关系的简单文本描述进行丰富。虽然视觉-语言研究旨在开发具有组合理解能力的模型,但现有数据集尚未反映这一点,它们大多仍使用纯文本来描述图像。在这项工作中,我们提出了一种新的标注策略——基于图的描述(GBC),它使用带有各种类型节点的有标签图结构来描述图像。GBC中的节点通过两阶段过程创建:首先,识别并描述实体节点;其次,通过突出这些节点之间的“组合”和“关系”来链接它们。由于所有GBC节点都包含纯文本描述,GBC保留了自然语言中的灵活性,但也能在其边中编码层次信息。我们证明了GBC可以自动生成,使用现成的多模态大语言模型和物体检测模型,通过构建新数据集GBC10M,该数据集收集了CC12M数据集中约1000万张图像的GBC标注。通过在GBC10M上进行CLIP训练,我们表明利用GBC节点的标注——特别是组合和关系节点中的标注——与其他标注相比,显著提升了模型在各种基准上的性能。为了进一步探索GBC提供的机会,我们还研究了GBC作为文本到图像生成的中间件的使用,并展示了在此任务中引入图结构的额外好处。我们的代码和数据集发布在https://github.com/apple/ml-gbc和https://huggingface.co/graph-based-captions。

英文摘要:

Humans describe complex scenes with compositionality, using simple text descriptions enriched with links and relationships. While vision-language research has aimed to develop models with compositional understanding capabilities, this is not reflected yet in existing datasets which, for the most part, still use plain text to describe images. In this work, we propose a new annotation strategy, graph-based captioning (GBC) that describes an image using a labeled graph structure, with nodes of various types. The nodes in GBC are created through a two-stage process: first, identifying and describing entity nodes; second, linking these nodes by highlighting \textit{compositions} and \textit{relations} among them. Since \textit{all} GBC nodes hold plain text descriptions, GBC retains the flexibility found in natural language, but can also encode hierarchical information in its edges. We demonstrate that GBC can be produced automatically, using off-the-shelf multimodal LLMs and object detection models, by building a new dataset GBC10M that gathers GBC annotations for about 10M images of the CC12M dataset. Through CLIP training on GBC10M, we show that leveraging GBC nodes' annotations -- particularly those in composition and relation nodes -- significantly boosts the model's performance across various benchmarks compared to when other annotations are used. To further explore the opportunities provided by GBC, we also investigate the use of GBC as middleware for text-to-image generation, and show the extra benefits of incorporating the graph structure in this task. Our code and datasets are released at https://github.com/apple/ml-gbc and https://huggingface.co/graph-based-captions.

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

↑