arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2312.04793cs.CV
收藏

用户感知前缀微调是个性化图像描述的优秀学习器

User-Aware Prefix-Tuning is a Good Learner for Personalized Image Captioning

Zhejiang University(浙江大学);University of Washington(华盛顿大学)

Xuan Wang, Guanhong Wang, Wenhao Chai, Jiayu Zhou, Gaoang Wang

AI总结:

提出一种基于用户感知前缀微调的个性化图像描述框架,利用冻结的GPT-2和CLIP提取视觉特征与用户上下文生成前缀,在少量参数训练下显著提升了描述性能。

摘要:

图像描述通过自动为图像生成自然语言描述,弥合了视觉与语言之间的差距。传统的图像描述方法通常忽略了用户的偏好和特征。个性化图像描述通过将用户先验知识(如写作风格和偏好词汇)融入模型来解决这一问题。大多数现有方法通过记忆网络或transformers强调用户上下文融合过程。然而,这些方法忽略了每个数据集的不同领域。因此,它们在遇到新样本时需要更新整个描述模型的参数,这既耗时又计算密集。为了应对这一挑战,我们提出了一种新颖的个性化图像描述框架,该框架利用用户上下文来考虑个性化因素。此外,我们的框架利用prefix-tuning(前缀微调)范式从冻结的大型语言模型中提取知识,减少了不同语言领域之间的差距。具体而言,我们采用CLIP来提取图像的视觉特征,并使用query-guided mapping network(查询引导映射网络)对齐语义空间。通过引入transformer层,我们将视觉特征与用户的上下文先验知识合并,以生成信息丰富的前缀。此外,我们采用GPT-2作为冻结的大型语言模型。由于只需训练少量参数,我们的模型高效且有效。我们的模型在Instagram和YFCC100M数据集上的五项评估指标中均优于现有的基线模型,展现了其优越性,包括在BLEU-4和CIDEr等指标上实现了两倍的改进。

英文摘要:

Image captioning bridges the gap between vision and language by automatically generating natural language descriptions for images. Traditional image captioning methods often overlook the preferences and characteristics of users. Personalized image captioning solves this problem by incorporating user prior knowledge into the model, such as writing styles and preferred vocabularies. Most existing methods emphasize the user context fusion process by memory networks or transformers. However, these methods ignore the distinct domains of each dataset. Therefore, they need to update the entire caption model parameters when meeting new samples, which is time-consuming and calculation-intensive. To address this challenge, we propose a novel personalized image captioning framework that leverages user context to consider personality factors. Additionally, our framework utilizes the prefix-tuning paradigm to extract knowledge from a frozen large language model, reducing the gap between different language domains. Specifically, we employ CLIP to extract the visual features of an image and align the semantic space using a query-guided mapping network. By incorporating the transformer layer, we merge the visual features with the user's contextual prior knowledge to generate informative prefixes. Moreover, we employ GPT-2 as the frozen large language model. With a small number of parameters to be trained, our model performs efficiently and effectively. Our model outperforms existing baseline models on Instagram and YFCC100M datasets across five evaluation metrics, demonstrating its superiority, including twofold improvements in metrics such as BLEU-4 and CIDEr.

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

↑