arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.07336cs.CVcs.AIcs.CLcs.MM
收藏

面向视觉-语言评估与训练的正样本增强对比学习

Positive-Augmented Contrastive Learning for Vision-and-Language Evaluation and Training

University of Modena and Reggio Emilia(摩德纳和雷吉奥艾米利亚大学);IIT-CNR(IIT-卡内基梅隆研究院)

Sara Sarto, Nicholas Moratelli, Marcella Cornia, Lorenzo Baraldi, Rita Cucchiara

AI总结:

针对现有字幕评估指标的缺陷,提出基于CLIP的可学习指标PAC-S++,通过正样本增强对比学习优化,可用于评估及作为奖励微调字幕模型,提升生成字幕质量。

摘要:

尽管字幕生成领域已取得显著进展,现有评估指标往往无法全面捕捉字幕的整体质量或细粒度细节。这主要是因为它们依赖非特定的人工撰写参考文本,或是存在噪声的预训练数据。不过,找到一种有效的指标不仅对字幕评估至关重要,对生成阶段同样重要。指标确实可以在字幕模型的微调阶段发挥关键作用,最终提升生成字幕的质量。本文提出PAC-S++,这是一种可学习的指标,基于在网络收集数据与清洗数据上预训练的CLIP模型构建,并通过额外的生成式视觉-文本正样本对进行正则化。借助这种更强大、经过筛选的预训练,我们还将PAC-S++作为奖励应用于通常用于微调字幕模型的Self-Critical Sequence Training(SCST,自批评序列训练)阶段。在多个图像和视频数据集上的大量实验表明,与该领域主流指标相比,PAC-S++更具有效性,包括其对物体幻觉的敏感性。此外,我们证明将PAC-S++整合到字幕模型的微调阶段,能够生成语义更丰富、重复内容和语法错误更少的字幕。在跨域基准上的评估进一步证明,我们的微调方法在提升模型能力方面的有效性。源代码与训练好的模型已公开发布于:https://github.com/aimagelab/pacscore。

英文摘要:

Despite significant advancements in caption generation, existing evaluation metrics often fail to capture the full quality or fine-grained details of captions. This is mainly due to their reliance on non-specific human-written references or noisy pre-training data. Still, finding an effective metric is crucial not only for captions evaluation but also for the generation phase. Metrics can indeed play a key role in the fine-tuning stage of captioning models, ultimately enhancing the quality of the generated captions. In this paper, we propose PAC-S++, a learnable metric that leverages the CLIP model, pre-trained on both web-collected and cleaned data and regularized through additional pairs of generated visual and textual positive samples. Exploiting this stronger and curated pre-training, we also apply PAC-S++ as a reward in the Self-Critical Sequence Training (SCST) stage typically employed to fine-tune captioning models. Extensive experiments on different image and video datasets highlight the effectiveness of PAC-S++ compared to popular metrics for the task, including its sensitivity to object hallucinations. Furthermore, we show that integrating PAC-S++ into the fine-tuning stage of a captioning model results in semantically richer captions with fewer repetitions and grammatical errors. Evaluations on out-of-domain benchmarks further demonstrate the efficacy of our fine-tuning approach in enhancing model capabilities. Source code and trained models are publicly available at: https://github.com/aimagelab/pacscore.

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

↑