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

ViSP:一种基于PPO驱动并结合对比学习的讽刺生成框架

ViSP: A PPO-Driven Framework for Sarcasm Generation with Contrastive Learning

Changli Wang, Rui Wu, Fang Yin

AI总结:

本文提出多模态讽刺生成数据集M2SaG及结合PPO与对比学习的生成框架ViSP,有效提升了讽刺文本的生成质量与意图显著性,并超越了包括大语言模型在内的所有基线。

摘要:

人类情感十分复杂,讽刺是一种微妙且独特的表达形式。尽管在讽刺研究方面取得了进展,但讽刺生成仍处于未被充分探索的状态,这主要是由于对文本模态的过度依赖和对视觉线索的忽视,以及现有数据集中图像内容与讽刺意图之间的不匹配。在本文中,我们引入了M2SaG,一个包含4,970个样本的多模态讽刺生成数据集,每个样本包含一张图像、一段讽刺文本和一个讽刺目标。为了对M2SaG进行基准测试,我们提出了ViSP,这是一个集成了近端策略优化(PPO)和对比学习的生成框架。PPO利用来自DIP的奖励分数来引导讽刺文本的生成,而对比学习则鼓励模型偏向具有更高奖励分数的输出。这些策略提高了整体生成质量,并产生了具有更明显讽刺意图的文本。我们在五个指标集上对ViSP进行了评估,发现它超越了所有基线模型,包括大型语言模型,这凸显了它们在讽刺生成方面的局限性。此外,我们分析了M2SaG和ViSP生成文本的讽刺分数和事实不一致性的分布。生成的文本表现出更高的平均讽刺分数(0.898 vs. 0.770)和事实不一致性(0.768 vs. 0.739),表明ViSP产生了比原始数据集质量更高的讽刺内容。我们的数据集和代码将在 https://github.com/wclapply/ViSP 发布。

英文摘要:

Human emotions are complex, with sarcasm being a subtle and distinctive form. Despite progress in sarcasm research, sarcasm generation remains underexplored, primarily due to the overreliance on textual modalities and the neglect of visual cues, as well as the mismatch between image content and sarcastic intent in existing datasets. In this paper, we introduce M2SaG, a multimodal sarcasm generation dataset with 4,970 samples, each containing an image, a sarcastic text, and a sarcasm target. To benchmark M2SaG, we propose ViSP, a generation framework that integrates Proximal Policy Optimization (PPO) and contrastive learning. PPO utilizes reward scores from DIP to steer the generation of sarcastic texts, while contrastive learning encourages the model to favor outputs with higher reward scores. These strategies improve overall generation quality and produce texts with more pronounced sarcastic intent. We evaluate ViSP across five metric sets and find it surpasses all baselines, including large language models, underscoring their limitations in sarcasm generation. Furthermore, we analyze the distributions of Sarcasm Scores and Factual Incongruity for both M2SaG and the texts generated by ViSP. The generated texts exhibit higher mean Sarcasm Scores (0.898 vs. 0.770) and Factual Incongruity (0.768 vs. 0.739), demonstrating that ViSP produces higher-quality sarcastic content than the original dataset. % The dataset and code will be publicly available. Our dataset and code will be released at \textit{https://github.com/wclapply/ViSP}.

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

↑