arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.08865cs.CVcs.CL
收藏

通过合成配对改进纯文本图像字幕生成的跨模态对齐

Improving Cross-modal Alignment with Synthetic Pairs for Text-only Image Captioning

Guangxi University(广西大学);Guangxi Key Laboratory of Multimedia Communications and Network Technology(广西多媒体通信与网络技术重点实验室)

Zhiyue Liu, Jinyuan Liu, Fanrong Ma

AI总结:

针对纯文本图像字幕生成中模态鸿沟与训练推理不一致的问题,提出结合合成图文对、优化伪特征、引入显著物体辅助的方法,实现了基准数据集上的SOTA性能。

摘要:

尽管图像字幕生成模型近年来取得了显著进展,但大多数模型严重依赖包含配对图像和文本的高质量数据集,而这类数据集的获取成本高昂。已有研究利用CLIP的跨模态关联能力开展图像字幕生成,在无监督设置下仅依赖文本信息。然而,CLIP的文本与图像特征之间不仅存在模态鸿沟,而且由于训练阶段无法使用真实图像,训练与推理之间也出现了差异,这阻碍了纯文本字幕生成中的跨模态对齐。本文提出一种新方法,通过引入合成图文对来解决这些问题。该方法部署预训练的文本到图像模型,获取与文本数据对应的图像,并在CLIP嵌入空间中将生成图像的伪特征向真实图像特征优化。此外,该方法收集文本信息来表征图像特征,从而得到具备多样语义的图像特征,弥合了模态鸿沟。为统一训练与推理流程,合成图像特征将作为语言解码器的训练前缀,而推理阶段则使用真实图像。另外,该方法还检测图像中的显著物体作为辅助,以增强模态对齐的学习。实验结果表明,本文方法在基准数据集上取得了当前最优性能。

英文摘要:

Although image captioning models have made significant advancements in recent years, the majority of them heavily depend on high-quality datasets containing paired images and texts which are costly to acquire. Previous works leverage the CLIP's cross-modal association ability for image captioning, relying solely on textual information under unsupervised settings. However, not only does a modality gap exist between CLIP text and image features, but a discrepancy also arises between training and inference due to the unavailability of real-world images, which hinders the cross-modal alignment in text-only captioning. This paper proposes a novel method to address these issues by incorporating synthetic image-text pairs. A pre-trained text-to-image model is deployed to obtain images that correspond to textual data, and the pseudo features of generated images are optimized toward the real ones in the CLIP embedding space. Furthermore, textual information is gathered to represent image features, resulting in the image features with various semantics and the bridged modality gap. To unify training and inference, synthetic image features would serve as the training prefix for the language decoder, while real images are used for inference. Additionally, salient objects in images are detected as assistance to enhance the learning of modality alignment. Experimental results demonstrate that our method obtains the state-of-the-art performance on benchmark datasets.

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

↑