arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.18072cs.CV
收藏

基于多上下文合成数据的图像字幕生成

Image Captioning with Multi-Context Synthetic Data

Tencent Inc.(腾讯公司)

Feipeng Ma, Yizhou Zhou, Fengyun Rao, Yueyi Zhang, Xiaoyan Sun

AI总结:

针对图像字幕生成标注成本高、现有合成数据方法性能不佳的问题,提出多上下文合成数据生成流水线,仅用合成数据训练便在多个知名数据集上取得SOTA性能。

摘要:

图像字幕生成需要大量带标注的图文对,这会产生高昂的标注成本。近年来,大模型(例如扩散模型和大语言模型)在生成高质量图像和文本方面表现出色,我们可以利用这一潜力创建合成图文对,用于训练字幕生成模型。合成数据能够提升数据收集的成本和时间效率,支持针对特定领域的定制化,助力提升零样本性能的泛化能力,还能规避真实数据相关的隐私问题。然而,现有方法仅依靠合成数据难以取得令人满意的性能。我们发现问题在于:由简单描述生成的图像大多仅呈现单一视角,上下文信息有限,无法匹配真实图像中普遍存在的复杂场景。为解决这一问题,我们提出了一种创新的多上下文数据生成流水线。该方法以初始文本语料为起点,利用大语言模型提取从不同视角描述同一场景的多个句子,再将这些句子压缩为一句包含多重上下文的句子,随后通过扩散模型基于压缩后的字幕生成复杂图像。我们的模型完全采用通过该流程制作的合成图文对训练。实验结果在域内和跨域两种设置下均验证了该流水线的有效性,它在MSCOCO、Flickr30k和NoCaps等知名数据集上取得了当前最优性能。

英文摘要:

Image captioning requires numerous annotated image-text pairs, resulting in substantial annotation costs. Recently, large models (e.g. diffusion models and large language models) have excelled in producing high-quality images and text. This potential can be harnessed to create synthetic image-text pairs for training captioning models. Synthetic data can improve cost and time efficiency in data collection, allow for customization to specific domains, bootstrap generalization capability for zero-shot performance, and circumvent privacy concerns associated with real-world data. However, existing methods struggle to attain satisfactory performance solely through synthetic data. We identify the issue as generated images from simple descriptions mostly capture a solitary perspective with limited context, failing to align with the intricate scenes prevalent in real-world imagery. To tackle this, we present an innovative pipeline that introduces multi-context data generation. Beginning with an initial text corpus, our approach employs a large language model to extract multiple sentences portraying the same scene from diverse viewpoints. These sentences are then condensed into a single sentence with multiple contexts. Subsequently, we generate intricate images using the condensed captions through diffusion models. Our model is exclusively trained on synthetic image-text pairs crafted through this process. The effectiveness of our pipeline is validated through experimental results in both the in-domain and cross-domain settings, where it achieves state-of-the-art performance on well-known datasets such as MSCOCO, Flickr30k, and NoCaps.

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

↑